1
0
mirror of https://github.com/olofk/serv.git synced 2026-05-01 14:15:55 +00:00

Avoid releasing trap signal too early

The trap signal is used my the mux in serv_rf_if to decide which
registers to write to. If the trap signal is dropped too early,
the destination address changes while the register is still being
written to.
This commit is contained in:
Olof Kindgren
2023-10-29 22:25:50 +01:00
parent 46a820ee42
commit c7fc57213c
3 changed files with 5 additions and 8 deletions

View File

@@ -541,7 +541,7 @@ module serv_top
.i_clk (clk),
.i_rst (i_rst),
//State
.i_init (init),
.i_trig_irq (wb_ibus_ack),
.i_en (cnt_en),
.i_cnt0to3 (cnt0to3),
.i_cnt3 (cnt3),