summaryrefslogtreecommitdiffstats
path: root/src/aig/ssw/sswCnf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/ssw/sswCnf.c')
-rw-r--r--src/aig/ssw/sswCnf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aig/ssw/sswCnf.c b/src/aig/ssw/sswCnf.c
index b047a312..e4b8f9f6 100644
--- a/src/aig/ssw/sswCnf.c
+++ b/src/aig/ssw/sswCnf.c
@@ -264,6 +264,12 @@ void Ssw_ObjAddToFrontier( Ssw_Man_t * p, Aig_Obj_t * pObj, Vec_Ptr_t * vFrontie
assert( Ssw_ObjSatNum(p,pObj) == 0 );
if ( Aig_ObjIsConst1(pObj) )
return;
+ if ( p->pPars->fLatchCorrOpt )
+ {
+ Vec_PtrPush( p->vUsedNodes, pObj );
+ if ( Aig_ObjIsPi(pObj) )
+ Vec_PtrPush( p->vUsedPis, pObj );
+ }
Ssw_ObjSetSatNum( p, pObj, p->nSatVars++ );
sat_solver_setnvars( p->pSat, 100 * (1 + p->nSatVars / 100) );
if ( Aig_ObjIsNode(pObj) )