abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Rwr_Man_t_ |
struct | Rwr_Node_t_ |
Macros | |
#define | RWR_LIMIT 1048576/4 |
INCLUDES ///. More... | |
Typedefs | |
typedef struct Rwr_Man_t_ | Rwr_Man_t |
typedef struct Rwr_Node_t_ | Rwr_Node_t |
#define RWR_LIMIT 1048576/4 |
INCLUDES ///.
CFile****************************************************************
FileName [rwr.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [DAG-aware AIG rewriting package.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///
typedef struct Rwr_Man_t_ Rwr_Man_t |
typedef struct Rwr_Node_t_ Rwr_Node_t |
|
inlinestatic |
void Rwr_ListAddToTail | ( | Rwr_Node_t ** | ppList, |
Rwr_Node_t * | pNode | ||
) |
Rwr_Node_t* Rwr_ManAddNode | ( | Rwr_Man_t * | p, |
Rwr_Node_t * | p0, | ||
Rwr_Node_t * | p1, | ||
int | fExor, | ||
int | Level, | ||
int | Volume | ||
) |
Function*************************************************************
Synopsis [Adds one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 206 of file rwrLib.c.
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Rwr_Node_t* Rwr_ManAddVar | ( | Rwr_Man_t * | p, |
unsigned | uTruth, | ||
int | fPrecompute | ||
) |
Function*************************************************************
Synopsis [Adds one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 253 of file rwrLib.c.
char* Rwr_ManGetPractical | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Create practical classes.]
Description []
SideEffects []
SeeAlso []
Definition at line 640 of file rwrUtil.c.
void Rwr_ManIncTravId | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Adds one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 350 of file rwrLib.c.
void Rwr_ManLoadFromArray | ( | Rwr_Man_t * | p, |
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Loads data.]
Description []
SideEffects []
SeeAlso []
Definition at line 472 of file rwrUtil.c.
void Rwr_ManLoadFromFile | ( | Rwr_Man_t * | p, |
char * | pFileName | ||
) |
Function*************************************************************
Synopsis [Loads data.]
Description []
SideEffects []
SeeAlso []
Definition at line 562 of file rwrUtil.c.
int Rwr_ManNodeVolume | ( | Rwr_Man_t * | p, |
Rwr_Node_t * | p0, | ||
Rwr_Node_t * | p1 | ||
) |
Function*************************************************************
Synopsis [Adds one node.]
Description []
SideEffects []
SeeAlso []
Definition at line 330 of file rwrLib.c.
void Rwr_ManPrecompute | ( | Rwr_Man_t * | p | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Precomputes the forest in the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 48 of file rwrLib.c.
void Rwr_ManPreprocess | ( | Rwr_Man_t * | p | ) |
MACRO DEFINITIONS ///.
FUNCTION DECLARATIONS ///
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Preprocesses computed library of subgraphs.]
Description []
SideEffects []
SeeAlso []
Definition at line 49 of file rwrDec.c.
void Rwr_ManPrint | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Prints one rwr node.]
Description []
SideEffects []
SeeAlso []
Definition at line 237 of file rwrPrint.c.
void Rwr_ManPrintStats | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
void Rwr_ManPrintStatsFile | ( | Rwr_Man_t * | p | ) |
int Rwr_ManReadCompl | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
void* Rwr_ManReadDecs | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Stops the resynthesis manager.]
Description []
SideEffects []
SeeAlso []
Rwr_Man_t* Rwr_ManStart | ( | int | fPrecompute | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [rwrMan.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [DAG-aware AIG rewriting package.]
Synopsis [Rewriting manager.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Starts rewriting manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 47 of file rwrMan.c.
void Rwr_ManStop | ( | Rwr_Man_t * | p | ) |
void Rwr_ManWriteToArray | ( | Rwr_Man_t * | p | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Writes data.]
Description []
SideEffects []
SeeAlso []
Definition at line 426 of file rwrUtil.c.
void Rwr_ManWriteToFile | ( | Rwr_Man_t * | p, |
char * | pFileName | ||
) |
int Rwr_NodeRewrite | ( | Rwr_Man_t * | p, |
Cut_Man_t * | pManCut, | ||
Abc_Obj_t * | pNode, | ||
int | fUpdateLevel, | ||
int | fUseZeros, | ||
int | fPlaceEnable | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Performs rewriting for one node.]
Description [This procedure considers all the cuts computed for the node and tries to rewrite each of them using the "forest" of different AIG structures precomputed and stored in the RWR manager. Determines the best rewriting and computes the gain in the number of AIG nodes in the final network. In the end, p->vFanins contains information about the best cut that can be used for rewriting, while p->pGraph gives the decomposition dag (represented using decomposition graph data structure). Returns gain in the number of nodes or -1 if node cannot be rewritten.]
SideEffects []
SeeAlso []
Definition at line 59 of file rwrEva.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void Rwr_ScoresClean | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 504 of file rwrEva.c.
void Rwr_ScoresReport | ( | Rwr_Man_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 550 of file rwrEva.c.