esynr3z / corsair

Control and Status Register map generator for HDL projects
https://corsair.readthedocs.io
MIT License
97 stars 35 forks source link

Acess mode 'roc' can miss a latch #38

Open arnfol opened 1 year ago

arnfol commented 1 year ago

It is connected to issue #28.

While for rolh and roll access modes not-latching event was fixed in #37, this problem still exists for roc. If roll/rolh could be compared to their latched value, we cannot do the same for roc. So, the question is: @esynr3z should roc always be accompanied by enable (ie hardware options)? I have not found any rules on this in the documentation, but I think it has little sense without both enable and input.