Do not use shiftmul peepopt pattern when mul result is truncated, fixes #1047
[yosys.git] / tests / liberty / run-test.sh
1 #!/bin/bash
2 set -e
3
4 for x in *.lib; do
5 echo "Running $x.."
6 echo "read_verilog small.v" > test.ys
7 echo "synth -top small" >> test.ys
8 echo "dfflibmap -liberty ${x}" >> test.ys
9 ../../yosys -ql ${x%.lib}.log -s test.ys
10 done