A previous attempt (in revision 193) to make the "lvs" script stop

saying that pins were mismatched when pin matching was never run
accidentally resulted in pin matching not being applied to black-box
entries.  This has been corrected.
This commit is contained in:
Tim Edwards 2021-07-11 10:58:30 -04:00
parent 0a0a6bcf63
commit c287b6cd28
2 changed files with 7 additions and 4 deletions

View File

@ -1 +1 @@
1.5.194 1.5.195

View File

@ -585,8 +585,7 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} {
netgen::log echo on netgen::log echo on
} }
} }
} elseif {$uresult > 0} { } else {
# Match pins
netgen::log echo off netgen::log echo off
if {$dolist == 1} { if {$dolist == 1} {
set result [equate -list pins "$fnum1 [lindex $endval 0]" \ set result [equate -list pins "$fnum1 [lindex $endval 0]" \
@ -599,7 +598,11 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} {
equate classes "$fnum1 [lindex $endval 0]" \ equate classes "$fnum1 [lindex $endval 0]" \
"$fnum2 [lindex $endval 1]" "$fnum2 [lindex $endval 1]"
} }
set pinsgood $result # If $uresult == -1 then these are black-box entries and
# $pinsgood should not be set to the resulting value.
if {$uresult > 0} {
set pinsgood $result
}
netgen::log echo on netgen::log echo on
} }
if {$uresult == 2} {lappend properr [lindex $endval 0]} if {$uresult == 2} {lappend properr [lindex $endval 0]}