abc-master
|
#include "res.h"
Go to the source code of this file.
Data Structures | |
struct | Res_Win_t_ |
struct | Res_Sim_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Res_Win_t_ | Res_Win_t |
INCLUDES ///. More... | |
typedef struct Res_Sim_t_ | Res_Sim_t |
Functions | |
void | Res_WinDivisors (Res_Win_t *p, int nLevDivMax) |
MACRO DEFINITIONS ///. More... | |
void | Res_WinSweepLeafTfo_rec (Abc_Obj_t *pObj, int nLevelLimit) |
int | Res_WinVisitMffc (Abc_Obj_t *pNode) |
int | Res_FilterCandidates (Res_Win_t *pWin, Abc_Ntk_t *pAig, Res_Sim_t *pSim, Vec_Vec_t *vResubs, Vec_Vec_t *vResubsW, int nFaninsMax, int fArea) |
FUNCTION DEFINITIONS ///. More... | |
int | Res_FilterCandidatesArea (Res_Win_t *pWin, Abc_Ntk_t *pAig, Res_Sim_t *pSim, Vec_Vec_t *vResubs, Vec_Vec_t *vResubsW, int nFaninsMax) |
void * | Res_SatProveUnsat (Abc_Ntk_t *pAig, Vec_Ptr_t *vFanins) |
FUNCTION DEFINITIONS ///. More... | |
int | Res_SatSimulate (Res_Sim_t *p, int nPats, int fOnSet) |
Res_Sim_t * | Res_SimAlloc (int nWords) |
DECLARATIONS ///. More... | |
void | Res_SimFree (Res_Sim_t *p) |
int | Res_SimPrepare (Res_Sim_t *p, Abc_Ntk_t *pAig, int nTruePis, int fVerbose) |
Abc_Ntk_t * | Res_WndStrash (Res_Win_t *p) |
FUNCTION DEFINITIONS ///. More... | |
void | Res_UpdateNetwork (Abc_Obj_t *pObj, Vec_Ptr_t *vFanins, Hop_Obj_t *pFunc, Vec_Vec_t *vLevels) |
Res_Win_t * | Res_WinAlloc () |
DECLARATIONS ///. More... | |
void | Res_WinFree (Res_Win_t *p) |
int | Res_WinIsTrivial (Res_Win_t *p) |
int | Res_WinCompute (Abc_Obj_t *pNode, int nWinTfiMax, int nWinTfoMax, Res_Win_t *p) |
typedef struct Res_Sim_t_ Res_Sim_t |
typedef typedefABC_NAMESPACE_HEADER_START struct Res_Win_t_ Res_Win_t |
INCLUDES ///.
CFile****************************************************************
FileName [resInt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Resynthesis package.]
Synopsis [Internal declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - January 15, 2007.]
Revision [
]PARAMETERS ///BASIC TYPES ///
int Res_FilterCandidates | ( | Res_Win_t * | pWin, |
Abc_Ntk_t * | pAig, | ||
Res_Sim_t * | pSim, | ||
Vec_Vec_t * | vResubs, | ||
Vec_Vec_t * | vResubsW, | ||
int | nFaninsMax, | ||
int | fArea | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Finds sets of feasible candidates.]
Description []
SideEffects []
SeeAlso []
Definition at line 49 of file resFilter.c.
int Res_FilterCandidatesArea | ( | Res_Win_t * | pWin, |
Abc_Ntk_t * | pAig, | ||
Res_Sim_t * | pSim, | ||
Vec_Vec_t * | vResubs, | ||
Vec_Vec_t * | vResubsW, | ||
int | nFaninsMax | ||
) |
Function*************************************************************
Synopsis [Finds sets of feasible candidates.]
Description [This procedure is a special case of the above.]
SideEffects []
SeeAlso []
Definition at line 241 of file resFilter.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Loads AIG into the SAT solver for checking resubstitution.]
Description []
SideEffects []
SeeAlso []
Definition at line 52 of file resSat.c.
int Res_SatSimulate | ( | Res_Sim_t * | p, |
int | nPatsLimit, | ||
int | fOnSet | ||
) |
Function*************************************************************
Synopsis [Loads AIG into the SAT solver for constrained simulation.]
Description [Returns 1 if the required number of patterns are found. Returns 0 if the solver ran out of time or proved a constant. In the latter, case one of the flags, fConst0 or fConst1, are set to 1.]
SideEffects []
SeeAlso []
Definition at line 212 of file resSat.c.
Res_Sim_t* Res_SimAlloc | ( | int | nWords | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [resSim.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Resynthesis package.]
Synopsis [Simulation engine.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - January 15, 2007.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Allocate simulation engine.]
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file resSim.c.
void Res_SimFree | ( | Res_Sim_t * | p | ) |
Function*************************************************************
Synopsis [Prepares simulation info for candidate filtering.]
Description []
SideEffects []
SeeAlso []
Definition at line 731 of file resSim.c.
void Res_UpdateNetwork | ( | Abc_Obj_t * | pObj, |
Vec_Ptr_t * | vFanins, | ||
Hop_Obj_t * | pFunc, | ||
Vec_Vec_t * | vLevels | ||
) |
Function*************************************************************
Synopsis [Incrementally updates level of the nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 185 of file resCore.c.
Res_Win_t* Res_WinAlloc | ( | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [resWin.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Resynthesis package.]
Synopsis [Windowing algorithm.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - January 15, 2007.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Allocates the window.]
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file resWin.c.
void Res_WinDivisors | ( | Res_Win_t * | p, |
int | nLevDivMax | ||
) |
MACRO DEFINITIONS ///.
FUNCTION DECLARATIONS ///
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Adds candidate divisors of the node to its window.]
Description []
SideEffects []
SeeAlso []
Definition at line 48 of file resDivs.c.
void Res_WinFree | ( | Res_Win_t * | p | ) |
int Res_WinIsTrivial | ( | Res_Win_t * | p | ) |
void Res_WinSweepLeafTfo_rec | ( | Abc_Obj_t * | pObj, |
int | nLevelLimit | ||
) |
Function*************************************************************
Synopsis [Marks the TFO of the collected nodes up to the given level.]
Description []
SideEffects []
SeeAlso []
Definition at line 196 of file resDivs.c.
int Res_WinVisitMffc | ( | Abc_Obj_t * | pNode | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Structurally hashes the given window.]
Description [The first PO is the observability condition. The second is the node's function. The remaining POs are the candidate divisors.]
SideEffects []
SeeAlso []
Definition at line 49 of file resStrash.c.