From: Eddie Hung Date: Tue, 19 Feb 2019 20:36:10 +0000 (-0800) Subject: Merge branch 'master' into read_aiger X-Git-Tag: working-ls180~1237^2~274^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92b60d5e42c57e2c268ef13bcc3138a5399501b8;p=yosys.git Merge branch 'master' into read_aiger --- 92b60d5e42c57e2c268ef13bcc3138a5399501b8 diff --cc tests/tools/autotest.sh index 0ffa062e3,6fdd1e80a..65fd4cb1f --- a/tests/tools/autotest.sh +++ b/tests/tools/autotest.sh @@@ -112,13 -133,10 +134,14 @@@ d fn=$(basename $fn) bn=$(basename $bn) + 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" + fi + rm -f ${bn}_ref.fir - egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.v - if [ ! -f ../${bn}_tb.v ]; then "$toolsdir"/../../yosys -f "$frontend $include_opts" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.v else