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

Add tcl get methods for power information #53

Closed
maliberty opened this issue Jul 19, 2024 · 2 comments
Closed

Add tcl get methods for power information #53

maliberty opened this issue Jul 19, 2024 · 2 comments

Comments

@maliberty
Copy link
Contributor

In The-OpenROAD-Project/OpenROAD-flow-scripts#2163 we need to be able to get the information from report_power in a TCL so that we can perform some checks. I see no commands in sta to do this.

@akashlevy
Copy link
Contributor

akashlevy commented Aug 13, 2024

sta::design_power [sta::parse_corner {}] should do the trick. I've used this in some of my own scripts with success

@jjcherry56
Copy link
Collaborator

Akash is correct. These functions have been there all along. Use sta::cmd_corner to get the default command corner or sta::find_corner for a specific corner rather than the arg parsing functions.

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

3 participants