
Go to the source code of this file.
Functions | |
| ABC_NAMESPACE_IMPL_START char * | Abc_SopRegister (Mem_Flex_t *pMan, const char *pName) |
| DECLARATIONS ///. | |
| 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) |
| char * | Abc_SopCreateFromTruthIsop (Mem_Flex_t *pMan, int nVars, word *pTruth, 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) |
| int | Abc_SopCheckReadTruth (Vec_Ptr_t *vRes, char *pToken, int fHex) |
| char * | Abc_SopFromTruthBin (char *pTruth) |
| Vec_Ptr_t * | Abc_SopFromTruthsBin (char *pTruth) |
| char * | Abc_SopFromTruthHex (char *pTruth) |
| Vec_Ptr_t * | Abc_SopFromTruthsHex (char *pTruth) |
| Vec_Ptr_t * | Abc_SopGenerateCounters (int nVars) |
| 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 []
Definition at line 871 of file abcSop.c.
| int Abc_SopCheckReadTruth | ( | Vec_Ptr_t * | vRes, |
| char * | pToken, | ||
| int | fHex ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 926 of file abcSop.c.


| void Abc_SopComplement | ( | char * | pSop | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 648 of file abcSop.c.

| void Abc_SopComplementVar | ( | char * | pSop, |
| int | iVar ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 678 of file abcSop.c.


| char * Abc_SopCreateAnd | ( | Mem_Flex_t * | pMan, |
| int | nVars, | ||
| int * | pfCompl ) |
Function*************************************************************
Synopsis [Creates the multi-input AND cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 168 of file abcSop.c.


| char * Abc_SopCreateAnd2 | ( | Mem_Flex_t * | pMan, |
| int | fCompl0, | ||
| int | fCompl1 ) |
Function*************************************************************
Synopsis [Creates the AND2 cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 145 of file abcSop.c.

| char * Abc_SopCreateBuf | ( | Mem_Flex_t * | pMan | ) |
| char * Abc_SopCreateConst0 | ( | Mem_Flex_t * | pMan | ) |
| char * Abc_SopCreateConst1 | ( | Mem_Flex_t * | pMan | ) |
| 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 424 of file abcSop.c.


| char * Abc_SopCreateFromTruth | ( | Mem_Flex_t * | pMan, |
| int | nVars, | ||
| unsigned * | pTruth ) |
Function*************************************************************
Synopsis [Creates the arbitrary cover from the truth table.]
Description []
SideEffects []
SeeAlso []
Definition at line 383 of file abcSop.c.


| char * Abc_SopCreateFromTruthIsop | ( | Mem_Flex_t * | pMan, |
| int | nVars, | ||
| word * | pTruth, | ||
| Vec_Int_t * | vCover ) |
Function*************************************************************
Synopsis [Creates the cover from the ISOP computed from TT.]
Description []
SideEffects []
SeeAlso []
Definition at line 462 of file abcSop.c.


| char * Abc_SopCreateInv | ( | Mem_Flex_t * | pMan | ) |
| 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 335 of file abcSop.c.


| char * Abc_SopCreateNand | ( | Mem_Flex_t * | pMan, |
| int | nVars ) |
Function*************************************************************
Synopsis [Creates the multi-input NAND cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 190 of file abcSop.c.


| char * Abc_SopCreateNor | ( | Mem_Flex_t * | pMan, |
| int | nVars ) |
Function*************************************************************
Synopsis [Creates the multi-input NOR cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 259 of file abcSop.c.


| char * Abc_SopCreateNxor | ( | Mem_Flex_t * | pMan, |
| int | nVars ) |
| char * Abc_SopCreateOr | ( | Mem_Flex_t * | pMan, |
| int | nVars, | ||
| int * | pfCompl ) |
Function*************************************************************
Synopsis [Creates the multi-input OR cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 212 of file abcSop.c.


| char * Abc_SopCreateOrMultiCube | ( | Mem_Flex_t * | pMan, |
| int | nVars, | ||
| int * | pfCompl ) |
Function*************************************************************
Synopsis [Creates the multi-input OR cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 234 of file abcSop.c.

| char * Abc_SopCreateXor | ( | Mem_Flex_t * | pMan, |
| int | nVars ) |
| 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 297 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 1280 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 1244 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 1200 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 1181 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 964 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 1060 of file abcSop.c.


| Vec_Ptr_t * Abc_SopFromTruthsBin | ( | char * | pTruth | ) |
Definition at line 1033 of file abcSop.c.

| Vec_Ptr_t * Abc_SopFromTruthsHex | ( | char * | pTruth | ) |
Definition at line 1127 of file abcSop.c.

| Vec_Ptr_t * Abc_SopGenerateCounters | ( | int | nVars | ) |
Definition at line 1145 of file abcSop.c.
| int Abc_SopGetCubeNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of cubes in the cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 537 of file abcSop.c.

| int Abc_SopGetIthCareLit | ( | char * | pSop, |
| int | i ) |
Function*************************************************************
Synopsis [Returns the i-th literal of the cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 626 of file abcSop.c.

| int Abc_SopGetLitNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of SOP literals in the cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 559 of file abcSop.c.

| int Abc_SopGetPhase | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the phase of the cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 604 of file abcSop.c.


| int Abc_SopGetVarNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of variables in the cover.]
Description []
SideEffects []
SeeAlso []
Definition at line 584 of file abcSop.c.

| int Abc_SopIsAndType | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is AND with possibly complemented inputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 796 of file abcSop.c.


| int Abc_SopIsBuf | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is constant 1.]
Description []
SideEffects []
SeeAlso []
Definition at line 756 of file abcSop.c.

| int Abc_SopIsComplement | ( | char * | pSop | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 703 of file abcSop.c.

| int Abc_SopIsConst0 | ( | char * | pSop | ) |
| int Abc_SopIsConst1 | ( | char * | pSop | ) |
| int Abc_SopIsExorType | ( | char * | pSop | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 850 of file abcSop.c.

| int Abc_SopIsInv | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is constant 1.]
Description []
SideEffects []
SeeAlso []
Definition at line 776 of file abcSop.c.

| int Abc_SopIsOrType | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is OR with possibly complemented inputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 820 of file abcSop.c.


| ABC_NAMESPACE_IMPL_START char * Abc_SopRegister | ( | Mem_Flex_t * | pMan, |
| const 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 62 of file abcSop.c.


| char * Abc_SopStart | ( | Mem_Flex_t * | pMan, |
| int | nCubes, | ||
| int | nVars ) |
Function*************************************************************
Synopsis [Creates the constant 1 cover with the given number of variables and cubes.]
Description []
SideEffects []
SeeAlso []
Definition at line 82 of file abcSop.c.


| void Abc_SopToIsop | ( | char * | pSop, |
| Vec_Int_t * | vCover ) |
Function*************************************************************
Synopsis [Creates the cover from the ISOP computed from TT.]
Description []
SideEffects []
SeeAlso []
Definition at line 502 of file abcSop.c.

| word Abc_SopToTruth | ( | char * | pSop, |
| int | nInputs ) |
Function*************************************************************
Synopsis [Computes truth table of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1314 of file abcSop.c.


| void Abc_SopToTruth7 | ( | char * | pSop, |
| int | nInputs, | ||
| word | r[2] ) |
Function*************************************************************
Synopsis [Computes truth table of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1365 of file abcSop.c.


Function*************************************************************
Synopsis [Computes truth table of the node.]
Description []
SideEffects []
SeeAlso []
Definition at line 1425 of file abcSop.c.

