Experiments with LUT mapping for small functions.

This commit is contained in:
Alan Mishchenko 2021-08-01 12:14:38 -07:00
parent 4cf906d2fc
commit 03bb1e49bf
1 changed files with 1 additions and 1 deletions

View File

@ -1804,7 +1804,7 @@ static inline word Abc_Tt6Permute_rec( word t, int * pPerm, int nVars )
} }
static inline void Abc_TtPermute( word * p, int * pPerm, int nVars ) static inline void Abc_TtPermute( word * p, int * pPerm, int nVars )
{ {
int v, nWords = Abc_TtWordNum(nVars), Perm[16]; int v, Perm[16];
assert( nVars <= 16 ); assert( nVars <= 16 );
for ( v = 0; v < nVars; v++ ) for ( v = 0; v < nVars; v++ )
Perm[v] = pPerm[v]; Perm[v] = pPerm[v];