diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-03-14 16:32:21 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-03-14 16:32:21 +0700 |
commit | 1451e4551c84c0b57db264c129856eb3e52a7a76 (patch) | |
tree | 954436fef0be05d1ef1adb9281f5e2313335cf01 /src/base | |
parent | e89fe16b91e708b897cb58f90fefe2714b520ec8 (diff) | |
download | abc-1451e4551c84c0b57db264c129856eb3e52a7a76.tar.gz abc-1451e4551c84c0b57db264c129856eb3e52a7a76.tar.bz2 abc-1451e4551c84c0b57db264c129856eb3e52a7a76.zip |
Adding flop-input-only switch -f in &fftest.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abci/abc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 0aaee0f3..53838c76 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -36217,7 +36217,7 @@ int Abc_CommandAbc9FFTest( Abc_Frame_t * pAbc, int argc, char ** argv ) int c; Gia_ParFfSetDefault( pPars ); Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "ATNSGsbduvh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "ATNSGsbfduvh" ) ) != EOF ) { switch ( c ) { @@ -36278,6 +36278,9 @@ int Abc_CommandAbc9FFTest( Abc_Frame_t * pAbc, int argc, char ** argv ) case 'b': pPars->fBasic ^= 1; break; + case 'f': + pPars->fFfOnly ^= 1; + break; case 'd': pPars->fDump ^= 1; break; @@ -36362,7 +36365,7 @@ int Abc_CommandAbc9FFTest( Abc_Frame_t * pAbc, int argc, char ** argv ) return 0; usage: - Abc_Print( -2, "usage: &fftest [-ATN num] [-sbduvh] <file> [-G file] [-S str]\n" ); + Abc_Print( -2, "usage: &fftest [-ATN num] [-sbfduvh] <file> [-G file] [-S str]\n" ); Abc_Print( -2, "\t performs functional fault test generation\n" ); Abc_Print( -2, "\t-A num : selects fault model for all gates [default = %d]\n", pPars->Algo ); Abc_Print( -2, "\t 0: fault model is not selected (use -S str)\n" ); @@ -36374,6 +36377,7 @@ usage: Abc_Print( -2, "\t-N num : specifies iteration to check for fixed parameters [default = %d]\n", pPars->nIterCheck ); Abc_Print( -2, "\t-s : toggles starting with the all-0 and all-1 patterns [default = %s]\n", pPars->fStartPats? "yes": "no" ); Abc_Print( -2, "\t-b : toggles testing for single faults only [default = %s]\n", pPars->fBasic? "yes": "no" ); + Abc_Print( -2, "\t-f : toggles using flop inputs only with \"-A 1\" [default = %s]\n", pPars->fFfOnly? "yes": "no" ); Abc_Print( -2, "\t-d : toggles dumping test patterns into file \"tests.txt\" [default = %s]\n", pPars->fDump? "yes": "no" ); Abc_Print( -2, "\t-u : toggles dumping untestable faults into \"untest.txt\" [default = %s]\n", pPars->fDumpUntest? "yes": "no" ); Abc_Print( -2, "\t-v : toggles printing verbose information [default = %s]\n", pPars->fVerbose? "yes": "no" ); |