mirror of https://github.com/YosysHQ/abc.git
Tuning SAT solver for QBF instances.
This commit is contained in:
parent
fdf00d8044
commit
f06ca216ab
|
|
@ -21839,7 +21839,7 @@ int Abc_CommandDSat( Abc_Frame_t * pAbc, int argc, char ** argv )
|
|||
return 0;
|
||||
}
|
||||
fclose( pFile );
|
||||
Cnf_DataSolveFromFile( pFileName, nConfLimit, nLearnedStart, nLearnedDelta, nLearnedPerce, fVerbose, &pModel, Abc_NtkPiNum(pNtk) );
|
||||
Cnf_DataSolveFromFile( pFileName, nConfLimit, nLearnedStart, nLearnedDelta, nLearnedPerce, fVerbose, &pModel, pNtk ? Abc_NtkPiNum(pNtk) : 0 );
|
||||
if ( pModel && pNtk )
|
||||
{
|
||||
int * pSimInfo = Abc_NtkVerifySimulatePattern( pNtk, pModel );
|
||||
|
|
|
|||
|
|
@ -449,7 +449,7 @@ int Cnf_DataSolveFromFile( char * pFileName, int nConfLimit, int nLearnedStart,
|
|||
//Abc_Print( -1, "\n" );
|
||||
Abc_PrintTime( 1, "Time", Abc_Clock() - clk );
|
||||
// derive SAT assignment
|
||||
if ( RetValue == 0 )
|
||||
if ( RetValue == 0 && nPis > 0 )
|
||||
{
|
||||
*ppModel = ABC_ALLOC( int, nPis );
|
||||
for ( i = 0; i < nPis; i++ )
|
||||
|
|
|
|||
Loading…
Reference in New Issue