abc-master
|
#include "aig/saig/saig.h"
#include "misc/vec/vecWec.h"
#include "sat/cnf/cnf.h"
#include "sat/bsat/satSolver.h"
#include "pdr.h"
Go to the source code of this file.
Data Structures | |
struct | Pdr_Set_t_ |
struct | Pdr_Obl_t_ |
struct | Pdr_Man_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Pdr_Set_t_ | Pdr_Set_t |
INCLUDES ///. More... | |
typedef struct Pdr_Obl_t_ | Pdr_Obl_t |
typedef struct Pdr_Man_t_ | Pdr_Man_t |
typedef struct Pdr_Man_t_ Pdr_Man_t |
typedef struct Pdr_Obl_t_ Pdr_Obl_t |
typedef typedefABC_NAMESPACE_HEADER_START struct Pdr_Set_t_ Pdr_Set_t |
INCLUDES ///.
CFile****************************************************************
FileName [pdrInt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Property driven reachability.]
Synopsis [Internal declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 20, 2010.]
Revision [
]PARAMETERS ///BASIC TYPES ///
Function*************************************************************
Synopsis [Returns 1 if the clause is contained in higher clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 241 of file pdrCore.c.
int Pdr_ManCheckCube | ( | Pdr_Man_t * | p, |
int | k, | ||
Pdr_Set_t * | pCube, | ||
Pdr_Set_t ** | ppPred, | ||
int | nConfLimit | ||
) |
Function*************************************************************
Synopsis [Checks if the cube holds (UNSAT) in the given timeframe.]
Description [Return 1/0 if cube or property are proved to hold/fail in k-th timeframe. Returns the predecessor bad state in ppPred.]
SideEffects []
SeeAlso []
Definition at line 286 of file pdrSat.c.
Function*************************************************************
Synopsis [Checks if the cube holds (UNSAT) in the given timeframe.]
Description [Return 1/0 if cube or property are proved to hold/fail in k-th timeframe. Returns the predecessor bad state in ppPred.]
SideEffects []
SeeAlso []
Definition at line 258 of file pdrSat.c.
Function*************************************************************
Synopsis [Collects values of the RO/RI variables in k-th SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 232 of file pdrSat.c.
sat_solver* Pdr_ManCreateSolver | ( | Pdr_Man_t * | p, |
int | k | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [pdrSat.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Property driven reachability.]
Synopsis [SAT solver procedures.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 20, 2010.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Creates new SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file pdrSat.c.
Function*************************************************************
Synopsis [Returns 1 if SAT assignment is found; 0 otherwise.]
Description []
SideEffects []
SeeAlso []
Definition at line 688 of file pdrUtil.c.
Function*************************************************************
Synopsis [Converts the cube in terms of RO numbers into array of CNF literals.]
Description []
SideEffects []
SeeAlso []
Definition at line 142 of file pdrSat.c.
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis [Derives counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 189 of file pdrMan.c.
void Pdr_ManDumpClauses | ( | Pdr_Man_t * | p, |
char * | pFileName, | ||
int | fProved | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 313 of file pdrInv.c.
sat_solver* Pdr_ManFetchSolver | ( | Pdr_Man_t * | p, |
int | k | ||
) |
Function*************************************************************
Synopsis [Returns old or restarted solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 76 of file pdrSat.c.
int Pdr_ManFreeVar | ( | Pdr_Man_t * | p, |
int | k | ||
) |
Function*************************************************************
Synopsis [Returns the index of unused SAT variable.]
Description []
SideEffects []
SeeAlso []
Definition at line 332 of file pdrCnf.c.
sat_solver* Pdr_ManNewSolver | ( | sat_solver * | pSat, |
Pdr_Man_t * | p, | ||
int | k, | ||
int | fInit | ||
) |
Function*************************************************************
Synopsis [Creates SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 435 of file pdrCnf.c.
void Pdr_ManPrintClauses | ( | Pdr_Man_t * | p, |
int | kStart | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 205 of file pdrInv.c.
DECLARATIONS ///.
CFile****************************************************************
FileName [pdrInv.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Property driven reachability.]
Synopsis [Invariant computation, printing, verification.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 20, 2010.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 48 of file pdrInv.c.
void Pdr_ManReportInvariant | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 385 of file pdrInv.c.
void Pdr_ManSetPropertyOutput | ( | Pdr_Man_t * | p, |
int | k | ||
) |
Function*************************************************************
Synopsis [Sets the property output to 0 (sat) forever.]
Description []
SideEffects []
SeeAlso []
Definition at line 177 of file pdrSat.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Adds one clause in terms of ROs to the k-th SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 209 of file pdrSat.c.
DECLARATIONS ///.
CFile****************************************************************
FileName [pdrMan.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Property driven reachability.]
Synopsis [Manager procedures.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 20, 2010.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Creates manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file pdrMan.c.
void Pdr_ManStop | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Frees manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 106 of file pdrMan.c.
Function*************************************************************
Synopsis [Shrinks values using ternary simulation.]
Description [The cube contains the set of flop index literals which, when converted into a clause and applied to the combinational outputs, led to a satisfiable SAT run in frame k (values stored in the SAT solver). If the cube is NULL, it is assumed that the first property output was asserted and failed. The resulting array is a set of flop index literals that asserts the COs. Priority contains 0 for i-th entry if the i-th FF is desirable to remove.]
SideEffects []
SeeAlso []
Definition at line 351 of file pdrTsim.c.
void Pdr_ManVerifyInvariant | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 406 of file pdrInv.c.
int Pdr_ObjRegNum | ( | Pdr_Man_t * | p, |
int | k, | ||
int | iSatVar | ||
) |
Function*************************************************************
Synopsis [Returns SAT variable of the given object.]
Description []
SideEffects []
SeeAlso []
Definition at line 241 of file pdrCnf.c.
void Pdr_OblDeref | ( | Pdr_Obl_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 396 of file pdrUtil.c.
void Pdr_QueueClean | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 513 of file pdrUtil.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
int Pdr_QueueIsEmpty | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 491 of file pdrUtil.c.
void Pdr_QueuePrint | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 562 of file pdrUtil.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
void Pdr_QueueStop | ( | Pdr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 580 of file pdrUtil.c.
Pdr_Set_t* Pdr_SetAlloc | ( | int | nSize | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [pdrUtil.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Property driven reachability.]
Synopsis [Various utilities.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - November 20, 2010.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file pdrUtil.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 366 of file pdrUtil.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 65 of file pdrUtil.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 98 of file pdrUtil.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 132 of file pdrUtil.c.
void Pdr_SetDeref | ( | Pdr_Set_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 166 of file pdrUtil.c.
int Pdr_SetIsInit | ( | Pdr_Set_t * | pCube, |
int | iRemove | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 225 of file pdrUtil.c.