Added "wreduce" to some of the standard test benches

This commit is contained in:
Clifford Wolf 2014-08-03 20:03:16 +02:00
parent 027376515a
commit 358bf70a21
3 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,7 @@ for idx in range(100):
print('rename uut_%05d gate' % idx) print('rename uut_%05d gate' % idx)
print('tee -a temp/all_share_log.txt log') 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 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('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('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') print('sat -set-def-inputs -verify -prove trigger 0 -show-inputs -show-outputs miter')

View File

@ -140,7 +140,7 @@ do
elif [ "$frontend" = "verific_gates" ]; then elif [ "$frontend" = "verific_gates" ]; then
test_passes -p "verific -vlog2k $fn; verific -import -gates -all; opt; memory;;" test_passes -p "verific -vlog2k $fn; verific -import -gates -all; opt; memory;;"
else 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 test_passes -f "$frontend" -p "hierarchy; proc; opt; memory; opt; fsm; opt -fine; techmap; opt; abc -dff; opt" $fn
fi fi
touch ../${bn}.log touch ../${bn}.log

View File

@ -6,6 +6,6 @@ source common.sh
f=$1 f=$1
n=$(basename ${f%.v}) 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 exit 0