abc-master
|
#include "aig/aig/aig.h"
Go to the source code of this file.
Data Structures | |
struct | Sec_MtrStatus_t_ |
struct | Saig_ParBbr_t_ |
Macros | |
#define | Saig_ManForEachPi(p, pObj, i) Vec_PtrForEachEntryStop( Aig_Obj_t *, p->vCis, pObj, i, Saig_ManPiNum(p) ) |
#define | Saig_ManForEachPo(p, pObj, i) Vec_PtrForEachEntryStop( Aig_Obj_t *, p->vCos, pObj, i, Saig_ManPoNum(p) ) |
#define | Saig_ManForEachLo(p, pObj, i) for ( i = 0; (i < Saig_ManRegNum(p)) && (((pObj) = (Aig_Obj_t *)Vec_PtrEntry(p->vCis, i+Saig_ManPiNum(p))), 1); i++ ) |
#define | Saig_ManForEachLi(p, pObj, i) for ( i = 0; (i < Saig_ManRegNum(p)) && (((pObj) = (Aig_Obj_t *)Vec_PtrEntry(p->vCos, i+Saig_ManPoNum(p))), 1); i++ ) |
#define | Saig_ManForEachLiLo(p, pObjLi, pObjLo, i) |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Sec_MtrStatus_t_ | Sec_MtrStatus_t |
INCLUDES ///. More... | |
typedef struct Saig_ParBbr_t_ | Saig_ParBbr_t |
#define Saig_ManForEachLi | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; (i < Saig_ManRegNum(p)) && (((pObj) = (Aig_Obj_t *)Vec_PtrEntry(p->vCos, i+Saig_ManPoNum(p))), 1); i++ ) |
#define Saig_ManForEachLiLo | ( | p, | |
pObjLi, | |||
pObjLo, | |||
i | |||
) |
#define Saig_ManForEachLo | ( | p, | |
pObj, | |||
i | |||
) | for ( i = 0; (i < Saig_ManRegNum(p)) && (((pObj) = (Aig_Obj_t *)Vec_PtrEntry(p->vCis, i+Saig_ManPiNum(p))), 1); i++ ) |
#define Saig_ManForEachPi | ( | p, | |
pObj, | |||
i | |||
) | Vec_PtrForEachEntryStop( Aig_Obj_t *, p->vCis, pObj, i, Saig_ManPiNum(p) ) |
#define Saig_ManForEachPo | ( | p, | |
pObj, | |||
i | |||
) | Vec_PtrForEachEntryStop( Aig_Obj_t *, p->vCos, pObj, i, Saig_ManPoNum(p) ) |
typedef struct Saig_ParBbr_t_ Saig_ParBbr_t |
typedef typedefABC_NAMESPACE_HEADER_START struct Sec_MtrStatus_t_ Sec_MtrStatus_t |
INCLUDES ///.
CFile****************************************************************
FileName [saig.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Sequential AIG package.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///
Function*************************************************************
Synopsis [Takes multi-output sequential AIG.]
Description [Returns candidate equivalence classes of POs.]
SideEffects []
SeeAlso []
Definition at line 283 of file saigIsoFast.c.
void Saig_ManBlockPo | ( | Aig_Man_t * | pAig, |
int | nCycles | ||
) |
Function*************************************************************
Synopsis [Transforms sequential AIG to block the PO for N cycles.]
Description [This procedure should be applied to a safety property miter to make the propetry 'true' (const 0) during the first N cycles.]
SideEffects []
SeeAlso []
Definition at line 209 of file saigDual.c.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Duplicates while ORing the POs of sequential circuit.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Creates sequential miter.]
Description []
SideEffects []
SeeAlso []
Definition at line 100 of file saigMiter.c.
Function*************************************************************
Synopsis [Creates combinational miter.]
Description []
SideEffects []
SeeAlso []
Definition at line 163 of file saigMiter.c.
Function*************************************************************
Synopsis [Create specialized miter by unrolling two circuits.]
Description []
SideEffects []
SeeAlso []
Definition at line 1014 of file saigMiter.c.
Function*************************************************************
Synopsis [Performs decomposition of the property output.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file saigOutDec.c.
Function*************************************************************
Synopsis [Returns 1 if AIG can be demitered.]
Description []
SideEffects []
SeeAlso []
Definition at line 708 of file saigMiter.c.
int Saig_ManDemiterNew | ( | Aig_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Performs demitering of the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 1230 of file saigMiter.c.
Function*************************************************************
Synopsis [Duplicates the AIG to have constant-0 initial state.]
Description []
SideEffects []
SeeAlso []
Definition at line 491 of file saigMiter.c.
Function*************************************************************
Synopsis [Returns 1 if AIG can be demitered.]
Description []
SideEffects []
SeeAlso []
Definition at line 660 of file saigMiter.c.
void Saig_ManDetectConstrFuncTest | ( | Aig_Man_t * | p, |
int | nFrames, | ||
int | nConfs, | ||
int | nProps, | ||
int | fOldAlgo, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Experimental procedure.]
Description []
SideEffects []
SeeAlso []
Definition at line 856 of file saigConstr2.c.
int Saig_ManDetectConstrTest | ( | Aig_Man_t * | p | ) |
Function*************************************************************
Synopsis [Experiment with the above procedure.]
Description []
SideEffects []
SeeAlso []
Definition at line 469 of file saigConstr.c.
Function*************************************************************
Synopsis [Derives dual-rail AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 240 of file saigMiter.c.
void Saig_ManDumpBlif | ( | Aig_Man_t * | p, |
char * | pFileName | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 75 of file saigIoa.c.
Function*************************************************************
Synopsis [Performs abstraction of the AIG to preserve the included flops.]
Description []
SideEffects []
SeeAlso []
Definition at line 205 of file saigDup.c.
Definition at line 543 of file saigDup.c.
Aig_Man_t* Saig_ManDupDual | ( | Aig_Man_t * | pAig, |
Vec_Int_t * | vDcFlops, | ||
int | nDualPis, | ||
int | fDualFfs, | ||
int | fMiterFfs, | ||
int | fComplPo, | ||
int | fCheckZero, | ||
int | fCheckOne | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Transforms sequential AIG into dual-rail miter.]
Description [Transforms sequential AIG into a miter encoding ternary problem formulated as follows "none of the POs has a ternary value". Interprets the first nDualPis as having ternary value. Sets flops to have ternary intial value when fDualFfs is set to 1.]
SideEffects []
SeeAlso []
Definition at line 81 of file saigDual.c.
Function*************************************************************
Synopsis [Duplicates the AIG while folding in the constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 379 of file saigConstr.c.
Function*************************************************************
Synopsis [Duplicates the AIG while unfolding constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 942 of file saigConstr2.c.
Aig_Man_t* Saig_ManDupFoldConstrsFunc2 | ( | Aig_Man_t * | pAig, |
int | fCompl, | ||
int | fVerbose, | ||
int | typeII_cnt | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG while unfolding constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 375 of file saigUnfold2.c.
Function*************************************************************
Synopsis [Duplicates the AIG to have constant-0 initial state.]
Description []
SideEffects []
SeeAlso []
Definition at line 468 of file saigSynch.c.
Function*************************************************************
Synopsis [Performs canonical duplication of the AIG.]
Description []
SideEffects []
SeeAlso []
Definition at line 128 of file saigIso.c.
DECLARATIONS ///.
CFile****************************************************************
FileName [saigDup.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Sequential AIG package.]
Synopsis [Various duplication procedures.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Duplicates while ORing the POs of sequential circuit.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Duplicates the AIG while unfolding constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 282 of file saigConstr.c.
Aig_Man_t* Saig_ManDupUnfoldConstrsFunc | ( | Aig_Man_t * | pAig, |
int | nFrames, | ||
int | nConfs, | ||
int | nProps, | ||
int | fOldAlgo, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG while unfolding constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 877 of file saigConstr2.c.
Aig_Man_t* Saig_ManDupUnfoldConstrsFunc2 | ( | Aig_Man_t * | pAig, |
int | nFrames, | ||
int | nConfs, | ||
int | nProps, | ||
int | fOldAlgo, | ||
int | fVerbose, | ||
int * | typeII_cnt | ||
) |
Function*************************************************************
Synopsis [Duplicates the AIG while unfolding constraints.]
Description []
SideEffects []
SeeAlso []
Definition at line 295 of file saigUnfold2.c.
Function*************************************************************
Synopsis [Duplicates while ORing the POs of sequential circuit.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Resimulates the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 382 of file saigDup.c.
Function*************************************************************
Synopsis [Finds canonical permutation of CIs and assigns unique IDs.]
Description []
SideEffects []
SeeAlso []
Definition at line 1170 of file saigIsoSlow.c.
Aig_Man_t* Saig_ManHaigRecord | ( | Aig_Man_t * | p, |
int | nIters, | ||
int | nSteps, | ||
int | fRetimingOnly, | ||
int | fAddBugs, | ||
int | fUseCnf, | ||
int | fVerbose | ||
) |
int Saig_ManInduction | ( | Aig_Man_t * | p, |
int | nTimeOut, | ||
int | nFramesMax, | ||
int | nConfMax, | ||
int | fUnique, | ||
int | fUniqueAll, | ||
int | fGetCex, | ||
int | fVerbose, | ||
int | fVeryVerbose | ||
) |
Function*************************************************************
Synopsis [Performs induction by unrolling timeframes backward.]
Description []
SideEffects []
SeeAlso []
Definition at line 149 of file saigInd.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 561 of file saigIso.c.
void Saig_ManMarkAutonomous | ( | Aig_Man_t * | p | ) |
Function*************************************************************
Synopsis [Marks with current trav ID nodes reachable from Const1 and PIs.]
Description [Returns the number of unreachable registers.]
SideEffects []
SeeAlso []
Definition at line 111 of file saigRetFwd.c.
Aig_Man_t* Saig_ManPhaseAbstract | ( | Aig_Man_t * | p, |
Vec_Int_t * | vInits, | ||
int | nFrames, | ||
int | nPref, | ||
int | fIgnore, | ||
int | fPrint, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Performs automated phase abstraction.]
Description [Takes the AIG manager and the array of initial states.]
SideEffects []
SeeAlso []
Definition at line 911 of file saigPhase.c.
|
inlinestatic |
void Saig_ManPrintCones | ( | Aig_Man_t * | p | ) |
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis [Prints information about cones of influence of the POs.]
Description []
SideEffects []
SeeAlso []
Definition at line 159 of file saigCone.c.
Aig_Man_t* Saig_ManReadBlif | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Reads BLIF previously dumped by Saig_ManDumpBlif().]
Description []
SideEffects []
SeeAlso []
Definition at line 246 of file saigIoa.c.
void Saig_ManReportUselessRegisters | ( | Aig_Man_t * | pAig | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [saigScl.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Sequential AIG package.]
Synopsis [Sequential cleanup.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Report registers useless for SEC.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file saigScl.c.
Function*************************************************************
Synopsis [Duplicates the AIG while retiming the registers to the cut.]
Description []
SideEffects []
SeeAlso []
Definition at line 281 of file saigRetMin.c.
Function*************************************************************
Synopsis [Derives the cut for forward retiming.]
Description [Assumes topological ordering of the nodes.]
SideEffects []
SeeAlso []
Definition at line 213 of file saigRetFwd.c.
Aig_Man_t* Saig_ManRetimeMinArea | ( | Aig_Man_t * | p, |
int | nMaxIters, | ||
int | fForwardOnly, | ||
int | fBackwardOnly, | ||
int | fInitial, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Performs min-area retiming.]
Description []
SideEffects []
SeeAlso []
Definition at line 623 of file saigRetMin.c.
int Saig_ManRetimeSteps | ( | Aig_Man_t * | p, |
int | nSteps, | ||
int | fForward, | ||
int | fAddBugs | ||
) |
Function*************************************************************
Synopsis [Performs the given number of retiming steps.]
Description [Returns the pointer to node after retiming.]
SideEffects [Remember to run Aig_ManSetCioIds() in advance.]
SeeAlso []
Definition at line 181 of file saigRetStep.c.
Aig_Man_t* Saig_ManTimeframeSimplify | ( | Aig_Man_t * | pAig, |
int | nFrames, | ||
int | nFramesMax, | ||
int | fInit, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Implements dynamic simplification.]
Description []
SideEffects []
SeeAlso []
Definition at line 378 of file saigTrans.c.
Function*************************************************************
Synopsis [Computes sequential window of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 465 of file saigWnd.c.
Function*************************************************************
Synopsis [Computes sequential window of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 488 of file saigWnd.c.
Vec_Ptr_t* Saig_MvManSimulate | ( | Aig_Man_t * | pAig, |
int | nFramesSymb, | ||
int | nFramesSatur, | ||
int | fVerbose, | ||
int | fVeryVerbose | ||
) |
Function*************************************************************
Synopsis [Performs multi-valued simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 879 of file saigSimMv.c.
Definition at line 87 of file saig.h.
Definition at line 86 of file saig.h.
Definition at line 88 of file saig.h.
Vec_Int_t* Saig_StrSimPerformMatching | ( | Aig_Man_t * | p0, |
Aig_Man_t * | p1, | ||
int | nDist, | ||
int | fVerbose, | ||
Aig_Man_t ** | ppMiter | ||
) |
Function*************************************************************
Synopsis [Performs structural matching of two AIGs using simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 873 of file saigStrSim.c.
Sec_MtrStatus_t Sec_MiterStatus | ( | Aig_Man_t * | p | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [saigMiter.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Sequential AIG package.]
Synopsis [Computes sequential miter of two sequential AIGs.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Checks the status of the miter.]
Description []
SideEffects []
SeeAlso []
Definition at line 46 of file saigMiter.c.
Function*************************************************************
Synopsis [Reduces SEC to CEC for the special case of seq synthesis.]
Description []
SideEffects []
SeeAlso []
Definition at line 1161 of file saigMiter.c.