Skip to content

Commit

Permalink
stream_join_dynamic: Assert inp readies only for selected streams (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricted98 authored Oct 4, 2024
1 parent a554944 commit cc0ff76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_join_dynamic.sv
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module stream_join_dynamic #(
// Corner case when `sel_i` is all 0s should not generate valid
assign oup_valid_o = &(inp_valid_i | ~sel_i) && |sel_i;
for (genvar i = 0; i < N_INP; i++) begin : gen_inp_ready
assign inp_ready_o[i] = oup_valid_o & oup_ready_i;
assign inp_ready_o[i] = oup_valid_o & oup_ready_i & sel_i[i];
end

`ifndef COMMON_CELLS_ASSERTS_OFF
Expand Down

0 comments on commit cc0ff76

Please sign in to comment.