Improvements to buffering and sizing.

This commit is contained in:
Alan Mishchenko
2013-08-09 19:47:58 -07:00
parent 633db0f4ad
commit d4ad3b4156
8 changed files with 108 additions and 30 deletions
+6
View File
@@ -19626,6 +19626,12 @@ int Abc_CommandCec( Abc_Frame_t * pAbc, int argc, char ** argv )
}
}
if ( pNtk->vPhases != NULL )
{
Abc_Print( -1, "Cannot compare networks with phases defined.\n" );
return 1;
}
pArgvNew = argv + globalUtilOptind;
nArgcNew = argc - globalUtilOptind;
if ( !Abc_NtkPrepareTwoNtks( stdout, pNtk, pArgvNew, nArgcNew, &pNtk1, &pNtk2, &fDelete1, &fDelete2 ) )
+1 -1
View File
@@ -1053,7 +1053,7 @@ int Abc_ObjLevelNew( Abc_Obj_t * pObj )
int i, Level = 0;
Abc_ObjForEachFanin( pObj, pFanin, i )
Level = Abc_MaxFloat( Level, Abc_ObjLevel(pFanin) );
return Level + 1;
return Level + (int)(Abc_ObjFaninNum(pObj) > 0);
}
/**Function*************************************************************