mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
Add test to verify that the liberty format is properly parsed.
This commit is contained in:
parent
b7d7b377fd
commit
bf8aece4e4
5 changed files with 86 additions and 0 deletions
|
@ -7,6 +7,10 @@ for x in *.lib; do
|
|||
../../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
|
||||
if [[ -e ${x%.lib}.log.ok ]]; then
|
||||
../../yosys -p "dfflibmap -info -liberty ${x}" -TqqQl ${x%.lib}.log
|
||||
diff ${x%.lib}.log ${x%.lib}.log.ok
|
||||
fi
|
||||
done || exit 1
|
||||
|
||||
for x in *.ys; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue