Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestStruct_DoubleBus_Ring & TestStruct_DoubleBus_Ring2 malfunction #192

Open
oscar-ubc opened this issue Sep 14, 2018 · 2 comments
Open

Comments

@oscar-ubc
Copy link

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

@StephenHLin
Copy link
Contributor

StephenHLin commented Sep 14, 2018

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.

@oscar-ubc
Copy link
Author

oscar-ubc commented Sep 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants