summaryrefslogtreecommitdiffstats
path: root/src/aig/ssw/sswRarity.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-08-02 12:58:37 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2011-08-02 12:58:37 +0700
commit49df91f071d6828113ded55f371e15d192304222 (patch)
tree6d089abb35681ede68d8691adc6b39cd4092de05 /src/aig/ssw/sswRarity.c
parent64f31f98bf5b317dc08f0e96bf1aa617053c918d (diff)
downloadabc-49df91f071d6828113ded55f371e15d192304222.tar.gz
abc-49df91f071d6828113ded55f371e15d192304222.tar.bz2
abc-49df91f071d6828113ded55f371e15d192304222.zip
Several bug fixes.
Diffstat (limited to 'src/aig/ssw/sswRarity.c')
-rw-r--r--src/aig/ssw/sswRarity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/ssw/sswRarity.c b/src/aig/ssw/sswRarity.c
index 24cfe65d..037dfe55 100644
--- a/src/aig/ssw/sswRarity.c
+++ b/src/aig/ssw/sswRarity.c
@@ -899,7 +899,7 @@ int Ssw_RarSimulate( Aig_Man_t * pAig, int nFrames, int nWords, int nBinSize, in
if ( Aig_ManNodeNum(pAig) == 0 )
return -1;
// check trivially SAT miters
- if ( Ssw_RarCheckTrivial( pAig, fVerbose ) )
+ if ( fMiter && Ssw_RarCheckTrivial( pAig, fVerbose ) )
return 0;
if ( fVerbose )
printf( "Rarity simulation with %d words, %d frames, %d rounds, %d seed, and %d sec timeout.\n",
@@ -1006,7 +1006,7 @@ int Ssw_RarSignalFilter( Aig_Man_t * pAig, int nFrames, int nWords, int nBinSize
if ( Aig_ManNodeNum(pAig) == 0 )
return -1;
// check trivially SAT miters
- if ( Ssw_RarCheckTrivial( pAig, 1 ) )
+ if ( fMiter && Ssw_RarCheckTrivial( pAig, 1 ) )
return 0;
if ( fVerbose )
printf( "Rarity equiv filtering with %d words, %d frames, %d rounds, %d seed, and %d sec timeout.\n",