#include "sfmInt.h"#include "misc/st/st.h"#include "map/mio/mio.h"#include "misc/vec/vecMem.h"#include "misc/util/utilTruth.h"#include "misc/extra/extra.h"#include "map/mio/exp.h"#include "opt/dau/dau.h"#include "base/main/main.h"
Go to the source code of this file.
Classes | |
| struct | Sfm_Fun_t_ |
| DECLARATIONS ///. More... | |
| struct | Sfm_Lib_t_ |
Macros | |
| #define | Sfm_LibForEachSuper(p, pObj, Func) |
Functions | |
| void | Sfm_DecCreateCnf (Vec_Int_t *vGateSizes, Vec_Wrd_t *vGateFuncs, Vec_Wec_t *vGateCnfs) |
| FUNCTION DEFINITIONS ///. | |
| void | Sfm_LibPreprocess (Mio_Library_t *pLib, Vec_Int_t *vGateSizes, Vec_Wrd_t *vGateFuncs, Vec_Wec_t *vGateCnfs, Vec_Ptr_t *vGateHands) |
| int | Sfm_LibFindComplInputGate (Vec_Wrd_t *vFuncs, int iGate, int nFanins, int iFanin, int *piFaninNew) |
| Sfm_Lib_t * | Sfm_LibStart (int nVars, int fDelay, int fVerbose) |
| void | Sfm_LibStop (Sfm_Lib_t *p) |
| word | Sfm_LibTruth6Two (Mio_Cell2_t *pCellBot, Mio_Cell2_t *pCellTop, int InTop) |
| void | Sfm_LibTruth8Two (Mio_Cell2_t *pCellBot, Mio_Cell2_t *pCellTop, int InTop, word *pRes) |
| void | Sfm_LibCellProfile (Mio_Cell2_t *pCellBot, Mio_Cell2_t *pCellTop, int InTop, int nFanins, int *Perm, int *pProf) |
| void | Sfm_LibPrepareAdd (Sfm_Lib_t *p, word *pTruth, int *Perm, int nFanins, Mio_Cell2_t *pCellBot, Mio_Cell2_t *pCellTop, int InTop) |
| Sfm_Lib_t * | Sfm_LibPrepare (int nVars, int fTwo, int fDelay, int fVerbose, int fLibVerbose) |
| void | Sfm_LibPrintGate (Mio_Cell2_t *pCell, char *pFanins, Mio_Cell2_t *pCell2, char *pFanins2) |
| void | Sfm_LibPrintObj (Sfm_Lib_t *p, Sfm_Fun_t *pObj) |
| void | Sfm_LibPrint (Sfm_Lib_t *p) |
| void | Sfm_LibTest () |
| int | Sfm_LibFindAreaMatch (Sfm_Lib_t *p, word *pTruth, int nFanins, int *piObj) |
| int | Sfm_LibFindDelayMatches (Sfm_Lib_t *p, word *pTruth, int *pFanins, int nFanins, Vec_Ptr_t *vGates, Vec_Ptr_t *vFans) |
| int | Sfm_LibImplementSimple (Sfm_Lib_t *p, word *pTruth, int *pFanins, int nFanins, Vec_Int_t *vGates, Vec_Wec_t *vFanins) |
| int | Sfm_LibImplementGatesArea (Sfm_Lib_t *p, int *pFanins, int nFanins, int iObj, Vec_Int_t *vGates, Vec_Wec_t *vFanins) |
| int | Sfm_LibImplementGatesDelay (Sfm_Lib_t *p, int *pFanins, Mio_Gate_t *pGateB, Mio_Gate_t *pGateT, char *pFansB, char *pFansT, Vec_Int_t *vGates, Vec_Wec_t *vFanins) |
| #define Sfm_LibForEachSuper | ( | p, | |
| pObj, | |||
| Func ) |
Definition at line 70 of file sfmLib.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 100 of file sfmLib.c.


