abc-master
|
#include "fxuInt.h"
Go to the source code of this file.
Macros | |
#define | MAX_PRIMES 304 |
DECLARATIONS ///. More... | |
Functions | |
void | Fxu_PairCanonicize (Fxu_Cube **ppCube1, Fxu_Cube **ppCube2) |
FUNCTION DEFINITIONS ///. More... | |
void | Fxu_PairCanonicize2 (Fxu_Cube **ppCube1, Fxu_Cube **ppCube2) |
unsigned | Fxu_PairHashKeyArray (Fxu_Matrix *p, int piVarsC1[], int piVarsC2[], int nVarsC1, int nVarsC2) |
unsigned | Fxu_PairHashKey (Fxu_Matrix *p, Fxu_Cube *pCube1, Fxu_Cube *pCube2, int *pnBase, int *pnLits1, int *pnLits2) |
int | Fxu_PairCompare (Fxu_Pair *pPair1, Fxu_Pair *pPair2) |
void | Fxu_PairAllocStorage (Fxu_Var *pVar, int nCubes) |
void | Fxu_PairClearStorage (Fxu_Cube *pCube) |
void | Fxu_PairFreeStorage (Fxu_Var *pVar) |
Fxu_Pair * | Fxu_PairAlloc (Fxu_Matrix *p, Fxu_Cube *pCube1, Fxu_Cube *pCube2) |
void | Fxu_PairAdd (Fxu_Pair *pPair) |
Variables | |
static int | s_Primes [MAX_PRIMES] |
#define MAX_PRIMES 304 |
DECLARATIONS ///.
CFile****************************************************************
FileName [fxuPair.c]
PackageName [MVSIS 2.0: Multi-valued logic synthesis system.]
Synopsis [Operations on cube pairs.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - February 1, 2003.]
Revision [
]
void Fxu_PairAdd | ( | Fxu_Pair * | pPair | ) |
Function*************************************************************
Synopsis [Adds the pair to storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 543 of file fxuPair.c.
Fxu_Pair* Fxu_PairAlloc | ( | Fxu_Matrix * | p, |
Fxu_Cube * | pCube1, | ||
Fxu_Cube * | pCube2 | ||
) |
Function*************************************************************
Synopsis [Adds the pair to storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 519 of file fxuPair.c.
void Fxu_PairAllocStorage | ( | Fxu_Var * | pVar, |
int | nCubes | ||
) |
Function*************************************************************
Synopsis [Allocates the storage for cubes pairs.]
Description []
SideEffects []
SeeAlso []
Definition at line 452 of file fxuPair.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Find the canonical permutation of two cubes in the pair.]
Description []
SideEffects []
SeeAlso []
Definition at line 75 of file fxuPair.c.
Function*************************************************************
Synopsis [Find the canonical permutation of two cubes in the pair.]
Description []
SideEffects []
SeeAlso []
Definition at line 114 of file fxuPair.c.
void Fxu_PairClearStorage | ( | Fxu_Cube * | pCube | ) |
Function*************************************************************
Synopsis [Clears all pairs associated with this cube.]
Description []
SideEffects []
SeeAlso []
Definition at line 476 of file fxuPair.c.
Function*************************************************************
Synopsis [Compares the two pairs.]
Description [Returns 1 if the divisors represented by these pairs are equal.]
SideEffects []
SeeAlso []
Definition at line 236 of file fxuPair.c.
void Fxu_PairFreeStorage | ( | Fxu_Var * | pVar | ) |
unsigned Fxu_PairHashKey | ( | Fxu_Matrix * | p, |
Fxu_Cube * | pCube1, | ||
Fxu_Cube * | pCube2, | ||
int * | pnBase, | ||
int * | pnLits1, | ||
int * | pnLits2 | ||
) |
Function*************************************************************
Synopsis [Computes the hash key of the divisor represented by the pair of cubes.]
Description [Goes through the variables in both cubes. Skips the identical ones (this corresponds to making the cubes cube-free). Computes the hash value of the cubes. Assigns the number of literals in the base and in the cubes without base.]
SideEffects []
SeeAlso []
Definition at line 164 of file fxuPair.c.
unsigned Fxu_PairHashKeyArray | ( | Fxu_Matrix * | p, |
int | piVarsC1[], | ||
int | piVarsC2[], | ||
int | nVarsC1, | ||
int | nVarsC2 | ||
) |
|
static |