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
1 changed files with 1 additions and 1 deletions

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