mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-13 10:44:45 +00:00
11 lines
258 B
Bash
Executable file
11 lines
258 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
for x in *.lib; do
|
|
echo "Testing on $x.."
|
|
echo "read_liberty -lib $x" > test.ys
|
|
echo "write_verilog -blackboxes $x.v.tmp" >> test.ys
|
|
../../yosys -ql ${x%.lib}.log -s test.ys
|
|
sed '1,2d' $x.v.tmp > $x.v
|
|
diff $x.v $x.v.ok
|
|
done
|