diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-02-28 21:06:21 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-02-28 21:06:21 -0800 |
commit | 3d6eac52abb1fd05a0c954f00dd5b8b855765f6e (patch) | |
tree | 87ffc62a7e9ea895d4e2915ef5c7a79117f31502 /src/map/if/if.h | |
parent | de48fd79992a5218c18da8dca62869b865a62f0e (diff) | |
download | abc-3d6eac52abb1fd05a0c954f00dd5b8b855765f6e.tar.gz abc-3d6eac52abb1fd05a0c954f00dd5b8b855765f6e.tar.bz2 abc-3d6eac52abb1fd05a0c954f00dd5b8b855765f6e.zip |
Changes to LUT mappers.
Diffstat (limited to 'src/map/if/if.h')
-rw-r--r-- | src/map/if/if.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/if/if.h b/src/map/if/if.h index 47bd7390..c8b04ef1 100644 --- a/src/map/if/if.h +++ b/src/map/if/if.h @@ -517,12 +517,18 @@ extern int If_CluCheckExt( void * p, word * pTruth, int nVars, int n extern int If_CluCheckExt3( void * p, word * pTruth, int nVars, int nLutLeaf, int nLutLeaf2, int nLutRoot, char * pLut0, char * pLut1, char * pLut2, word * pFunc0, word * pFunc1, word * pFunc2 ); /*=== ifDsd.c =============================================================*/ -extern If_DsdMan_t * If_DsdManAlloc( int nLutSize ); +extern If_DsdMan_t * If_DsdManAlloc( int nVars, int nLutSize ); extern void If_DsdManDump( If_DsdMan_t * p ); extern void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int fVerbose ); extern void If_DsdManFree( If_DsdMan_t * p, int fVerbose ); +extern void If_DsdManSave( If_DsdMan_t * p, char * pFileName ); +extern If_DsdMan_t * If_DsdManLoad( char * pFileName ); extern int If_DsdManCompute( If_DsdMan_t * p, word * pTruth, int nLeaves, unsigned char * pPerm, char * pLutStruct ); +extern char * If_DsdManFileName( If_DsdMan_t * p ); +extern int If_DsdManVarNum( If_DsdMan_t * p ); +extern int If_DsdManLutSize( If_DsdMan_t * p ); extern int If_DsdManCheckDec( If_DsdMan_t * p, int iDsd ); +extern unsigned If_DsdManCheckXY( If_DsdMan_t * p, int iDsd, int LutSize, int fDerive, int fVerbose ); /*=== ifLib.c =============================================================*/ extern If_LibLut_t * If_LibLutRead( char * FileName ); extern If_LibLut_t * If_LibLutDup( If_LibLut_t * p ); |