aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools/autotest.sh
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-12 08:52:46 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-12 08:52:46 -0700
commit513c962a71b7ff08c037e8590d26b9b09603dfb4 (patch)
treec46b5e6f6f0f94a55f6601193f98b3ca9d83ff50 /tests/tools/autotest.sh
parentf7a9769c140f6a56e51d7384dfd8e76bf2aef66d (diff)
parent1e838a8913afa36a57d425f26ea881f5071b8b5d (diff)
downloadyosys-513c962a71b7ff08c037e8590d26b9b09603dfb4.tar.gz
yosys-513c962a71b7ff08c037e8590d26b9b09603dfb4.tar.bz2
yosys-513c962a71b7ff08c037e8590d26b9b09603dfb4.zip
Merge remote-tracking branch 'origin/xc7mux' into xaig
Diffstat (limited to 'tests/tools/autotest.sh')
-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 c394b9817..23964a751 100755
--- a/tests/tools/autotest.sh
+++ b/tests/tools/autotest.sh
@@ -143,6 +143,7 @@ do
fn=$(basename $fn)
bn=$(basename $bn)
+ rm -f ${bn}_ref.fir
if [[ "$ext" == "v" ]]; then
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
elif [[ "$ext" == "aig" ]] || [[ "$ext" == "aag" ]]; then
@@ -150,7 +151,6 @@ do
else
cp ../${fn} ${bn}_ref.${ext}
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