1
0
mirror of synced 2026-05-05 07:35:21 +00:00

autotest.sh to define _AUTOTB when test_autotb

This commit is contained in:
Eddie Hung
2019-06-28 14:18:56 -07:00
parent 0c4689c41a
commit dc05613613

View File

@@ -157,7 +157,7 @@ do
fi
if [ ! -f ../${bn}_tb.v ]; then
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.${refext}
"$toolsdir"/../../yosys -f "$frontend $include_opts -D_AUTOTB" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.${refext}
else
cp ../${bn}_tb.v ${bn}_tb.v
fi