Changes to LUT mappers.

This commit is contained in:
Alan Mishchenko
2014-02-27 21:11:05 -08:00
parent caa2227b11
commit b556c2591e
9 changed files with 398 additions and 36 deletions
+7
View File
@@ -974,6 +974,8 @@ void Abc_Init( Abc_Frame_t * pAbc )
{
// extern void Dau_DsdTest();
// Dau_DsdTest();
// extern void If_ManSatTest();
// If_ManSatTest();
}
if ( Sdm_ManCanRead() )
@@ -2274,7 +2276,12 @@ int Abc_CommandPrintDsd( Abc_Frame_t * pAbc, int argc, char ** argv )
// Extra_PrintBinary( stdout, pTruth, 1 << Abc_ObjFaninNum(pObj) );
// Abc_Print( -1, "\n" );
if ( fPrintDec )//&&Abc_ObjFaninNum(pObj) <= 6 )
{
word * pTruthW = (word *)pTruth;
if ( Abc_ObjFaninNum(pObj) < 6 )
pTruthW[0] = Abc_Tt6Stretch( pTruthW[0], Abc_ObjFaninNum(pObj) );
Dau_DecTrySets( (word *)pTruth, Abc_ObjFaninNum(pObj), 1 );
}
if ( fProfile )
Kit_TruthPrintProfile( pTruth, Abc_ObjFaninNum(pObj) );
else if ( fCofactor )