From 9e7c104d298e3ab920e9d7cc21839c6dc43f4957 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Fri, 6 Oct 2023 17:51:40 -0400 Subject: [PATCH] Corrected a small error in the device generator toolkit that fails to pick up properties from an existing cell and prints an error message instead. This will likely cause non-default properties of an instance to be lost if the SPICE import is used in a re-entrant manner (not exactly a common use-case). --- VERSION | 2 +- tcltk/toolkit.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a85871a9..1e7c7bfb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.436 +8.3.437 diff --git a/tcltk/toolkit.tcl b/tcltk/toolkit.tcl index 1025b696..72db64cb 100644 --- a/tcltk/toolkit.tcl +++ b/tcltk/toolkit.tcl @@ -509,7 +509,7 @@ proc magic::gencell {gencell_name {instname {}} args} { if {$cellname != ""} { # Case: Change existing instance, parameters in args (if any) select cell $instname - set devparms [cellname list property $gencell_type parameters] + set devparms [cellname list property $cellname parameters] set parameters [magic::gencell_defaults $gencell_type $library $devparms] if {[dict exists $parameters nocell]} { set arcount [array -list count]