abc-master
|
#include "sswInt.h"
#include "aig/gia/giaAig.h"
#include "base/main/main.h"
#include "sat/bmc/bmc.h"
Go to the source code of this file.
Data Structures | |
struct | Ssw_RarMan_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Ssw_RarMan_t_ | Ssw_RarMan_t |
DECLARATIONS ///. More... | |
typedef typedefABC_NAMESPACE_IMPL_START struct Ssw_RarMan_t_ Ssw_RarMan_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [sswRarity.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Inductive prover with constraints.]
Synopsis [Rarity-driven refinement of equivalence classes.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 1, 2008.]
Revision [
]
Definition at line 33 of file sswRarity.c.
|
inlinestatic |
Definition at line 74 of file sswRarity.c.
|
inlinestatic |
Definition at line 81 of file sswRarity.c.
int Ssw_RarCheckTrivial | ( | Aig_Man_t * | pAig, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 941 of file sswRarity.c.
Abc_Cex_t* Ssw_RarDeriveCex | ( | Ssw_RarMan_t * | p, |
int | iFrame, | ||
int | iPo, | ||
int | iPatFinal, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Derives the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 177 of file sswRarity.c.
Function*************************************************************
Synopsis [Performs fraiging for one node.]
Description [Returns the fraiged node.]
SideEffects []
SeeAlso []
Definition at line 886 of file sswRarity.c.
|
inlinestatic |
Definition at line 62 of file sswRarity.c.
void Ssw_RarManAssingRandomPis | ( | Ssw_RarMan_t * | p | ) |
Function*************************************************************
Synopsis [Initializes random primary inputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file sswRarity.c.
int Ssw_RarManCheckNonConstOutputs | ( | Ssw_RarMan_t * | p, |
int | iFrame, | ||
abctime | Time | ||
) |
Function*************************************************************
Synopsis [Check if any of the POs becomes non-constant.]
Description []
SideEffects []
SeeAlso []
Definition at line 597 of file sswRarity.c.
void Ssw_RarManInitialize | ( | Ssw_RarMan_t * | p, |
Vec_Int_t * | vInit | ||
) |
Function*************************************************************
Synopsis [Sets random inputs and specialied flop outputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 415 of file sswRarity.c.
unsigned Ssw_RarManObjHashWord | ( | void * | pMan, |
Aig_Obj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Computes hash value of the node using its simulation info.]
Description []
SideEffects []
SeeAlso []
Definition at line 530 of file sswRarity.c.
int Ssw_RarManObjIsConst | ( | void * | pMan, |
Aig_Obj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Returns 1 if simulation info is composed of all zeros.]
Description []
SideEffects []
SeeAlso []
Definition at line 483 of file sswRarity.c.
Function*************************************************************
Synopsis [Returns 1 if simulation infos are equal.]
Description []
SideEffects []
SeeAlso []
Definition at line 506 of file sswRarity.c.
int Ssw_RarManObjWhichOne | ( | Ssw_RarMan_t * | p, |
Aig_Obj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Returns 1 if simulation info is composed of all zeros.]
Description []
SideEffects []
SeeAlso []
Definition at line 569 of file sswRarity.c.
int Ssw_RarManPoIsConst0 | ( | void * | pMan, |
Aig_Obj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Returns 1 if simulation info is composed of all zeros.]
Description []
SideEffects []
SeeAlso []
Definition at line 461 of file sswRarity.c.
void Ssw_RarManPrepareRandom | ( | int | nRandSeed | ) |
Function*************************************************************
Synopsis [Prepares random number generator.]
Description []
SideEffects []
SeeAlso []
Definition at line 131 of file sswRarity.c.
void Ssw_RarManSimulate | ( | Ssw_RarMan_t * | p, |
Vec_Int_t * | vInit, | ||
int | fUpdate, | ||
int | fFirst | ||
) |
Function*************************************************************
Synopsis [Performs one round of simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 651 of file sswRarity.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 751 of file sswRarity.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 782 of file sswRarity.c.
|
inlinestatic |
Definition at line 83 of file sswRarity.c.
|
inlinestatic |
Definition at line 84 of file sswRarity.c.
Vec_Int_t* Ssw_RarRandomPermFlop | ( | int | nFlops, |
int | nUnused | ||
) |
Function*************************************************************
Synopsis [Derive random flop permutation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1150 of file sswRarity.c.
|
inlinestatic |
Definition at line 68 of file sswRarity.c.
void Ssw_RarSetDefaultParams | ( | Ssw_RarPars_t * | p | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 102 of file sswRarity.c.
int Ssw_RarSignalFilter | ( | Aig_Man_t * | pAig, |
Ssw_RarPars_t * | pPars | ||
) |
Function*************************************************************
Synopsis [Filter equivalence classes of nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1219 of file sswRarity.c.
int Ssw_RarSignalFilterGia | ( | Gia_Man_t * | p, |
Ssw_RarPars_t * | pPars | ||
) |
Function*************************************************************
Synopsis [Filter equivalence classes of nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 1359 of file sswRarity.c.
int Ssw_RarSimulate | ( | Aig_Man_t * | pAig, |
Ssw_RarPars_t * | pPars | ||
) |
Function*************************************************************
Synopsis [Perform sequential simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 973 of file sswRarity.c.
int Ssw_RarSimulateGia | ( | Gia_Man_t * | p, |
Ssw_RarPars_t * | pPars | ||
) |
Function*************************************************************
Synopsis [Perform sequential simulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 1186 of file sswRarity.c.
|
static |
Function*************************************************************
Synopsis [Select best patterns.]
Description []
SideEffects []
SeeAlso []
Definition at line 814 of file sswRarity.c.
void Ssw_RarTranspose | ( | Ssw_RarMan_t * | p | ) |
Function*************************************************************
Synopsis [Transposing pObjData[ nRegs x nWords ] -> pPatData[ nWords x nRegs ].]
Description []
SideEffects []
SeeAlso []
Definition at line 360 of file sswRarity.c.
void transpose32 | ( | unsigned | A[32] | ) |
Function*************************************************************
Synopsis [Transposing 32-bit matrix.]
Description [Borrowed from "Hacker's Delight", by Henry Warren.]
SideEffects []
SeeAlso []
Definition at line 239 of file sswRarity.c.
void transpose64 | ( | word | A[64] | ) |
Function*************************************************************
Synopsis [Transposing 64-bit matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 265 of file sswRarity.c.
Function*************************************************************
Synopsis [Transposing 64-bit matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 291 of file sswRarity.c.
void TransposeTest | ( | ) |
Function*************************************************************
Synopsis [Testing the transposing code.]
Description []
SideEffects []
SeeAlso []
Definition at line 313 of file sswRarity.c.