handle int-based cell references

This commit is contained in:
Jan Petykiewicz 2024-07-28 20:09:29 -07:00
parent e159c80b0c
commit ae21a2132e

View File

@ -453,6 +453,8 @@ def read(
for placement in cell.placements:
target, ref = _placement_to_ref(placement, lib)
if isinstance(target, int):
target = lib.cellnames[target].nstring.string
pat.refs[target].append(ref)
mlib[cell_name] = pat