handle int-based cell references
This commit is contained in:
parent
e159c80b0c
commit
ae21a2132e
1 changed files with 2 additions and 0 deletions
|
|
@ -453,6 +453,8 @@ def read(
|
||||||
|
|
||||||
for placement in cell.placements:
|
for placement in cell.placements:
|
||||||
target, ref = _placement_to_ref(placement, lib)
|
target, ref = _placement_to_ref(placement, lib)
|
||||||
|
if isinstance(target, int):
|
||||||
|
target = lib.cellnames[target].nstring.string
|
||||||
pat.refs[target].append(ref)
|
pat.refs[target].append(ref)
|
||||||
|
|
||||||
mlib[cell_name] = pat
|
mlib[cell_name] = pat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue