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

KLayout published on PyPi #904

Open
mithro opened this issue Mar 8, 2022 · 5 comments
Open

KLayout published on PyPi #904

mithro opened this issue Mar 8, 2022 · 5 comments

Comments

@mithro
Copy link

mithro commented Mar 8, 2022

I saw another project talk about this and thought it could be useful for Silicon Compiler in some way?

@aolofsson
Copy link
Member

Thanks, that would be very useful! We have surelog packaged in our build, but users have to install klayout manually. We'll take a look! cc @nmoroze @WRansohoff

@WRansohoff
Copy link
Contributor

Thanks for the tip!

We might be able to use this for performing the GDS-streaming step in a Windows or tool-less environment. I don't think that def2stream.py requires any of KLayout's UI-related API calls.

It looks like we would probably still need a full KLayout installation in cases where a GUI or headless window is required, like sc-show or the screenshot-generation logic. But if we end up installing the EDA tools using a conda environment as suggested in #906, this could also help make up for the absence of KLayout in the conda-eda repository.

@mithro
Copy link
Author

mithro commented Mar 10, 2022

BTW We have been looking at what we would need to do to publish Surelog/UHDM via PyPi. It would be great to have your assistance with making that happen if you are already doing that inside silicon compiler!

@mithro
Copy link
Author

mithro commented Mar 10, 2022

Have you also seen http://yowasp.org/ ? There are yowasp-yosys and yowasp-nextpnr-xxxx packages uploaded to PyPi. They run a bit slower than natively compiled packages but do work across Windows / Linux / Mac and all architectures if I understand correctly?

@nmoroze
Copy link
Contributor

nmoroze commented Mar 10, 2022

BTW We have been looking at what we would need to do to publish Surelog/UHDM via PyPi. It would be great to have your assistance with making that happen if you are already doing that inside silicon compiler!

We'd be very interested in helping to make this happen! Managing the Surelog bundling is a lot of added complexity in our build/release process, so it'd be nice to offload that to the main project (and also let others benefit from it outside of SC). We're also interested in being able to inspect UHDM from within Python, so that would be helpful as well.

Have you also seen http://yowasp.org/ ? There are yowasp-yosys and yowasp-nextpnr-xxxx packages uploaded to PyPi. They run a bit slower than natively compiled packages but do work across Windows / Linux / Mac and all architectures if I understand correctly?

I haven't personally, but this is also a great pointer! Thanks, we'll take a look.

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

4 participants