mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Merge 7191b9ad1f
into 08b3a9fc7b
This commit is contained in:
commit
334d6029f7
1 changed files with 5 additions and 4 deletions
|
@ -1,16 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
set -eo pipefail
|
||||
|
||||
for x in *.lib; do
|
||||
echo "Testing on $x.."
|
||||
../../yosys -p "read_verilog small.v; synth -top small; dfflibmap -info -liberty ${x}" -ql ${x%.lib}.log
|
||||
../../yosys-filterlib - $x 2>/dev/null > $x.filtered
|
||||
../../yosys-filterlib -verilogsim $x > $x.verilogsim
|
||||
diff $x.filtered $x.filtered.ok && diff $x.verilogsim $x.verilogsim.ok
|
||||
done || exit 1
|
||||
diff $x.filtered $x.filtered.ok
|
||||
diff $x.verilogsim $x.verilogsim.ok
|
||||
done
|
||||
|
||||
for x in *.ys; do
|
||||
echo "Running $x.."
|
||||
../../yosys -q -s $x -l ${x%.ys}.log
|
||||
done || exit 1
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue