Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils: Fix zero as a shadow gpr parameter #70

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

stffrdhrn
Copy link
Member

For the mor1kx defaults the shadow GPR's is set to zero, this is used
when calculating the total register file address size but zero is not
supported. Fix that by supporting 0.

Also, there is an issue with the expand wire assign when there are no
SHADOW SPRs, don't assign in that case.

This fixes github issue #69.

For the  mor1kx defaults the shadow GPR's is set to zero, this is used
when calculating the total register file address size but zero is not
supported.  Fix that by supporting 0.

Also, there is an issue with the expand wire assign when there are no
SHADOW SPRs, don't assign in that case.

This fixes github issue openrisc#69.
Copy link
Contributor

@bandvig bandvig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful fix

@stffrdhrn stffrdhrn merged commit aa4ea5a into openrisc:master Jan 11, 2019
@stffrdhrn
Copy link
Member Author

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants