add a new field to the ABC Frame. The new field is a callback that may be called by a BMC-like engine when a frame is done and a PO is either known to be SAT or UNSAT up to a specific frame

This commit is contained in:
Baruch Sterin 2017-08-09 12:00:59 -07:00
parent a1d1a7b8cd
commit 590ae69652
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@ ABC_NAMESPACE_HEADER_START
/// STRUCTURE DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
typedef void (*Abc_Frame_Callback_BmcFrameDone_Func)(int frame, int po, int status);
struct Abc_Frame_t_
{
// general info
@ -146,6 +148,8 @@ struct Abc_Frame_t_
Gia_Man_t * pGiaMiniLut;
Vec_Int_t * vCopyMiniAig;
Vec_Int_t * vCopyMiniLut;
Abc_Frame_Callback_BmcFrameDone_Func pFuncOnFrameDone;
};
typedef void (*Abc_Frame_Initialization_Func)( Abc_Frame_t * pAbc );