Go to the source code of this file.
|
static ABC_NAMESPACE_IMPL_START int | Cba_CommandRead (Abc_Frame_t *pAbc, int argc, char **argv) |
| DECLARATIONS ///. More...
|
|
static int | Cba_CommandWrite (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static int | Cba_CommandPs (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static int | Cba_CommandBlast (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static int | Cba_CommandTest (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static Cba_Ntk_t * | Cba_AbcGetNtk (Abc_Frame_t *pAbc) |
|
static void | Cba_AbcFreeNtk (Abc_Frame_t *pAbc) |
|
static void | Cba_AbcUpdateNtk (Abc_Frame_t *pAbc, Cba_Ntk_t *pNtk) |
|
void | Cba_Init (Abc_Frame_t *pAbc) |
| FUNCTION DEFINITIONS ///. More...
|
|
void | Cba_End (Abc_Frame_t *pAbc) |
|
Definition at line 37 of file cbaCom.c.
static Cba_Ntk_t * Cba_AbcGetNtk(Abc_Frame_t *pAbc)
static void Cba_NtkFree(Cba_Ntk_t *p)
Definition at line 38 of file cbaCom.c.
static void Cba_AbcFreeNtk(Abc_Frame_t *pAbc)
int Cba_CommandBlast |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 251 of file cbaCom.c.
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");
static Cba_Ntk_t * Cba_AbcGetNtk(Abc_Frame_t *pAbc)
static void Abc_Print(int level, const char *format,...)
void Abc_FrameUpdateGia(Abc_Frame_t *pAbc, Gia_Man_t *pNew)
int Cba_CommandPs |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 207 of file cbaCom.c.
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");
static Cba_Ntk_t * Cba_AbcGetNtk(Abc_Frame_t *pAbc)
static void Abc_Print(int level, const char *format,...)
int Cba_CommandRead |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [cbaCom.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Verilog parser.]
Synopsis [Parses several flavors of word-level Verilog.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 29, 2014.]
Revision [
- Id:
- cbaCom.c,v 1.00 2014/11/29 00:00:00 alanmi Exp
]
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 92 of file cbaCom.c.
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");
static void Cba_AbcUpdateNtk(Abc_Frame_t *pAbc, Cba_Ntk_t *pNtk)
static void Abc_Print(int level, const char *format,...)
int Cba_CommandTest |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 315 of file cbaCom.c.
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 void Cba_AbcUpdateNtk(Abc_Frame_t *pAbc, Cba_Ntk_t *pNtk)
static void Abc_Print(int level, const char *format,...)
int Cba_CommandWrite |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 152 of file cbaCom.c.
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");
static Cba_Ntk_t * Cba_AbcGetNtk(Abc_Frame_t *pAbc)
static void Abc_Print(int level, const char *format,...)
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 75 of file cbaCom.c.
static void Cba_AbcFreeNtk(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 55 of file cbaCom.c.
static ABC_NAMESPACE_IMPL_START int Cba_CommandRead(Abc_Frame_t *pAbc, int argc, char **argv)
DECLARATIONS ///.
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 int Cba_CommandTest(Abc_Frame_t *pAbc, int argc, char **argv)
static int Cba_CommandPs(Abc_Frame_t *pAbc, int argc, char **argv)
static int Cba_CommandWrite(Abc_Frame_t *pAbc, int argc, char **argv)