aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-07-02 13:50:23 -0500
committerWade Fife <wade.fife@ettus.com>2020-07-20 15:33:22 -0500
commite962cc4a5e51e2326eb656ee2a779ea26774687b (patch)
tree48a02d613160a7d3a84d6dea351ae1c4be7d5c4a /fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft
parentdc32aa5cd4fb174ee3c616f854f499a53137aa75 (diff)
downloaduhd-e962cc4a5e51e2326eb656ee2a779ea26774687b.tar.gz
uhd-e962cc4a5e51e2326eb656ee2a779ea26774687b.tar.bz2
uhd-e962cc4a5e51e2326eb656ee2a779ea26774687b.zip
fpga: rfnoc: Fix testbenches to run under ModelSim
This updates the makefiles for the testbenches so they can be run using "make modelsim" without any additional hacks. The "xsim" and "vsim" simulation targets also still work.
Diffstat (limited to 'fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft')
-rw-r--r--fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile11
-rw-r--r--fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile.srcs2
2 files changed, 5 insertions, 8 deletions
diff --git a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile
index 868246fbd..14869d7d9 100644
--- a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile
+++ b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright 2019 Ettus Research, A National Instruments Company
+# Copyright 2019 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
@@ -45,13 +45,10 @@ $(RFNOC_OOT_SRCS) \
#-------------------------------------------------
# Testbench Specific
#-------------------------------------------------
-# Define only one toplevel module
-SIM_TOP = rfnoc_block_fft_tb
-
-# Add test bench, user design under test, and
-# additional user created files
+SIM_TOP = rfnoc_block_fft_tb glbl
SIM_SRCS = \
-$(abspath rfnoc_block_fft_tb.sv)
+$(abspath rfnoc_block_fft_tb.sv) \
+$(VIVADO_PATH)/data/verilog/src/glbl.v \
#-------------------------------------------------
# Bottom-of-Makefile
diff --git a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile.srcs b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile.srcs
index 21ba967f2..b2d823453 100644
--- a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile.srcs
+++ b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_fft/Makefile.srcs
@@ -1,5 +1,5 @@
#
-# Copyright 2019 Ettus Research, A National Instruments Company
+# Copyright 2019 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#