21 #ifndef ABC__base__cba__cba_h
22 #define ABC__base__cba__cba_h
155 #define Cba_ManForEachNtk( p, pNtk, i ) \
156 for ( i = 1; (i <= Cba_ManNtkNum(p)) && (((pNtk) = Cba_ManNtk(p, i)), 1); i++ )
158 #define Cba_NtkForEachObjType( p, Type, i ) \
159 for ( i = 0; (i < Cba_NtkObjNum(p)) && (((Type) = Cba_ObjType(p, i)), 1); i++ )
160 #define Cba_NtkForEachObjTypeFuncFanins( p, Type, Func, vFanins, i ) \
161 for ( i = 0; (i < Cba_NtkObjNum(p)) && (((Type) = Cba_ObjType(p, i)), 1) && (((Func) = Cba_ObjFuncId(p, i)), 1) && (((vFanins) = Cba_ObjFanins(p, i)), 1); i++ )
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
void Abc_NamStop(Abc_Nam_t *p)
static Cba_Ntk_t * Cba_NtkAlloc(Cba_Man_t *p, char *pName)
FUNCTION DECLARATIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Vec_Wec_t_ Vec_Wec_t
INCLUDES ///.
static Cba_Ntk_t * Cba_ManRoot(Cba_Man_t *p)
void Cba_PrsWriteVerilog(char *pFileName, Cba_Man_t *pDes)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static int Cba_ObjFuncId(Cba_Ntk_t *p, int i)
static char * Cba_ObjNameStr(Cba_Ntk_t *p, int i)
static double Vec_WecMemory(Vec_Wec_t *p)
static void Vec_PtrPush(Vec_Ptr_t *p, void *Entry)
static char * Cba_NtkName(Cba_Ntk_t *p)
static void Vec_IntErase(Vec_Int_t *p)
static int Cba_ObjNameId(Cba_Ntk_t *p, int i)
static int Vec_PtrSize(Vec_Ptr_t *p)
static void Cba_NtkFree(Cba_Ntk_t *p)
static int Vec_WecSize(Vec_Wec_t *p)
Abc_Nam_t * Abc_NamStart(int nObjs, int nAveSize)
FUNCTION DEFINITIONS ///.
static int Cba_ObjRangeId(Cba_Ntk_t *p, int i)
static Cba_Man_t * Cba_ManAlloc(char *pFileName)
static Cba_ObjType_t Cba_ObjType(Cba_Ntk_t *p, int i)
static Vec_Int_t * Cba_ObjFanins(Cba_Ntk_t *p, int i)
Mem_Flex_t * Mem_FlexStart()
static int Cba_NtkObjNum(Cba_Ntk_t *p)
static char * Cba_NtkModelStr(Cba_Ntk_t *p, int i)
static int Cba_ObjInstId(Cba_Ntk_t *p, int i)
static void Cba_ManFree(Cba_Man_t *p)
int Abc_NamMemUsed(Abc_Nam_t *p)
static char * Cba_ObjFuncStr(Cba_Ntk_t *p, int i)
static int Vec_IntEntry(Vec_Int_t *p, int i)
static char * Cba_ManName(Cba_Man_t *p)
static char * Cba_NtkStr(Cba_Ntk_t *p, int i)
struct Cba_Man_t_ Cba_Man_t
Cba_Man_t * Cba_PrsReadBlif(char *pFileName)
static char * Cba_ObjInstStr(Cba_Ntk_t *p, int i)
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
static double Vec_PtrMemory(Vec_Ptr_t *p)
static int Cba_ManMemory(Cba_Man_t *p)
#define ABC_NAMESPACE_HEADER_END
Cba_Man_t * Cba_PrsReadVerilog(char *pFileName)
char * Abc_NamStr(Abc_Nam_t *p, int NameId)
static int Cba_ObjCopyId(Cba_Ntk_t *p, int i)
void Mem_FlexStop(Mem_Flex_t *p, int fVerbose)
static Cba_Ntk_t * Cba_ManNtk(Cba_Man_t *p, int i)
static Vec_Int_t * Vec_WecEntry(Vec_Wec_t *p, int i)
static int Cba_ManNtkNum(Cba_Man_t *p)
static void * Vec_PtrEntry(Vec_Ptr_t *p, int i)
Cba_ObjType_t
INCLUDES ///.
static char * Cba_ObjRangeStr(Cba_Ntk_t *p, int i)
int Mem_FlexReadMemUsage(Mem_Flex_t *p)
#define ABC_CALLOC(type, num)
typedefABC_NAMESPACE_HEADER_START struct Abc_Nam_t_ Abc_Nam_t
INCLUDES ///.
void Cba_PrsWriteBlif(char *pFileName, Cba_Man_t *pDes)
static char * Cba_NtkFuncStr(Cba_Ntk_t *p, int i)
char * Abc_UtilStrsav(char *s)
static int Cba_NtkMemory(Cba_Ntk_t *p)
#define Cba_ManForEachNtk(p, pNtk, i)
MACRO DEFINITIONS ///.