2014-07-21 07:08:13 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
source common.sh
|
|
|
|
|
|
|
|
f=$1
|
|
|
|
n=$(basename ${f%.v})
|
|
|
|
|
2014-07-28 02:15:40 -05:00
|
|
|
mkdir -p log_test_mapopt
|
|
|
|
rm -f log_test_mapopt/$n.*
|
|
|
|
|
2014-07-27 14:13:23 -05:00
|
|
|
test_equiv mapopt_1 "opt -fine; techmap; opt" "-set-def-inputs" $n $f
|
2014-07-28 02:15:40 -05:00
|
|
|
test_autotest mapopt_2 "proc; opt; techmap; opt" $n $f
|
|
|
|
|
|
|
|
tail -n20 log_test_mapopt_1/$n.txt log_test_mapopt_2/$n.txt > log_test_mapopt/$n.txt
|
2014-07-21 07:08:13 -05:00
|
|
|
|
|
|
|
exit 0
|