Skip to content
Discussion options

You must be logged in to vote

The SystemRDL spec does not formally describe what the "correct" timing relationship is with respect to swacc and swmod properties. Given the lack of a spec, I have interpreted this as an implementation-defined feature.

For PeakRDL-regblock, I have implemented these outputs to be asserted on the cycle before the software action takes place. I believe this ends up being the same as your implementation.
The reason I chose this interpretation is as follows:

  • For swacc assertions due to software reads, it is preferable to have the signal assert on the exact same cycle that the data is being sampled. This is useful in situations where the data needs to be updated on the next cycle (such as a F…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jonah-Foley
Comment options

Answer selected by Jonah-Foley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants