mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Use environment variable for VSIM
This commit is contained in:
parent
3ea7b1bba6
commit
38ae6be6e2
1 changed files with 4 additions and 2 deletions
|
|
@ -67,9 +67,11 @@ ifndef gui
|
|||
vsim-flags = -c
|
||||
endif
|
||||
|
||||
VSIM ?= vsim
|
||||
|
||||
run:
|
||||
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue