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

power: add sta::has_power_pin_activity #173

Closed

Conversation

oharboe
Copy link

@oharboe oharboe commented Jan 13, 2025

useful for debugging read_vcd input.

Found some errors in mock-array power simulation with this feature.

See The-OpenROAD-Project/OpenROAD-flow-scripts#2676, The-OpenROAD-Project/OpenROAD-flow-scripts#2677 The-OpenROAD-Project/OpenROAD-flow-scripts#2678

useful for debugging read_vcd input

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@jjcherry56
Copy link
Collaborator

You can already find this with 1 simple tcl expression
[lindex 3 [get_property [get_pin foo] actvitiy]] == "user"

@jjcherry56 jjcherry56 closed this Jan 13, 2025
@oharboe oharboe deleted the has-power-pin-activity branch January 13, 2025 19:05
@oharboe
Copy link
Author

oharboe commented Jan 13, 2025

Fixed spelling:

[lindex [get_property [get_pin foo] activity] 2] == "user"

@QuantamHD
Copy link
Contributor

QuantamHD commented Jan 13, 2025

@jjcherry56 Do you think there's room for sta::has_power_pin_activity as a tcl helper? That is essentially just a proc around what you wrote?

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.

3 participants