Context
- This note summarizes how standard cell library extension (
SCLX) can more systematically discover composite cells that post-mapping netlist mining tends to miss. - The main focus is the phase-ordering problem caused by expanding a library from one structural implementation, and the alternative of searching through semantic equivalence.
What
- This paper argues that
CellEcan find more useful composite standard cells than conventionalSCLXby using equality saturation to semantically explore a space of functionally equivalent implementations. - The key idea is to avoid mining only one post-mapping structure. Instead, CellE extracts subcircuit candidates while considering many equivalent implementations inside an e-graph.
- In the reported results,
EPFL + FreePDK45shows an average15.41%area reduction over the original library, while a commercialASAP7flow reports an average8.00%delay reduction and1.27%area reduction.
Why
- Conventional
SCLXdepends on a single post-mapping netlist, so it can easily miss useful cell patterns that only appear in other structures implementing the same function. - This paper is therefore a useful example of why semantic exploration can improve library extension quality compared with purely structural mining.
How
- First, a post-mapping netlist is converted into an e-graph that compactly represents many logically equivalent implementations.
- Equality saturation is then performed with rewrite rules such as commutativity, De Morgan transformations, simplification, and involution.
- The saturated e-graph is converted into a bipartite graph, and candidate cells are found with a modified
gSpan-style frequent subgraph mining method that respects subcircuit constraints. - Finally, only useful cells are kept after
SAT-based equivalence filtering, layout/netlist generation, and technology-mapping QoR validation.
Pitfalls
- The method only targets single-output subcircuits/cells, so multi-output cell extension is outside its scope.
- The experiments manage search complexity by limiting new cells to at most 5 original cells and at most 3 inputs.
- As the paper notes in future work, the current search does not directly include physical cell properties, so physical awareness remains limited compared with the richness of the semantic search.
Next steps
- It would be useful to collect more cases showing whether equality-saturation-based semantic exploration is repeatedly effective in other
SCLXor logic optimization flows. - CellE's limits should be compared more clearly with follow-up work that includes physical properties directly in the search process.