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).
This commit is contained in:
Tim Edwards 2023-10-06 17:51:40 -04:00
parent ce6f7840db
commit 9e7c104d29
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8.3.436
8.3.437

View File

@ -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]