Performance bug fix in area-only mapping "map -a".

This commit is contained in:
Alan Mishchenko 2010-11-29 01:38:31 -08:00
parent 92420c2d1f
commit f404f9ffb4
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ void Map_NodeTryDroppingOnePhase( Map_Man_t * p, Map_Node_t * pNode )
tWorst1Using0 = Map_TimeMatchWithInverter( p, pMatchBest0 );
// consider the case of mapping for delay
if ( p->fMappingMode == 0 )
if ( p->fMappingMode == 0 && p->DelayTarget < ABC_INFINITY )
{
// if the arrival time of a phase is larger than the arrival time
// of the opposite phase plus the inverter, drop this phase