Skip to content

Commit

Permalink
Fix spurious multi-driven net issue in axis_ram_switch when S_ID_WIDT…
Browse files Browse the repository at this point in the history
…H = 0

Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Jan 26, 2024
1 parent a29282c commit c6ecd77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rtl/axis_ram_switch.v
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,9 @@ generate
assign int_cmd_len[m*ADDR_WIDTH +: ADDR_WIDTH] = cmd_len_reg;
assign int_cmd_id[m*CMD_ADDR_WIDTH +: CMD_ADDR_WIDTH] = cmd_id_reg;
assign int_cmd_tkeep[m*KEEP_WIDTH +: KEEP_WIDTH] = cmd_tkeep_reg;
assign int_cmd_tid[m*S_ID_WIDTH +: S_ID_WIDTH_INT] = cmd_tid_reg;
if (ID_ENABLE && S_ID_WIDTH > 0) begin
assign int_cmd_tid[m*S_ID_WIDTH +: S_ID_WIDTH_INT] = cmd_tid_reg;
end
assign int_cmd_tdest[m*S_DEST_WIDTH +: S_DEST_WIDTH] = cmd_tdest_reg;
assign int_cmd_tuser[m*USER_WIDTH +: USER_WIDTH] = cmd_tuser_reg;
assign int_cmd_valid[m*M_COUNT +: M_COUNT] = cmd_valid_reg;
Expand Down

0 comments on commit c6ecd77

Please sign in to comment.