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 PyCell integration #174

Merged
merged 4 commits into from
Aug 22, 2024
Merged

Klayout PyCell integration #174

merged 4 commits into from
Aug 22, 2024

Conversation

ThomasZecha
Copy link

-implemented 'conditional compilation' for PyCell code, see
documentation in ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/init.py

ThomasZecha added 4 commits August 5, 2024 15:45
-implemented 'conditional compilation' for PyCell code, see
 documentation in ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/__init__.py

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
-fixed issue from IHP open source server regarding remove of tmp-file

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
-eleminate pre-definition of used defines by pre-scanning cell code

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
-added evalution of names used for conditional compilation against
 process-chain
-added catching of PyCell static/dynamic compilation errors for
 correction of file-path stack-dump
-added diagnositc logging of process-chain as well as set defines

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
@KrzysztofHerman
Copy link
Contributor

On the external machine it does not work properly:

ERROR: /$PDK_ROOT/ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/__init__.py:183: TypeError: PCellWrapper.__init__() takes 3 positional arguments but 5 were given
  /$PDK_ROOT/ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/__init__.py:183
  /$PDK_ROOT/ihp-sg13g2/libs.tech/klayout/python/sg13g2_pycell_lib/__init__.py:191
  /$PDK_ROOT/ihp-sg13g2/libs.tech/klayout/tech/pymacros/autorun.lym:8 (class TypeError)

@ThomasZecha
Copy link
Author

ThomasZecha commented Aug 22, 2024 via email

Copy link
Contributor

@KrzysztofHerman KrzysztofHerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested only for klayout

@KrzysztofHerman KrzysztofHerman merged commit 08ddecd into IHP-GmbH:dev Aug 22, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants