abc-master
|
#include "aig/saig/saig.h"
#include "sat/bsat/satSolver.h"
#include "ssw.h"
#include "aig/ioa/ioa.h"
Go to the source code of this file.
Data Structures | |
struct | Ssw_Man_t_ |
struct | Ssw_Sat_t_ |
struct | Ssw_Frm_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Ssw_Man_t_ | Ssw_Man_t |
INCLUDES ///. More... | |
typedef struct Ssw_Frm_t_ | Ssw_Frm_t |
typedef struct Ssw_Sat_t_ | Ssw_Sat_t |
typedef struct Ssw_Cla_t_ | Ssw_Cla_t |
typedef struct Ssw_Cla_t_ Ssw_Cla_t |
typedef struct Ssw_Frm_t_ Ssw_Frm_t |
typedef typedefABC_NAMESPACE_HEADER_START struct Ssw_Man_t_ Ssw_Man_t |
INCLUDES ///.
CFile****************************************************************
FileName [sswInt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]PARAMETERS ///BASIC TYPES ///
typedef struct Ssw_Sat_t_ Ssw_Sat_t |
int Ssw_ClassesCand1Num | ( | Ssw_Cla_t * | p | ) |
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 259 of file sswClass.c.
void Ssw_ClassesCheck | ( | Ssw_Cla_t * | p | ) |
Function*************************************************************
Synopsis [Checks candidate equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 350 of file sswClass.c.
int Ssw_ClassesClassNum | ( | Ssw_Cla_t * | p | ) |
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 275 of file sswClass.c.
void Ssw_ClassesClearRefined | ( | Ssw_Cla_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 243 of file sswClass.c.
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 328 of file sswClass.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 227 of file sswClass.c.
int Ssw_ClassesLitNum | ( | Ssw_Cla_t * | p | ) |
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 291 of file sswClass.c.
Ssw_Cla_t* Ssw_ClassesPrepare | ( | Aig_Man_t * | pAig, |
int | nFramesK, | ||
int | fLatchCorr, | ||
int | fConstCorr, | ||
int | fOutputCorr, | ||
int | nMaxLevs, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Creates initial simulation classes.]
Description [Assumes that simulation info is assigned.]
SideEffects []
SeeAlso []
Definition at line 596 of file sswClass.c.
Function*************************************************************
Synopsis [Creates initial simulation classes.]
Description [Assumes that simulation info is assigned.]
SideEffects []
SeeAlso []
Definition at line 768 of file sswClass.c.
Function*************************************************************
Synopsis [Creates classes from the temporary representation.]
Description []
SideEffects []
SeeAlso []
Definition at line 862 of file sswClass.c.
Function*************************************************************
Synopsis [Creates classes from the temporary representation.]
Description []
SideEffects []
SeeAlso []
Definition at line 928 of file sswClass.c.
Function*************************************************************
Synopsis [Takes the set of const1 cands and rehashes them using sim info.]
Description []
SideEffects []
SeeAlso []
Definition at line 500 of file sswClass.c.
Function*************************************************************
Synopsis [Creates initial simulation classes.]
Description [Assumes that simulation info is assigned.]
SideEffects []
SeeAlso []
Definition at line 724 of file sswClass.c.
Function*************************************************************
Synopsis [Creates initial simulation classes.]
Description [Assumes that simulation info is assigned.]
SideEffects []
SeeAlso []
Definition at line 831 of file sswClass.c.
void Ssw_ClassesPrint | ( | Ssw_Cla_t * | p, |
int | fVeryVerbose | ||
) |
Function*************************************************************
Synopsis [Prints simulation classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 414 of file sswClass.c.
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 211 of file sswClass.c.
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 307 of file sswClass.c.
int Ssw_ClassesRefine | ( | Ssw_Cla_t * | p, |
int | fRecursive | ||
) |
Function*************************************************************
Synopsis [Refines the classes after simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1034 of file sswClass.c.
int Ssw_ClassesRefineConst1 | ( | Ssw_Cla_t * | p, |
int | fRecursive | ||
) |
Function*************************************************************
Synopsis [Refine the group of constant 1 nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1119 of file sswClass.c.
Function*************************************************************
Synopsis [Refine the group of constant 1 nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1074 of file sswClass.c.
Function*************************************************************
Synopsis [Refines the classes after simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1054 of file sswClass.c.
Function*************************************************************
Synopsis [Iteratively refines the classes after simulation.]
Description [Returns the number of refinements performed.]
SideEffects []
SeeAlso []
Definition at line 970 of file sswClass.c.
Function*************************************************************
Synopsis [Prints simulation classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 448 of file sswClass.c.
void Ssw_ClassesSetData | ( | Ssw_Cla_t * | p, |
void * | pManData, | ||
unsigned(*)(void *, Aig_Obj_t *) | pFuncNodeHash, | ||
int(*)(void *, Aig_Obj_t *) | pFuncNodeIsConst, | ||
int(*)(void *, Aig_Obj_t *, Aig_Obj_t *) | pFuncNodesAreEqual | ||
) |
Function*************************************************************
Synopsis [Starts representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 167 of file sswClass.c.
Function*************************************************************
Synopsis [Starts representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 140 of file sswClass.c.
void Ssw_ClassesStop | ( | Ssw_Cla_t * | p | ) |
Function*************************************************************
Synopsis [Stop representation of equivalence classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 189 of file sswClass.c.
Function*************************************************************
Synopsis [Copy pattern from the solver into the internal storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 402 of file sswCnf.c.
Function*************************************************************
Synopsis [Updates the solver clause database.]
Description []
SideEffects []
SeeAlso []
Definition at line 351 of file sswCnf.c.
int Ssw_FilterUsingSemi | ( | Ssw_Man_t * | pMan, |
int | fCheckTargets, | ||
int | nConfMax, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Returns 1 if one of the targets has failed.]
Description []
SideEffects []
SeeAlso []
Definition at line 261 of file sswSemi.c.
Function*************************************************************
Synopsis [Prepares the inductive case with speculative reduction.]
Description []
SideEffects []
SeeAlso []
Definition at line 144 of file sswAig.c.
FUNCTION DECLARATIONS ///.
FUNCTION DECLARATIONS ///.
CFile****************************************************************
FileName [sswAig.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [AIG manipulation.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Starts the SAT manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file sswAig.c.
void Ssw_FrmStop | ( | Ssw_Frm_t * | p | ) |
void Ssw_ManCleanup | ( | Ssw_Man_t * | p | ) |
Ssw_Man_t* Ssw_ManCreate | ( | Aig_Man_t * | pAig, |
Ssw_Pars_t * | pPars | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [sswMan.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [Calls to the SAT solver.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Creates the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file sswMan.c.
DECLARATIONS ///.
CFile****************************************************************
FileName [sswSweep.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [One round of SAT sweeping.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Retrives value of the PI in the original AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file sswSweep.c.
Function*************************************************************
Synopsis [Loads logic cones and relevant constraints.]
Description [Both pRepr and pObj are objects of the AIG. The result is the current SAT solver loaded with the logic cones for pRepr and pObj corresponding to them in the frames, as well as all the relevant constraints.]
SideEffects []
SeeAlso []
Definition at line 142 of file sswDyn.c.
void Ssw_ManRefineByConstrSim | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs fraiging for one node.]
Description [Returns the fraiged node.]
SideEffects []
SeeAlso []
Definition at line 247 of file sswConstr.c.
DECLARATIONS ///.
CFile****************************************************************
FileName [sswSimSat.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [Performs resimulation using counter-examples.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Handle the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file sswSimSat.c.
Function*************************************************************
Synopsis [Handle the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 92 of file sswSimSat.c.
void Ssw_ManStop | ( | Ssw_Man_t * | p | ) |
int Ssw_ManSweep | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs fraiging for the internal nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 365 of file sswSweep.c.
int Ssw_ManSweepBmc | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs fraiging for the internal nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 267 of file sswSweep.c.
int Ssw_ManSweepBmcConstr | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs fraiging for the internal nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 498 of file sswConstr.c.
int Ssw_ManSweepConstr | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs fraiging for the internal nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 619 of file sswConstr.c.
int Ssw_ManSweepDyn | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs fraiging for the internal nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 373 of file sswDyn.c.
int Ssw_ManSweepLatch | ( | Ssw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Performs one iteration of sweeping latches.]
Description []
SideEffects []
SeeAlso []
Definition at line 238 of file sswLcorr.c.
Function*************************************************************
Synopsis [Performs fraiging for one node.]
Description [Returns the fraiged node.]
SideEffects []
SeeAlso []
Definition at line 187 of file sswSweep.c.
Function*************************************************************
Synopsis [Returns the output of the uniqueness constraint.]
Description []
SideEffects []
SeeAlso []
Definition at line 151 of file sswUnique.c.
Function*************************************************************
Synopsis [Returns 1 if uniqueness constraints can be added.]
Description []
SideEffects []
SeeAlso []
Definition at line 90 of file sswUnique.c.
Function*************************************************************
Synopsis [Constrains one node in the SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 286 of file sswSat.c.
Function*************************************************************
Synopsis [Constrains two nodes to be equivalent in the SAT solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 196 of file sswSat.c.
DECLARATIONS ///.
CFile****************************************************************
FileName [sswSat.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [Calls to the SAT solver.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Runs equivalence test for the two nodes.]
Description [Both nodes should be regular and different from each other.]
SideEffects []
SeeAlso []
Definition at line 45 of file sswSat.c.
Definition at line 185 of file sswInt.h.
Definition at line 191 of file sswInt.h.
Definition at line 186 of file sswInt.h.
Definition at line 192 of file sswInt.h.
Definition at line 176 of file sswInt.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 189 of file sswInt.h.
Ssw_Sat_t* Ssw_SatStart | ( | int | fPolarFlip | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [sswCnf.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [Computation of CNF.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Starts the SAT manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file sswCnf.c.
void Ssw_SatStop | ( | Ssw_Sat_t * | p | ) |
Function*************************************************************
Synopsis [Performs computation of signal correspondence with constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 234 of file sswCore.c.
void Ssw_SmlAssignDist1Plus | ( | Ssw_Sml_t * | p, |
unsigned * | pPat | ||
) |
Function*************************************************************
Synopsis [Assings distance-1 simulation info for the PIs.]
Description []
SideEffects []
SeeAlso []
Definition at line 674 of file sswSim.c.
void Ssw_SmlClean | ( | Ssw_Sml_t * | p | ) |
int Ssw_SmlObjIsConstBit | ( | void * | p, |
Aig_Obj_t * | pObj | ||
) |
void Ssw_SmlResimulateSeq | ( | Ssw_Sml_t * | p | ) |
void Ssw_SmlSavePatternAig | ( | Ssw_Man_t * | p, |
int | f | ||
) |
Function*************************************************************
Synopsis [Copy pattern from the solver into the internal storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 136 of file sswSweep.c.
void Ssw_SmlSimulateOne | ( | Ssw_Sml_t * | p | ) |
Function*************************************************************
Synopsis [Simulates AIG manager.]
Description [Assumes that the PI simulation info is attached.]
SideEffects []
SeeAlso []
Definition at line 1005 of file sswSim.c.
void Ssw_SmlSimulateOneDyn_rec | ( | Ssw_Sml_t * | p, |
Aig_Obj_t * | pObj, | ||
int | f, | ||
int * | pVisited, | ||
int | nVisCounter | ||
) |
Function*************************************************************
Synopsis [Simulates AIG manager.]
Description [Assumes that the PI simulation info is attached.]
SideEffects []
SeeAlso []
Definition at line 1076 of file sswSim.c.
void Ssw_SmlSimulateOneFrame | ( | Ssw_Sml_t * | p | ) |
Function*************************************************************
Synopsis [Simulates AIG manager.]
Description [Assumes that the PI simulation info is attached.]
SideEffects []
SeeAlso []
Definition at line 1117 of file sswSim.c.
Function*************************************************************
Synopsis [Allocates simulation manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1148 of file sswSim.c.
void Ssw_SmlStop | ( | Ssw_Sml_t * | p | ) |
Function*************************************************************
Synopsis [Deallocates simulation manager.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Prepares the inductive case with speculative reduction.]
Description []
SideEffects []
SeeAlso []
Definition at line 212 of file sswAig.c.
void Ssw_UniqueRegisterPairInfo | ( | Ssw_Man_t * | p | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [sswSat.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [On-demand uniqueness constraints.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Performs computation of signal correspondence with constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file sswUnique.c.