Skip to content

Commit

Permalink
stream_omega_net: Fix non-existing output assertion (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca authored Mar 12, 2024
1 parent 13f28aa commit f36f4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_omega_net.sv
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ module stream_omega_net #(
`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
(valid_i[i] |-> sel_i[i] < NumOut)) else
$fatal(1, "Non-existing output is selected!");
end

Expand Down

0 comments on commit f36f4cc

Please sign in to comment.