Closed sjalloq closed 5 years ago
Yes, tool currently doesn't resize the width of reset constant once the width is set in the field def assign. For this case could try using int assign, ie reset = 0; (have not tested)
Thanks. That didn't work so I'll stick it inside a for loop.
I found one example of a register reset term not being the correct width. This might be a case of me using a generic single bit field definition and expanding that in the reg fefinition.
In the following RDL, the register _vendor is the correct with of 8-bits but its reset term is 1'b0.