From 4c4bad08f2885cb47ec1e2e33a2425b4adc0eca3 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 23 Oct 2021 14:47:30 -0400 Subject: [PATCH] After reverting back to before pull request #33, updated the version and re-applied the fixes from issue #34. --- VERSION | 2 +- tcltk/netgen.tcl.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 137ac1e..966de6e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.203 +1.5.206 diff --git a/tcltk/netgen.tcl.in b/tcltk/netgen.tcl.in index 7c2e1e4..428dd00 100644 --- a/tcltk/netgen.tcl.in +++ b/tcltk/netgen.tcl.in @@ -609,16 +609,16 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} { } else { # Flatten the non-matching subcircuit (but not the top-level cells) if {[netgen::print queue] != {}} { - if {([lsearch $noflat [lindex $endval 1]] == -1) && + if {([lsearch $noflat [lindex $endval 0]] == -1) && ([lsearch $noflat [lindex $endval 1]] == -1)} { netgen::log put " Flattening non-matched subcircuits $endval\n" netgen::flatten class "[lindex $endval 0] $fnum1" netgen::flatten class "[lindex $endval 1] $fnum2" } else { netgen::log put " Continuing with black-boxed subcircuits $endval\n" - lappend matcherr [lindex $endval 0] + lappend matcherr [lindex $endval 0]"(1)" netgen::log put " Continuing with black-boxed subcircuits $endval\n" - lappend matcherr [lindex $endval 0] + lappend matcherr [lindex $endval 0]"(2)" # Match pins netgen::log echo off if {$dolist == 1} {