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

pin precheck fails with an exception when using --template-def #91

Open
urish opened this issue Dec 30, 2024 · 0 comments
Open

pin precheck fails with an exception when using --template-def #91

urish opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@urish
Copy link
Member

urish commented Dec 30, 2024

The error:

Traceback (most recent call last):
  File "/home/uri/p/tt10-oscillating-bones/tt/precheck/precheck.py", line 223, in main
    check()
  File "/home/uri/p/tt10-oscillating-bones/tt/precheck/precheck.py", line 211, in <lambda>
    lambda: pin_check(gds_file, lef, template_def, top_module, uses_3v3),
                                                               ^^^^^^^^
NameError: cannot access free variable 'uses_3v3' where it is not associated with a value in enclosing scope

This happens since uses_3v3 is only defined when args.template_def is None

@urish urish added the bug Something isn't working label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants