From 71cbf17e7f0352556af12ccccf9051e02c773e58 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 13 Feb 2011 17:46:48 -0800 Subject: Unified the use of counter-examples in three packages. --- src/aig/bbr/bbrCex.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/aig/bbr/bbrCex.c') diff --git a/src/aig/bbr/bbrCex.c b/src/aig/bbr/bbrCex.c index 8f99ea3c..4a1a1d67 100644 --- a/src/aig/bbr/bbrCex.c +++ b/src/aig/bbr/bbrCex.c @@ -19,7 +19,6 @@ ***********************************************************************/ #include "bbr.h" -#include "ssw.h" ABC_NAMESPACE_IMPL_START @@ -60,7 +59,7 @@ Abc_Cex_t * Aig_ManVerifyUsingBddsCountExample( Aig_Man_t * p, DdManager * dd, //printf( "\nDeriving counter-example.\n" ); // allocate room for the counter-example - pCex = Ssw_SmlAllocCounterExample( Saig_ManRegNum(p), Saig_ManPiNum(p), Vec_PtrSize(vOnionRings)+1 ); + pCex = Abc_CexAlloc( Saig_ManRegNum(p), Saig_ManPiNum(p), Vec_PtrSize(vOnionRings)+1 ); pCex->iFrame = Vec_PtrSize(vOnionRings); pCex->iPo = iOutput; nPiOffset = Saig_ManRegNum(p) + Saig_ManPiNum(p) * Vec_PtrSize(vOnionRings); @@ -153,7 +152,7 @@ Abc_Cex_t * Aig_ManVerifyUsingBddsCountExample( Aig_Man_t * p, DdManager * dd, // verify the counter example if ( Vec_PtrSize(vOnionRings) < 1000 ) { - RetValue = Ssw_SmlRunCounterExample( p, pCex ); + RetValue = Saig_ManVerifyCex( p, pCex ); if ( RetValue == 0 && !fSilent ) printf( "Aig_ManVerifyUsingBdds(): Counter-example verification has FAILED.\n" ); } -- cgit v1.2.3