mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 11:11:19 +02:00
Improved gate-sizing.
This commit is contained in:
@@ -199,6 +199,9 @@ int Map_MatchNodePhase( Map_Man_t * p, Map_Node_t * pNode, int fPhase )
|
||||
fWorstLimit = pNode->tRequired[fPhase].Worst;
|
||||
for ( pCut = pNode->pCuts->pNext; pCut; pCut = pCut->pNext )
|
||||
{
|
||||
// limit gate sizes based on fanout count
|
||||
if ( (pNode->nRefs > 8 && pCut->nLeaves > 2) || (pNode->nRefs > 4 && pCut->nLeaves > 3) )
|
||||
continue;
|
||||
pMatch = pCut->M + fPhase;
|
||||
if ( pMatch->pSupers == NULL )
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user