Go to the source code of this file.
int Map_CommandReadLibrary |
( |
Abc_Frame_t * |
pAbc, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [mapper.c]
PackageName [MVSIS 1.3: Multi-valued logic synthesis system.]
Synopsis [Command file for the mapper package.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - June 1, 2004.]
Revision [
- Id:
- mapper.c,v 1.7 2005/01/23 06:59:42 alanmi Exp
]
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 82 of file mapper.c.
88 char * FileName, * ExcludeFile;
108 if ( ExcludeFile == 0 )
134 if ( (pFile =
Io_FileOpen( FileName,
"open_path",
"r", 0 )) == NULL )
137 fprintf( pErr,
"Cannot open input file \"%s\". ", FileName );
139 fprintf( pErr,
"Did you mean \"%s\"?", FileName );
140 fprintf( pErr,
"\n" );
147 fprintf( pErr,
"Genlib library should be read in first..\n" );
155 fprintf( pErr,
"Reading supergate library has failed.\n" );
169 fprintf( pErr,
"\nusage: read_super [-ovh]\n");
170 fprintf( pErr,
"\t read the supergate library from the file\n" );
171 fprintf( pErr,
"\t-e file : file contains list of genlib gates to exclude\n" );
172 fprintf( pErr,
"\t-o : toggles the use of old file format [default = %s]\n", (fAlgorithm?
"new" :
"old") );
173 fprintf( pErr,
"\t-v : toggles enabling of verbose output [default = %s]\n", (fVerbose?
"yes" :
"no") );
174 fprintf( pErr,
"\t-h : print the command usage\n");
FILE * Io_FileOpen(const char *FileName, const char *PathVar, const char *Mode, int fVerbose)
ABC_DLL void Abc_FrameSetLibSuper(void *pLib)
void Map_SuperLibFree(Map_SuperLib_t *p)
ABC_DLL void * Abc_FrameReadLibGen()
ABC_DLL void * Abc_FrameReadLibSuper()
STRUCTURE DEFINITIONS ///.
ABC_DLL Abc_Ntk_t * Abc_FrameReadNtk(Abc_Frame_t *p)
ABC_DLL FILE * Abc_FrameReadErr(Abc_Frame_t *p)
ABC_DLL FILE * Abc_FrameReadOut(Abc_Frame_t *p)
Map_SuperLib_t * Map_SuperLibCreate(Mio_Library_t *pGenlib, Vec_Str_t *vStr, char *pFileName, char *pExcludeFile, int fAlgorithm, int fVerbose)
DECLARATIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 64 of file mapper.c.
void Map_SuperLibFree(Map_SuperLib_t *p)
ABC_DLL void * Abc_FrameReadLibSuper()
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 48 of file mapper.c.
void Cmd_CommandAdd(Abc_Frame_t *pAbc, const char *sGroup, const char *sName, Cmd_CommandFuncType pFunc, int fChanges)
static ABC_NAMESPACE_IMPL_START int Map_CommandReadLibrary(Abc_Frame_t *pAbc, int argc, char **argv)
DECLARATIONS ///.