Skip to content

Commit

Permalink
merged changes in axis
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforencich committed Feb 6, 2024
2 parents 0ac15c6 + 10b6d2f commit 22abe6c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/axis/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 Expand Up @@ -910,11 +912,17 @@ generate
assign port_cmd_status_ready[m] = int_cmd_status_ready[m*M_COUNT+n];
end

(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
reg [DATA_WIDTH-1:0] out_fifo_tdata[31:0];
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
reg [KEEP_WIDTH-1:0] out_fifo_tkeep[31:0];
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
reg out_fifo_tlast[31:0];
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
reg [M_ID_WIDTH-1:0] out_fifo_tid[31:0];
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
reg [M_DEST_WIDTH-1:0] out_fifo_tdest[31:0];
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
reg [USER_WIDTH-1:0] out_fifo_tuser[31:0];

reg [5:0] out_fifo_data_wr_ptr_reg = 0;
Expand Down

0 comments on commit 22abe6c

Please sign in to comment.