Skip to content

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

Merged
maliberty merged 3 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:sta_statetable_mbff_regression
Apr 11, 2026
Merged

Restore statetable check in hasSequentials and add MBFF regression test#345
maliberty merged 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>
Comment thread liberty/Liberty.cc Outdated
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
@maliberty maliberty merged commit a56edf2 into The-OpenROAD-Project:master Apr 11, 2026
7 checks passed
@openroad-ci openroad-ci deleted the sta_statetable_mbff_regression branch April 11, 2026 21:45
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