diff --git a/src/stream_join_dynamic.sv b/src/stream_join_dynamic.sv index db874b7f..267990b9 100644 --- a/src/stream_join_dynamic.sv +++ b/src/stream_join_dynamic.sv @@ -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