mirror of https://github.com/YosysHQ/abc.git
Add warning when trying to CEC AIGs with xor-gates.
This commit is contained in:
parent
ae92ea0214
commit
3c56ccb8fb
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in New Issue