aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-05-28 09:38:58 -0700
committerEddie Hung <eddie@fpgeh.com>2019-05-28 09:38:58 -0700
commit5f39c262c278f90f6bbb55d5969b970230876ef5 (patch)
tree5532af874ff0dafd813780192cb82f8bf88a12fb /tests
parentcdedf51c326122a3154a587e3784bbf5a5b4e727 (diff)
downloadyosys-5f39c262c278f90f6bbb55d5969b970230876ef5.tar.gz
yosys-5f39c262c278f90f6bbb55d5969b970230876ef5.tar.bz2
yosys-5f39c262c278f90f6bbb55d5969b970230876ef5.zip
From master
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tools/autotest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh
index 1825990a9..920474a84 100755
--- a/tests/tools/autotest.sh
+++ b/tests/tools/autotest.sh
@@ -132,13 +132,13 @@ do
fn=$(basename $fn)
bn=$(basename $bn)
+ rm -f ${bn}_ref.fir
if [[ "$ext" == "v" ]]; then
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
else
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "verilog" -o ${bn}_ref.v ../${fn}
frontend="verilog -noblackbox"
fi
- rm -f ${bn}_ref.fir
if [ ! -f ../${bn}_tb.v ]; then
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.v