aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/e31x/Makefile.e31x.inc
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2022-01-29 20:47:36 -0600
committerWade Fife <wade.fife@ettus.com>2022-02-10 18:13:44 -0700
commit788fef11ef890c6dcee3be495fc381bcf2990d3b (patch)
tree87e9c0da8b56e47e7f1a23aa0a6f8673dbe6d1e0 /fpga/usrp3/top/e31x/Makefile.e31x.inc
parent8444f84add04f025b7e24855e0ba79446e615e01 (diff)
downloaduhd-788fef11ef890c6dcee3be495fc381bcf2990d3b.tar.gz
uhd-788fef11ef890c6dcee3be495fc381bcf2990d3b.tar.bz2
uhd-788fef11ef890c6dcee3be495fc381bcf2990d3b.zip
fpga: e31x: Add DRAM support
This adds DRAM support to E31x devices. Due to the size of the DDR3 memory controller, it is not enabled by default. You can include the memory controller IP in the build by adding the DRAM environment variable to your build. For example: DRAM=1 make E310_SG3
Diffstat (limited to 'fpga/usrp3/top/e31x/Makefile.e31x.inc')
-rw-r--r--fpga/usrp3/top/e31x/Makefile.e31x.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/fpga/usrp3/top/e31x/Makefile.e31x.inc b/fpga/usrp3/top/e31x/Makefile.e31x.inc
index 5e0f2ce33..4e017ca0c 100644
--- a/fpga/usrp3/top/e31x/Makefile.e31x.inc
+++ b/fpga/usrp3/top/e31x/Makefile.e31x.inc
@@ -32,11 +32,13 @@ include $(LIB_DIR)/dsp/Makefile.srcs
include $(LIB_DIR)/io_cap_gen/Makefile.srcs
include $(LIB_DIR)/rfnoc/Makefile.srcs
# For the sake of convenience, we include the Makefile.srcs for the DDC, DUC,
-# and the radio. Any other block needs to use the RFNOC_OOT_MAKEFILE_SRCS
-# variable (see below).
+# radio, replay and FIFO blocks. Any other block needs to use the
+# RFNOC_OOT_MAKEFILE_SRCS variable (see below).
include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_radio/Makefile.srcs
include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_ddc/Makefile.srcs
include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_duc/Makefile.srcs
+include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_replay/Makefile.srcs
+include $(LIB_DIR)/rfnoc/blocks/rfnoc_block_axi_ram_fifo/Makefile.srcs
# If out-of-tree modules want to be compiled into this image, then they need to
# pass in the RFNOC_OOT_MAKEFILE_SRCS as a list of Makefile.srcs files.
# Those files need to amend the RFNOC_OOT_SRCS variable with a list of actual
@@ -58,6 +60,7 @@ spi_slave.v
ifneq (IDLE,$(findstring IDLE, $(EXTRA_DEFS)))
TOP_SRCS += e31x.v
TOP_SRCS += e31x_core.v
+TOP_SRCS += e31x_dram.v
TOP_SRCS += e310_io.v
TOP_SRCS += $(EDGE_FILE) $(IMAGE_CORE)
MB_XDC = \
@@ -69,6 +72,8 @@ MB_XDC = \
e31x_idle_pins.xdc
endif
+DRAM_SRCS = $(IP_DRAM_XCI_SRCS)
+
# The XDC files must be read in a specific order, motherboard first and then daughterboard.
# Outside of that, all the other sources can be read in any order desired.
DESIGN_SRCS = \
@@ -96,6 +101,8 @@ $(CAP_GEN_GENERIC_SRCS) \
$(RFNOC_OOT_SRCS)\
$(RFNOC_FRAMEWORK_SRCS) $(RFNOC_BLOCK_NULL_SRC_SINK_SRCS) \
$(RFNOC_BLOCK_DUC_SRCS) $(RFNOC_BLOCK_DDC_SRCS) $(RFNOC_BLOCK_RADIO_SRCS) \
+$(RFNOC_BLOCK_AXI_RAM_FIFO_SRCS) \
+$(RFNOC_BLOCK_REPLAY_SRCS) \
$(RFNOC_BLOCK_EXAMPLE_SRCS) \
$(abspath $(MB_XDC))