From aee95ebe967d8ca6f1157e32253b1d6bcf32ecf4 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 29 Sep 2014 21:47:15 +0200 Subject: [PATCH] axi_dmac: Fix dummy AXI a{r,w}len fields width The dummy a{r,w}len fields should have the same width as the real a{w,r}len fields in order to not break auto AXI bus version detection. Signed-off-by: Lars-Peter Clausen --- library/axi_dmac/axi_dmac.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/axi_dmac/axi_dmac.v b/library/axi_dmac/axi_dmac.v index c24c13974..e3cb0fe47 100644 --- a/library/axi_dmac/axi_dmac.v +++ b/library/axi_dmac/axi_dmac.v @@ -95,7 +95,7 @@ module axi_dmac ( // Unused read interface output m_dest_axi_arvalid, output [31:0] m_dest_axi_araddr, - output [ 7:0] m_dest_axi_arlen, + output [7-(4*C_DMA_AXI_PROTOCOL_DEST):0] m_dest_axi_arlen, output [ 2:0] m_dest_axi_arsize, output [ 1:0] m_dest_axi_arburst, output [ 3:0] m_dest_axi_arcache, @@ -125,7 +125,7 @@ module axi_dmac ( // Unused write interface output m_src_axi_awvalid, output [31:0] m_src_axi_awaddr, - output [ 7:0] m_src_axi_awlen, + output [7-(4*C_DMA_AXI_PROTOCOL_SRC):0] m_src_axi_awlen, output [ 2:0] m_src_axi_awsize, output [ 1:0] m_src_axi_awburst, output [ 3:0] m_src_axi_awcache,