handle int-based cell references
This commit is contained in:
parent
e159c80b0c
commit
ae21a2132e
@ -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…
Reference in New Issue
Block a user