Skip to content

Commit

Permalink
axi_dmac_regmap_request.v: Updating assignment for up_dma_x_length. (#…
Browse files Browse the repository at this point in the history
…1539)

The Lattice Radiant in the default configuration can not
automatically infer the array size at concatenation.

Signed-off-by: Villyam <[email protected]>
  • Loading branch information
Villyam authored Dec 12, 2024
1 parent 85cec8f commit a75d26c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/axi_dmac/axi_dmac_regmap_request.v
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ module axi_dmac_regmap_request #(

reg [DMA_AXI_ADDR_WIDTH-1:BYTES_PER_BEAT_WIDTH_DEST] up_dma_dest_address = DMAC_DEF_DEST_ADDR_DEFAULT;
reg [DMA_AXI_ADDR_WIDTH-1:BYTES_PER_BEAT_WIDTH_SRC] up_dma_src_address = DMAC_DEF_SRC_ADDR_DEFAULT;
reg [DMA_LENGTH_WIDTH-1:0] up_dma_x_length = {DMAC_DEF_X_LENGTH_DEFAULT,{DMA_LENGTH_ALIGN{1'b1}}};
reg [DMA_LENGTH_WIDTH-1:0] up_dma_x_length =
{DMAC_DEF_X_LENGTH_DEFAULT[((DMA_LENGTH_WIDTH - 1) - DMA_LENGTH_ALIGN):0], {DMA_LENGTH_ALIGN{1'b1}}};
reg up_dma_cyclic = AUTORUN_FLAGS_CYCLIC;
reg up_dma_last = AUTORUN_FLAGS_LAST;
reg up_dma_enable_tlen_reporting = AUTORUN_FLAGS_TLEN;
Expand Down

0 comments on commit a75d26c

Please sign in to comment.