Skip to content
Snippets Groups Projects
Unverified Commit 3c41826a authored by Kareem Farid's avatar Kareem Farid Committed by GitHub
Browse files

Suppress STA black-box warnings for fill cells (#2073)

STA black-boxing no longer warns about any cells in `FILL_CELL`, `DECAP_CELL` and `FP_WELLTAP_CELL`. The aim of this is to try to minimize frivolous warnings so that users don't miss other important warnings.
parent 6c80fdbc
No related branches found
No related tags found
No related merge requests found
......@@ -79,9 +79,18 @@ proc run_sta {args} {
proc blackbox_modules_check {file_path} {
set fp [open $file_path r]
set file_path [read $fp]
set ignore_patterns "$::env(FILL_CELL) $::env(DECAP_CELL) $::env(FP_WELLTAP_CELL)"
foreach line [split $file_path "\n"] {
if { [regexp {module\s+(\S+)\s+not\s+found} $line match first_group] } {
puts_warn "Module $first_group blackboxed during sta"
set ignored 0
foreach pattern $ignore_patterns {
if { [string match $pattern $first_group] != -1 } {
set ignored 1
}
}
if { $ignored != 1 } {
puts_warn "Module $first_group blackboxed during sta"
}
}
}
close $fp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment