diff options
author | Wade Fife <wade.fife@ettus.com> | 2020-07-02 13:50:23 -0500 |
---|---|---|
committer | Wade Fife <wade.fife@ettus.com> | 2020-07-20 15:33:22 -0500 |
commit | e962cc4a5e51e2326eb656ee2a779ea26774687b (patch) | |
tree | 48a02d613160a7d3a84d6dea351ae1c4be7d5c4a /fpga/usrp3/lib/sim | |
parent | dc32aa5cd4fb174ee3c616f854f499a53137aa75 (diff) | |
download | uhd-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/sim')
-rw-r--r-- | fpga/usrp3/lib/sim/dsp/mult_add_clip/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fpga/usrp3/lib/sim/dsp/mult_add_clip/Makefile b/fpga/usrp3/lib/sim/dsp/mult_add_clip/Makefile index f0cdb3704..eb764749f 100644 --- a/fpga/usrp3/lib/sim/dsp/mult_add_clip/Makefile +++ b/fpga/usrp3/lib/sim/dsp/mult_add_clip/Makefile @@ -25,13 +25,14 @@ $(DSP_SRCS) \ #------------------------------------------------- # Testbench Specific #------------------------------------------------- -# Define only one toplevel module -SIM_TOP = mult_add_clip_tb +# Define toplevel module +SIM_TOP = mult_add_clip_tb glbl # Add test bench, user design under test, and # additional user created files SIM_SRCS = $(abspath \ mult_add_clip_tb.sv \ +$(VIVADO_PATH)/data/verilog/src/glbl.v \ ) # MODELSIM_USER_DO = $(abspath wave.do) |