ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
abcDarUnfold2.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Abc_Ntk_tAbc_NtkDarFold2 (Abc_Ntk_t *pNtk, int fCompl, int fVerbose, int)
 
Abc_Ntk_tAbc_NtkDarUnfold2 (Abc_Ntk_t *pNtk, int nFrames, int nConfs, int nProps, int fStruct, int fOldAlgo, int fVerbose)
 

Function Documentation

◆ Abc_NtkDarFold2()

Abc_Ntk_t * Abc_NtkDarFold2 ( Abc_Ntk_t * pNtk,
int fCompl,
int fVerbose,
int typeII_cnt )

Function*************************************************************

Synopsis [Performs BDD-based reachability analysis.]

Description []

SideEffects []

SeeAlso []

Definition at line 51 of file abcDarUnfold2.c.

54{
55 Abc_Ntk_t * pNtkAig;
56 Aig_Man_t * pMan, * pTemp;
57 assert( Abc_NtkIsStrash(pNtk) );
58 pMan = Abc_NtkToDar( pNtk, 0, 1 );
59 if ( pMan == NULL )
60 return NULL;
61 pMan = Saig_ManDupFoldConstrsFunc2( pTemp = pMan, fCompl, fVerbose, typeII_cnt );
62 Aig_ManStop( pTemp );
63 pNtkAig = Abc_NtkFromAigPhase( pMan );
64 pNtkAig->pName = Extra_UtilStrsav(pMan->pName);
65 pNtkAig->pSpec = Extra_UtilStrsav(pMan->pSpec);
66 Aig_ManStop( pMan );
67 return pNtkAig;
68}
struct Abc_Ntk_t_ Abc_Ntk_t
Definition abc.h:115
void Aig_ManStop(Aig_Man_t *p)
Definition aigMan.c:187
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Definition aig.h:50
char * Extra_UtilStrsav(const char *s)
ABC_NAMESPACE_IMPL_START Abc_Ntk_t * Abc_NtkFromAigPhase(Aig_Man_t *pMan)
DECLARATIONS ///.
Definition abcDar.c:595
Aig_Man_t * Abc_NtkToDar(Abc_Ntk_t *pNtk, int fExors, int fRegisters)
Definition abcDar.c:237
Aig_Man_t * Saig_ManDupFoldConstrsFunc2(Aig_Man_t *pAig, int fCompl, int fVerbose, int typeII_cnt)
char * pName
Definition abc.h:158
char * pSpec
Definition abc.h:159
#define assert(ex)
Definition util_old.h:213
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Abc_NtkDarUnfold2()

Abc_Ntk_t * Abc_NtkDarUnfold2 ( Abc_Ntk_t * pNtk,
int nFrames,
int nConfs,
int nProps,
int fStruct,
int fOldAlgo,
int fVerbose )

Definition at line 13 of file abcDarUnfold2.c.

14{
15 Abc_Ntk_t * pNtkAig;
16 Aig_Man_t * pMan, * pTemp = NULL;
17 int typeII_cnt = 0;
18 assert( Abc_NtkIsStrash(pNtk) );
19 pMan = Abc_NtkToDar( pNtk, 0, 1 );
20 if ( pMan == NULL )
21 return NULL;
22 if ( fStruct ){
23 assert(0);//pMan = Saig_ManDupUnfoldConstrs( pTemp = pMan );
24 }else
25 pMan = Saig_ManDupUnfoldConstrsFunc2( pTemp = pMan, nFrames, nConfs, nProps, fOldAlgo, fVerbose , &typeII_cnt);
26 Aig_ManStop( pTemp );
27 if ( pMan == NULL )
28 return NULL;
29 // typeII_cnt = pMan->nConstrsTypeII;
30 pNtkAig = Abc_NtkFromAigPhase( pMan );
31 pNtkAig->pName = Extra_UtilStrsav(pMan->pName);
32 pNtkAig->pSpec = Extra_UtilStrsav(pMan->pSpec);
33 Aig_ManStop( pMan );
34
35 return pNtkAig;//Abc_NtkDarFold2(pNtkAig, 0, fVerbose, typeII_cnt);
36
37 //return pNtkAig;
38}
Aig_Man_t * Saig_ManDupUnfoldConstrsFunc2(Aig_Man_t *pAig, int nFrames, int nConfs, int nProps, int fOldAlgo, int fVerbose, int *typeII_cnt)
Here is the call graph for this function:
Here is the caller graph for this function: