将vcs仿真流程修正得更好

This commit is contained in:
2025-09-07 00:10:41 +08:00
parent 4a21e4b2ba
commit 8a7e4981fb
5 changed files with 45 additions and 12 deletions

View File

@@ -2,11 +2,12 @@
OUTPUT = shin_test
VCS = vcs -sverilog +v2k -timescale=1ns/1ps \
-debug_all \
-full64 \
-o ${OUTPUT} \
-l compile.log \
VCS = vcs -sverilog +v2k -timescale=1ns/1ps \
-full64 \
-o ${OUTPUT} \
-l compile.log \
-debug_access+none \
+define+VCS_COMPILE \
SIM = ./${OUTPUT} -l run.log
@@ -16,6 +17,16 @@ testShin_vcs:
rm -rf generated/log/*
${VCS} -f ./shinTest_vcs.f
${SIM}
python3 ./shinTest/check_testcase.py
testShinClk_vcs:
python3 ./shinTest/gen_pkt_clk.py
mkdir -p generated/log
rm -rf generated/log/*
${VCS} -f ./shinTestClk_vcs.f
${SIM}
python3 ./shinTest/check_testcase.py
sim:
${SIM}