summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaTruth.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-01-13 15:25:35 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-01-13 15:25:35 +0700
commitf5240276cb29e730be44b96da9013db046683a5f (patch)
tree0e9daadb4e278cf978d2e312557f66a2de05314f /src/aig/gia/giaTruth.c
parentd52dafa6c2365837543f15be7abd274f8654ba14 (diff)
downloadabc-f5240276cb29e730be44b96da9013db046683a5f.tar.gz
abc-f5240276cb29e730be44b96da9013db046683a5f.tar.bz2
abc-f5240276cb29e730be44b96da9013db046683a5f.zip
Updates to arithmetic verification.
Diffstat (limited to 'src/aig/gia/giaTruth.c')
-rw-r--r--src/aig/gia/giaTruth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aig/gia/giaTruth.c b/src/aig/gia/giaTruth.c
index f636a573..ab5f569e 100644
--- a/src/aig/gia/giaTruth.c
+++ b/src/aig/gia/giaTruth.c
@@ -184,6 +184,8 @@ word Gia_ObjComputeTruth6Cis( Gia_Man_t * p, int iLit, Vec_Int_t * vSupp, Vec_Wr
if ( !iObj ) return Abc_LitIsCompl(iLit) ? ~(word)0 : (word)0;
Gia_ManIncrementTravId( p );
Gia_ObjComputeTruth6CisSupport_rec( p, iObj, vSupp );
+ if ( Vec_IntSize(vSupp) > 6 )
+ return 0;
Gia_ObjComputeTruth6( p, iObj, vSupp, vTemp );
return Abc_LitIsCompl(iLit) ? ~Vec_WrdEntry(vTemp, iObj) : Vec_WrdEntry(vTemp, iObj);
}