Skip to content

Commit d71d758

Browse files
a-willHU90m
authored andcommitted
[dv] Retarget forced signal for prim_sparse_fsm_flop_if
Because the prim hierarchy has changed, reusing the path would target the flop directly for forcing. This meant that the forcing would delay u_state_flop from snapping back to the FsmError state that should've been held by the flop. Instead, the original path caused the flop in the new hierarchy to be targeted *directly*, delaying update until the next posedge, instead of the negedge when forcing is released. Retarget forcing to prim_sparse_fsm_flop's state_o output. Signed-off-by: Alexander Williams <[email protected]>
1 parent fdfaff0 commit d71d758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/dv/sv/sec_cm/prim_sparse_fsm_flop_if.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface prim_sparse_fsm_flop_if #(
2323
string msg_id = $sformatf("%m");
2424

2525
string path = dv_utils_pkg::get_parent_hier($sformatf("%m"));
26-
string signal_forced = $sformatf("%s.u_state_flop.q_o", path);
26+
string signal_forced = $sformatf("%s.state_o", path);
2727

2828
// This signal only has to be forced if the associated parameter
2929
// CustomForceName in prim_sparse_fsm_flop is set to a non-empty string.

0 commit comments

Comments
 (0)