Skip to content

Restore statetable check in hasSequentials and add MBFF regression test#345

Open
openroad-ci wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:sta_statetable_mbff_regression
Open

Restore statetable check in hasSequentials and add MBFF regression test#345
openroad-ci wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:sta_statetable_mbff_regression

Conversation

@openroad-ci
Copy link
Copy Markdown
Collaborator

  • Restore statetable_ check in LibertyCell::hasSequentials() — Upstream(Parallaxsw/OpenSTA) commit 6742692 ("string squash") inadvertently removed the || statetable_ != nullptr condition that was added in 7b87209 ("liberty statetables"). Cells that define sequential behavior only via a statetable group (no ff/latch) — common in MBFFs and clock-gated cells — were misclassified as combinational. This broke power categorization, resizer sequential guards, and dbSta cell-type mapping.

  • Add C++ regression test (HasSequentialsStatetableMBFF) — creates a 2-bit MBFF cell with statetable-only sequential definition, verifies hasSequentials() returns true.

  • Fix Coverity FORWARD_NULL in LibertyPort::less() — the both-null case fell through to dereference port1->name().

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
…eeded

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
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