SiEPIC/SiEPIC_EBeam_PDK

TestStruct_DoubleBus_Ring & TestStruct_DoubleBus_Ring2 malfunction

Closed this issue · 2 comments

When add instance TestStruct_DoubleBus_Ring from the library EBeam-dev [Technology EBeam], an error message: Unknown lib 'SiEPIC-EBeam PCells' in PcellDeclaration.produce

When add instance TestStruct_DoubleBus_Ring2 from the library EBeam-dev [Technology EBeam], an error message: 'NoneType' Object has no attribute 'cell_index' in PCellDeclaration.produce

Hi Oscar,
I just tested this, the error is because we renamed SiEPIC-EBeam PDK to EBeam-Dev recently and forgot about this component's import name.

It's a relative easy fix around line 1457 for SiEPIC_Ebeam-dev Library:
change lib = Library.library_by_name("SiEPIC-EBeam PDK")
to lib = Library.library_by_name("EBeam-dev")
and it should work.

TestStruct_DoubleBus_Ring2 is a bit more complicated:
Around line 1586 in SiEPIC_Ebeam-dev Library:
change
pcell = ly.create_cell("DoubleBus_Ring", "SiEPIC_EBeam PDK", {"r": r, "w": wg_width, "g": g, "silayer": LayerSi, "devrec": self.devrec, "pinrec": self.pinrec })

to
pcell = ly.create_cell("DoubleBus_Ring", "EBeam-dev", {"r": r, "w": wg_width, "g": g, "silayer": LayerSi, "devrec": self.devrec, "pinrec": self.pinrec })

I'll put in a commit in a bit that will include this.