Repository navigation
Conversation
228beb2 to
c95bf72
Compare
|
@marnovandermaas Please check the RTL and also skim the docs change. @martin-velay Please check if the IIR behaviour change in the docs works for you. |
marnovandermaas
left a comment
There was a problem hiding this comment.
Some initial comments from me. Also god to update the README on the rx_timeout behaviour.
| ////////// | ||
|
|
||
| // State register | ||
| prim_sparse_fsm_flop #( |
There was a problem hiding this comment.
Do we need to set EnableAlertTriggerSVA to zero?
There was a problem hiding this comment.
No AFAIK, I've added a commit which changes this.
There was a problem hiding this comment.
On second thought this requires the new FSM to trigger an alert when there is an invalid FSM state, and also a mechanism to "or" together this with the alert from the OT UART core. Perhaps enabling alert is better left for a future PR. WDYT?
There was a problem hiding this comment.
Without it AssertConnected_A fails at 1 ps in Xcelium and VCS. The pre_dv TB passes only because Verilator uses the dummy assertion macros.
b53107f to
9afeeba
Compare
martin-velay
left a comment
There was a problem hiding this comment.
Looks good overall thanks
Another comment: README.md still lists rx_timeout as an always-inactive interrupt output.
604793d to
3f8aef7
Compare
Signed-off-by: Ray Lau <ray.lau@lowrisc.org>
c7186da to
8109a3c
Compare
- RBR read now clears any pending character timeout interrupt - Enabling ERBFI enables rx_timeout interrupt in the OT UART core - IIR[3] is asserted only when the character tiemout interrupt is active and there is no other higher priority interrupt - Resetting the RCVR FIFO clears any pending character timeout interrupt - When changing the parity enable in LCR, the timeout bit time duration of the OT UART core is automatically updated to reflect 4 character times Signed-off-by: Ray Lau <ray.lau@lowrisc.org>
8109a3c to
40b7514
Compare
Depends on #12 (merged) to be merged first, only the last commit is new.
Closes #9.