#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.
Classes | |
| struct | Ifd_Obj_t_ |
| struct | Ifd_Man_t_ |
Macros | |
| #define | Ifd_ManForEachNodeWithSupp(p, nVars, pLeaf, 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 ///. | |
| typedef struct Ifd_Man_t_ | Ifd_Man_t |
Functions | |
| Ifd_Man_t * | Ifd_ManStart () |
| FUNCTION DEFINITIONS ///. | |
| void | Ifd_ManStop (Ifd_Man_t *p) |
| void | Ifd_ObjPrint_rec (Ifd_Man_t *p, int iLit, int *pCounter, int DiffType) |
| void | Ifd_ObjPrint (Ifd_Man_t *p, int iLit) |
| void | Ifd_ManPrint2 (Ifd_Man_t *p) |
| void | Ifd_ManPrint (Ifd_Man_t *p) |
| word | Ifd_ObjTruth_rec (Ifd_Man_t *p, int iLit, int *pCounter) |
| word | Ifd_ObjTruth (Ifd_Man_t *p, int iLit) |
| void | Ifd_ManTruthAll (Ifd_Man_t *p) |
| int | Mpm_ComputeCnfSizeOne (word Truth, int nVars, Vec_Int_t *vCover, Vec_Str_t *vCnf) |
| void | Mpm_ComputeCnfSizeAll (Ifd_Man_t *p) |
| int | Ifd_ManHashLookup (Ifd_Man_t *p, int iDsd0, int iDsd1, int iDsdC, int Type) |
| void | Ifd_ManHashInsert (Ifd_Man_t *p, int iDsd0, int iDsd1, int iDsdC, int Type, int Res) |
| int | Ifd_ManHashFindOrAdd (Ifd_Man_t *p, int iDsd0, int iDsd1, int iDsdC, int Type) |
| void | Ifd_ManOperSuper_rec (Ifd_Man_t *p, int iLit, int Type, Vec_Int_t *vObjs) |
| int | Ifd_ManOper (Ifd_Man_t *p, int iDsd0, int iDsd1, int iDsdC, int Type) |
| int | Ifd_ManFindDsd_rec (Ifd_Man_t *pMan, char *pStr, char **p, int *pMatches) |
| int * | Ifd_ManComputeMatches (char *p) |
| int | Ifd_ManFindDsd (Ifd_Man_t *pMan, char *p) |
| void | Ifd_ManDsdTest2 () |
| Vec_Wrd_t * | Ifd_ManDsdTruths (int nVars) |
| void | Ifd_ManDsdPermPrint (int *perm, int size) |
| Vec_Int_t * | Ifd_ManDsdPermJT (int n) |
| int | Ifd_ManDsdTest4 () |
| Vec_Wrd_t * | Extra_Truth6AllConfigs2 (word t, int *pComp, int *pPerm, int nVars) |
| Vec_Wrd_t * | Extra_Truth6AllConfigs (word t, int *pComp, int *pPerm, int nVars) |
| void | Ifd_ComputeSignature (word uTruth, int pCounts[6]) |
| int | Ifd_ManDsdTest33 () |
| int | Ifd_ManDsdTest () |
| int | Ifd_ManDsdTest55 () |
| #define Ifd_ManForEachNodeWithSupp | ( | p, | |
| nVars, | |||
| pLeaf, | |||
| i ) |
Definition at line 79 of file mpmPre.c.
| 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.

| void Ifd_ComputeSignature | ( | word | uTruth, |
| int | pCounts[6] ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 882 of file mpmPre.c.

| int * Ifd_ManComputeMatches | ( | char * | p | ) |
| 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 []
| int Ifd_ManOper | ( | Ifd_Man_t * | p, |
| int | iDsd0, | ||
| int | iDsd1, | ||
| int | iDsdC, | ||
| int | Type ) |
Definition at line 439 of file mpmPre.c.


| void Ifd_ManPrint | ( | Ifd_Man_t * | p | ) |
Definition at line 191 of file mpmPre.c.

| void Ifd_ManPrint2 | ( | Ifd_Man_t * | p | ) |
| 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_ManTruthAll | ( | Ifd_Man_t * | p | ) |
Definition at line 268 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.


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.

