From 3d6eac52abb1fd05a0c954f00dd5b8b855765f6e Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 28 Feb 2014 21:06:21 -0800 Subject: Changes to LUT mappers. --- src/map/if/if.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/map/if/if.h') 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 ); -- cgit v1.2.3