mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 17:08:38 -08:00
axis: Normalize unpacked dimension
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -143,7 +143,7 @@ logic [FIFO_AW:0] wr_ptr_commit_reg = '0;
|
||||
logic [FIFO_AW:0] rd_ptr_reg = '0;
|
||||
|
||||
(* ramstyle = "no_rw_check" *)
|
||||
logic [WIDTH-1:0] mem[(2**FIFO_AW)-1:0];
|
||||
logic [WIDTH-1:0] mem[2**FIFO_AW];
|
||||
|
||||
(* shreg_extract = "no" *)
|
||||
logic [WIDTH-1:0] mem_rd_data_pipe_reg[RAM_PIPELINE+1-1:0];
|
||||
@@ -428,19 +428,19 @@ end else begin : output_fifo
|
||||
wire out_fifo_empty = out_fifo_wr_ptr_reg == out_fifo_rd_ptr_reg;
|
||||
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic [DATA_W-1:0] out_fifo_tdata[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic [DATA_W-1:0] out_fifo_tdata[2**OUTPUT_FIFO_AW];
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic [KEEP_W-1:0] out_fifo_tkeep[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic [KEEP_W-1:0] out_fifo_tkeep[2**OUTPUT_FIFO_AW];
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic [KEEP_W-1:0] out_fifo_tstrb[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic [KEEP_W-1:0] out_fifo_tstrb[2**OUTPUT_FIFO_AW];
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic out_fifo_tlast[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic out_fifo_tlast[2**OUTPUT_FIFO_AW];
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic [ID_W-1:0] out_fifo_tid[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic [ID_W-1:0] out_fifo_tid[2**OUTPUT_FIFO_AW];
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic [DEST_W-1:0] out_fifo_tdest[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic [DEST_W-1:0] out_fifo_tdest[2**OUTPUT_FIFO_AW];
|
||||
(* ram_style = "distributed", ramstyle = "no_rw_check, mlab" *)
|
||||
logic [USER_W-1:0] out_fifo_tuser[2**OUTPUT_FIFO_AW-1:0];
|
||||
logic [USER_W-1:0] out_fifo_tuser[2**OUTPUT_FIFO_AW];
|
||||
|
||||
assign pipe_ready = !out_fifo_half_full_reg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user