$(info No post verify script found $(TARGETDIR)/$(RISCV_TARGET)/postverify.sh)
else
$(TARGETDIR)/$(RISCV_TARGET)/postverify.sh
endif
clean:
$(MAKE)$(JOBS)\
RISCV_TARGET=$(RISCV_TARGET)\
RISCV_DEVICE=$(RISCV_DEVICE)\
clean -C $(SUITEDIR)
help:
@echo "RISC-V Architectural Tests"
@echo ""
@echo " Makefile Environment Variables to be set per Target"
@echo " -- TARGETDIR='<directory containing the target folder>'"
@echo " -- XLEN='<make supported xlen>'"
@echo " -- RISCV_TARGET='<name of target>'"
@echo " -- RISCV_TARGET_FLAGS='<any flags to be passed to target>'"
@echo " -- RISCV_DEVICE='$(RISCV_ISA_OPT)' [ leave empty to run all devices ]"
@echo " -- RISCV_TEST='<name of the test. eg. I-ADD-01'"
@echo " "
@echo " Makefile targets available"
@echo " -- build: To compile all the tests within the RISCV_DEVICE suite and generate the elfs. Note this will default to running on the I extension alone if RISCV_DEVICE is empty"
@echo " -- run: To run compiled tests on the target model and generate signatures. Note this will default to running on the I extension alone if RISCV_DEVICE is empty"
@echo " -- verify: To verify if the generated signatures match the corresponding reference signatures. Note this will default to running on the I extension alone if RISCV_DEVICE is empty"
@echo " -- postverify: To run post verification processing for a target, for example with this, riscvOVPsim runs instructional functional coverage on the tests"
@echo " -- clean : removes the working directory from the root folder and also from the respective device folders of the target"
@echo " -- default: build, run, and verify on all devices enabled"