Skip to content

Commit 245382b

Browse files
authored
rr_arb_tree: Allow flushing locked decision (#113)
Signed-off-by: Nils Wistoff <[email protected]>
1 parent e4a8790 commit 245382b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rr_arb_tree.sv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ module rr_arb_tree #(
171171
// pragma translate_off
172172
`ifndef VERILATOR
173173
lock: assert property(
174-
@(posedge clk_i) LockIn |-> req_o && !gnt_i |=> idx_o == $past(idx_o)) else
174+
@(posedge clk_i) LockIn |-> req_o &&
175+
(!gnt_i && !flush_i) |=> idx_o == $past(idx_o)) else
175176
$fatal (1, "Lock implies same arbiter decision in next cycle if output is not \
176177
ready.");
177178

0 commit comments

Comments
 (0)