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

Direct debug tools using the CLI #603

Open
daquintero opened this issue Nov 22, 2024 · 1 comment
Open

Direct debug tools using the CLI #603

daquintero opened this issue Nov 22, 2024 · 1 comment
Labels
✨ enhancement New feature or request

Comments

@daquintero
Copy link

daquintero commented Nov 22, 2024

Description

Hello, hope you all are doing great, long time!

Thought a CLI openlane --logger or openlane --debug CLI addition could be really good to debug environments and PDKs configurations when it is not possible to interact with a development openlane. Mainly it would print all the relevant configuration information maybe even in a openlane --dry-run design run.

So it could help mainly to solve PDK configuration problems between volare and openlane in CLI design usage. I know there's already some logging functionality on the python but maybe I've missed it on the CLI (although I had a decent search through docs and the API as I was able to).

 File "/nix/store/9jb8wsk32ny2yy5ghcaq3y7mbmmavi2c-python3.11-openlane/lib/python3.11/site-packages/openlane/common/tcl.py", line 78, in _eval_env
    interpreter.eval(tcl_in)
_tkinter.TclError: can't read "::env(STD_CELL_LIBRARY_OPT)": no such element in array

  File "/nix/store/9jb8wsk32ny2yy5ghcaq3y7mbmmavi2c-python3.11-openlane/lib/python3.11/site-packages/openlane/common/tcl.py", line 78, in _eval_env
    interpreter.eval(tcl_in)
_tkinter.TclError: can't read "::env(STD_CELL_LIBRARY)": no such element in array

Maybe even a CLI option helped clarify what are the options or configuration settings missing that'd also be pretty incredible.

Just thought would be a nice improvement! If I get time at some point happy to contribute, but thought to propose

Proposal

No response

@daquintero daquintero changed the title Direct debugging tools using the CLI Direct debug tools using the CLI Nov 22, 2024
@donn
Copy link
Member

donn commented Nov 23, 2024

Hiya Dario, hope you're doing well.

There's --log-level DEBUG, however, there aren't as many debug messages as we'd like. That's an area for easy enhancement though.

@donn donn added the ✨ enhancement New feature or request label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants