abc-master
|
Go to the source code of this file.
Functions | |
ABC_NAMESPACE_IMPL_START int | Kit_PlaIsConst0 (char *pSop) |
DECLARATIONS ///. More... | |
int | Kit_PlaIsConst1 (char *pSop) |
int | Kit_PlaIsBuf (char *pSop) |
int | Kit_PlaIsInv (char *pSop) |
int | Kit_PlaGetVarNum (char *pSop) |
int | Kit_PlaGetCubeNum (char *pSop) |
int | Kit_PlaIsComplement (char *pSop) |
void | Kit_PlaComplement (char *pSop) |
char * | Kit_PlaStart (void *p, int nCubes, int nVars) |
char * | Kit_PlaCreateFromIsop (void *p, int nVars, Vec_Int_t *vCover) |
void | Kit_PlaToIsop (char *pSop, Vec_Int_t *vCover) |
char * | Kit_PlaStoreSop (void *p, char *pSop) |
char * | Kit_PlaFromTruth (void *p, unsigned *pTruth, int nVars, Vec_Int_t *vCover) |
char * | Kit_PlaFromIsop (Vec_Str_t *vStr, int nVars, Vec_Int_t *vCover) |
char * | Kit_PlaFromTruthNew (unsigned *pTruth, int nVars, Vec_Int_t *vCover, Vec_Str_t *vStr) |
ABC_UINT64_T | Kit_PlaToTruth6 (char *pSop, int nVars) |
void | Kit_PlaToTruth (char *pSop, int nVars, Vec_Ptr_t *vVars, unsigned *pTemp, unsigned *pTruth) |
void Kit_PlaComplement | ( | char * | pSop | ) |
char* Kit_PlaCreateFromIsop | ( | void * | p, |
int | nVars, | ||
Vec_Int_t * | vCover | ||
) |
Function*************************************************************
Synopsis [Creates the cover from the ISOP computed from TT.]
Description []
SideEffects []
SeeAlso []
Definition at line 243 of file kitPla.c.
Function*************************************************************
Synopsis [Creates the cover from the ISOP computed from TT.]
Description []
SideEffects []
SeeAlso []
Definition at line 366 of file kitPla.c.
char* Kit_PlaFromTruth | ( | void * | p, |
unsigned * | pTruth, | ||
int | nVars, | ||
Vec_Int_t * | vCover | ||
) |
Function*************************************************************
Synopsis [Transforms truth table into the SOP.]
Description []
SideEffects []
SeeAlso []
Definition at line 337 of file kitPla.c.
Function*************************************************************
Synopsis [Creates the SOP from TT.]
Description []
SideEffects []
SeeAlso []
Definition at line 406 of file kitPla.c.
int Kit_PlaGetCubeNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of cubes in the cover.]
Description []
SideEffects []
SeeAlso []
int Kit_PlaGetVarNum | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Reads the number of variables in the cover.]
Description []
SideEffects []
SeeAlso []
int Kit_PlaIsBuf | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is a buffer.]
Description []
SideEffects []
SeeAlso []
int Kit_PlaIsComplement | ( | char * | pSop | ) |
ABC_NAMESPACE_IMPL_START int Kit_PlaIsConst0 | ( | char * | pSop | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [kitPla.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Computation kit.]
Synopsis [Manipulating SOP in the form of a C-string.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - Dec 6, 2006.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Checks if the cover is constant 0.]
Description []
SideEffects []
SeeAlso []
int Kit_PlaIsConst1 | ( | char * | pSop | ) |
int Kit_PlaIsInv | ( | char * | pSop | ) |
Function*************************************************************
Synopsis [Checks if the cover is an inverter.]
Description []
SideEffects []
SeeAlso []
char* Kit_PlaStart | ( | void * | p, |
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 211 of file kitPla.c.
char* Kit_PlaStoreSop | ( | void * | p, |
char * | pSop | ||
) |
Function*************************************************************
Synopsis [Allocates memory and copies the SOP into it.]
Description []
SideEffects []
SeeAlso []
Definition at line 317 of file kitPla.c.
void Kit_PlaToIsop | ( | char * | pSop, |
Vec_Int_t * | vCover | ||
) |
void Kit_PlaToTruth | ( | char * | pSop, |
int | nVars, | ||
Vec_Ptr_t * | vVars, | ||
unsigned * | pTemp, | ||
unsigned * | pTruth | ||
) |
Fnction*************************************************************
Synopsis [Converting SOP into a truth table.]
Description [The SOP is represented as a C-string, as documented in file "bblif.h". The truth table is returned as a bit-string composed of 2^nVars bits. For functions of less than 6 variables, the full machine word is returned. (The truth table looks as if the function had 5 variables.) The use of this procedure should be limited to Boolean functions with no more than 16 inputs.]
SideEffects []
SeeAlso []
Definition at line 496 of file kitPla.c.