修改测试方案
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.PHONY:com sim clean
|
||||
|
||||
OUTPUT = shin_test
|
||||
CPU_COUNT := $(shell nproc)
|
||||
|
||||
VCS = vcs -sverilog +v2k -timescale=1ns/1ps \
|
||||
-full64 \
|
||||
@@ -8,6 +9,7 @@ VCS = vcs -sverilog +v2k -timescale=1ns/1ps \
|
||||
-l compile.log \
|
||||
-debug_access+none \
|
||||
+define+VCS_COMPILE \
|
||||
-fastpartcomp=j$(nproc) \
|
||||
|
||||
SIM = ./${OUTPUT} -l run.log
|
||||
|
||||
@@ -15,10 +17,12 @@ testShin_vcs:
|
||||
python3 ./shinTest/gen_pkt.py
|
||||
mkdir -p generated/log
|
||||
rm -rf generated/log/*
|
||||
@echo "Available CPUs: ${CPU_COUNT}"
|
||||
${VCS} -f ./shinTest_vcs.f
|
||||
${SIM}
|
||||
python3 ./shinTest/check_testcase.py
|
||||
|
||||
|
||||
testShinClk_vcs:
|
||||
python3 ./shinTest/gen_pkt_clk.py
|
||||
mkdir -p generated/log
|
||||
|
||||
Reference in New Issue
Block a user