summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-07-19 13:26:24 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-07-19 13:26:24 -0700
commit190dc376006d02fe84de6ad538e5153931989fd4 (patch)
tree507c0f6638cb585a38cc77eed4d261f82adccec5
parent0f59f00c74d6660581464a9299277cfb97509a2d (diff)
downloadabc-190dc376006d02fe84de6ad538e5153931989fd4.tar.gz
abc-190dc376006d02fe84de6ad538e5153931989fd4.tar.bz2
abc-190dc376006d02fe84de6ad538e5153931989fd4.zip
Fix in reading initial state for edge-detection.
-rw-r--r--abclib.dsp4
-rw-r--r--src/aig/gia/giaSatLE.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/abclib.dsp b/abclib.dsp
index 7129d0e8..e1fbe7f3 100644
--- a/abclib.dsp
+++ b/abclib.dsp
@@ -267,6 +267,10 @@ SOURCE=.\src\base\abci\abcDsd.c
# End Source File
# Begin Source File
+SOURCE=.\src\base\abci\abcExact.c
+# End Source File
+# Begin Source File
+
SOURCE=.\src\base\abci\abcExtract.c
# End Source File
# Begin Source File
diff --git a/src/aig/gia/giaSatLE.c b/src/aig/gia/giaSatLE.c
index ec243423..63a45179 100644
--- a/src/aig/gia/giaSatLE.c
+++ b/src/aig/gia/giaSatLE.c
@@ -605,6 +605,8 @@ void Sle_ManDeriveInit( Sle_Man_t * p )
assert( Gia_ObjIsAnd(Gia_ManObj(p->pGia, iObj)) );
// find edge
iEdge = Vec_IntFind( Vec_WecEntry(p->vCutFanins, iObj), iFanin );
+ if ( iEdge < 0 )
+ continue;
assert( iEdge >= 0 );
Vec_IntPush( p->vPolars, Vec_IntEntry(p->vEdgeFirst, iObj) + iEdge ); // edge
}