修改测试用例,采用自动化程序判别寄存器是否正确,尚未全部完成
This commit is contained in:
6
Makefile
6
Makefile
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user