Add ReportFieldExtension plugin API for report_checks -fields#434
Closed
dsengupta0628 wants to merge 1 commit into
Closed
Add ReportFieldExtension plugin API for report_checks -fields#434dsengupta0628 wants to merge 1 commit into
ReportFieldExtension plugin API for report_checks -fields#434dsengupta0628 wants to merge 1 commit into
Conversation
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
report_checks -fields {...}currently supports a fixed set of columnkeywords (
capacitance,slew,fanout,input_pin,net,src_attr).Tools layered on top of OpenSTA (resizer, clustering passes, etc.) often
want to surface tool-specific per-pin data alongside timing in the same
report. Today that requires patching OpenSTA core for each new column.
What this adds
A plugin interface so external producers can register columns without
modifying OpenSTA core:
Behavior
forwarded to C++ as StringSeq extension_names. ReportPath::setReportFields
resolves each against registered extensions. Unmatched → STA-0168 warn.
default); setReportFields toggles enable + assigns a buffer slot.
field; no name lookup on the hot path).
(tolerates re-init in long-lived Sta hosts).
short-circuits the per-row collect).