-
Notifications
You must be signed in to change notification settings - Fork 161
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
Memory handling of 2 reads at the same address in the same clock cycle #1561
Conversation
9aee8cf
to
5725f7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you!
Ah - good point. I guess there are a few ways we can go:
Overall, to keep track of the things we may want to address with memory subsystem refactoring:
|
Makes sense!
I think that's all |
Ah yes you're right! Re-reading this now, it does seem like the right approach is to simply return an error in the processor, instead of changing the constraints to allow it. We currently never need to read/write the same location twice, and so it doesn't make sense to allow it. I will update the PR accordingly. |
5725f7d
to
29945a1
Compare
Implementation changed to return an error when a memory address is accessed twice in the same clock cycle. Interestingly the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you! I left a few doc-related comments inline. Once these are addressed, we can merge.
29945a1
to
b851213
Compare
Closes #1560