Skip to content

Commit

Permalink
Fix default disable in stream_xbar
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-platzer committed Oct 19, 2023
1 parent 0a41d96 commit 87614e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_xbar.sv
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ module stream_xbar #(
// pragma translate_off
`ifndef ASSERTS_OFF
`ifndef VERILATOR
default disable iff rst_ni;
default disable iff (~rst_ni);
`endif
for (genvar i = 0; unsigned'(i) < NumInp; i++) begin : gen_sel_assertions
assert property (@(posedge clk_i) disable iff (~rst_ni) (valid_i[i] |-> sel_i[i] < sel_oup_t'(NumOut))) else
Expand Down

0 comments on commit 87614e7

Please sign in to comment.