diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-12-29 14:39:25 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-12-29 14:39:25 +0700 |
commit | 737e4671cea12f58332c44d65fe8bc28b2537617 (patch) | |
tree | 8ae72833e90becdeabbabe0201dc2f182ee1e46f /src/base/abci/abc.c | |
parent | 15a356fa4dd1dddd6a42702f0431fe0aa773516d (diff) | |
download | abc-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.c | 5 |
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 ); |