修改测试用例,SPI/QSPI的测试用例应该过了

This commit is contained in:
2025-09-22 00:58:34 +08:00
parent d19c7e8481
commit 2c1627b215
7 changed files with 60 additions and 37 deletions

View File

@@ -2,6 +2,7 @@
OUTPUT = shin_test
CPU_COUNT := $(shell nproc)
SPI_TYPE ?= -spi 0
VCS = vcs -sverilog +v2k -timescale=1ns/1ps \
-full64 \
@@ -14,7 +15,7 @@ VCS = vcs -sverilog +v2k -timescale=1ns/1ps \
SIM = ./${OUTPUT} -l run.log
testShin_vcs:
python3 ./shinTest/gen_pkt.py
python3 ./shinTest/gen_pkt.py ${SPI_TYPE}
mkdir -p generated/log
rm -rf generated/log/*
@echo "Available CPUs: ${CPU_COUNT}"