From 90481914869f06fc9c498683418bd26e61b0c232 Mon Sep 17 00:00:00 2001 From: Mitch Bailey Date: Tue, 25 Nov 2025 00:51:06 +0900 Subject: [PATCH 1/2] Allow processing of cellnames with $. When loading a file, also print cellname on errors Signed-off-by: Mitch Bailey --- tcltk/netgen.tcl.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tcltk/netgen.tcl.in b/tcltk/netgen.tcl.in index a55f942..7bdf978 100644 --- a/tcltk/netgen.tcl.in +++ b/tcltk/netgen.tcl.in @@ -429,7 +429,7 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} { set file1 $name1 set cell1 $name1 } - puts stdout "Reading netlist file $file1" + puts stdout "Reading netlist file $file1 for $name1" set fnum1 [netgen::readnet $file1] } else { set cell1 [lindex $flist1 0] @@ -446,7 +446,7 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} { set file2 $name2 set cell2 $name2 } - puts stdout "Reading netlist file $file2" + puts stdout "Reading netlist file $file2 for $name2" set fnum2 [netgen::readnet $file2] } else { set cell2 [lindex $flist2 0] @@ -461,7 +461,7 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} { } set clist1 [cells list $fnum1] - set cidx [lsearch -regexp $clist1 ^$cell1$] + set cidx [lsearch -exact $clist1 $cell1] if {$cidx < 0} { puts stderr "Cannot find cell $cell1 in file $file1" return @@ -469,7 +469,7 @@ proc netgen::lvs { name1 name2 {setupfile setup.tcl} {logfile comp.out} args} { set cell1 [lindex $clist1 $cidx] } set clist2 [cells list $fnum2] - set cidx [lsearch -regexp $clist2 ^$cell2$] + set cidx [lsearch -exact $clist2 $cell2] if {$cidx < 0} { puts stderr "Cannot find cell $cell2 in file $file2" return From 24c6eb4cb9d46f11140cc64f111e9f1f57cdb77e Mon Sep 17 00:00:00 2001 From: "R. Timothy Edwards" Date: Mon, 24 Nov 2025 12:26:57 -0500 Subject: [PATCH 2/2] Updated the version to go along with the merge of pull request --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 6e82e37..293c95b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.309 +1.5.310