49 fprintf( pFile,
" %s",
Cba_NtkStr(p, NameId) );
52 fprintf( pFile,
"\n" );
56 int FormId, NameId, i;
60 fprintf( pFile,
"\n" );
69 fprintf( pFile,
".names" );
75 fprintf( pFile,
".subckt" );
81 fprintf( pFile,
".latch" );
84 fprintf( pFile,
" %c\n",
'0' + Func );
94 fprintf( pFile,
".inouts" );
97 fprintf( pFile,
".inputs" );
99 fprintf( pFile,
".outputs" );
103 fprintf( pFile,
".end\n\n" );
110 pFile = fopen( pFileName,
"wb" );
113 printf(
"Cannot open output file \"%s\".\n", pFileName );
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static char * Cba_NtkName(Cba_Ntk_t *p)
static int Cba_NtkObjNum(Cba_Ntk_t *p)
#define Cba_NtkForEachObjTypeFuncFanins(p, Type, Func, vFanins, i)
static int Vec_IntEntry(Vec_Int_t *p, int i)
static char * Cba_ManName(Cba_Man_t *p)
#define ABC_NAMESPACE_IMPL_END
static char * Cba_NtkStr(Cba_Ntk_t *p, int i)
#define Vec_IntForEachEntryStart(vVec, Entry, i, Start)
ABC_NAMESPACE_IMPL_START void Cba_PrsWriteBlifArray(FILE *pFile, Cba_Ntk_t *p, Vec_Int_t *vFanins, int fFirst)
DECLARATIONS ///.
#define Vec_IntForEachEntryDouble(vVec, Entry1, Entry2, i)
#define ABC_NAMESPACE_IMPL_START
void Cba_PrsWriteBlifNtk(FILE *pFile, Cba_Ntk_t *p)
static int Vec_IntSize(Vec_Int_t *p)
void Cba_PrsWriteBlif(char *pFileName, Cba_Man_t *pDes)
void Cba_PrsWriteBlifArray2(FILE *pFile, Cba_Ntk_t *p, Vec_Int_t *vFanins)
static char * Cba_NtkFuncStr(Cba_Ntk_t *p, int i)
void Cba_PrsWriteBlifLines(FILE *pFile, Cba_Ntk_t *p)
#define Cba_ManForEachNtk(p, pNtk, i)
MACRO DEFINITIONS ///.