mirror of https://github.com/YosysHQ/yosys.git
Added "wreduce" to some of the standard test benches
This commit is contained in:
parent
027376515a
commit
358bf70a21
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue