ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
amap.h
Go to the documentation of this file.
1
20
21#ifndef ABC__map__amap__amap_h
22#define ABC__map__amap__amap_h
23
24
28
32
33
34
36
37
41
42typedef struct Amap_Lib_t_ Amap_Lib_t;
43
44typedef struct Amap_Par_t_ Amap_Par_t;
46{
47 int nIterFlow; // iterations of area flow
48 int nIterArea; // iteratoins of exact area
49 int nCutsMax; // the maximum number of cuts at a node
50 int fUseMuxes; // enables the use of MUXes
51 int fUseXors; // enables the use of XORs
52 int fFreeInvs; // assume inverters are free (area = 0)
53 float fEpsilon; // used to compare floating point numbers
54 float fADratio; // ratio of area/delay improvement
55 int fVerbose; // verbosity flag
56};
57
58typedef struct Amap_Out_t_ Amap_Out_t;
60{
61 char * pName; // gate name
62 short Type; // node type (-1=input; 0=internal; 1=output)
63 short nFans; // number of fanins
64 int pFans[0]; // fanin
65};
66
70
74
75/*=== amapCore.c ==========================================================*/
76extern void Amap_ManSetDefaultParams( Amap_Par_t * pPars );
77//extern Vec_Ptr_t * Amap_ManTest( Aig_Man_t * pAig, Amap_Par_t * pPars );
78/*=== amapLib.c ==========================================================*/
79extern void Amap_LibFree( Amap_Lib_t * p );
80extern void Amap_LibPrintSelectedGates( Amap_Lib_t * p, int fAllGates );
81extern Amap_Lib_t * Amap_LibReadAndPrepare( char * pFileName, char * pBuffer, int fVerbose, int fVeryVerbose );
82/*=== amapLiberty.c ==========================================================*/
83extern int Amap_LibertyParse( char * pFileName, int fVerbose );
84extern Vec_Str_t * Amap_LibertyParseStr( char * pFileName, int fVerbose );
85
86
87
89
90
91
92#endif
93
97
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
Amap_Lib_t * Amap_LibReadAndPrepare(char *pFileName, char *pBuffer, int fVerbose, int fVeryVerbose)
Definition amapLib.c:332
void Amap_LibPrintSelectedGates(Amap_Lib_t *p, int fAllGates)
Definition amapLib.c:305
void Amap_ManSetDefaultParams(Amap_Par_t *pPars)
MACRO DEFINITIONS ///.
Definition amapCore.c:46
struct Amap_Par_t_ Amap_Par_t
Definition amap.h:44
typedefABC_NAMESPACE_HEADER_START struct Amap_Lib_t_ Amap_Lib_t
INCLUDES ///.
Definition amap.h:42
Vec_Str_t * Amap_LibertyParseStr(char *pFileName, int fVerbose)
int Amap_LibertyParse(char *pFileName, int fVerbose)
struct Amap_Out_t_ Amap_Out_t
Definition amap.h:58
void Amap_LibFree(Amap_Lib_t *p)
Definition amapLib.c:67
struct Vec_Str_t_ Vec_Str_t
Definition bblif.c:46
Cube * p
Definition exorList.c:222
int pFans[0]
Definition amap.h:64
short Type
Definition amap.h:62
char * pName
Definition amap.h:61
short nFans
Definition amap.h:63
int fUseXors
Definition amap.h:51
int nCutsMax
Definition amap.h:49
float fEpsilon
Definition amap.h:53
int nIterArea
Definition amap.h:48
int fUseMuxes
Definition amap.h:50
int fVerbose
Definition amap.h:55
float fADratio
Definition amap.h:54
int fFreeInvs
Definition amap.h:52
int nIterFlow
Definition amap.h:47