Modification of readspice.tcl script to work around issue if no ports
are found (i.e., "port first" returns nothing, instead of a number).
This commit is contained in:
parent
e4bebffeb4
commit
c99e632744
|
|
@ -115,6 +115,10 @@ proc readspice {netfile} {
|
|||
if {$outport < $npins} {set outport $npins}
|
||||
set p [port first]
|
||||
while {$p != -1 && $p <= $highport} {
|
||||
if {$p == ""} {
|
||||
puts stderr "Error: $cellname port numbering failed."
|
||||
break
|
||||
}
|
||||
set p1 [port $p next]
|
||||
set testpin [port $p name]
|
||||
if {$testpin != ""} {
|
||||
|
|
|
|||
Loading…
Reference in New Issue