opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

Read of internal states incorrect

Open senelson7 opened this issue 5 years ago • 1 comments

The issue is that the internal state read happens immediately after the internal state selector write. Need a cycle between to let hardware switch pointer.

senelson7 avatar Aug 11 '21 20:08 senelson7

Backpressure to the reg block is needed to fix this in a reasonable way, but it is not available. Since this is fundamentally a debug function, a software patch of reading the int_state_num after writing it will guarantee the clock separation needed between the write of the id and the read of the values. No hardware change required.

mwbranstad avatar Aug 11 '21 21:08 mwbranstad