axi_dmac: Set axi4lite address space size to 4k
The AXI specification that the minimum address space size is 4k, make sure the axi_dmac adheres to this. Internally the register space is still 2k. This means the upper and lower 2k of the axi4lite register space will map to the same internal registers. Software must not rely on this and only access the lower 2k to enable compatibility in case the internal space grows in the future. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
1bf25edf77
commit
95d530e7c9
|
@ -61,7 +61,7 @@ module axi_dmac #(
|
|||
input s_axi_aresetn,
|
||||
|
||||
input s_axi_awvalid,
|
||||
input [10:0] s_axi_awaddr,
|
||||
input [11:0] s_axi_awaddr,
|
||||
output s_axi_awready,
|
||||
input [2:0] s_axi_awprot,
|
||||
input s_axi_wvalid,
|
||||
|
@ -72,7 +72,7 @@ module axi_dmac #(
|
|||
output [ 1:0] s_axi_bresp,
|
||||
input s_axi_bready,
|
||||
input s_axi_arvalid,
|
||||
input [10:0] s_axi_araddr,
|
||||
input [11:0] s_axi_araddr,
|
||||
output s_axi_arready,
|
||||
input [2:0] s_axi_arprot,
|
||||
output s_axi_rvalid,
|
||||
|
@ -304,7 +304,7 @@ assign m_src_axi_wstrb = 'd0;
|
|||
assign m_src_axi_wlast = 'd0;
|
||||
|
||||
up_axi #(
|
||||
.AXI_ADDRESS_WIDTH (11),
|
||||
.AXI_ADDRESS_WIDTH (12),
|
||||
.ADDRESS_WIDTH (9)
|
||||
) i_up_axi (
|
||||
.up_rstn(s_axi_aresetn),
|
||||
|
|
Loading…
Reference in New Issue