mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-17 08:41:03 +00:00
pulp-runtime: Link vsim work dir into build dir
This commit is contained in:
parent
026a98d56a
commit
82d3ee5f32
1 changed files with 8 additions and 1 deletions
|
|
@ -256,6 +256,13 @@ ifndef VSIM_PATH
|
||||||
endif
|
endif
|
||||||
ln -s $(VSIM_PATH)/modelsim.ini $@
|
ln -s $(VSIM_PATH)/modelsim.ini $@
|
||||||
|
|
||||||
|
$(TARGET_BUILD_DIR)/work:
|
||||||
|
ifndef VSIM_PATH
|
||||||
|
$(error "VSIM_PATH is undefined. Either call \
|
||||||
|
'source $$YOUR_HW_DIR/setup/vsim.sh' or set it manually.")
|
||||||
|
endif
|
||||||
|
ln -s $(VSIM_PATH)/work $@
|
||||||
|
|
||||||
$(TARGET_BUILD_DIR)/boot:
|
$(TARGET_BUILD_DIR)/boot:
|
||||||
ifndef VSIM_PATH
|
ifndef VSIM_PATH
|
||||||
$(error "VSIM_PATH is undefined. Either call \
|
$(error "VSIM_PATH is undefined. Either call \
|
||||||
|
|
@ -284,7 +291,7 @@ $(TARGET_BUILD_DIR)/fs:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
|
||||||
run: $(TARGET_BUILD_DIR)/modelsim.ini $(TARGET_BUILD_DIR)/boot $(TARGET_BUILD_DIR)/tcl_files $(TARGET_BUILD_DIR)/stdout $(TARGET_BUILD_DIR)/fs $(TARGET_BUILD_DIR)/waves
|
run: $(TARGET_BUILD_DIR)/modelsim.ini $(TARGET_BUILD_DIR)/boot $(TARGET_BUILD_DIR)/tcl_files $(TARGET_BUILD_DIR)/stdout $(TARGET_BUILD_DIR)/fs $(TARGET_BUILD_DIR)/waves $(TARGET_BUILD_DIR)/work
|
||||||
$(PULPRT_HOME)/bin/stim_utils.py --binary=$(TARGETS) --vectors=$(TARGET_BUILD_DIR)/vectors/stim.txt
|
$(PULPRT_HOME)/bin/stim_utils.py --binary=$(TARGETS) --vectors=$(TARGET_BUILD_DIR)/vectors/stim.txt
|
||||||
$(PULPRT_HOME)/bin/plp_mkflash --flash-boot-binary=$(TARGETS) --stimuli=$(TARGET_BUILD_DIR)/vectors/qspi_stim.slm --flash-type=spi --qpi
|
$(PULPRT_HOME)/bin/plp_mkflash --flash-boot-binary=$(TARGETS) --stimuli=$(TARGET_BUILD_DIR)/vectors/qspi_stim.slm --flash-type=spi --qpi
|
||||||
$(PULPRT_HOME)/bin/slm_hyper.py --input=$(TARGET_BUILD_DIR)/vectors/qspi_stim.slm --output=$(TARGET_BUILD_DIR)/vectors/hyper_stim.slm
|
$(PULPRT_HOME)/bin/slm_hyper.py --input=$(TARGET_BUILD_DIR)/vectors/qspi_stim.slm --output=$(TARGET_BUILD_DIR)/vectors/hyper_stim.slm
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue