From 4c6804c3aea08f6aec693c686ec409191e983ca4 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 29 Jul 2013 10:10:21 -0700 Subject: Improved gate-sizing. --- src/map/mapper/mapperMatch.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/mapper/mapperMatch.c') diff --git a/src/map/mapper/mapperMatch.c b/src/map/mapper/mapperMatch.c index 6a2ad74a..a59af3d3 100644 --- a/src/map/mapper/mapperMatch.c +++ b/src/map/mapper/mapperMatch.c @@ -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; -- cgit v1.2.3