The-OpenROAD-Project / The-OpenROAD-Project/OpenSTA
Clarify Unit API power units and add derived units
Open
Nobody has claimed this yet.
- Dominant language
- Verilog
- Stars
- 619
- Forks
- 270
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
Currently the OpenSTA API supports querying a certain set of units including time, cap, voltage, power, etc...
This issue is a API enhancement request to
- Rename the existing powerUnit() to leakagePowerUnit() for clarity
- Add additional Units for derived values such as dynamicPowerUnit() and energyUnit().
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with include/sta/Units.hh at the linked lines and inspect the existing powerUnit() declaration and neighboring unit APIs. Confirm the public naming and derived-unit requirements, then update the API so leakagePowerUnit(), dynamicPowerUnit(), and energyUnit() are present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100