1
0
mirror of synced 2026-02-16 21:10:58 +00:00
Files
YosysHQ.yosys/tests/liberty/run-test.sh
2020-07-09 18:51:03 +02:00

11 lines
240 B
Bash
Executable File

#!/bin/bash
set -e
for x in *.lib; do
echo "Running $x.."
echo "read_verilog small.v" > test.ys
echo "synth -top small" >> test.ys
echo "dfflibmap -info -liberty ${x}" >> test.ys
../../yosys -ql ${x%.lib}.log -s test.ys
done