96 char * pFileName = NULL;
114 printf(
"Cba_CommandRead(): Input file name should be given on the command line.\n" );
119 if ( (pFile = fopen( pFileName,
"r" )) == NULL )
121 Abc_Print( 1,
"Cannot open input file \"%s\". ", pFileName );
123 Abc_Print( 1,
"Did you mean \"%s\"?", pFileName );
134 Abc_Print( -2,
"usage: @read [-vh] <file_name>\n" );
135 Abc_Print( -2,
"\t reads word-level design from Verilog file\n" );
136 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
137 Abc_Print( -2,
"\t-h : print the command usage\n");
155 char * pFileName = NULL;
173 Abc_Print( 1,
"Cba_CommandWrite(): There is no current design.\n" );
182 printf(
"Output file name should be given on the command line.\n" );
188 Abc_Print( -2,
"usage: @write [-vh]\n" );
189 Abc_Print( -2,
"\t writes the design into a file\n" );
190 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
191 Abc_Print( -2,
"\t-h : print the command usage\n");
227 Abc_Print( 1,
"Cba_CommandPs(): There is no current design.\n" );
234 Abc_Print( -2,
"\t prints statistics\n" );
235 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
236 Abc_Print( -2,
"\t-h : print the command usage\n");
256 int c, fMulti = 0, fVerbose = 0;
276 Abc_Print( 1,
"Cba_CommandBlast(): There is no current design.\n" );
290 Abc_Print( 1,
"Cba_CommandBlast(): Bit-blasting has failed.\n" );
296 Abc_Print( -2,
"usage: @blast [-mvh]\n" );
297 Abc_Print( -2,
"\t performs bit-blasting of the word-level design\n" );
298 Abc_Print( -2,
"\t-m : toggle creating boxes for all multipliers in the design [default = %s]\n", fMulti?
"yes":
"no" );
299 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
300 Abc_Print( -2,
"\t-h : print the command usage\n");
335 Abc_Print( 1,
"Cba_CommandTest(): There is no current design.\n" );
344 Abc_Print( -2,
"\t experiments with word-level networks\n" );
345 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
346 Abc_Print( -2,
"\t-h : print the command usage\n");
static Cba_Ntk_t * Cba_AbcGetNtk(Abc_Frame_t *pAbc)
static ABC_NAMESPACE_IMPL_START int Cba_CommandRead(Abc_Frame_t *pAbc, int argc, char **argv)
DECLARATIONS ///.
void Cba_Init(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
void Cba_End(Abc_Frame_t *pAbc)
void Cmd_CommandAdd(Abc_Frame_t *pAbc, const char *sGroup, const char *sName, Cmd_CommandFuncType pFunc, int fChanges)
static int Cba_CommandBlast(Abc_Frame_t *pAbc, int argc, char **argv)
static void Cba_NtkFree(Cba_Ntk_t *p)
static void Cba_AbcFreeNtk(Abc_Frame_t *pAbc)
static void Cba_AbcUpdateNtk(Abc_Frame_t *pAbc, Cba_Ntk_t *pNtk)
typedefABC_NAMESPACE_HEADER_START struct Abc_Frame_t_ Abc_Frame_t
INCLUDES ///.
static int Cba_CommandTest(Abc_Frame_t *pAbc, int argc, char **argv)
#define ABC_NAMESPACE_IMPL_END
static void Abc_Print(int level, const char *format,...)
#define ABC_NAMESPACE_IMPL_START
static int Cba_CommandPs(Abc_Frame_t *pAbc, int argc, char **argv)
void Abc_FrameUpdateGia(Abc_Frame_t *pAbc, Gia_Man_t *pNew)
static int Cba_CommandWrite(Abc_Frame_t *pAbc, int argc, char **argv)