97 else if ( fAlgorithm )
107 if ( pExcludeFile != 0 )
110 printf (
"Error: Exclude file support not present for old format. Stop.\n");
124 printf(
"Loaded %d unique %d-input supergates from \"%s\". ",
169 if ( p == NULL )
return;
242 Super_Precompute( pLib, 5, 1, 100000000, 10000000, 10000000, 100, 1, 0, pFileName );
246 fprintf( stdout,
"Cannot execute command \"read_super %s\".\n", pFileName );
ABC_DLL void Abc_FrameSetLibSuper(void *pLib)
float Mio_LibraryReadAreaBuf(Mio_Library_t *pLib)
int Map_LibraryDeriveGateInfo(Map_SuperLib_t *pLib, st__table *tExcludeGate)
ABC_DLL void * Abc_FrameReadLibGen()
void Mio_LibraryDelete(Mio_Library_t *pLib)
DECLARATIONS ///.
int Cmd_CommandExecute(void *pAbc, char *pCommandLine)
void Super_Precompute(Mio_Library_t *pLibGen, int nVarsMax, int nLevels, int nGatesMax, float tDelayMax, float tAreaMax, int TimeLimit, int fSkipInv, int fVerbose, char *pFileName)
FUNCTION DEFINITIONS ///.
#define ABC_ALLOC(type, num)
float Mio_LibraryReadAreaInv(Mio_Library_t *pLib)
float Mio_LibraryReadDelayInvFall(Mio_Library_t *pLib)
static abctime Abc_Clock()
char * Mio_LibraryReadName(Mio_Library_t *pLib)
DECLARATIONS ///.
int Map_LibraryReadTree(Map_SuperLib_t *pLib, Mio_Library_t *pGenlib, char *pFileName, char *pExcludeFile)
typedefABC_NAMESPACE_HEADER_START struct Abc_Frame_t_ Abc_Frame_t
INCLUDES ///.
int Map_SuperLibDeriveFromGenlib2(Mio_Library_t *pLib, int fVerbose)
ABC_NAMESPACE_IMPL_START Map_SuperLib_t * Map_SuperLibCreate(Mio_Library_t *pGenlib, Vec_Str_t *vStr, char *pFileName, char *pExcludeFile, int fAlgorithm, int fVerbose)
DECLARATIONS ///.
static void Vec_StrFree(Vec_Str_t *p)
Map_HashTable_t * Map_SuperTableCreate(Map_SuperLib_t *pLib)
FUNCTION DEFINITIONS ///.
int Map_LibraryRead(Map_SuperLib_t *p, char *pFileName)
FUNCTION DEFINITIONS ///.
Vec_Str_t * Super_PrecomputeStr(Mio_Library_t *pLibGen, int nVarsMax, int nLevels, int nGatesMax, float tDelayMax, float tAreaMax, int TimeLimit, int fSkipInv, int fVerbose)
#define ABC_NAMESPACE_IMPL_END
Extra_MmFixed_t * mmSupers
void * Abc_FrameGetGlobalFrame()
void Map_SuperLibFree(Map_SuperLib_t *p)
ABC_DLL void * Abc_FrameReadLibSuper()
STRUCTURE DEFINITIONS ///.
float Mio_LibraryReadDelayInvRise(Mio_Library_t *pLib)
Extra_MmFixed_t * mmEntries
#define ABC_NAMESPACE_IMPL_START
int Map_SuperLibDeriveFromGenlib(Mio_Library_t *pLib, int fVerbose)
void Map_SuperTableFree(Map_HashTable_t *p)
int Map_LibraryReadFileTreeStr(Map_SuperLib_t *pLib, Mio_Library_t *pGenlib, Vec_Str_t *vStr, char *pFileName)
Map_HashTable_t * tTableC
char * Abc_UtilStrsav(char *s)
Mio_Gate_t * Mio_LibraryReadInv(Mio_Library_t *pLib)
void Map_MappingSetupTruthTables(unsigned uTruths[][2])