diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-28 23:56:08 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-28 23:56:08 -0700 |
commit | 2a83a97164c17e341dbe90aa3debd105eb736284 (patch) | |
tree | 154c072e142692c521fe22e33779b9d88108cb98 /src/base | |
parent | 797cb49584c8103d587afff82e5e7c50703c6a87 (diff) | |
download | abc-2a83a97164c17e341dbe90aa3debd105eb736284.tar.gz abc-2a83a97164c17e341dbe90aa3debd105eb736284.tar.bz2 abc-2a83a97164c17e341dbe90aa3debd105eb736284.zip |
Changing default values.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abc.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 63b95a33..f1c63614 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -30074,16 +30074,22 @@ int Abc_CommandAbc9Jf( Abc_Frame_t * pAbc, int argc, char ** argv ) return 1; } - if ( pPars->fCutMin && !Sdm_ManCanRead() ) + if ( (pPars->fCutMin || pPars->fGenCnf) && pPars->nLutSize > 6 ) { - Abc_Print( -1, "Abc_CommandAbc9If2(): Cannot input DSD data from file.\n" ); + Abc_Print( -1, "Abc_CommandAbc9Jf(): Cut minimization works for LUT6 or less.\n" ); + return 1; + } + + if ( ((pPars->fCutMin && pPars->fFuncDsd) || pPars->fGenCnf) && !Sdm_ManCanRead() ) + { + Abc_Print( -1, "Abc_CommandAbc9Jf(): Cannot input DSD data from file.\n" ); return 1; } pNew = Jf_ManPerformMapping( pAbc->pGia, pPars ); if ( pNew == NULL ) { - Abc_Print( -1, "Abc_CommandAbc9If2(): Mapping into LUTs has failed.\n" ); + Abc_Print( -1, "Abc_CommandAbc9Jf(): Mapping into LUTs has failed.\n" ); return 1; } Abc_FrameUpdateGia( pAbc, pNew ); |