first test

This commit is contained in:
RuigeLee
2023-07-28 15:38:46 +08:00
parent 85fe9175e6
commit 2048a4d286
6 changed files with 305 additions and 7 deletions

View File

@@ -72,3 +72,28 @@ sw:
fst:
gtkwave ./tb/build/wave.fst &
VSimBack:
rm -rf ./tb/build/
mkdir -p ./tb/build/
verilator -Wno-fatal \
--timescale "1 ns / 1 ps" \
-y ${PWD}/tb/ \
-y ${PWD}/generated/ \
--top-module BackBoardSlvTest \
--trace-fst \
--cc ./generated/BackBoardSlvTest.v \
+define+RANDOMIZE_GARBAGE_ASSIGN \
+define+RANDOMIZE_INVALID_ASSIGN \
+define+RANDOMIZE_REG_INIT \
+define+RANDOMIZE_MEM_INIT \
+define+RANDOMIZE_DELAY=0 \
--exe --build \
${PWD}/tb/sim_backSlv.cpp \
-Mdir ./tb/build/ \
-j 30