mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-16 08:38:32 +00:00
Use environment variable for VSIM
This commit is contained in:
parent
b7f2b67774
commit
197d06b6ad
1 changed files with 4 additions and 2 deletions
|
|
@ -67,9 +67,11 @@ ifndef gui
|
||||||
vsim-flags = -c
|
vsim-flags = -c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
VSIM ?= vsim
|
||||||
|
|
||||||
run:
|
run:
|
||||||
ifdef gui
|
ifdef gui
|
||||||
vsim $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); set APP $(TARGET_BUILD_DIR)/$(PULP_APP)/$(PULP_APP); source $(VSIM_PATH)/scripts/start.tcl"
|
$(VSIM) $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); set APP $(TARGET_BUILD_DIR)/$(PULP_APP)/$(PULP_APP); source $(VSIM_PATH)/scripts/start.tcl"
|
||||||
else
|
else
|
||||||
vsim $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); set APP $(TARGET_BUILD_DIR)/$(PULP_APP)/$(PULP_APP); source $(VSIM_PATH)/scripts/run_and_exit.tcl"
|
$(VSIM) $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); set APP $(TARGET_BUILD_DIR)/$(PULP_APP)/$(PULP_APP); source $(VSIM_PATH)/scripts/run_and_exit.tcl"
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue