Add warning when trying to CEC AIGs with xor-gates.

This commit is contained in:
Alan Mishchenko 2024-05-08 08:15:45 -07:00
parent ae92ea0214
commit 3c56ccb8fb
1 changed files with 5 additions and 0 deletions

View File

@ -39133,6 +39133,11 @@ int Abc_CommandAbc9Cec( Abc_Frame_t * pAbc, int argc, char ** argv )
goto usage;
}
}
if ( pAbc->pGia && pAbc->pGia->nXors )
{
Abc_Print( 0, "It looks like the current AIG is derived by &st -m. Such AIG contains XOR gates and cannot be verified before &st is applied.\n" );
return 1;
}
pArgvNew = argv + globalUtilOptind;
nArgcNew = argc - globalUtilOptind;
if ( fMiter )