summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abc.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-12-29 14:39:25 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-12-29 14:39:25 +0700
commit737e4671cea12f58332c44d65fe8bc28b2537617 (patch)
tree8ae72833e90becdeabbabe0201dc2f182ee1e46f /src/base/abci/abc.c
parent15a356fa4dd1dddd6a42702f0431fe0aa773516d (diff)
downloadabc-737e4671cea12f58332c44d65fe8bc28b2537617.tar.gz
abc-737e4671cea12f58332c44d65fe8bc28b2537617.tar.bz2
abc-737e4671cea12f58332c44d65fe8bc28b2537617.zip
Adding check for the presence of precomputed data.
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r--src/base/abci/abc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index bc7f5448..c98e4858 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -32830,6 +32830,11 @@ int Abc_CommandAbc9Bmc( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print( -1, "Abc_CommandAbc9Bmc(): There is no AIG.\n" );
return 0;
}
+ if ( !pPars->fUseOldCnf && !Sdm_ManCanRead() )
+ {
+ Abc_Print( -1, "Abc_CommandAbc9Bmc(): Cannot input precomputed DSD information.\n" );
+ return 0;
+ }
pAbc->Status = Gia_ManBmcPerform( pAbc->pGia, pPars );
pAbc->nFrames = pPars->iFrame;
Abc_FrameReplaceCex( pAbc, &pAbc->pGia->pCexSeq );