Another variation on exact synthesis.

This commit is contained in:
Alan Mishchenko
2017-10-11 18:07:35 +07:00
parent f97b8d2882
commit 711ea3dfec
3 changed files with 435 additions and 2 deletions
+1 -1
View File
@@ -1063,7 +1063,7 @@ static inline int Abc_TtReadHex( word * pTruth, char * pString )
}
}
// determine the number of variables
nVars = 2 + Abc_Base2Log( nDigits );
nVars = 2 + (nDigits == 1 ? 0 : Abc_Base2Log(nDigits));
// clean storage
for ( k = Abc_TtWordNum(nVars) - 1; k >= 0; k-- )
pTruth[k] = 0;