aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/tools/make
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-06-09 13:29:10 -0500
committerWade Fife <wade.fife@ettus.com>2021-06-17 08:16:59 -0500
commit08473776b28a949027ec8cf2596d8d1b438b979b (patch)
tree7ee23b58eefcabf20ee88d49318f4cf61d03de4b /fpga/usrp3/tools/make
parent5a4f0470919440819ab71f44fbc6f5f89a671e41 (diff)
downloaduhd-08473776b28a949027ec8cf2596d8d1b438b979b.tar.gz
uhd-08473776b28a949027ec8cf2596d8d1b438b979b.tar.bz2
uhd-08473776b28a949027ec8cf2596d8d1b438b979b.zip
fpga: tools: Add modelsim.ini to ModelSim calls
This adds the MSIM_VIV_COMPLIBDIR environment variable to specify a non-default location for the compilation libraries. This also allows a modelsim.ini other than the one in the ModelSim installation folder to be used. By default, the one in the simulation libraries compilation directory will be used. This can be changed by setting MSIM_MODELSIM_INI to the one you want to use, or set it to an empty string to use the one in the ModelSim installation folder.
Diffstat (limited to 'fpga/usrp3/tools/make')
-rw-r--r--fpga/usrp3/tools/make/viv_simulator.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpga/usrp3/tools/make/viv_simulator.mak b/fpga/usrp3/tools/make/viv_simulator.mak
index eaa23adcc..f37cc9626 100644
--- a/fpga/usrp3/tools/make/viv_simulator.mak
+++ b/fpga/usrp3/tools/make/viv_simulator.mak
@@ -68,6 +68,7 @@ SETUP_AND_LAUNCH_VLINT = \
export VLINT_SVLOG_ARGS="$(SVLOG_ARGS)"; \
export VLINT_VLOG_ARGS="$(VLOG_ARGS)"; \
export VLINT_VHDL_ARGS="$(VHDL_ARGS)"; \
+ export VLINT_MODELSIM_INI="$(MODELSIM_INI)"; \
$(TOOLS_DIR)/scripts/launch_vlint.sh
# -------------------------------------------------------------------
@@ -82,6 +83,7 @@ SETUP_AND_LAUNCH_MODELSIM = \
export MSIM_ARGS="$(MODELSIM_ARGS)"; \
export MSIM_LIBS="$(MODELSIM_LIBS)"; \
export MSIM_MODE=$(VIVADO_MODE); \
+ export MSIM_MODELSIM_INI="$(MODELSIM_INI)"; \
$(TOOLS_DIR)/scripts/launch_modelsim.sh
.SECONDEXPANSION: