#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"
Go to the source code of this file.
Functions | |
| int | Abc_NtkCompareAndSaveBest (Abc_Ntk_t *pNtk) |
| FUNCTION DEFINITIONS ///. | |
| double | Abc_NtkMemory (Abc_Ntk_t *p) |
| float | Abc_NtkMfsTotalSwitching (Abc_Ntk_t *pNtk) |
| float | Abc_NtkGetArea (Abc_Ntk_t *pNtk) |
| float | Abc_NtkGetAreaSpecial (Abc_Ntk_t *pNtk) |
| float | Abc_NtkGetAreaSpecial2 (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, int fSkipSmall, int fPrintMem) |
| void | Abc_NtkPrintIo (FILE *pFile, Abc_Ntk_t *pNtk, int fPrintFlops) |
| void | Abc_NtkPrintLatch (FILE *pFile, Abc_Ntk_t *pNtk) |
| void | Abc_NtkFaninFanoutCounters (Abc_Ntk_t *pNtk, Vec_Int_t *vFan, Vec_Int_t *vFon, Vec_Int_t *vFanR, Vec_Int_t *vFonR) |
| void | Abc_NtkInputOutputCounters (Abc_Ntk_t *pNtk, Vec_Int_t *vFan, Vec_Int_t *vFon, Vec_Int_t *vFanR, Vec_Int_t *vFonR) |
| Vec_Int_t * | Abc_NtkCollectCoSupps (Abc_Ntk_t *pNtk, int fVerbose) |
| Vec_Int_t * | Abc_NtkCollectCiSupps (Abc_Ntk_t *pNtk, int fVerbose) |
| void | Abc_NtkInOutSupportCounters (Abc_Ntk_t *pNtk, Vec_Int_t *vFan, Vec_Int_t *vFon, Vec_Int_t *vFanR, Vec_Int_t *vFonR) |
| Vec_Int_t * | Abc_NtkCollectCoCones (Abc_Ntk_t *pNtk, int fVerbose) |
| Vec_Int_t * | Abc_NtkCollectCiCones (Abc_Ntk_t *pNtk, int fVerbose) |
| void | Abc_NtkInOutConeCounters (Abc_Ntk_t *pNtk, Vec_Int_t *vFan, Vec_Int_t *vFon, Vec_Int_t *vFanR, Vec_Int_t *vFonR) |
| void | Abc_NtkPrintDistribInternal (FILE *pFile, Abc_Ntk_t *pNtk, char *pFanins, char *pFanouts, char *pNode, char *pFanin, char *pFanout, Vec_Int_t *vFan, Vec_Int_t *vFon, Vec_Int_t *vFanR, Vec_Int_t *vFonR) |
| void | Abc_NtkPrintFanio (FILE *pFile, Abc_Ntk_t *pNtk, int fUseFanio, int fUsePio, int fUseSupp, int fUseCone) |
| 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_NodePrintFactor (FILE *pFile, Abc_Obj_t *pNode, int fUseRealNames) |
| void | Abc_NtkPrintFactor (FILE *pFile, Abc_Ntk_t *pNtk, int fUseRealNames) |
| void | Abc_NodePrintSop (FILE *pFile, Abc_Obj_t *pNode, int fUseRealNames) |
| void | Abc_NtkPrintSop (FILE *pFile, Abc_Ntk_t *pNtk, int fUseRealNames) |
| char * | Abc_NodeGetPrintName (Abc_Obj_t *pObj) |
| void | Abc_NtkPrintLevel (FILE *pFile, Abc_Ntk_t *pNtk, int fProfile, int fListNodes, int fOutputs, 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, int fUpdateProfile) |
| 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) |
| void | Abc_NtkPrintPoEquivs (Abc_Ntk_t *pNtk) |
| Gli_Man_t * | Gli_ManAlloc (int nObjs, int nRegs, int nFanioPairs) |
| FUNCTION DEFINITIONS ///. | |
| 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, word *pGateTruth) |
| 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_NtkMfsTotalGlitchingLut (Abc_Ntk_t *pNtk, int nPats, int Prob, int fVerbose) |
| float | Abc_NtkMfsTotalGlitching (Abc_Ntk_t *pNtk, int nPats, int Prob, int fVerbose) |
| void | Abc_Show6VarFunc (word F0, word F1) |
| void | Abc_NtkShow6VarFunc (char *pF0, char *pF1) |
Variables | |
| ABC_NAMESPACE_IMPL_START abctime | s_MappingTime = 0 |
| DECLARATIONS ///. | |
| int | s_MappingMem = 0 |
| abctime | s_ResynTime = 0 |
| char * Abc_NodeGetPrintName | ( | Abc_Obj_t * | pObj | ) |
Function*************************************************************
Synopsis [Prints the level stats of the PO node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1220 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 1101 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 1048 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 1401 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 1358 of file abcPrint.c.


| void Abc_NodePrintSop | ( | FILE * | pFile, |
| Abc_Obj_t * | pNode, | ||
| int | fUseRealNames ) |
Function*************************************************************
Synopsis [Prints the SOPs of one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1149 of file abcPrint.c.


Definition at line 782 of file abcPrint.c.


Definition at line 689 of file abcPrint.c.


Definition at line 753 of file abcPrint.c.


Definition at line 659 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 69 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 1612 of file abcPrint.c.

| void Abc_NtkFaninFanoutCounters | ( | Abc_Ntk_t * | pNtk, |
| Vec_Int_t * | vFan, | ||
| Vec_Int_t * | vFon, | ||
| Vec_Int_t * | vFanR, | ||
| Vec_Int_t * | vFonR ) |
Function*************************************************************
Synopsis [Prints the distribution of fanins/fanouts in the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 609 of file abcPrint.c.

| float Abc_NtkGetArea | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Compute area using LUT library.]
Description []
SideEffects []
SeeAlso []
Definition at line 210 of file abcPrint.c.


| float Abc_NtkGetAreaSpecial | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 238 of file abcPrint.c.

| float Abc_NtkGetAreaSpecial2 | ( | Abc_Ntk_t * | pNtk | ) |
Definition at line 246 of file abcPrint.c.

| void Abc_NtkInOutConeCounters | ( | Abc_Ntk_t * | pNtk, |
| Vec_Int_t * | vFan, | ||
| Vec_Int_t * | vFon, | ||
| Vec_Int_t * | vFanR, | ||
| Vec_Int_t * | vFonR ) |
Definition at line 811 of file abcPrint.c.


| void Abc_NtkInOutSupportCounters | ( | Abc_Ntk_t * | pNtk, |
| Vec_Int_t * | vFan, | ||
| Vec_Int_t * | vFon, | ||
| Vec_Int_t * | vFanR, | ||
| Vec_Int_t * | vFonR ) |
Definition at line 725 of file abcPrint.c.


| void Abc_NtkInputOutputCounters | ( | Abc_Ntk_t * | pNtk, |
| Vec_Int_t * | vFan, | ||
| Vec_Int_t * | vFon, | ||
| Vec_Int_t * | vFanR, | ||
| Vec_Int_t * | vFonR ) |
Definition at line 633 of file abcPrint.c.

| double Abc_NtkMemory | ( | Abc_Ntk_t * | p | ) |
Function*************************************************************
Synopsis [Collects memory usage.]
Description []
SideEffects []
SeeAlso []
Definition at line 135 of file abcPrint.c.

| float Abc_NtkMfsTotalGlitching | ( | Abc_Ntk_t * | pNtk, |
| int | nPats, | ||
| int | Prob, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis [Returns the percentable of increased power due to glitching.]
Description []
SideEffects []
SeeAlso []
Definition at line 1942 of file abcPrint.c.


| float Abc_NtkMfsTotalGlitchingLut | ( | Abc_Ntk_t * | pNtk, |
| int | nPats, | ||
| int | Prob, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis [Returns the percentable of increased power due to glitching.]
Description []
SideEffects []
SeeAlso []
Definition at line 1868 of file abcPrint.c.


| float Abc_NtkMfsTotalSwitching | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Marks nodes for power-optimization.]
Description []
SideEffects []
SeeAlso []
Definition at line 163 of file abcPrint.c.


| void Abc_NtkPrintDistribInternal | ( | FILE * | pFile, |
| Abc_Ntk_t * | pNtk, | ||
| char * | pFanins, | ||
| char * | pFanouts, | ||
| char * | pNode, | ||
| char * | pFanin, | ||
| char * | pFanout, | ||
| Vec_Int_t * | vFan, | ||
| Vec_Int_t * | vFon, | ||
| Vec_Int_t * | vFanR, | ||
| Vec_Int_t * | vFonR ) |
Definition at line 839 of file abcPrint.c.


| void Abc_NtkPrintFactor | ( | FILE * | pFile, |
| Abc_Ntk_t * | pNtk, | ||
| int | fUseRealNames ) |
Definition at line 1129 of file abcPrint.c.

| void Abc_NtkPrintFanio | ( | FILE * | pFile, |
| Abc_Ntk_t * | pNtk, | ||
| int | fUseFanio, | ||
| int | fUsePio, | ||
| int | fUseSupp, | ||
| int | fUseCone ) |
Definition at line 876 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 921 of file abcPrint.c.

| void Abc_NtkPrintGates | ( | Abc_Ntk_t * | pNtk, |
| int | fUseLibrary, | ||
| int | fUpdateProfile ) |
Function*************************************************************
Synopsis [Prints statistics about gates used in the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 1429 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 499 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 536 of file abcPrint.c.

| void Abc_NtkPrintLevel | ( | FILE * | pFile, |
| Abc_Ntk_t * | pNtk, | ||
| int | fProfile, | ||
| int | fListNodes, | ||
| int | fOutputs, | ||
| int | fVerbose ) |
Definition at line 1231 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 1080 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 1750 of file abcPrint.c.

| void Abc_NtkPrintPoEquivs | ( | Abc_Ntk_t * | pNtk | ) |
Function*************************************************************
Synopsis [Checks the status of the miter.]
Description []
SideEffects []
SeeAlso []
Definition at line 1813 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 1563 of file abcPrint.c.

| void Abc_NtkPrintSop | ( | FILE * | pFile, |
| Abc_Ntk_t * | pNtk, | ||
| int | fUseRealNames ) |
Definition at line 1200 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, | ||
| int | fSkipSmall, | ||
| int | fPrintMem ) |
Function*************************************************************
Synopsis [Print the vital stats of the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 269 of file abcPrint.c.


| void Abc_NtkPrintStrSupports | ( | Abc_Ntk_t * | pNtk, |
| int | fMatrix ) |
Definition at line 1620 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 2089 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 1674 of file abcPrint.c.


Function*************************************************************
Synopsis [Prints K-map of 6-var function represented by truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 2007 of file abcPrint.c.

|
extern |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Creates logic network.]
Description []
SideEffects []
SeeAlso []
Definition at line 144 of file giaGlitch.c.

|
extern |
Function*************************************************************
Synopsis [Creates CI.]
Description []
SideEffects []
SeeAlso []
Definition at line 288 of file giaGlitch.c.


|
extern |
Function*************************************************************
Synopsis [Creates CO.]
Description []
SideEffects []
SeeAlso []
Definition at line 308 of file giaGlitch.c.


|
extern |
Function*************************************************************
Synopsis [Creates node.]
Description []
SideEffects []
SeeAlso []
Definition at line 369 of file giaGlitch.c.


|
extern |
Function*************************************************************
Synopsis [Deletes logic network.]
Description []
SideEffects []
SeeAlso []
Definition at line 170 of file giaGlitch.c.

|
extern |
Function*************************************************************
Synopsis [Computes glitching activity of each node.]
Description []
SideEffects []
SeeAlso []
Definition at line 740 of file giaGlitch.c.


|
extern |
Function*************************************************************
Synopsis [Returns the number of glitches of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 409 of file giaGlitch.c.

|
extern |
Function*************************************************************
Synopsis [Returns the number of switches of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 393 of file giaGlitch.c.

| int s_MappingMem = 0 |
Definition at line 48 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 47 of file abcPrint.c.
| abctime s_ResynTime = 0 |
Definition at line 50 of file abcPrint.c.