3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-25 04:26:01 +00:00

Add test to verify that the liberty format is properly parsed.

This commit is contained in:
Mike Inouye 2025-04-23 18:40:35 +00:00 committed by Emil J. Tywoniak
parent 083daf1a87
commit 54ea41c40c
5 changed files with 86 additions and 0 deletions

View file

@ -8,6 +8,10 @@ for x in *.lib; do
../../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
for x in *.ys; do