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:
parent
ce6f7840db
commit
9e7c104d29
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue