Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-006
/
slot-033
/
e6a8abc243bd11eabf0712ce709a64879b7cebfb
/
.
/
openlane
/
scripts
/
extract_antenna_count.py
blob: d7fbe9e89bcf328de9f0603f4da6b7766f150133 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
re
import
sys
in_data
=
sys
.
stdin
.
read
()
print
(
re
.
findall
(
r
"[Aa]ntenna violations:\s*(\d+)"
,
in_data
)[-
1
],
end
=
""
)