-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update skywater130 pcells implementation with the its latest version #67
base: main
Are you sure you want to change the base?
Conversation
updating the last version of gdsfactory based pcells
@joamatab I'm not sure why the pre-commit fails |
i think you need to run
and push again |
@RehabSayed-G Could you please run the command highlighted above? |
@joamatab Appreciate if you check why this is happening? |
@joamatab Could you please approve the change? |
@joamatab Could you please review and merge this? |
Hi Amro, sorry i missed this, I think there is some license headers left on the code, how about removing those as the repo already has a license file? |
Also, you are using klayout strange python syntax to make them, Could we use kfactory that has a syntax similar to gdsfactory instead? |
This won't work in kfactory (yet and at least for the foreseeable future), exactly because of the "strange" classes. These classes are necessary for the klayout PCell implementation. The pcells are required to be class instances instead of mere functions like in gdsfactory/kfactory. Sure we could use the same workaround like flayout used which essentially boiled down to write gds and load during the pcell implementation, but it's everything but a good solution (esp if you run into cell name conflicts). I can check whether we can find an okay solution, but on windows (and to some degree on MacOS) it's not fun unless we get klayout in a conda environment where we can control the packages installed. |
How about using something like flayout that Floris made to automatically translate gdsfactory Pcells into Klayout Pcells? Floris made a flayout script to do all this automatically without having to rewrite the Pcell in Klayout strange PCell syntax |
@joamatab There is no need to translate anything, all code was implemented via gdsfactory. Only the GUI interface was implemented for klayout. Here is an example: The above is just the declaration of the pfet for klayout. GDS factory cell: |
No description provided.