Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions abclib.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions src/base/abci/abc.c
Original file line number Diff line number Diff line change
Expand Up @@ -7960,14 +7960,17 @@ int Abc_CommandRunScript( Abc_Frame_t * pAbc, int argc, char ** argv )
***********************************************************************/
int Abc_CommandRunTest( Abc_Frame_t * pAbc, int argc, char ** argv )
{
extern void Acb_NtkRunTest( char * pFileNames[4], int fFancy, int fVerbose );
extern void Acb_NtkRunTest( char * pFileNames[4], int fFancy, int fVerbose, int fUseCadical );
char * pFileNames[4] = {NULL};
int c, fFancy = 0, fVerbose = 0;
int c, fFancy = 0, fVerbose = 0, fUseCadical = 0;
Extra_UtilGetoptReset();
while ( ( c = Extra_UtilGetopt( argc, argv, "fvh" ) ) != EOF )
while ( ( c = Extra_UtilGetopt( argc, argv, "cfvh" ) ) != EOF )
{
switch ( c )
{
case 'c':
fUseCadical ^= 1;
break;
case 'f':
fFancy ^= 1;
break;
Expand All @@ -7987,12 +7990,13 @@ int Abc_CommandRunTest( Abc_Frame_t * pAbc, int argc, char ** argv )
}
for ( c = 0; c < argc - globalUtilOptind; c++ )
pFileNames[c] = argv[globalUtilOptind+c];
Acb_NtkRunTest( pFileNames, fFancy, fVerbose );
Acb_NtkRunTest( pFileNames, fFancy, fVerbose, fUseCadical );
return 0;

usage:
Abc_Print( -2, "usage: xec [-fvh] <file1> <file2>\n" );
Abc_Print( -2, "usage: xec [-cfvh] <file1> <file2>\n" );
Abc_Print( -2, "\t combinational equivalence checking with x-values\n" );
Abc_Print( -2, "\t-c : toggle using CaDiCaL SAT-only solving [default = %s]\n", fUseCadical? "yes": "no" );
Abc_Print( -2, "\t-f : toggle using experimental feature [default = %s]\n", fFancy? "yes": "no" );
Abc_Print( -2, "\t-v : toggle printing verbose information [default = %s]\n", fVerbose? "yes": "no" );
Abc_Print( -2, "\t-h : print the command usage\n");
Expand Down
Loading