Do not allow interpolation with constraints.

This commit is contained in:
Alan Mishchenko 2011-11-12 17:18:49 -08:00
parent c1ac6b9b3e
commit fa96b8d798
1 changed files with 5 additions and 0 deletions

View File

@ -19430,6 +19430,11 @@ int Abc_CommandBmcInter( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print( -1, "Does not work for combinational networks.\n" );
return 0;
}
if ( Abc_NtkConstrNum(pNtk) > 0 )
{
Abc_Print( -1, "Cannot run interpolation with constraints. Use \"fold\".\n" );
return 0;
}
if ( Abc_NtkPoNum(pNtk)-Abc_NtkConstrNum(pNtk) != 1 )
{
if ( Abc_NtkConstrNum(pNtk) > 0 )