aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/n3xx
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-09-02 07:51:40 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-09-03 15:26:33 -0500
commit8f09caaa06725d2364c63ac7cff02f3298895f4a (patch)
tree5297872771346de94c3dbbc2a571614c8a991b87 /fpga/usrp3/top/n3xx
parentd80d56114a5eb15b844afc17b9962f0cf4b4ca28 (diff)
downloaduhd-8f09caaa06725d2364c63ac7cff02f3298895f4a.tar.gz
uhd-8f09caaa06725d2364c63ac7cff02f3298895f4a.tar.bz2
uhd-8f09caaa06725d2364c63ac7cff02f3298895f4a.zip
fpga: Update DRAM IO signatures
This updates the IO signatures so that all devices and RFNoC blocks use the same IO signature for the DRAM. This is needed because the IO signatures must match between the RFNoC blocks and the devices. This means that some devices have extra bits in the IO signature for the address, but the extra bits will simply be ignored.
Diffstat (limited to 'fpga/usrp3/top/n3xx')
-rw-r--r--fpga/usrp3/top/n3xx/n3xx_core.v20
1 files changed, 10 insertions, 10 deletions
diff --git a/fpga/usrp3/top/n3xx/n3xx_core.v b/fpga/usrp3/top/n3xx/n3xx_core.v
index 712aef998..406285824 100644
--- a/fpga/usrp3/top/n3xx/n3xx_core.v
+++ b/fpga/usrp3/top/n3xx/n3xx_core.v
@@ -616,7 +616,7 @@ module n3xx_core #(
// AXI4 MM buses
wire [0:0] dram_axi_awid [0:NUM_DRAM_FIFOS-1];
- wire [31:0] dram_axi_awaddr [0:NUM_DRAM_FIFOS-1];
+ wire [30:0] dram_axi_awaddr [0:NUM_DRAM_FIFOS-1];
wire [7:0] dram_axi_awlen [0:NUM_DRAM_FIFOS-1];
wire [2:0] dram_axi_awsize [0:NUM_DRAM_FIFOS-1];
wire [1:0] dram_axi_awburst [0:NUM_DRAM_FIFOS-1];
@@ -640,7 +640,7 @@ module n3xx_core #(
wire dram_axi_bvalid [0:NUM_DRAM_FIFOS-1];
wire dram_axi_bready [0:NUM_DRAM_FIFOS-1];
wire [0:0] dram_axi_arid [0:NUM_DRAM_FIFOS-1];
- wire [31:0] dram_axi_araddr [0:NUM_DRAM_FIFOS-1];
+ wire [30:0] dram_axi_araddr [0:NUM_DRAM_FIFOS-1];
wire [7:0] dram_axi_arlen [0:NUM_DRAM_FIFOS-1];
wire [2:0] dram_axi_arsize [0:NUM_DRAM_FIFOS-1];
wire [1:0] dram_axi_arburst [0:NUM_DRAM_FIFOS-1];
@@ -664,7 +664,7 @@ module n3xx_core #(
.S00_AXI_ACLK (ddr3_dma_clk ),
.S00_AXI_ARESETN (~ddr3_dma_rst ),
.S00_AXI_AWID (dram_axi_awid [0]),
- .S00_AXI_AWADDR (dram_axi_awaddr [0]),
+ .S00_AXI_AWADDR ({1,b0, dram_axi_awaddr[0]}),
.S00_AXI_AWLEN (dram_axi_awlen [0]),
.S00_AXI_AWSIZE (dram_axi_awsize [0]),
.S00_AXI_AWBURST (dram_axi_awburst [0]),
@@ -685,7 +685,7 @@ module n3xx_core #(
.S00_AXI_BVALID (dram_axi_bvalid [0]),
.S00_AXI_BREADY (dram_axi_bready [0]),
.S00_AXI_ARID (dram_axi_arid [0]),
- .S00_AXI_ARADDR (dram_axi_araddr [0]),
+ .S00_AXI_ARADDR ({1,b0, dram_axi_araddr[0]}),
.S00_AXI_ARLEN (dram_axi_arlen [0]),
.S00_AXI_ARSIZE (dram_axi_arsize [0]),
.S00_AXI_ARBURST (dram_axi_arburst [0]),
@@ -706,7 +706,7 @@ module n3xx_core #(
.S01_AXI_ACLK (ddr3_dma_clk ),
.S01_AXI_ARESETN (~ddr3_dma_rst ),
.S01_AXI_AWID (dram_axi_awid [1]),
- .S01_AXI_AWADDR (dram_axi_awaddr [1]),
+ .S01_AXI_AWADDR ({1,b0, dram_axi_awaddr[1]}),
.S01_AXI_AWLEN (dram_axi_awlen [1]),
.S01_AXI_AWSIZE (dram_axi_awsize [1]),
.S01_AXI_AWBURST (dram_axi_awburst [1]),
@@ -727,7 +727,7 @@ module n3xx_core #(
.S01_AXI_BVALID (dram_axi_bvalid [1]),
.S01_AXI_BREADY (dram_axi_bready [1]),
.S01_AXI_ARID (dram_axi_arid [1]),
- .S01_AXI_ARADDR (dram_axi_araddr [1]),
+ .S01_AXI_ARADDR ({1,b0, dram_axi_araddr[1]}),
.S01_AXI_ARLEN (dram_axi_arlen [1]),
.S01_AXI_ARSIZE (dram_axi_arsize [1]),
.S01_AXI_ARBURST (dram_axi_arburst [1]),
@@ -748,7 +748,7 @@ module n3xx_core #(
.S02_AXI_ACLK (ddr3_dma_clk ),
.S02_AXI_ARESETN (~ddr3_dma_rst ),
.S02_AXI_AWID (dram_axi_awid [2]),
- .S02_AXI_AWADDR (dram_axi_awaddr [2]),
+ .S02_AXI_AWADDR ({1,b0, dram_axi_awaddr[2]}),
.S02_AXI_AWLEN (dram_axi_awlen [2]),
.S02_AXI_AWSIZE (dram_axi_awsize [2]),
.S02_AXI_AWBURST (dram_axi_awburst [2]),
@@ -769,7 +769,7 @@ module n3xx_core #(
.S02_AXI_BVALID (dram_axi_bvalid [2]),
.S02_AXI_BREADY (dram_axi_bready [2]),
.S02_AXI_ARID (dram_axi_arid [2]),
- .S02_AXI_ARADDR (dram_axi_araddr [2]),
+ .S02_AXI_ARADDR ({1,b0, dram_axi_araddr[2]}),
.S02_AXI_ARLEN (dram_axi_arlen [2]),
.S02_AXI_ARSIZE (dram_axi_arsize [2]),
.S02_AXI_ARBURST (dram_axi_arburst [2]),
@@ -790,7 +790,7 @@ module n3xx_core #(
.S03_AXI_ACLK (ddr3_dma_clk ),
.S03_AXI_ARESETN (~ddr3_dma_rst ),
.S03_AXI_AWID (dram_axi_awid [3]),
- .S03_AXI_AWADDR (dram_axi_awaddr [3]),
+ .S03_AXI_AWADDR ({1,b0, dram_axi_awaddr[3]}),
.S03_AXI_AWLEN (dram_axi_awlen [3]),
.S03_AXI_AWSIZE (dram_axi_awsize [3]),
.S03_AXI_AWBURST (dram_axi_awburst [3]),
@@ -811,7 +811,7 @@ module n3xx_core #(
.S03_AXI_BVALID (dram_axi_bvalid [3]),
.S03_AXI_BREADY (dram_axi_bready [3]),
.S03_AXI_ARID (dram_axi_arid [3]),
- .S03_AXI_ARADDR (dram_axi_araddr [3]),
+ .S03_AXI_ARADDR ({1,b0, dram_axi_araddr[3]}),
.S03_AXI_ARLEN (dram_axi_arlen [3]),
.S03_AXI_ARSIZE (dram_axi_arsize [3]),
.S03_AXI_ARBURST (dram_axi_arburst [3]),