Slight modification to print the list of cells being forced to
match for both the filename option and immediate list.
This commit is contained in:
parent
62d0352149
commit
330b34139c
|
|
@ -395,15 +395,21 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} {
|
||||||
# braces.
|
# braces.
|
||||||
if {![catch {file exists $value}]} {
|
if {![catch {file exists $value}]} {
|
||||||
if {![catch {open $value r} fnf]} {
|
if {![catch {open $value r} fnf]} {
|
||||||
while {[gets $fnf line] >= 0} {
|
while {[gets $fnf line] >= 0} {
|
||||||
lappend noflat $line
|
if {[lindex $line 0] != "#"} {
|
||||||
}
|
foreach cell $line {
|
||||||
close $fnf
|
lappend noflat $cell
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close $fnf
|
||||||
} else {
|
} else {
|
||||||
puts stderr "Cannot open file $value for reading cell list."
|
puts stderr "Cannot open file $value for reading cell list."
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
set noflat [string trim $value \"\{\}]
|
set noflat [string trim $value \"\{\}]
|
||||||
|
}
|
||||||
|
if {[llength $noflat] > 0} {
|
||||||
puts stdout "Will not flatten these subcells: $noflat"
|
puts stdout "Will not flatten these subcells: $noflat"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue