修改测试用例,采用自动化程序判别寄存器是否正确,尚未全部完成

This commit is contained in:
2025-07-28 22:41:02 +08:00
parent 5b5e455040
commit f6ea9410ad
8 changed files with 562 additions and 254 deletions

View File

@@ -42,13 +42,17 @@ shin:
testShin:
./tb/shinTest/gen_pkt.py
mkdir -p generated/log
rm -rf generated/log/*
iverilog -Wall \
-o ./tb/build/shinTest.iverilog \
-y ./generated/shin \
-I ./generated/shin \
-D RANDOMIZE_REG_INIT \
./tb/shinTest/ShinTopSpiTb.v
vvp -N ./tb/build/shinTest.iverilog -lxt2
vvp -N ./tb/build/shinTest.iverilog -lxt2 || true
./tb/shinTest/check_testcase.py
vcdShin:
gtkwave ./tb/build/wave.vcd &