Added "wreduce" to some of the standard test benches
authorClifford Wolf <clifford@clifford.at>
Sun, 3 Aug 2014 18:03:16 +0000 (20:03 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 3 Aug 2014 18:22:33 +0000 (20:22 +0200)
tests/share/generate.py
tests/tools/autotest.sh
tests/vloghtb/test_share.sh

index e3b4bc9698298fb8de6c9997708aac2d688b78aa..a06a642d8ad4f471a3d8dc4d54eef0f169ff6fbb 100644 (file)
@@ -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')
index 2d97e46fd8e24dcccab42a500b396df2c347c8e3..9ae1c15558ee7bf153f38b0334aca285b794e28e 100755 (executable)
@@ -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
index da22116243f161dbe5c0cd4807995d06018773b5..67cfe44e8dec0deb15f09ecee108e8a18f7ee70f 100644 (file)
@@ -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