mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-04 08:33:58 +02:00
Improvements to buffering and sizing.
This commit is contained in:
@@ -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 ) )
|
||||
|
||||
@@ -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*************************************************************
|
||||
|
||||
Reference in New Issue
Block a user