Skip to content

Make wire_load_tree_ default to unknown so we can detect when it's not present in a Liberty file.#402

Open
rocallahan wants to merge 1 commit intoparallaxsw:masterfrom
rocallahan:wireload-tree-unknown
Open

Make wire_load_tree_ default to unknown so we can detect when it's not present in a Liberty file.#402
rocallahan wants to merge 1 commit intoparallaxsw:masterfrom
rocallahan:wireload-tree-unknown

Conversation

@rocallahan
Copy link
Contributor

@rocallahan rocallahan commented Mar 10, 2026

This is potentially a behavior change, but I think omitting this from the Liberty file is rare. I've only seen it in some DTCD Liberty files. In those Liberty libraries, it seems to be expected that the Liberty data is valid for all WireloadTree types. Thus it is necessary to distinguish between "wire load tree was specified as 'balanced'" and "wire load tree was not specified".

…not present in a Liberty file.

This is potentially a behavior change, but I think omitting this is rare. I've only seen it in some DTCD Liberty files.
In those Liberty libraries, it seems to be expected that the Liberty data is valid for all `WireloadTree` types.
Thus it is necessary to distinguish between "wire load tree was specified as 'balanced'" and "wire load tree
was not specified".
@parallaxsw
Copy link
Owner

EstimateParasitics::estimatePiElmore treats unknown as balanced,
but
Parasitics::makeWireloadNetwork treats unknown as best_case

so you should update the second use to be consistent with the missing
tree_type

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.

2 participants