Corrected issue from github issue tracker #297, where "Import SPICE"
fails on instances with names containing brackets.
This commit is contained in:
parent
bfd938b5e2
commit
d0f6dab896
|
|
@ -334,7 +334,9 @@ proc magic::generate_layout_add {subname subpins complist library} {
|
|||
}
|
||||
|
||||
set outparts {}
|
||||
lappend outparts "magic::gencell $libdev $instname"
|
||||
# Escape any brackets in the instance name, since it gets passed to "eval"
|
||||
set minstname [string map {[ \\\[ ] \\\]} $instname]
|
||||
lappend outparts "magic::gencell $libdev $minstname"
|
||||
|
||||
# Output all parameters. Parameters not used by the toolkit are
|
||||
# ignored by the toolkit.
|
||||
|
|
|
|||
Loading…
Reference in New Issue