From: Clifford Wolf Date: Sun, 3 Aug 2014 18:03:16 +0000 (+0200) Subject: Added "wreduce" to some of the standard test benches X-Git-Tag: yosys-0.4~311 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=358bf70a2111d476d9d209f216fdd087356ec0d9;p=yosys.git Added "wreduce" to some of the standard test benches --- diff --git a/tests/share/generate.py b/tests/share/generate.py index e3b4bc969..a06a642d8 100644 --- a/tests/share/generate.py +++ b/tests/share/generate.py @@ -66,6 +66,7 @@ for idx in range(100): print('rename uut_%05d gate' % idx) print('tee -a temp/all_share_log.txt log') print('tee -a temp/all_share_log.txt log #job# uut_%05d' % idx) + print('tee -a temp/all_share_log.txt wreduce') print('tee -a temp/all_share_log.txt share -aggressive gate') print('miter -equiv -flatten -ignore_gold_x -make_outputs -make_outcmp gold gate miter') print('sat -set-def-inputs -verify -prove trigger 0 -show-inputs -show-outputs miter') diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh index 2d97e46fd..9ae1c1555 100755 --- a/tests/tools/autotest.sh +++ b/tests/tools/autotest.sh @@ -140,7 +140,7 @@ do elif [ "$frontend" = "verific_gates" ]; then test_passes -p "verific -vlog2k $fn; verific -import -gates -all; opt; memory;;" else - test_passes -f "$frontend" -p "hierarchy; proc; opt; memory -nomap; opt; fsm; opt" $fn + test_passes -f "$frontend" -p "hierarchy; proc; opt_const; opt_share;; wreduce;; share;; opt; memory -nomap;; fsm; opt" $fn test_passes -f "$frontend" -p "hierarchy; proc; opt; memory; opt; fsm; opt -fine; techmap; opt; abc -dff; opt" $fn fi touch ../${bn}.log diff --git a/tests/vloghtb/test_share.sh b/tests/vloghtb/test_share.sh index da2211624..67cfe44e8 100644 --- a/tests/vloghtb/test_share.sh +++ b/tests/vloghtb/test_share.sh @@ -6,6 +6,6 @@ source common.sh f=$1 n=$(basename ${f%.v}) -test_equiv share "share -aggressive" "-ignore_div_by_zero" $n $f +test_equiv share "wreduce; share -aggressive" "-ignore_div_by_zero" $n $f exit 0