mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
rules: Generate fs and stdout dirs for run target
When running a questa simulation for pulp/pulpissimo, the testbench tries to write some log files to stdout/ and fs/, which don't exist resulting in an ENOENT.
This commit is contained in:
parent
d35b07640b
commit
3b2079e1bc
1 changed files with 7 additions and 1 deletions
|
|
@ -223,8 +223,14 @@ $(TARGET_BUILD_DIR)/tcl_files:
|
|||
$(TARGET_BUILD_DIR)/waves:
|
||||
ln -s $(VSIM_PATH)/waves $@
|
||||
|
||||
$(TARGET_BUILD_DIR)/stdout:
|
||||
mkdir -p $@
|
||||
|
||||
run: $(TARGET_BUILD_DIR)/modelsim.ini $(TARGET_BUILD_DIR)/boot $(TARGET_BUILD_DIR)/tcl_files $(TARGET_BUILD_DIR)/waves
|
||||
$(TARGET_BUILD_DIR)/fs:
|
||||
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
|
||||
$(PULPRT_HOME)/bin/stim_utils.py --binary=$(TARGETS) --vectors=$(TARGET_BUILD_DIR)/vectors/stim.txt
|
||||
|
||||
ifdef gui
|
||||
|
|
|
|||
Loading…
Reference in a new issue