diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-04-17 17:00:31 +0900 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-04-17 17:00:31 +0900 |
commit | bc6c0837a18e21b4fbcb6e43c8328f42614e9277 (patch) | |
tree | d4f610c6dc6828160ade4ebfe5a22ff337fe9c6d /src/base/abci | |
parent | b1aabead5d5d73a040f9fcbd0526febc61820176 (diff) | |
download | abc-bc6c0837a18e21b4fbcb6e43c8328f42614e9277.tar.gz abc-bc6c0837a18e21b4fbcb6e43c8328f42614e9277.tar.bz2 abc-bc6c0837a18e21b4fbcb6e43c8328f42614e9277.zip |
Adding support for dumping faults not detected by a given test-set in &fftest (switch -n).
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 8b96bba1..7249e676 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -10890,6 +10890,8 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv ) { extern void Tab_DecomposeTest(); //Tab_DecomposeTest(); + extern void Cnf_AddCardinConstrTest(); + Cnf_AddCardinConstrTest(); } return 0; usage: @@ -36342,7 +36344,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, "ATNKSGkbsfdeuvh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "ATNKSGkbsfdeunvh" ) ) != EOF ) { switch ( c ) { @@ -36429,6 +36431,9 @@ int Abc_CommandAbc9FFTest( Abc_Frame_t * pAbc, int argc, char ** argv ) case 'u': pPars->fDumpUntest ^= 1; break; + case 'n': + pPars->fDumpNewFaults ^= 1; + break; case 'v': pPars->fVerbose ^= 1; break; @@ -36507,7 +36512,7 @@ int Abc_CommandAbc9FFTest( Abc_Frame_t * pAbc, int argc, char ** argv ) return 0; usage: - Abc_Print( -2, "usage: &fftest [-ATNK num] [-kbsfdeuvh] <file> [-G file] [-S str]\n" ); + Abc_Print( -2, "usage: &fftest [-ATNK num] [-kbsfdeunvh] <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" ); @@ -36525,6 +36530,7 @@ usage: Abc_Print( -2, "\t-d : toggles dumping test patterns into file \"tests.txt\" [default = %s]\n", pPars->fDump? "yes": "no" ); Abc_Print( -2, "\t-e : toggles dumping test pattern pairs (delay faults only) [default = %s]\n", pPars->fDumpDelay? "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-n : toggles dumping faults not detected by a given test set [default = %s]\n", pPars->fDumpNewFaults? "yes": "no" ); Abc_Print( -2, "\t-v : toggles printing verbose information [default = %s]\n", pPars->fVerbose? "yes": "no" ); Abc_Print( -2, "\t-h : print the command usage\n"); Abc_Print( -2, "\t<file> : (optional) file name with input test patterns\n\n"); |