mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Align to QoL changes introduced previously in carfield-cluster
This commit is contained in:
parent
ed59950ab7
commit
0782b2fee0
1 changed files with 8 additions and 2 deletions
|
|
@ -1,4 +1,10 @@
|
|||
HOSTNAME := $(shell hostname)
|
||||
ETH_HOST = $(shell echo $(HOSTNAME) | grep -q "\.ee\.ethz\.ch$$" && echo 1 || echo 0)
|
||||
ifeq (ETH_HOST,1)
|
||||
QUESTA ?= questa-2022.3
|
||||
else
|
||||
QUESTA ?=
|
||||
endif
|
||||
ifdef USE_IBEX
|
||||
PULP_LDFLAGS +=
|
||||
PULP_CFLAGS += -D__ibex__ -U__riscv__ -UARCHI_CORE_HAS_PULPV2 -DRV_ISA_RV32
|
||||
|
|
@ -73,5 +79,5 @@ ifndef gui
|
|||
vsim-flags = -c
|
||||
endif
|
||||
|
||||
run:
|
||||
$(QUESTA) vsim $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); source $(VSIM_PATH)/scripts/start.tcl"
|
||||
run: $(TARGETS)
|
||||
cd $(TARGET_BUILD_DIR); $(QUESTA) vsim $(vsim-flags) -do "set VSIM_PATH $(VSIM_PATH); source $(VSIM_PATH)/scripts/start.tcl"
|
||||
|
|
|
|||
Loading…
Reference in a new issue