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

Unable to measure waveguide length #174

Open
mroddewig opened this issue Jul 26, 2022 · 7 comments
Open

Unable to measure waveguide length #174

mroddewig opened this issue Jul 26, 2022 · 7 comments

Comments

@mroddewig
Copy link

With the klayout file for Lukas Chrostowski's edx course final exam (not sure I can post) I'm unable to measure the waveguide length. I select a waveguide, click the waveguide length menu item, and then get a dialog box telling me to select a waveguide to measure. A video of the problem is here: https://montanaedu-my.sharepoint.com/:v:/g/personal/j39g462_msu_montana_edu/ESXrovVGpZJPtM--r6ULgyQBAsJ3cZ_ogpAtdMeH-ZJ57g?e=5Eqpng

I'm using the SiEPIC tools version 0.39.1 and klayout 0.27.10. Thanks!

@jevillegasd
Copy link
Contributor

Hey @mroddewig !

I hope this is still useful after many days. It looks to me that your waveguides are no longer associated with the SiEPIC parametric cell. I can tell by their names (with all the '$' symbols on them). It may have happened that you copied and pasted the layout from one file to another that didn't have the correct technology selected, or that you opened the file in a KLayout version without SiEPIC tools installed.

You can see an example in the files I am attaching, both have the same cell, but in one it is still the SiEPIC parametric waveguide cell, while in the other it's just a static copy of it. An easy way to test if your waveguides are correctly instantiated by selecting them and pressing 'Q', this will open the properties window; if the 'PCell Parameters' tab is disabled, your object is static (and you cannot measure its length).

example_cells.zip

The best solution in your case is to draw the waveguides again. Here is an example of the current release of SiEPIC working fine :) (with the attached file) :

image

Super Secret: Even if the waveguide is now static, normally upon creation the length gets written down as a small text close to the first PIN of the waveguide, so you can zoom in that area and you might find the value there.

@mroddewig
Copy link
Author

Hi Juan,

Thanks for getting back to me! I would like to get this figured out as I want to continue using klayout beyond the course so no worries about the delay.

I opened the test_yesPCell_associated.GDS file in my klayout and got the same (width,) error as before. Is this the expected behavior?

Thanks!
Mike

@jevillegasd
Copy link
Contributor

Hey Mike,

Sorry, that may be my fault because I might be using a different version for the PDK than yours. Do you mind trying to draw one waveguide on a new file and testing if it works? Basically, just draw a path in any layer, hit 'W' on your keyboard, and then press Alt+Shift+W to measure the length. Let me know if that works.

If it does, the error I simply that the file you are checking used a different version of the EBeam PDK or SiEPIC Tools and now there is some property in the middle ('width') that changed names, and it is giving you trouble. If it doesn't, maybe you can send the file that you create and I can check if I see what's the source of the error. Probably reinstalling KLayout and SiEPIC tools does the job.

Best, Juan

@lukasc-ubc
Copy link
Member

@jaspreetj can you please address?

@lukasc-ubc
Copy link
Member

@mroddewig try upgrading to the latest siepic-tools and ebeam pdk. the 'width' error has been fixed.

@mroddewig
Copy link
Author

mroddewig commented Oct 7, 2022 via email

@mroddewig
Copy link
Author

mroddewig commented Oct 11, 2022 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

3 participants