Two fields controlling one bit #142
-
It's a common design pattern to have two fields control a single bit. Writing 1 to one field sets the bit, and to the other clears it. Writing 0 to either has no effect. The actual state of the bit might be read through the "set" field or yet another "status" field. What's the 'right' way (or ways) of expressing this in SystemRDL? Bonus marks - can I have a multibit field of setters, and a corresponding multibit field of clearers? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Sounds what you're looking for is an alias register: (PeakRDL-regblock doesn't support aliases yet, but i hope to add it soon)
|
Beta Was this translation helpful? Give feedback.
Sounds what you're looking for is an alias register: (PeakRDL-regblock doesn't support aliases yet, but i hope to add it soon)