abc-master
|
#include "abc.h"
Go to the source code of this file.
Functions | |
ABC_NAMESPACE_IMPL_START char * | Abc_SopRegister (Mem_Flex_t *pMan, char *pName) |
DECLARATIONS ///. More... | |
char * | Abc_SopStart (Mem_Flex_t *pMan, int nCubes, int nVars) |
char * | Abc_SopCreateConst1 (Mem_Flex_t *pMan) |
char * | Abc_SopCreateConst0 (Mem_Flex_t *pMan) |
char * | Abc_SopCreateAnd2 (Mem_Flex_t *pMan, int fCompl0, int fCompl1) |
char * | Abc_SopCreateAnd (Mem_Flex_t *pMan, int nVars, int *pfCompl) |
char * | Abc_SopCreateNand (Mem_Flex_t *pMan, int nVars) |
char * | Abc_SopCreateOr (Mem_Flex_t *pMan, int nVars, int *pfCompl) |
char * | Abc_SopCreateOrMultiCube (Mem_Flex_t *pMan, int nVars, int *pfCompl) |
char * | Abc_SopCreateNor (Mem_Flex_t *pMan, int nVars) |
char * | Abc_SopCreateXor (Mem_Flex_t *pMan, int nVars) |
char * | Abc_SopCreateXorSpecial (Mem_Flex_t *pMan, int nVars) |
char * | Abc_SopCreateNxor (Mem_Flex_t *pMan, int nVars) |
char * | Abc_SopCreateMux (Mem_Flex_t *pMan) |
char * | Abc_SopCreateInv (Mem_Flex_t *pMan) |
char * | Abc_SopCreateBuf (Mem_Flex_t *pMan) |
char * | Abc_SopCreateFromTruth (Mem_Flex_t *pMan, int nVars, unsigned *pTruth) |
char * | Abc_SopCreateFromIsop (Mem_Flex_t *pMan, int nVars, Vec_Int_t *vCover) |
void | Abc_SopToIsop (char *pSop, Vec_Int_t *vCover) |
int | Abc_SopGetCubeNum (char *pSop) |
int | Abc_SopGetLitNum (char *pSop) |
int | Abc_SopGetVarNum (char *pSop) |
int | Abc_SopGetPhase (char *pSop) |
int | Abc_SopGetIthCareLit (char *pSop, int i) |
void | Abc_SopComplement (char *pSop) |
void | Abc_SopComplementVar (char *pSop, int iVar) |
int | Abc_SopIsComplement (char *pSop) |
int | Abc_SopIsConst0 (char *pSop) |
int | Abc_SopIsConst1 (char *pSop) |
int | Abc_SopIsBuf (char *pSop) |
int | Abc_SopIsInv (char *pSop) |
int | Abc_SopIsAndType (char *pSop) |
int | Abc_SopIsOrType (char *pSop) |
int | Abc_SopIsExorType (char *pSop) |
int | Abc_SopCheck (char *pSop, int nFanins) |
char * | Abc_SopFromTruthBin (char *pTruth) |
char * | Abc_SopFromTruthHex (char *pTruth) |
char * | Abc_SopEncoderPos (Mem_Flex_t *pMan, int iValue, int nValues) |
char * | Abc_SopEncoderLog (Mem_Flex_t *pMan, int iBit, int nValues) |
char * | Abc_SopDecoderPos (Mem_Flex_t *pMan, int nValues) |
char * | Abc_SopDecoderLog (Mem_Flex_t *pMan, int nValues) |
word | Abc_SopToTruth (char *pSop, int nInputs) |
void | Abc_SopToTruth7 (char *pSop, int nInputs, word r[2]) |
void | Abc_SopToTruthBig (char *pSop, int nInputs, word **pVars, word *pCube, word *pRes) |
int Abc_SopCheck | ( | char * | pSop, |
int | nFanins | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
void Abc_SopComplement | ( | char * | pSop | ) |
void Abc_SopComplementVar | ( | char * | pSop, |
int | iVar | ||
) |
char* Abc_SopCreateAnd | ( | Mem_Flex_t * | pMan, |
int | nVars, | ||
int * | pfCompl | ||
) |
char* Abc_SopCreateAnd2 | ( | Mem_Flex_t * | pMan, |
int | fCompl0, | ||
int | fCompl1 | ||
) |
Function*************************************************************
Synopsis [Creates the AND2 cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 139 of file abcSop.c.
char* Abc_SopCreateBuf | ( | Mem_Flex_t * | pMan | ) |
Function*************************************************************
Synopsis [Creates the buf cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 361 of file abcSop.c.
char* Abc_SopCreateConst0 | ( | Mem_Flex_t * | pMan | ) |
Function*************************************************************
Synopsis [Creates the constant 1 cover with 0 variables.]
Description []
SideEffects []
SeeAlso []
Definition at line 123 of file abcSop.c.
char* Abc_SopCreateConst1 | ( | Mem_Flex_t * | pMan | ) |
Function*************************************************************
Synopsis [Creates the constant 1 cover with 0 variables.]
Description []
SideEffects []
SeeAlso []
Definition at line 107 of file abcSop.c.
char* Abc_SopCreateFromIsop | ( | Mem_Flex_t * | pMan, |
int | nVars, | ||
Vec_Int_t * | vCover | ||
) |
Function*************************************************************
Synopsis [Creates the cover from the ISOP computed from TT.]
Description []
SideEffects []
SeeAlso []
Definition at line 416 of file abcSop.c.
char* Abc_SopCreateFromTruth | ( | Mem_Flex_t * | pMan, |
int | nVars, | ||
unsigned * | pTruth | ||
) |
char* Abc_SopCreateInv | ( | Mem_Flex_t * | pMan | ) |
Function*************************************************************
Synopsis [Creates the inv cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 345 of file abcSop.c.
char* Abc_SopCreateMux | ( | Mem_Flex_t * | pMan | ) |
Function*************************************************************
Synopsis [Creates the MUX cover.]
Description [The first input of MUX is the control. The second input is DATA1. The third input is DATA0.]
SideEffects []
SeeAlso []
Definition at line 329 of file abcSop.c.
char* Abc_SopCreateNand | ( | Mem_Flex_t * | pMan, |
int | nVars | ||
) |
char* Abc_SopCreateNor | ( | Mem_Flex_t * | pMan, |
int | nVars | ||
) |
char* Abc_SopCreateNxor | ( | Mem_Flex_t * | pMan, |
int | nVars | ||
) |
Function*************************************************************
Synopsis [Creates the multi-input XNOR cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 311 of file abcSop.c.
char* Abc_SopCreateOr | ( | Mem_Flex_t * | pMan, |
int | nVars, | ||
int * | pfCompl | ||
) |
char* Abc_SopCreateOrMultiCube | ( | Mem_Flex_t * | pMan, |
int | nVars, | ||
int * | pfCompl | ||
) |
char* Abc_SopCreateXor | ( | Mem_Flex_t * | pMan, |
int | nVars | ||
) |
Function*************************************************************
Synopsis [Creates the multi-input XOR cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 274 of file abcSop.c.
char* Abc_SopCreateXorSpecial | ( | Mem_Flex_t * | pMan, |
int | nVars | ||
) |
Function*************************************************************
Synopsis [Creates the multi-input XOR cover (special case).]
Description []
SideEffects []
SeeAlso []
Definition at line 291 of file abcSop.c.
char* Abc_SopDecoderLog | ( | Mem_Flex_t * | pMan, |
int | nValues | ||
) |
Function*************************************************************
Synopsis [Creates the decover node.]
Description [Produces MV-SOP for BLIF-MV representation.]
SideEffects []
SeeAlso []
Definition at line 1129 of file abcSop.c.
char* Abc_SopDecoderPos | ( | Mem_Flex_t * | pMan, |
int | nValues | ||
) |
Function*************************************************************
Synopsis [Creates the decoder node.]
Description [Produces MV-SOP for BLIF-MV representation.]
SideEffects []
SeeAlso []
Definition at line 1093 of file abcSop.c.
char* Abc_SopEncoderLog | ( | Mem_Flex_t * | pMan, |
int | iBit, | ||
int | nValues | ||
) |
Function*************************************************************
Synopsis [Creates one encoder node.]
Description [Produces MV-SOP for BLIF-MV representation.]
SideEffects []
SeeAlso []
Definition at line 1049 of file abcSop.c.
char* Abc_SopEncoderPos | ( | Mem_Flex_t * | pMan, |
int | iValue, | ||
int | nValues | ||
) |
Function*************************************************************
Synopsis [Creates one encoder node.]
Description [Produces MV-SOP for BLIF-MV representation.]
SideEffects []
SeeAlso []
Definition at line 1030 of file abcSop.c.
char* Abc_SopFromTruthBin | ( | char * | pTruth | ) |
Function*************************************************************
Synopsis [Derives SOP from the truth table representation.]
Description [Truth table is expected to be in the hexadecimal notation.]
SideEffects []
SeeAlso []
Definition at line 879 of file abcSop.c.
char* Abc_SopFromTruthHex | ( | char * | pTruth | ) |
Function*************************************************************
Synopsis [Derives SOP from the truth table representation.]
Description [Truth table is expected to be in the hexadecimal notation.]
SideEffects []
SeeAlso []
Definition at line 948 of file abcSop.c.
int Abc_SopGetCubeNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of cubes in the cover.]
Description []
SideEffects []
SeeAlso []
int Abc_SopGetIthCareLit | ( | char * | pSop, |
int | i | ||
) |
int Abc_SopGetLitNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of SOP literals in the cover.]
Description []
SideEffects []
SeeAlso []
int Abc_SopGetPhase | ( | char * | pSop | ) |
int Abc_SopGetVarNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of variables in the cover.]
Description []
SideEffects []
SeeAlso []
int Abc_SopIsAndType | ( | char * | pSop | ) |
int Abc_SopIsBuf | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is constant 1.]
Description []
SideEffects []
SeeAlso []
int Abc_SopIsComplement | ( | char * | pSop | ) |
int Abc_SopIsConst0 | ( | char * | pSop | ) |
int Abc_SopIsConst1 | ( | char * | pSop | ) |
int Abc_SopIsExorType | ( | char * | pSop | ) |
int Abc_SopIsInv | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is constant 1.]
Description []
SideEffects []
SeeAlso []
int Abc_SopIsOrType | ( | char * | pSop | ) |
ABC_NAMESPACE_IMPL_START char* Abc_SopRegister | ( | Mem_Flex_t * | pMan, |
char * | pName | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [abcSop.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis [Implementation of a simple SOP representation of nodes.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Registers the cube string with the network.]
Description []
SideEffects []
SeeAlso []
Definition at line 56 of file abcSop.c.
char* Abc_SopStart | ( | Mem_Flex_t * | pMan, |
int | nCubes, | ||
int | nVars | ||
) |
void Abc_SopToIsop | ( | char * | pSop, |
Vec_Int_t * | vCover | ||
) |
word Abc_SopToTruth | ( | char * | pSop, |
int | nInputs | ||
) |
void Abc_SopToTruth7 | ( | char * | pSop, |
int | nInputs, | ||
word | r[2] | ||
) |