abc-master
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "aig/aig/aig.h"
#include "opt/dar/dar.h"
#include "bool/kit/kit.h"
#include "csw.h"
Go to the source code of this file.
Data Structures | |
struct | Csw_Cut_t_ |
struct | Csw_Man_t_ |
Macros | |
#define | Csw_ObjForEachCut(p, pObj, pCut, i) for ( i = 0, pCut = Csw_ObjCuts(p, pObj); i < p->nCutsMax; i++, pCut = Csw_CutNext(pCut) ) |
MACRO DEFINITIONS ///. More... | |
#define | Csw_CutForEachLeaf(p, pCut, pLeaf, i) for ( i = 0; (i < (int)(pCut)->nFanins) && ((pLeaf) = Aig_ManObj(p, (pCut)->pFanins[i])); i++ ) |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Csw_Man_t_ | Csw_Man_t |
INCLUDES ///. More... | |
typedef struct Csw_Cut_t_ | Csw_Cut_t |
#define Csw_CutForEachLeaf | ( | p, | |
pCut, | |||
pLeaf, | |||
i | |||
) | for ( i = 0; (i < (int)(pCut)->nFanins) && ((pLeaf) = Aig_ManObj(p, (pCut)->pFanins[i])); i++ ) |
#define Csw_ObjForEachCut | ( | p, | |
pObj, | |||
pCut, | |||
i | |||
) | for ( i = 0, pCut = Csw_ObjCuts(p, pObj); i < p->nCutsMax; i++, pCut = Csw_CutNext(pCut) ) |
typedef struct Csw_Cut_t_ Csw_Cut_t |
typedef typedefABC_NAMESPACE_HEADER_START struct Csw_Man_t_ Csw_Man_t |
INCLUDES ///.
CFile****************************************************************
FileName [cswInt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Cut sweeping.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - July 11, 2007.]
Revision [
]PARAMETERS ///BASIC TYPES ///
|
inlinestatic |
Definition at line 105 of file cswInt.h.
|
inlinestatic |
DECLARATIONS ///.
CFile****************************************************************
FileName [cswMan.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Cut sweeping.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - July 11, 2007.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Starts the cut sweeping manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file cswMan.c.
void Csw_ManStop | ( | Csw_Man_t * | p | ) |
Definition at line 116 of file cswInt.h.
Definition at line 117 of file cswInt.h.
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 453 of file cswCut.c.
Function*************************************************************
Synopsis [Derives cuts for one node and sweeps this node.]
Description []
SideEffects []
SeeAlso []
Definition at line 492 of file cswCut.c.
int Csw_TableCountCuts | ( | Csw_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns the total number of cuts in the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 82 of file cswTable.c.
Function*************************************************************
Synopsis [Adds the cut to the hash table.]
Description []
SideEffects []
SeeAlso []
Definition at line 103 of file cswTable.c.
Function*************************************************************
Synopsis [Returns an equivalent node if it exists.]
Description []
SideEffects []
SeeAlso []
Definition at line 121 of file cswTable.c.