aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/e31x/Makefile.e31x.inc
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-12-09 14:30:30 -0600
committerWade Fife <wade.fife@ettus.com>2022-03-29 14:45:04 -0500
commit6f038dc2f69b38e715206b2e700fdd3a1bbc638e (patch)
tree8fb2499be9e9a7acffd5add92a59389f3e6bb2b9 /fpga/usrp3/top/e31x/Makefile.e31x.inc
parent61337817eb9c617db37fdbb16fb5f598e15a29a7 (diff)
downloaduhd-6f038dc2f69b38e715206b2e700fdd3a1bbc638e.tar.gz
uhd-6f038dc2f69b38e715206b2e700fdd3a1bbc638e.tar.bz2
uhd-6f038dc2f69b38e715206b2e700fdd3a1bbc638e.zip
fpga: Use PROTOVER and CHDR_W from RFNoC image builder
This updates all RFNoC devices so that they get the RFNoC protocol version and CHDR width in the same way, from the output generated by the RFNoC image builder.
Diffstat (limited to 'fpga/usrp3/top/e31x/Makefile.e31x.inc')
-rw-r--r--fpga/usrp3/top/e31x/Makefile.e31x.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpga/usrp3/top/e31x/Makefile.e31x.inc b/fpga/usrp3/top/e31x/Makefile.e31x.inc
index 4e017ca0c..871dd5318 100644
--- a/fpga/usrp3/top/e31x/Makefile.e31x.inc
+++ b/fpga/usrp3/top/e31x/Makefile.e31x.inc
@@ -107,13 +107,14 @@ $(RFNOC_BLOCK_EXAMPLE_SRCS) \
$(abspath $(MB_XDC))
EDGE_TBL_DEF="RFNOC_EDGE_TBL_FILE=$(call RESOLVE_PATH,$(EDGE_FILE))"
+IMAGE_CORE_DEF="RFNOC_IMAGE_CORE_HDR=$(call RESOLVE_PATH,$(IMAGE_CORE:.v=.vh))"
##################################################
# Dependency Targets
##################################################
.SECONDEXPANSION:
-VERILOG_DEFS=$(EXTRA_DEFS) $(CUSTOM_DEFS) $(GIT_HASH_VERILOG_DEF) $(EDGE_TBL_DEF)
+VERILOG_DEFS=$(EXTRA_DEFS) $(CUSTOM_DEFS) $(GIT_HASH_VERILOG_DEF) $(EDGE_TBL_DEF) $(IMAGE_CORE_DEF)
# DESIGN_SRCS and VERILOG_DEFS must be defined
bin: .prereqs $$(DESIGN_SRCS) ip