summaryrefslogtreecommitdiffstats
path: root/src/proof/ssw
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-07-28 10:41:55 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-07-28 10:41:55 -0700
commit1bb918167e2c2822eef8b1ea708bfb51ef70e6d1 (patch)
tree4aa50672d60e16aa0f1fcc2e7bcbe8f3c35b5b66 /src/proof/ssw
parent9895f30d95f326211a397c75a8964ad5cfd12ad5 (diff)
downloadabc-1bb918167e2c2822eef8b1ea708bfb51ef70e6d1.tar.gz
abc-1bb918167e2c2822eef8b1ea708bfb51ef70e6d1.tar.bz2
abc-1bb918167e2c2822eef8b1ea708bfb51ef70e6d1.zip
Serious bug fix in 'scorr -F <num>' with <num> > 1.
Diffstat (limited to 'src/proof/ssw')
-rw-r--r--src/proof/ssw/sswSweep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proof/ssw/sswSweep.c b/src/proof/ssw/sswSweep.c
index 6db673cc..77cb24de 100644
--- a/src/proof/ssw/sswSweep.c
+++ b/src/proof/ssw/sswSweep.c
@@ -287,6 +287,9 @@ clk = Abc_Clock();
Ssw_ObjSetFrame( p, Aig_ManConst1(p->pAig), f, Aig_ManConst1(p->pFrames) );
Saig_ManForEachPi( p->pAig, pObj, i )
Ssw_ObjSetFrame( p, pObj, f, Aig_ObjCreateCi(p->pFrames) );
+ // sweep flops
+ Saig_ManForEachLo( p->pAig, pObj, i )
+ p->fRefined |= Ssw_ManSweepNode( p, pObj, f, 1, NULL );
// sweep internal nodes
Aig_ManForEachNode( p->pAig, pObj, i )
{