diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-04 13:52:42 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-04 13:52:42 -0700 |
commit | 05f51cbb2ad3856916325a4322401fe0d8fde408 (patch) | |
tree | 42d16615b7adae4c548a54ed6b5ab65d2f9bd2ce /src/proof/cec | |
parent | b9ed304236ee9c7e0cc7d7a0508fb29553679b33 (diff) | |
download | abc-05f51cbb2ad3856916325a4322401fe0d8fde408.tar.gz abc-05f51cbb2ad3856916325a4322401fe0d8fde408.tar.bz2 abc-05f51cbb2ad3856916325a4322401fe0d8fde408.zip |
Enabled recording the name of the file GIA is coming from.
Diffstat (limited to 'src/proof/cec')
-rw-r--r-- | src/proof/cec/cecChoice.c | 1 | ||||
-rw-r--r-- | src/proof/cec/cecCorr.c | 3 | ||||
-rw-r--r-- | src/proof/cec/cecSweep.c | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/proof/cec/cecChoice.c b/src/proof/cec/cecChoice.c index b18a545f..c07b9112 100644 --- a/src/proof/cec/cecChoice.c +++ b/src/proof/cec/cecChoice.c @@ -104,6 +104,7 @@ Gia_Man_t * Cec_ManCombSpecReduce( Gia_Man_t * p, Vec_Int_t ** pvOutputs, int fR Gia_ManFillValue( p ); pNew = Gia_ManStart( Gia_ManObjNum(p) ); pNew->pName = Abc_UtilStrsav( p->pName ); + pNew->pSpec = Abc_UtilStrsav( p->pSpec ); Gia_ManHashAlloc( pNew ); Gia_ManConst0(p)->Value = 0; Gia_ManForEachCi( p, pObj, i ) diff --git a/src/proof/cec/cecCorr.c b/src/proof/cec/cecCorr.c index e8b25b48..300c10d5 100644 --- a/src/proof/cec/cecCorr.c +++ b/src/proof/cec/cecCorr.c @@ -116,6 +116,7 @@ Gia_Man_t * Gia_ManCorrSpecReduce( Gia_Man_t * p, int nFrames, int fScorr, Vec_I Gia_ManSetPhase( p ); pNew = Gia_ManStart( nFrames * Gia_ManObjNum(p) ); pNew->pName = Abc_UtilStrsav( p->pName ); + pNew->pSpec = Abc_UtilStrsav( p->pSpec ); Gia_ManHashAlloc( pNew ); Gia_ObjSetCopyF( p, 0, Gia_ManConst0(p), 0 ); Gia_ManForEachRo( p, pObj, i ) @@ -232,6 +233,7 @@ Gia_Man_t * Gia_ManCorrSpecReduceInit( Gia_Man_t * p, int nFrames, int nPrefix, Gia_ManSetPhase( p ); pNew = Gia_ManStart( (nFrames+nPrefix) * Gia_ManObjNum(p) ); pNew->pName = Abc_UtilStrsav( p->pName ); + pNew->pSpec = Abc_UtilStrsav( p->pSpec ); Gia_ManHashAlloc( pNew ); Gia_ManForEachRo( p, pObj, i ) { @@ -693,6 +695,7 @@ Gia_Man_t * Gia_ManCorrReduce( Gia_Man_t * p ) Gia_ManSetPhase( p ); pNew = Gia_ManStart( Gia_ManObjNum(p) ); pNew->pName = Abc_UtilStrsav( p->pName ); + pNew->pSpec = Abc_UtilStrsav( p->pSpec ); Gia_ManFillValue( p ); Gia_ManConst0(p)->Value = 0; Gia_ManForEachCi( p, pObj, i ) diff --git a/src/proof/cec/cecSweep.c b/src/proof/cec/cecSweep.c index 505de076..16697776 100644 --- a/src/proof/cec/cecSweep.c +++ b/src/proof/cec/cecSweep.c @@ -54,6 +54,7 @@ Gia_Man_t * Cec_ManFraSpecReduction( Cec_ManFra_t * p ) Gia_ManLevelNum( p->pAig ); pNew = Gia_ManStart( Gia_ManObjNum(p->pAig) ); pNew->pName = Abc_UtilStrsav( p->pAig->pName ); + pNew->pSpec = Abc_UtilStrsav( p->pAig->pName ); Gia_ManHashAlloc( pNew ); piCopies = ABC_FALLOC( int, Gia_ManObjNum(p->pAig) ); pDepths = ABC_CALLOC( int, Gia_ManObjNum(p->pAig) ); |