ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
fxu.h
Go to the documentation of this file.
1
18
19#ifndef ABC__opt__fxu__fxu_h
20#define ABC__opt__fxu__fxu_h
21
22
26
27#include "misc/vec/vec.h"
28
32
33
34
36
37
41
43
44// structure for the FX input/output data
46{
47 // user specified parameters
48 int fOnlyS; // set to 1 to have only single-cube divs
49 int fOnlyD; // set to 1 to have only double-cube divs
50 int fUse0; // set to 1 to have 0-weight also extracted
51 int fUseCompl; // set to 1 to have complement taken into account
52 int fVerbose; // set to 1 to have verbose output
53 int fVeryVerbose; // set to 1 to have more verbose output
54 int nNodesExt; // the number of divisors to extract
55 int nSingleMax; // the max number of single-cube divisors to consider
56 int nPairsMax; // the max number of double-cube divisors to consider
57 int WeightMin; // the min weight of a divisor to extract
58 int LitCountMax; // the max literal count of a divisor to consider
59 int fCanonDivs; // use only canonical divisors (AND/XOR/MUX)
60 // the input information
61 Vec_Ptr_t * vSops; // the SOPs for each node in the network
62 Vec_Ptr_t * vFanins; // the fanins of each node in the network
63 // output information
64 Vec_Ptr_t * vSopsNew; // the SOPs for each node in the network after extraction
65 Vec_Ptr_t * vFaninsNew; // the fanins of each node in the network after extraction
66 // the SOP manager
68 // statistics
69 int nNodesOld; // the old number of nodes
70 int nNodesNew; // the number of divisors actually extracted
71};
72
76
80
81/*===== fxu.c ==========================================================*/
83extern int Abc_NtkFastExtract( Abc_Ntk_t * pNtk, Fxu_Data_t * p );
84extern void Abc_NtkFxuFreeInfo( Fxu_Data_t * p );
85
86
87
89
90
91
92#endif
93
97
struct Abc_Ntk_t_ Abc_Ntk_t
Definition abc.h:115
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
Cube * p
Definition exorList.c:222
void Abc_NtkFxuFreeInfo(Fxu_Data_t *p)
Definition abcFxu.c:207
typedefABC_NAMESPACE_HEADER_START struct FxuDataStruct Fxu_Data_t
INCLUDES ///.
Definition fxu.h:42
void Abc_NtkSetDefaultFxParams(Fxu_Data_t *p)
MACRO DEFINITIONS ///.
Definition abcFxu.c:52
int Abc_NtkFastExtract(Abc_Ntk_t *pNtk, Fxu_Data_t *p)
Definition abcFxu.c:83
struct Mem_Flex_t_ Mem_Flex_t
Definition mem.h:34
int fUse0
Definition fxu.h:50
int nSingleMax
Definition fxu.h:55
Vec_Ptr_t * vSopsNew
Definition fxu.h:64
int fOnlyD
Definition fxu.h:49
Mem_Flex_t * pManSop
Definition fxu.h:67
int fUseCompl
Definition fxu.h:51
int fVerbose
Definition fxu.h:52
int LitCountMax
Definition fxu.h:58
int nNodesExt
Definition fxu.h:54
Vec_Ptr_t * vFanins
Definition fxu.h:62
int nPairsMax
Definition fxu.h:56
Vec_Ptr_t * vFaninsNew
Definition fxu.h:65
int fOnlyS
Definition fxu.h:48
int fVeryVerbose
Definition fxu.h:53
int fCanonDivs
Definition fxu.h:59
int nNodesNew
Definition fxu.h:70
int WeightMin
Definition fxu.h:57
Vec_Ptr_t * vSops
Definition fxu.h:61
int nNodesOld
Definition fxu.h:69
typedefABC_NAMESPACE_HEADER_START struct Vec_Ptr_t_ Vec_Ptr_t
INCLUDES ///.
Definition vecPtr.h:42