61 if ( pNtkOrig == NULL )
88 printf(
"After mitering:\n" );
102 printf(
"After fraiging:\n" );
133 Abc_Obj_t * pNode, * pNodeMap, * pNodeFraig;
147 stmm_insert( tResult, (
char *)pNodeFraig, (
char *)pNodeMap );
165 Abc_Obj_t * pNet, * pNode, * pNodeMap, * pNodeFraig;
178 if ( !
stmm_lookup( tMapping, (
char *)pNodeFraig, (
char **)&pNodeMap ) )
198 stmm_delete( tMapping, (
char **)&pNodeFraig, (
char **)&pNodeMap );
202 printf(
"Total number of names collected = %5d.\n", CounterInit );
203 printf(
"Total number of names assigned = %5d. (Dir = %5d. Compl = %5d.)\n",
204 Counter + CounterInv, Counter, CounterInv );
static int Abc_NtkIsLogic(Abc_Ntk_t *pNtk)
stmm_table * stmm_init_table(stmm_compare_func_type compare, stmm_hash_func_type hash)
static int Abc_NtkIsNetlist(Abc_Ntk_t *pNtk)
ABC_DLL int Abc_NtkCountCopy(Abc_Ntk_t *pNtk)
ABC_DLL Abc_Ntk_t * Abc_NtkStrash(Abc_Ntk_t *pNtk, int fAllNodes, int fCleanup, int fRecord)
int stmm_insert(stmm_table *table, char *key, char *value)
Abc_Ntk_t * Io_ReadNetlist(char *pFileName, Io_FileType_t FileType, int fCheck)
#define stmm_count(table)
ABC_DLL int Abc_NtkCompareSignals(Abc_Ntk_t *pNtk1, Abc_Ntk_t *pNtk2, int fOnlyPis, int fComb)
ABC_DLL char * Abc_ObjAssignName(Abc_Obj_t *pObj, char *pName, char *pSuffix)
static void Abc_NtkDressTransferNames(Abc_Ntk_t *pNtk, stmm_table *tMapping, int fVerbose)
ABC_DLL void Abc_NtkDelete(Abc_Ntk_t *pNtk)
#define stmm_is_member(table, key)
ABC_DLL Abc_Ntk_t * Abc_NtkToLogic(Abc_Ntk_t *pNtk)
FUNCTION DEFINITIONS ///.
Io_FileType_t Io_ReadFileType(char *pFileName)
DECLARATIONS ///.
Abc_Ntk_t * Abc_NtkIvyFraig(Abc_Ntk_t *pNtk, int nConfLimit, int fDoSparse, int fProve, int fTransfer, int fVerbose)
static int Abc_NtkNodeNum(Abc_Ntk_t *pNtk)
int stmm_lookup(stmm_table *table, char *key, char **value)
int stmm_ptrhash(const char *x, int size)
#define ABC_NAMESPACE_IMPL_END
char * Nm_ManFindNameById(Nm_Man_t *p, int ObjId)
#define Abc_NtkForEachNode(pNtk, pNode, i)
#define ABC_NAMESPACE_IMPL_START
int stmm_ptrcmp(const char *x, const char *y)
void Abc_NtkDress(Abc_Ntk_t *pNtkLogic, char *pFileName, int fVerbose)
FUNCTION DEFINITIONS ///.
void stmm_free_table(stmm_table *table)
static Abc_Obj_t * Abc_ObjRegular(Abc_Obj_t *p)
int stmm_delete(stmm_table *table, char **keyp, char **value)
ABC_DLL void Abc_NtkCleanCopy(Abc_Ntk_t *pNtk)
static Abc_Obj_t * Abc_ObjNotCond(Abc_Obj_t *p, int c)
ABC_DLL void Abc_NtkTransferCopy(Abc_Ntk_t *pNtk)
static int Abc_ObjIsComplement(Abc_Obj_t *p)
static ABC_NAMESPACE_IMPL_START stmm_table * Abc_NtkDressDeriveMapping(Abc_Ntk_t *pNtk)
DECLARATIONS ///.
ABC_DLL int Abc_NtkAppend(Abc_Ntk_t *pNtk1, Abc_Ntk_t *pNtk2, int fAddPos)
static Abc_Obj_t * Abc_ObjFanout0(Abc_Obj_t *pObj)