Go to the source code of this file.
|
static ABC_NAMESPACE_IMPL_START int | Abc_CommandReadVer (Abc_Frame_t *pAbc, int argc, char **argv) |
| DECLARATIONS ///. More...
|
|
static int | Abc_CommandWriteVer (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static int | Abc_CommandPs (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static int | Abc_CommandBlast (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static int | Abc_CommandTest (Abc_Frame_t *pAbc, int argc, char **argv) |
|
static Wlc_Ntk_t * | Wlc_AbcGetNtk (Abc_Frame_t *pAbc) |
|
static void | Wlc_AbcFreeNtk (Abc_Frame_t *pAbc) |
|
static void | Wlc_AbcUpdateNtk (Abc_Frame_t *pAbc, Wlc_Ntk_t *pNtk) |
|
void | Wlc_Init (Abc_Frame_t *pAbc) |
| FUNCTION DEFINITIONS ///. More...
|
|
void | Wlc_End (Abc_Frame_t *pAbc) |
|
int Abc_CommandBlast |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 271 of file wlcCom.c.
276 int c, fMulti = 0, fVerbose = 0;
296 Abc_Print( 1,
"Abc_CommandBlast(): There is no current design.\n" );
302 if ( vBoxIds == NULL )
303 Abc_Print( 1,
"Warning: There is no multipliers in the design.\n" );
310 Abc_Print( 1,
"Abc_CommandBlast(): Bit-blasting has failed.\n" );
316 Abc_Print( -2,
"usage: %%blast [-mvh]\n" );
317 Abc_Print( -2,
"\t performs bit-blasting of the word-level design\n" );
318 Abc_Print( -2,
"\t-m : toggle creating boxes for all multipliers in the design [default = %s]\n", fMulti?
"yes":
"no" );
319 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
320 Abc_Print( -2,
"\t-h : print the command usage\n");
Vec_Int_t * Wlc_NtkCollectMultipliers(Wlc_Ntk_t *p)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
static void Vec_IntFreeP(Vec_Int_t **p)
static void Abc_Print(int level, const char *format,...)
Gia_Man_t * Wlc_NtkBitBlast(Wlc_Ntk_t *p, Vec_Int_t *vBoxIds)
void Abc_FrameUpdateGia(Abc_Frame_t *pAbc, Gia_Man_t *pNew)
static Wlc_Ntk_t * Wlc_AbcGetNtk(Abc_Frame_t *pAbc)
int Abc_CommandPs |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 208 of file wlcCom.c.
240 Abc_Print( 1,
"Abc_CommandPs(): There is no current design.\n" );
250 Abc_Print( -2,
"usage: %%ps [-madvh]\n" );
251 Abc_Print( -2,
"\t prints statistics\n" );
252 Abc_Print( -2,
"\t-m : toggle printing multipliers [default = %s]\n", fShowMulti?
"yes":
"no" );
253 Abc_Print( -2,
"\t-a : toggle printing adders [default = %s]\n", fShowAdder?
"yes":
"no" );
254 Abc_Print( -2,
"\t-d : toggle printing distrubition [default = %s]\n", fDistrib?
"yes":
"no" );
255 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
256 Abc_Print( -2,
"\t-h : print the command usage\n");
void Wlc_NtkPrintStats(Wlc_Ntk_t *p, int fDistrib, int fVerbose)
void Wlc_NtkPrintNodes(Wlc_Ntk_t *p, int Type)
static void Abc_Print(int level, const char *format,...)
static Wlc_Ntk_t * Wlc_AbcGetNtk(Abc_Frame_t *pAbc)
int Abc_CommandReadVer |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [wlcCom.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Verilog parser.]
Synopsis [Command handlers.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 22, 2014.]
Revision [
- Id:
- wlcCom.c,v 1.00 2014/09/12 00:00:00 alanmi Exp
]
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 93 of file wlcCom.c.
97 char * pFileName = NULL;
115 printf(
"Abc_CommandReadVer(): Input file name should be given on the command line.\n" );
120 if ( (pFile = fopen( pFileName,
"r" )) == NULL )
122 Abc_Print( 1,
"Cannot open input file \"%s\". ", pFileName );
124 Abc_Print( 1,
"Did you mean \"%s\"?", pFileName );
135 Abc_Print( -2,
"usage: %%read_ver [-vh] <file_name>\n" );
136 Abc_Print( -2,
"\t reads word-level design from Verilog file\n" );
137 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
138 Abc_Print( -2,
"\t-h : print the command usage\n");
static void Wlc_AbcUpdateNtk(Abc_Frame_t *pAbc, Wlc_Ntk_t *pNtk)
static void Abc_Print(int level, const char *format,...)
Wlc_Ntk_t * Wlc_ReadVer(char *pFileName)
int Abc_CommandTest |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 335 of file wlcCom.c.
355 Abc_Print( 1,
"Abc_CommandBlast(): There is no current design.\n" );
364 Abc_Print( -2,
"usage: %%test [-vh]\n" );
365 Abc_Print( -2,
"\t experiments with word-level networks\n" );
366 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
367 Abc_Print( -2,
"\t-h : print the command usage\n");
Wlc_Ntk_t * Wlc_NtkAbstractNodes(Wlc_Ntk_t *pNtk, Vec_Int_t *vNodes)
static void Wlc_AbcUpdateNtk(Abc_Frame_t *pAbc, Wlc_Ntk_t *pNtk)
static void Abc_Print(int level, const char *format,...)
Wlc_Ntk_t * Wlc_NtkUifNodePairs(Wlc_Ntk_t *pNtk, Vec_Int_t *vPairs)
static Wlc_Ntk_t * Wlc_AbcGetNtk(Abc_Frame_t *pAbc)
int Abc_CommandWriteVer |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 153 of file wlcCom.c.
156 char * pFileName = NULL;
174 Abc_Print( 1,
"Abc_CommandWriteVer(): There is no current design.\n" );
183 printf(
"Output file name should be given on the command line.\n" );
189 Abc_Print( -2,
"usage: %%write_ver [-vh]\n" );
190 Abc_Print( -2,
"\t writes the design into a file\n" );
191 Abc_Print( -2,
"\t-v : toggle printing verbose information [default = %s]\n", fVerbose?
"yes":
"no" );
192 Abc_Print( -2,
"\t-h : print the command usage\n");
void Wlc_WriteVer(Wlc_Ntk_t *p, char *pFileName)
static void Abc_Print(int level, const char *format,...)
static Wlc_Ntk_t * Wlc_AbcGetNtk(Abc_Frame_t *pAbc)
Definition at line 38 of file wlcCom.c.
void Wlc_NtkFree(Wlc_Ntk_t *p)
static Wlc_Ntk_t * Wlc_AbcGetNtk(Abc_Frame_t *pAbc)
Definition at line 39 of file wlcCom.c.
static void Wlc_AbcFreeNtk(Abc_Frame_t *pAbc)
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 76 of file wlcCom.c.
static void Wlc_AbcFreeNtk(Abc_Frame_t *pAbc)
FUNCTION DEFINITIONS ///.
Function********************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 56 of file wlcCom.c.
void Cmd_CommandAdd(Abc_Frame_t *pAbc, const char *sGroup, const char *sName, Cmd_CommandFuncType pFunc, int fChanges)
static int Abc_CommandWriteVer(Abc_Frame_t *pAbc, int argc, char **argv)
static int Abc_CommandTest(Abc_Frame_t *pAbc, int argc, char **argv)
static int Abc_CommandBlast(Abc_Frame_t *pAbc, int argc, char **argv)
static int Abc_CommandPs(Abc_Frame_t *pAbc, int argc, char **argv)
static ABC_NAMESPACE_IMPL_START int Abc_CommandReadVer(Abc_Frame_t *pAbc, int argc, char **argv)
DECLARATIONS ///.