1
0
mirror of synced 2026-02-16 04:52:43 +00:00
Files
YosysHQ.yosys/tests/liberty/run-test.sh
2023-08-12 11:59:39 +10:00

11 lines
248 B
Bash
Executable File

#!/usr/bin/env 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