#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "misc/vec/vec.h"#include "misc/vec/vecHsh.h"#include "bool/kit/kit.h"#include "misc/extra/extra.h"
Go to the source code of this file.
Classes | |
| struct | Tab_Man_t_ |
| struct | Tab_Ent_t_ |
Macros | |
| #define | ABC_PRIME_MASK 0xFF |
| #define | TAB_UNUSED 0xFFFF |
| #define | Tab_ManForEachCube(p, pCube, c) |
| #define | Tab_ManForEachCubeReverse(p, pCube, c) |
Typedefs | |
| typedef struct Tab_Ent_t_ | Tab_Ent_t |
Functions | |
| ABC_NAMESPACE_IMPL_START void | Abc_GenCountDump (Vec_Int_t *vPrimes, int nVars, char *pFileName) |
| DECLARATIONS ///. | |
| void | Abc_GenCountHits1 (Vec_Bit_t *vMap, Vec_Int_t *vPrimes, int nVars) |
| Vec_Int_t * | Abc_GenPrimes (int nVars) |
| void | Abc_GenPrimesTest () |
| Tab_Man_t * | Tab_ManAlloc (int nVars, int nCubes) |
| void | Tab_ManFree (Tab_Man_t *p) |
| void | Tab_ManStart (Tab_Man_t *p, Vec_Int_t *vCubes) |
| int | Tab_ManCubeFree (int *pCube1, int *pCube2, Vec_Int_t *vCubeFree) |
| int | Tab_ManCheckEqual2 (int *pCube1, int *pCube2, int Var1, int Var2) |
| int | Tab_ManCheckEqual (int *pCube1, int *pCube2, int Var1, int Var2) |
| int | Tab_ManCountItems (Tab_Man_t *p, int Dist2, Vec_Int_t **pvStarts) |
| Vec_Int_t * | Tab_ManCollectDist1 (Tab_Man_t *p, int Dist2) |
| void | Tab_DecomposeTest () |
| #define ABC_PRIME_MASK 0xFF |
Definition at line 128 of file extraUtilPrime.c.
| #define Tab_ManForEachCube | ( | p, | |
| pCube, | |||
| c ) |
Definition at line 280 of file extraUtilPrime.c.
| #define Tab_ManForEachCubeReverse | ( | p, | |
| pCube, | |||
| c ) |
Definition at line 284 of file extraUtilPrime.c.
| #define TAB_UNUSED 0xFFFF |
Definition at line 167 of file extraUtilPrime.c.
| typedef struct Tab_Ent_t_ Tab_Ent_t |
Definition at line 170 of file extraUtilPrime.c.
| ABC_NAMESPACE_IMPL_START void Abc_GenCountDump | ( | Vec_Int_t * | vPrimes, |
| int | nVars, | ||
| char * | pFileName ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [extraUtilPrime.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [extra]
Synopsis [Function enumeration.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
] FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 51 of file extraUtilPrime.c.


Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 78 of file extraUtilPrime.c.

| Vec_Int_t * Abc_GenPrimes | ( | int | nVars | ) |
Definition at line 94 of file extraUtilPrime.c.


| void Abc_GenPrimesTest | ( | ) |
Definition at line 113 of file extraUtilPrime.c.

| void Tab_DecomposeTest | ( | ) |
Function*************************************************************
Synopsis [Table decomposition.]
Description []
SideEffects []
SeeAlso []
Definition at line 578 of file extraUtilPrime.c.

| Tab_Man_t * Tab_ManAlloc | ( | int | nVars, |
| int | nCubes ) |
Function*************************************************************
Synopsis [Manager manipulation.]
Description []
SideEffects []
SeeAlso []
Definition at line 300 of file extraUtilPrime.c.

| int Tab_ManCheckEqual | ( | int * | pCube1, |
| int * | pCube2, | ||
| int | Var1, | ||
| int | Var2 ) |
Definition at line 397 of file extraUtilPrime.c.

| int Tab_ManCheckEqual2 | ( | int * | pCube1, |
| int * | pCube2, | ||
| int | Var1, | ||
| int | Var2 ) |
Definition at line 382 of file extraUtilPrime.c.
Definition at line 446 of file extraUtilPrime.c.


Function*************************************************************
Synopsis [Collecting distance-1 pairs.]
Description []
SideEffects []
SeeAlso []
Definition at line 430 of file extraUtilPrime.c.

| int Tab_ManCubeFree | ( | int * | pCube1, |
| int * | pCube2, | ||
| Vec_Int_t * | vCubeFree ) |
Function*************************************************************
Synopsis [Find a cube-free divisor of the two cubes.]
Description []
SideEffects []
SeeAlso []
Definition at line 348 of file extraUtilPrime.c.
| void Tab_ManFree | ( | Tab_Man_t * | p | ) |