Skip to content

Commit

Permalink
stream_join_dynamic: Assert inp readies only for selected streams
Browse files Browse the repository at this point in the history
  • Loading branch information
ricted98 committed Sep 30, 2024
1 parent aa85c7a commit ff6ac5f
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 @@ -34,7 +34,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 SYNTHESIS
Expand Down

0 comments on commit ff6ac5f

Please sign in to comment.