From d25473b30722d1567345e2f10e22baa94272085c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 9 Oct 2015 11:05:35 -0700 Subject: Experiments with functional matching. --- src/base/abci/abc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/base') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index c5300f69..18239440 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -5183,8 +5183,11 @@ int Abc_CommandMfs3( Abc_Frame_t * pAbc, int argc, char ** argv ) } pPars->nTfiLevMax = atoi(argv[globalUtilOptind]); globalUtilOptind++; - if ( pPars->nTfiLevMax < 0 ) + if ( pPars->nTfiLevMax < 1 ) + { + Abc_Print( -1, "The number of TFI levels (switch \"-I\") should be at least 1.\n" ); goto usage; + } break; case 'F': if ( globalUtilOptind >= argc ) @@ -5285,7 +5288,7 @@ usage: Abc_Print( -2, "usage: mfs3 [-OIFXMLCN ] [-avwh]\n" ); Abc_Print( -2, "\t performs don't-care-based optimization of mapped networks\n" ); Abc_Print( -2, "\t-O : the number of levels in the TFO cone (0 <= num) [default = %d]\n", pPars->nTfoLevMax ); - Abc_Print( -2, "\t-I : the number of levels in the TFI cone (0 <= num) [default = %d]\n", pPars->nTfiLevMax ); + Abc_Print( -2, "\t-I : the number of levels in the TFI cone (1 <= num) [default = %d]\n", pPars->nTfiLevMax ); Abc_Print( -2, "\t-F : the max number of fanouts to skip (1 <= num) [default = %d]\n", pPars->nFanoutMax ); Abc_Print( -2, "\t-X : the max size of max fanout-free cone (MFFC) [default = %d]\n", pPars->nMffcMax ); Abc_Print( -2, "\t-M : the max node count of windows to consider (0 = no limit) [default = %d]\n", pPars->nWinSizeMax ); -- cgit v1.2.3