mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
stat: allow gzipped liberty files
This commit is contained in:
parent
7aefd4b226
commit
980a0a15c1
2 changed files with 19 additions and 5 deletions
14
tests/various/stat.ys
Normal file
14
tests/various/stat.ys
Normal file
|
@ -0,0 +1,14 @@
|
|||
read_rtlil << EOF
|
||||
module \top
|
||||
wire input 1 \A
|
||||
wire output 2 \Y
|
||||
cell \sg13g2_and2_1 \sub
|
||||
connect \A \A
|
||||
connect \B 1'0
|
||||
connect \Y \Y
|
||||
end
|
||||
end
|
||||
EOF
|
||||
logger -expect log "Chip area for module '\\top': 9.072000" 1
|
||||
logger -expect-no-warnings
|
||||
stat -liberty ../../tests/liberty/foundry_data/sg13g2_stdcell_typ_1p20V_25C.lib.filtered.gz
|
Loading…
Add table
Add a link
Reference in a new issue