SiEPIC_EBeam_PDK icon indicating copy to clipboard operation
SiEPIC_EBeam_PDK copied to clipboard

TestStruct_DoubleBus_Ring & TestStruct_DoubleBus_Ring2 malfunction

Open oscar-ubc opened this issue 6 years ago • 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

oscar-ubc avatar Sep 14 '18 20:09 oscar-ubc

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.

StephenHLin avatar Sep 14 '18 20:09 StephenHLin

Thanks Stephen! I will try it tomorrow.Regards,OscarSent from my Huawei Mobile-------- Original Message --------Subject: Re: [lukasc-ubc/SiEPIC_EBeam_PDK] TestStruct_DoubleBus_Ring & TestStruct_DoubleBus_Ring2 malfunction (#192)From: Stephen To: lukasc-ubc/SiEPIC_EBeam_PDK CC: oscar-ubc ,Author 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. You can do the same thing for TestStruct_DoubleBus_Ring2. I'll put in a commit in a bit that will include this.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

oscar-ubc avatar Sep 15 '18 04:09 oscar-ubc