| void Sfm_LibCellProfile | ( | Mio_Cell2_t * | pCellBot, |
| Mio_Cell2_t * | pCellTop, | ||
| int | InTop, | ||
| int | nFanins, | ||
| int * | Perm, | ||
| int * | pProf ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 304 of file sfmLib.c.

Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 613 of file sfmLib.c.

| int Sfm_LibFindComplInputGate | ( | Vec_Wrd_t * | vFuncs, |
| int | iGate, | ||
| int | nFanins, | ||
| int | iFanin, | ||
| int * | piFaninNew ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 161 of file sfmLib.c.

| int Sfm_LibFindDelayMatches | ( | Sfm_Lib_t * | p, |
| word * | pTruth, | ||
| int * | pFanins, | ||
| int | nFanins, | ||
| Vec_Ptr_t * | vGates, | ||
| Vec_Ptr_t * | vFans ) |
Definition at line 625 of file sfmLib.c.


| int Sfm_LibImplementGatesArea | ( | Sfm_Lib_t * | p, |
| int * | pFanins, | ||
| int | nFanins, | ||
| int | iObj, | ||
| Vec_Int_t * | vGates, | ||
| Vec_Wec_t * | vFanins ) |
Definition at line 704 of file sfmLib.c.


| int Sfm_LibImplementGatesDelay | ( | Sfm_Lib_t * | p, |
| int * | pFanins, | ||
| Mio_Gate_t * | pGateB, | ||
| Mio_Gate_t * | pGateT, | ||
| char * | pFansB, | ||
| char * | pFansT, | ||
| Vec_Int_t * | vGates, | ||
| Vec_Wec_t * | vFanins ) |
Definition at line 736 of file sfmLib.c.


| int Sfm_LibImplementSimple | ( | Sfm_Lib_t * | p, |
| word * | pTruth, | ||
| int * | pFanins, | ||
| int | nFanins, | ||
| Vec_Int_t * | vGates, | ||
| Vec_Wec_t * | vFanins ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 679 of file sfmLib.c.


| Sfm_Lib_t * Sfm_LibPrepare | ( | int | nVars, |
| int | fTwo, | ||
| int | fDelay, | ||
| int | fVerbose, | ||
| int | fLibVerbose ) |
Definition at line 438 of file sfmLib.c.


| void Sfm_LibPrepareAdd | ( | Sfm_Lib_t * | p, |
| word * | pTruth, | ||
| int * | Perm, | ||
| int | nFanins, | ||
| Mio_Cell2_t * | pCellBot, | ||
| Mio_Cell2_t * | pCellTop, | ||
| int | InTop ) |
Definition at line 335 of file sfmLib.c.


| void Sfm_LibPreprocess | ( | Mio_Library_t * | pLib, |
| Vec_Int_t * | vGateSizes, | ||
| Vec_Wrd_t * | vGateFuncs, | ||
| Vec_Wec_t * | vGateCnfs, | ||
| Vec_Ptr_t * | vGateHands ) |
Function*************************************************************
Synopsis [Preprocess the library.]
Description []
SideEffects []
SeeAlso []
Definition at line 131 of file sfmLib.c.


| void Sfm_LibPrint | ( | Sfm_Lib_t * | p | ) |
Definition at line 567 of file sfmLib.c.


| void Sfm_LibPrintGate | ( | Mio_Cell2_t * | pCell, |
| char * | pFanins, | ||
| Mio_Cell2_t * | pCell2, | ||
| char * | pFanins2 ) |
Definition at line 537 of file sfmLib.c.


| Sfm_Lib_t * Sfm_LibStart | ( | int | nVars, |
| int | fDelay, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 204 of file sfmLib.c.

| void Sfm_LibStop | ( | Sfm_Lib_t * | p | ) |
Definition at line 226 of file sfmLib.c.

| void Sfm_LibTest | ( | ) |
Definition at line 587 of file sfmLib.c.

| word Sfm_LibTruth6Two | ( | Mio_Cell2_t * | pCellBot, |
| Mio_Cell2_t * | pCellTop, | ||
| int | InTop ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 252 of file sfmLib.c.

| void Sfm_LibTruth8Two | ( | Mio_Cell2_t * | pCellBot, |
| Mio_Cell2_t * | pCellTop, | ||
| int | InTop, | ||
| word * | pRes ) |