|
abc-master
|
Go to the source code of this file.
Functions | |
| Vec_Ptr_t * | Sim_UtilInfoAlloc (int nSize, int nWords, int fClean) |
| FUNCTION DEFINITIONS ///. More... | |
| void | Sim_UtilInfoFree (Vec_Ptr_t *p) |
| void | Sim_UtilInfoAdd (unsigned *pInfo1, unsigned *pInfo2, int nWords) |
| void | Sim_UtilInfoDetectDiffs (unsigned *pInfo1, unsigned *pInfo2, int nWords, Vec_Int_t *vDiffs) |
| void | Sim_UtilInfoDetectNews (unsigned *pInfo1, unsigned *pInfo2, int nWords, Vec_Int_t *vDiffs) |
| void | Sim_UtilInfoFlip (Sim_Man_t *p, Abc_Obj_t *pNode) |
| int | Sim_UtilInfoCompare (Sim_Man_t *p, Abc_Obj_t *pNode) |
| void | Sim_UtilSimulate (Sim_Man_t *p, int fType) |
| void | Sim_UtilSimulateNode (Sim_Man_t *p, Abc_Obj_t *pNode, int fType, int fType1, int fType2) |
| void | Sim_UtilSimulateNodeOne (Abc_Obj_t *pNode, Vec_Ptr_t *vSimInfo, int nSimWords, int nOffset) |
| void | Sim_UtilTransferNodeOne (Abc_Obj_t *pNode, Vec_Ptr_t *vSimInfo, int nSimWords, int nOffset, int fShift) |
| int | Sim_UtilCountSuppSizes (Sim_Man_t *p, int fStruct) |
| int | Sim_UtilCountOnes (unsigned *pSimInfo, int nSimWords) |
| Vec_Int_t * | Sim_UtilCountOnesArray (Vec_Ptr_t *vInfo, int nSimWords) |
| void | Sim_UtilSetRandom (unsigned *pPatRand, int nSimWords) |
| void | Sim_UtilSetCompl (unsigned *pPatRand, int nSimWords) |
| void | Sim_UtilSetConst (unsigned *pPatRand, int nSimWords, int fConst1) |
| int | Sim_UtilInfoIsEqual (unsigned *pPats1, unsigned *pPats2, int nSimWords) |
| int | Sim_UtilInfoIsImp (unsigned *pPats1, unsigned *pPats2, int nSimWords) |
| int | Sim_UtilInfoIsClause (unsigned *pPats1, unsigned *pPats2, int nSimWords) |
| int | Sim_UtilCountAllPairs (Vec_Ptr_t *vSuppFun, int nSimWords, Vec_Int_t *vCounters) |
| int | Sim_UtilCountPairsOne (Extra_BitMat_t *pMat, Vec_Int_t *vSupport) |
| int | Sim_UtilCountPairsOnePrint (Extra_BitMat_t *pMat, Vec_Int_t *vSupport) |
| void | Sim_UtilCountPairsAllPrint (Sym_Man_t *p) |
| void | Sim_UtilCountPairsAll (Sym_Man_t *p) |
| int | Sim_UtilMatrsAreDisjoint (Sym_Man_t *p) |
Variables | |
| static ABC_NAMESPACE_IMPL_START int | bit_count [256] |
| DECLARATIONS ///. More... | |
Function*************************************************************
Synopsis [Counts the total number of pairs.]
Description []
SideEffects []
SeeAlso []
Definition at line 563 of file simUtils.c.
| int Sim_UtilCountOnes | ( | unsigned * | pSimInfo, |
| int | nSimWords | ||
| ) |
Function*************************************************************
Synopsis [Counts the number of 1's in the bitstring.]
Description []
SideEffects []
SeeAlso []
Definition at line 402 of file simUtils.c.
Function*************************************************************
Synopsis [Counts the number of 1's in the bitstring.]
Description []
SideEffects []
SeeAlso []
Definition at line 425 of file simUtils.c.
| void Sim_UtilCountPairsAll | ( | Sym_Man_t * | p | ) |
Function*************************************************************
Synopsis [Counts the number of entries in the array of matrices.]
Description []
SideEffects []
SeeAlso []
Definition at line 659 of file simUtils.c.
| void Sim_UtilCountPairsAllPrint | ( | Sym_Man_t * | p | ) |
Function*************************************************************
Synopsis [Counts the number of entries in the array of matrices.]
Description []
SideEffects []
SeeAlso []
Definition at line 634 of file simUtils.c.
| int Sim_UtilCountPairsOne | ( | Extra_BitMat_t * | pMat, |
| Vec_Int_t * | vSupport | ||
| ) |
Function*************************************************************
Synopsis [Counts the number of entries in the array of matrices.]
Description []
SideEffects []
SeeAlso []
Definition at line 589 of file simUtils.c.
| int Sim_UtilCountPairsOnePrint | ( | Extra_BitMat_t * | pMat, |
| Vec_Int_t * | vSupport | ||
| ) |
Function*************************************************************
Synopsis [Counts the number of entries in the array of matrices.]
Description []
SideEffects []
SeeAlso []
Definition at line 613 of file simUtils.c.
| int Sim_UtilCountSuppSizes | ( | Sim_Man_t * | p, |
| int | fStruct | ||
| ) |
Function*************************************************************
Synopsis [Returns 1 if the simulation infos are equal.]
Description []
SideEffects []
SeeAlso []
Definition at line 371 of file simUtils.c.
| void Sim_UtilInfoAdd | ( | unsigned * | pInfo1, |
| unsigned * | pInfo2, | ||
| int | nWords | ||
| ) |
Function*************************************************************
Synopsis [Adds the second supp-info the first.]
Description []
SideEffects []
SeeAlso []
Definition at line 100 of file simUtils.c.
| Vec_Ptr_t* Sim_UtilInfoAlloc | ( | int | nSize, |
| int | nWords, | ||
| int | fClean | ||
| ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates simulation information for all nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 57 of file simUtils.c.
Function*************************************************************
Synopsis [Returns 1 if the simulation infos are equal.]
Description []
SideEffects []
SeeAlso []
Definition at line 185 of file simUtils.c.
| void Sim_UtilInfoDetectDiffs | ( | unsigned * | pInfo1, |
| unsigned * | pInfo2, | ||
| int | nWords, | ||
| Vec_Int_t * | vDiffs | ||
| ) |
Function*************************************************************
Synopsis [Returns the positions where pInfo2 is 1 while pInfo1 is 0.]
Description []
SideEffects []
SeeAlso []
Definition at line 118 of file simUtils.c.
| void Sim_UtilInfoDetectNews | ( | unsigned * | pInfo1, |
| unsigned * | pInfo2, | ||
| int | nWords, | ||
| Vec_Int_t * | vDiffs | ||
| ) |
Function*************************************************************
Synopsis [Returns the positions where pInfo2 is 1 while pInfo1 is 0.]
Description []
SideEffects []
SeeAlso []
Definition at line 141 of file simUtils.c.
Function*************************************************************
Synopsis [Flips the simulation info of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 164 of file simUtils.c.
| void Sim_UtilInfoFree | ( | Vec_Ptr_t * | p | ) |
Function*************************************************************
Synopsis [Allocates simulation information for all nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 83 of file simUtils.c.
| int Sim_UtilInfoIsClause | ( | unsigned * | pPats1, |
| unsigned * | pPats2, | ||
| int | nSimWords | ||
| ) |
Function*************************************************************
Synopsis [Returns 1 if Node1 v Node2 is always true.]
Description []
SideEffects []
SeeAlso []
Definition at line 543 of file simUtils.c.
| int Sim_UtilInfoIsEqual | ( | unsigned * | pPats1, |
| unsigned * | pPats2, | ||
| int | nSimWords | ||
| ) |
Function*************************************************************
Synopsis [Returns 1 if equal.]
Description []
SideEffects []
SeeAlso []
Definition at line 503 of file simUtils.c.
| int Sim_UtilInfoIsImp | ( | unsigned * | pPats1, |
| unsigned * | pPats2, | ||
| int | nSimWords | ||
| ) |
Function*************************************************************
Synopsis [Returns 1 if Node1 implies Node2.]
Description []
SideEffects []
SeeAlso []
Definition at line 523 of file simUtils.c.
| int Sim_UtilMatrsAreDisjoint | ( | Sym_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 703 of file simUtils.c.
| void Sim_UtilSetCompl | ( | unsigned * | pPatRand, |
| int | nSimWords | ||
| ) |
Function*************************************************************
Synopsis [Returns complemented patterns.]
Description []
SideEffects []
SeeAlso []
Definition at line 465 of file simUtils.c.
| void Sim_UtilSetConst | ( | unsigned * | pPatRand, |
| int | nSimWords, | ||
| int | fConst1 | ||
| ) |
Function*************************************************************
Synopsis [Returns constant patterns.]
Description []
SideEffects []
SeeAlso []
Definition at line 483 of file simUtils.c.
| void Sim_UtilSetRandom | ( | unsigned * | pPatRand, |
| int | nSimWords | ||
| ) |
Function*************************************************************
Synopsis [Returns random patterns.]
Description []
SideEffects []
SeeAlso []
Definition at line 447 of file simUtils.c.
| void Sim_UtilSimulate | ( | Sim_Man_t * | p, |
| int | fType | ||
| ) |
Function*************************************************************
Synopsis [Simulates the internal nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 208 of file simUtils.c.
Function*************************************************************
Synopsis [Simulates one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 231 of file simUtils.c.
| void Sim_UtilSimulateNodeOne | ( | Abc_Obj_t * | pNode, |
| Vec_Ptr_t * | vSimInfo, | ||
| int | nSimWords, | ||
| int | nOffset | ||
| ) |
Function*************************************************************
Synopsis [Simulates one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 302 of file simUtils.c.
| void Sim_UtilTransferNodeOne | ( | Abc_Obj_t * | pNode, |
| Vec_Ptr_t * | vSimInfo, | ||
| int | nSimWords, | ||
| int | nOffset, | ||
| int | fShift | ||
| ) |
Function*************************************************************
Synopsis [Simulates one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 341 of file simUtils.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [simUtils.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Various simulation utilities.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 31 of file simUtils.c.