abc-master
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "misc/vec/vec.h"
#include "misc/vec/vecWec.h"
#include "extra.h"
Go to the source code of this file.
Functions | |
ABC_NAMESPACE_IMPL_START void | Extra_PrintBinary (FILE *pFile, unsigned Sign[], int nBits) |
DECLARATIONS ///. More... | |
static int | Abc_SuppCountOnes (unsigned i) |
FUNCTION DEFINITIONS ///. More... | |
Vec_Wrd_t * | Abc_SuppGen (int m, int n) |
void | Abc_SuppVerify (Vec_Wrd_t *p, word *pMatrix, int nVars, int nVarsMin) |
Vec_Wrd_t * | Abc_SuppGenPairs (Vec_Wrd_t *p, int nBits) |
Vec_Wrd_t * | Abc_SuppGenPairs2 (int nOnes, int nBits) |
void | Abc_SuppPrintMask (word uMask, int nBits) |
void | Abc_SuppGenProfile (Vec_Wrd_t *p, int nBits, int *pCounts) |
void | Abc_SuppPrintProfile (Vec_Wrd_t *p, int nBits) |
int | Abc_SuppGenFindBest (Vec_Wrd_t *p, int nBits, int *pMerit) |
void | Abc_SuppGenSelectVar (Vec_Wrd_t *p, int nBits, int iVar) |
void | Abc_SuppGenFilter (Vec_Wrd_t *p, int nBits) |
word | Abc_SuppFindOne (Vec_Wrd_t *p, int nBits) |
int | Abc_SuppMinimize (word *pMatrix, Vec_Wrd_t *p, int nBits, int fVerbose) |
void | Abc_SuppTest (int nOnes, int nVars, int fUseSimple, int fCheck, int fVerbose) |
Vec_Wrd_t * | Abc_SuppReadMin (char *pFileName, int *pnVars) |
Vec_Wrd_t * | Abc_SuppDiffMatrix (Vec_Wrd_t *vCubes) |
static int | Abc_SuppCountOnes64 (word i) |
int | Abc_SuppFindVar (Vec_Wec_t *pS, Vec_Wec_t *pD, int nVars) |
void | Abc_SuppRemove (Vec_Wrd_t *p, int *pCounts, Vec_Wec_t *pS, Vec_Wec_t *pD, int iVar, int nVars) |
void | Abc_SuppProfile (Vec_Wec_t *pS, Vec_Wec_t *pD, int nVars) |
int | Abc_SuppSolve (Vec_Wrd_t *p, int nVars) |
void | Abc_SuppReadMinTest (char *pFileName) |
|
inlinestatic |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Generate m-out-of-n vectors.]
Description []
SideEffects []
SeeAlso []
Definition at line 53 of file extraUtilSupp.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Solve difference matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 396 of file extraUtilSupp.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 363 of file extraUtilSupp.c.
Definition at line 222 of file extraUtilSupp.c.
Definition at line 403 of file extraUtilSupp.c.
Vec_Wrd_t* Abc_SuppGen | ( | int | m, |
int | n | ||
) |
Definition at line 60 of file extraUtilSupp.c.
void Abc_SuppGenFilter | ( | Vec_Wrd_t * | p, |
int | nBits | ||
) |
Definition at line 213 of file extraUtilSupp.c.
int Abc_SuppGenFindBest | ( | Vec_Wrd_t * | p, |
int | nBits, | ||
int * | pMerit | ||
) |
Definition at line 195 of file extraUtilSupp.c.
Function*************************************************************
Synopsis [Generate pairs.]
Description []
SideEffects []
SeeAlso []
Definition at line 127 of file extraUtilSupp.c.
Vec_Wrd_t* Abc_SuppGenPairs2 | ( | int | nOnes, |
int | nBits | ||
) |
Definition at line 146 of file extraUtilSupp.c.
void Abc_SuppGenProfile | ( | Vec_Wrd_t * | p, |
int | nBits, | ||
int * | pCounts | ||
) |
Definition at line 180 of file extraUtilSupp.c.
void Abc_SuppGenSelectVar | ( | Vec_Wrd_t * | p, |
int | nBits, | ||
int | iVar | ||
) |
Definition at line 205 of file extraUtilSupp.c.
Definition at line 237 of file extraUtilSupp.c.
void Abc_SuppPrintMask | ( | word | uMask, |
int | nBits | ||
) |
Function*************************************************************
Synopsis [Select variable.]
Description []
SideEffects []
SeeAlso []
Definition at line 173 of file extraUtilSupp.c.
void Abc_SuppPrintProfile | ( | Vec_Wrd_t * | p, |
int | nBits | ||
) |
Definition at line 188 of file extraUtilSupp.c.
Definition at line 442 of file extraUtilSupp.c.
Vec_Wrd_t* Abc_SuppReadMin | ( | char * | pFileName, |
int * | pnVars | ||
) |
Function*************************************************************
Synopsis [Reads the input part of the cubes specified in MIN format.]
Description []
SideEffects []
SeeAlso []
Definition at line 304 of file extraUtilSupp.c.
void Abc_SuppReadMinTest | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 504 of file extraUtilSupp.c.
void Abc_SuppRemove | ( | Vec_Wrd_t * | p, |
int * | pCounts, | ||
Vec_Wec_t * | pS, | ||
Vec_Wec_t * | pD, | ||
int | iVar, | ||
int | nVars | ||
) |
Definition at line 415 of file extraUtilSupp.c.
int Abc_SuppSolve | ( | Vec_Wrd_t * | p, |
int | nVars | ||
) |
Definition at line 448 of file extraUtilSupp.c.
void Abc_SuppTest | ( | int | nOnes, |
int | nVars, | ||
int | fUseSimple, | ||
int | fCheck, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Create representation.]
Description []
SideEffects []
SeeAlso []
Definition at line 267 of file extraUtilSupp.c.
Function*************************************************************
Synopsis [Perform verification.]
Description []
SideEffects []
SeeAlso []
Definition at line 81 of file extraUtilSupp.c.
ABC_NAMESPACE_IMPL_START void Extra_PrintBinary | ( | FILE * | pFile, |
unsigned | Sign[], | ||
int | nBits | ||
) |
DECLARATIONS ///.
CFile****************************************************************
FileName [extraUtilSupp.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [extra]
Synopsis [Support minimization.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Function*************************************************************
Synopsis [Prints the bit string.]
Description []
SideEffects []
SeeAlso []
Definition at line 497 of file extraUtilFile.c.