abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
abcDarUnfold2.c File Reference

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_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 }
static int Abc_NtkIsStrash(Abc_Ntk_t *pNtk)
Definition: abc.h:251
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Definition: aig.h:50
void Aig_ManStop(Aig_Man_t *p)
Definition: aigMan.c:187
char * Extra_UtilStrsav(const char *s)
Aig_Man_t * Saig_ManDupFoldConstrsFunc2(Aig_Man_t *pAig, int fCompl, int fVerbose, int typeII_cnt)
Definition: saigUnfold2.c:375
Aig_Man_t * Abc_NtkToDar(Abc_Ntk_t *pNtk, int fExors, int fRegisters)
Definition: abcDar.c:233
Abc_Ntk_t * Abc_NtkFromAigPhase(Aig_Man_t *pMan)
Definition: abcDar.c:590
char * pSpec
Definition: abc.h:159
#define assert(ex)
Definition: util_old.h:213
char * pName
Definition: abc.h:158
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;
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 }
static int Abc_NtkIsStrash(Abc_Ntk_t *pNtk)
Definition: abc.h:251
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
Definition: aig.h:50
void Aig_ManStop(Aig_Man_t *p)
Definition: aigMan.c:187
char * Extra_UtilStrsav(const char *s)
Aig_Man_t * Abc_NtkToDar(Abc_Ntk_t *pNtk, int fExors, int fRegisters)
Definition: abcDar.c:233
Aig_Man_t * Saig_ManDupUnfoldConstrsFunc2(Aig_Man_t *pAig, int nFrames, int nConfs, int nProps, int fOldAlgo, int fVerbose, int *typeII_cnt)
Definition: saigUnfold2.c:295
Abc_Ntk_t * Abc_NtkFromAigPhase(Aig_Man_t *pMan)
Definition: abcDar.c:590
char * pSpec
Definition: abc.h:159
#define assert(ex)
Definition: util_old.h:213
char * pName
Definition: abc.h:158