DECLARATIONS ///.
GLOBAL VARIABLES ///.
Date [Ver. 1.0. Started - June 20, 2005.]
]FUNCTION DEFINITIONS /// Function*************************************************************
51 int fEnableBmcOnly = 0;
53 int fEnableCounter = 1;
54 int fEnableComment = 0;
63 int nSizeMax = 500000;
68 clock_t clkTotal = clock();
72 printf(
" Expecting one command-line argument (an input file in AIGER format).\n" );
73 printf(
" usage: %s <file.aig>\n", argv[0] );
76 pFile = fopen( argv[1],
"r" );
79 printf(
" Cannot open input AIGER file \"%s\".\n", argv[1] );
80 printf(
" usage: %s <file.aig>\n", argv[0] );
87 printf(
" Parsing the AIGER file \"%s\" has failed.\n", argv[1] );
88 printf(
" usage: %s <file.aig>\n", argv[0] );
93 if ( !fEnableBmcOnly )
96 if ( pAig->nRegs != 0 )
97 RetValue =
Saig_ManBmcSimple( pAig, nFrames, nSizeMax, nBTLimit, fRewrite, fVerbose, NULL, 0 );
120 if ( RetValue == -1 && pAig->nRegs != 0 )
123 int nSizeMax = 500000;
124 int nBTLimit = 10000000;
126 RetValue =
Saig_ManBmcSimple( pAig, nFrames, nSizeMax, nBTLimit, fRewrite, fVerbose, &Depth, 0 );
138 fprintf( pFile,
"1" );
139 if ( fEnableCounter )
142 if ( pAig->pSeqModel )
143 Fra_SmlWriteCounterExample( pFile, pAig, pAig->pSeqModel );
146 if ( fEnableComment )
148 printf(
" # File %10s. ", argv[1] );
149 PRT(
"Time", clock() - clkTotal );
152 if ( pFile != stdout )
157 else if ( RetValue == 1 )
160 fprintf( pFile,
"0" );
162 if ( fEnableComment )
164 printf(
" # File %10s. ", argv[1] );
165 PRT(
"Time", clock() - clkTotal );
169 if ( pFile != stdout )
177 fprintf( pFile,
"2" );
179 if ( fEnableComment )
181 printf(
" # File %10s. ", argv[1] );
182 PRT(
"Time", clock() - clkTotal );
186 if ( pFile != stdout )
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
void Aig_ManStop(Aig_Man_t *p)
int Saig_ManBmcSimple(Aig_Man_t *pAig, int nFrames, int nSizeMax, int nBTLimit, int fRewrite, int fVerbose, int *piFrame, int nCofFanLit)
void Fra_SecSetDefaultParams(Fra_Sec_t *p)
DECLARATIONS ///.
void Aig_ManSetRegNum(Aig_Man_t *p, int nRegs)
int Fra_FraigSec(Aig_Man_t *p, Fra_Sec_t *pParSec, Aig_Man_t **ppResult)
Aig_Man_t * Ioa_ReadAiger(char *pFileName, int fCheck)
void Dar_LibStart()
MACRO DEFINITIONS ///.