mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Update run target in Makefile
* Pass `APP` variable to the startup TCL script * Change the executed startup script based on gui or batch simulation
This commit is contained in:
parent
cc5186665d
commit
b7f2b67774
1 changed files with 5 additions and 1 deletions
|
|
@ -68,4 +68,8 @@ vsim-flags = -c
|
|||
endif
|
||||
|
||||
run:
|
||||
vsim $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); source $(VSIM_PATH)/scripts/start.tcl"
|
||||
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"
|
||||
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"
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue