add usage & tests

This commit is contained in:
yaozhicheng 2024-05-22 16:53:04 +08:00
parent ccfa2ffa88
commit 6ac3fa7ba2
1 changed files with 14 additions and 1 deletions

View File

@ -7,7 +7,20 @@ export TARGET
default:
echo "TODO"
@echo "Usage"
@echo " test: run tests, use TEST=test_name specify test folder in tests, default test all tests"
@echo " uftb: build uFTB DUT module"
@echo " tage_sc: build TAGE_SC DUT module"
@echo " ftb: build FTB DUT module"
@echo " ras: build RAS DUT module"
@echo " ittage: build ITTAGE DUT module"
@echo " all: build all DUTs"
@echo "Make examples:"
@echo " make test TEST=uFTB-raw"
@echo " make uftb"
test:
make -f tests/Makefile
uftb:
make -f ./mk/uFTB.mk uftb