abc-master
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "misc/vec/vec.h"
#include "misc/vec/vecHsh.h"
#include "misc/extra/extra.h"
#include "bool/kit/kit.h"
#include "misc/util/utilTruth.h"
Go to the source code of this file.
Data Structures | |
struct | Ifd_Obj_t_ |
struct | Ifd_Man_t_ |
Macros | |
#define | Ifd_ManForEachNodeWithSupp(p, nVars, pLeaf, i) for ( i = Vec_IntEntry(p->vMarks, nVars); (i < Vec_IntEntry(p->vMarks, nVars+1)) && (pLeaf = Ifd_ManObj(p, i)); i++ ) |
#define | IFM_MAX_STR 100 |
#define | IFM_MAX_VAR 16 |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Ifd_Obj_t_ | Ifd_Obj_t |
DECLARATIONS ///. More... | |
typedef struct Ifd_Man_t_ | Ifd_Man_t |
#define Ifd_ManForEachNodeWithSupp | ( | p, | |
nVars, | |||
pLeaf, | |||
i | |||
) | for ( i = Vec_IntEntry(p->vMarks, nVars); (i < Vec_IntEntry(p->vMarks, nVars+1)) && (pLeaf = Ifd_ManObj(p, i)); i++ ) |
typedef struct Ifd_Man_t_ Ifd_Man_t |
typedef typedefABC_NAMESPACE_IMPL_START struct Ifd_Obj_t_ Ifd_Obj_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [mpmPre.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Configurable technology mapper.]
Synopsis [DSD-related precomputations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 1, 2013.]
Revision [
]
Definition at line 835 of file mpmPre.c.
Definition at line 802 of file mpmPre.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 775 of file mpmPre.c.
void Ifd_ComputeSignature | ( | word | uTruth, |
int | pCounts[6] | ||
) |
|
inlinestatic |
Definition at line 77 of file mpmPre.c.
|
inlinestatic |
Definition at line 76 of file mpmPre.c.
Vec_Int_t* Ifd_ManDsdPermJT | ( | int | n | ) |
Definition at line 713 of file mpmPre.c.
void Ifd_ManDsdPermPrint | ( | int * | perm, |
int | size | ||
) |
Function*************************************************************
Synopsis [Generating the guided array for minimal permutations.]
Description [http://icodesnip.com/search/johnson%20trotter/]
SideEffects []
SeeAlso []
Definition at line 706 of file mpmPre.c.
int Ifd_ManDsdTest | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 929 of file mpmPre.c.
void Ifd_ManDsdTest2 | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 608 of file mpmPre.c.
int Ifd_ManDsdTest33 | ( | ) |
Definition at line 897 of file mpmPre.c.
int Ifd_ManDsdTest4 | ( | ) |
Definition at line 749 of file mpmPre.c.
int Ifd_ManDsdTest55 | ( | ) |
Definition at line 995 of file mpmPre.c.
Vec_Wrd_t* Ifd_ManDsdTruths | ( | int | nVars | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 631 of file mpmPre.c.
int Ifd_ManFindDsd | ( | Ifd_Man_t * | pMan, |
char * | p | ||
) |
Definition at line 583 of file mpmPre.c.
int Ifd_ManFindDsd_rec | ( | Ifd_Man_t * | pMan, |
char * | pStr, | ||
char ** | p, | ||
int * | pMatches | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 510 of file mpmPre.c.
int Ifd_ManHashFindOrAdd | ( | Ifd_Man_t * | p, |
int | iDsd0, | ||
int | iDsd1, | ||
int | iDsdC, | ||
int | Type | ||
) |
Definition at line 381 of file mpmPre.c.
void Ifd_ManHashInsert | ( | Ifd_Man_t * | p, |
int | iDsd0, | ||
int | iDsd1, | ||
int | iDsdC, | ||
int | Type, | ||
int | Res | ||
) |
int Ifd_ManHashLookup | ( | Ifd_Man_t * | p, |
int | iDsd0, | ||
int | iDsd1, | ||
int | iDsdC, | ||
int | Type | ||
) |
Function*************************************************************
Synopsis [Canonicizing DSD structures.]
Description []
SideEffects []
SeeAlso []
Definition at line 356 of file mpmPre.c.
int Ifd_ManOper | ( | Ifd_Man_t * | p, |
int | iDsd0, | ||
int | iDsd1, | ||
int | iDsdC, | ||
int | Type | ||
) |
Definition at line 439 of file mpmPre.c.
Definition at line 428 of file mpmPre.c.
void Ifd_ManPrint | ( | Ifd_Man_t * | p | ) |
Definition at line 191 of file mpmPre.c.
Ifd_Man_t* Ifd_ManStart | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 98 of file mpmPre.c.
void Ifd_ManStop | ( | Ifd_Man_t * | p | ) |
Definition at line 122 of file mpmPre.c.
void Ifd_ObjPrint | ( | Ifd_Man_t * | p, |
int | iLit | ||
) |
Definition at line 172 of file mpmPre.c.
void Ifd_ObjPrint_rec | ( | Ifd_Man_t * | p, |
int | iLit, | ||
int * | pCounter, | ||
int | DiffType | ||
) |
Function*************************************************************
Synopsis [Printing structures.]
Description []
SideEffects []
SeeAlso []
Definition at line 154 of file mpmPre.c.
Definition at line 257 of file mpmPre.c.
Function*************************************************************
Synopsis [Computing truth tables.]
Description []
SideEffects []
SeeAlso []
Definition at line 221 of file mpmPre.c.
void Mpm_ComputeCnfSizeAll | ( | Ifd_Man_t * | p | ) |
Definition at line 332 of file mpmPre.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 293 of file mpmPre.c.