abc-master
|
#include <math.h>
#include "base/abc/abc.h"
#include "bool/dec/dec.h"
#include "base/main/main.h"
#include "map/mio/mio.h"
#include "aig/aig/aig.h"
#include "map/if/if.h"
#include "misc/extra/extraBdd.h"
Go to the source code of this file.
Typedefs | |
typedef struct Gli_Man_t_ | Gli_Man_t |
Functions | |
int | Abc_NtkCompareAndSaveBest (Abc_Ntk_t *pNtk) |
FUNCTION DEFINITIONS ///. More... | |
float | Abc_NtkMfsTotalSwitching (Abc_Ntk_t *pNtk) |
float | Abc_NtkGetArea (Abc_Ntk_t *pNtk) |
void | Abc_NtkPrintStats (Abc_Ntk_t *pNtk, int fFactored, int fSaveBest, int fDumpResult, int fUseLutLib, int fPrintMuxes, int fPower, int fGlitch, int fSkipBuf) |
void | Abc_NtkPrintIo (FILE *pFile, Abc_Ntk_t *pNtk, int fPrintFlops) |
void | Abc_NtkPrintLatch (FILE *pFile, Abc_Ntk_t *pNtk) |
void | Abc_NtkPrintFanio (FILE *pFile, Abc_Ntk_t *pNtk, int fUsePis) |
void | Abc_NtkPrintFanioNew (FILE *pFile, Abc_Ntk_t *pNtk, int fMffc) |
void | Abc_NodePrintFanio (FILE *pFile, Abc_Obj_t *pNode) |
void | Abc_NtkPrintMffc (FILE *pFile, Abc_Ntk_t *pNtk) |
void | Abc_NtkPrintFactor (FILE *pFile, Abc_Ntk_t *pNtk, int fUseRealNames) |
void | Abc_NodePrintFactor (FILE *pFile, Abc_Obj_t *pNode, int fUseRealNames) |
void | Abc_NtkPrintLevel (FILE *pFile, Abc_Ntk_t *pNtk, int fProfile, int fListNodes, int fVerbose) |
void | Abc_NodePrintLevel (FILE *pFile, Abc_Obj_t *pNode) |
void | Abc_NodePrintKMap (Abc_Obj_t *pNode, int fUseRealNames) |
void | Abc_NtkPrintGates (Abc_Ntk_t *pNtk, int fUseLibrary) |
void | Abc_NtkPrintSharing (Abc_Ntk_t *pNtk) |
int | Abc_NtkCountPis (Vec_Ptr_t *vSupp) |
void | Abc_NtkPrintStrSupports (Abc_Ntk_t *pNtk, int fMatrix) |
void | Abc_ObjPrint (FILE *pFile, Abc_Obj_t *pObj) |
void | Abc_NtkPrintMiter (Abc_Ntk_t *pNtk) |
Gli_Man_t * | Gli_ManAlloc (int nObjs, int nRegs, int nFanioPairs) |
FUNCTION DEFINITIONS ///. More... | |
void | Gli_ManStop (Gli_Man_t *p) |
int | Gli_ManCreateCi (Gli_Man_t *p, int nFanouts) |
int | Gli_ManCreateCo (Gli_Man_t *p, int iFanin) |
int | Gli_ManCreateNode (Gli_Man_t *p, Vec_Int_t *vFanins, int nFanouts, unsigned *puTruth) |
void | Gli_ManSwitchesAndGlitches (Gli_Man_t *p, int nPatterns, float PiTransProb, int fVerbose) |
int | Gli_ObjNumSwitches (Gli_Man_t *p, int iNode) |
int | Gli_ObjNumGlitches (Gli_Man_t *p, int iNode) |
float | Abc_NtkMfsTotalGlitching (Abc_Ntk_t *pNtk) |
void | Abc_Show6VarFunc (word F0, word F1) |
void | Abc_NtkShow6VarFunc (char *pF0, char *pF1) |
Variables | |
ABC_NAMESPACE_IMPL_START abctime | s_MappingTime = 0 |
DECLARATIONS ///. More... | |
int | s_MappingMem = 0 |
abctime | s_ResubTime = 0 |
abctime | s_ResynTime = 0 |
typedef struct Gli_Man_t_ Gli_Man_t |
Definition at line 1416 of file abcPrint.c.
void Abc_NodePrintFactor | ( | FILE * | pFile, |
Abc_Obj_t * | pNode, | ||
int | fUseRealNames | ||
) |
Function*************************************************************
Synopsis [Prints the factored form of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 825 of file abcPrint.c.
void Abc_NodePrintFanio | ( | FILE * | pFile, |
Abc_Obj_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Prints the fanins/fanouts of a node.]
Description []
SideEffects []
SeeAlso []
Definition at line 752 of file abcPrint.c.
void Abc_NodePrintKMap | ( | Abc_Obj_t * | pNode, |
int | fUseRealNames | ||
) |
Function*************************************************************
Synopsis [Prints the factored form of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1028 of file abcPrint.c.
void Abc_NodePrintLevel | ( | FILE * | pFile, |
Abc_Obj_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Prints the factored form of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 985 of file abcPrint.c.
int Abc_NtkCompareAndSaveBest | ( | Abc_Ntk_t * | pNtk | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [If the network is best, saves it in "best.blif" and returns 1.]
Description [If the networks are incomparable, saves the new network, returns its parameters in the internal parameter structure, and returns 1. If the new network is not a logic network, quits without saving and returns 0.]
SideEffects []
SeeAlso []
Definition at line 66 of file abcPrint.c.
int Abc_NtkCountPis | ( | Vec_Ptr_t * | vSupp | ) |
Function*************************************************************
Synopsis [Prints info for each output cone.]
Description []
SideEffects []
SeeAlso []
Definition at line 1228 of file abcPrint.c.
float Abc_NtkGetArea | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Compute area using LUT library.]
Description []
SideEffects []
SeeAlso []
Definition at line 179 of file abcPrint.c.
float Abc_NtkMfsTotalGlitching | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Returns the percentable of increased power due to glitching.]
Description []
SideEffects []
SeeAlso []
Definition at line 1439 of file abcPrint.c.
float Abc_NtkMfsTotalSwitching | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Marks nodes for power-optimization.]
Description []
SideEffects []
SeeAlso []
Definition at line 132 of file abcPrint.c.
void Abc_NtkPrintFactor | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk, | ||
int | fUseRealNames | ||
) |
Function*************************************************************
Synopsis [Prints the factored form of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 805 of file abcPrint.c.
void Abc_NtkPrintFanio | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk, | ||
int | fUsePis | ||
) |
Function*************************************************************
Synopsis [Prints the distribution of fanins/fanouts in the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 546 of file abcPrint.c.
void Abc_NtkPrintFanioNew | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk, | ||
int | fMffc | ||
) |
Function*************************************************************
Synopsis [Prints the distribution of fanins/fanouts in the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 625 of file abcPrint.c.
void Abc_NtkPrintGates | ( | Abc_Ntk_t * | pNtk, |
int | fUseLibrary | ||
) |
Function*************************************************************
Synopsis [Prints statistics about gates used in the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 1055 of file abcPrint.c.
void Abc_NtkPrintIo | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk, | ||
int | fPrintFlops | ||
) |
Function*************************************************************
Synopsis [Prints PIs/POs and LIs/LOs.]
Description []
SideEffects []
SeeAlso []
Definition at line 436 of file abcPrint.c.
void Abc_NtkPrintLatch | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk | ||
) |
Function*************************************************************
Synopsis [Prints statistics about latches.]
Description []
SideEffects []
SeeAlso []
Definition at line 473 of file abcPrint.c.
void Abc_NtkPrintLevel | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk, | ||
int | fProfile, | ||
int | fListNodes, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Prints the level stats of the PO node.]
Description []
SideEffects []
SeeAlso []
Definition at line 866 of file abcPrint.c.
void Abc_NtkPrintMffc | ( | FILE * | pFile, |
Abc_Ntk_t * | pNtk | ||
) |
Function*************************************************************
Synopsis [Prints the MFFCs of the nodes.]
Description []
SideEffects []
SeeAlso []
Definition at line 784 of file abcPrint.c.
void Abc_NtkPrintMiter | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Checks the status of the miter.]
Description []
SideEffects []
SeeAlso []
Definition at line 1361 of file abcPrint.c.
void Abc_NtkPrintSharing | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Prints statistics about gates used in the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 1179 of file abcPrint.c.
void Abc_NtkPrintStats | ( | Abc_Ntk_t * | pNtk, |
int | fFactored, | ||
int | fSaveBest, | ||
int | fDumpResult, | ||
int | fUseLutLib, | ||
int | fPrintMuxes, | ||
int | fPower, | ||
int | fGlitch, | ||
int | fSkipBuf | ||
) |
Function*************************************************************
Synopsis [Print the vital stats of the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 207 of file abcPrint.c.
void Abc_NtkPrintStrSupports | ( | Abc_Ntk_t * | pNtk, |
int | fMatrix | ||
) |
Definition at line 1236 of file abcPrint.c.
void Abc_NtkShow6VarFunc | ( | char * | pF0, |
char * | pF1 | ||
) |
Function*************************************************************
Synopsis [Prints K-map of 6-var function represented by truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 1590 of file abcPrint.c.
void Abc_ObjPrint | ( | FILE * | pFile, |
Abc_Obj_t * | pObj | ||
) |
Function*************************************************************
Synopsis [Prints information about the object.]
Description []
SideEffects []
SeeAlso []
Definition at line 1287 of file abcPrint.c.
Function*************************************************************
Synopsis [Prints K-map of 6-var function represented by truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 1508 of file abcPrint.c.
Gli_Man_t* Gli_ManAlloc | ( | int | nObjs, |
int | nRegs, | ||
int | nFanioPairs | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Creates logic network.]
Description []
SideEffects []
SeeAlso []
Definition at line 144 of file giaGlitch.c.
int Gli_ManCreateCi | ( | Gli_Man_t * | p, |
int | nFanouts | ||
) |
Function*************************************************************
Synopsis [Creates CI.]
Description []
SideEffects []
SeeAlso []
Definition at line 288 of file giaGlitch.c.
int Gli_ManCreateCo | ( | Gli_Man_t * | p, |
int | iFanin | ||
) |
Function*************************************************************
Synopsis [Creates CO.]
Description []
SideEffects []
SeeAlso []
Definition at line 308 of file giaGlitch.c.
Function*************************************************************
Synopsis [Creates node.]
Description []
SideEffects []
SeeAlso []
Definition at line 369 of file giaGlitch.c.
void Gli_ManStop | ( | Gli_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deletes logic network.]
Description []
SideEffects []
SeeAlso []
Definition at line 170 of file giaGlitch.c.
void Gli_ManSwitchesAndGlitches | ( | Gli_Man_t * | p, |
int | nPatterns, | ||
float | PiTransProb, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Computes glitching activity of each node.]
Description []
SideEffects []
SeeAlso []
Definition at line 741 of file giaGlitch.c.
int Gli_ObjNumGlitches | ( | Gli_Man_t * | p, |
int | iNode | ||
) |
Function*************************************************************
Synopsis [Returns the number of glitches of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 410 of file giaGlitch.c.
int Gli_ObjNumSwitches | ( | Gli_Man_t * | p, |
int | iNode | ||
) |
Function*************************************************************
Synopsis [Returns the number of switches of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 394 of file giaGlitch.c.
int s_MappingMem = 0 |
Definition at line 45 of file abcPrint.c.
ABC_NAMESPACE_IMPL_START abctime s_MappingTime = 0 |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcPrint.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Printing statistics.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 44 of file abcPrint.c.
abctime s_ResubTime = 0 |
Definition at line 46 of file abcPrint.c.
abctime s_ResynTime = 0 |
Definition at line 47 of file abcPrint.c.