Commit aba8ff4b by Alan Mishchenko

Modifying parameter limits to allow mapping into 2-LUTs.

parent abefcf8f
...@@ -3215,7 +3215,7 @@ int Abc_CommandRenode( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -3215,7 +3215,7 @@ int Abc_CommandRenode( Abc_Frame_t * pAbc, int argc, char ** argv )
return 1; return 1;
} }
if ( nLutSize < 3 || nLutSize > IF_MAX_FUNC_LUTSIZE ) if ( nLutSize < 2 || nLutSize > IF_MAX_FUNC_LUTSIZE )
{ {
Abc_Print( -1, "Incorrect LUT size (%d).\n", nLutSize ); Abc_Print( -1, "Incorrect LUT size (%d).\n", nLutSize );
return 1; return 1;
...@@ -14758,7 +14758,7 @@ int Abc_CommandIf( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -14758,7 +14758,7 @@ int Abc_CommandIf( Abc_Frame_t * pAbc, int argc, char ** argv )
// pPars->fTruth = 1; // pPars->fTruth = 1;
} }
if ( pPars->nLutSize < 3 || pPars->nLutSize > IF_MAX_LUTSIZE ) if ( pPars->nLutSize < 2 || pPars->nLutSize > IF_MAX_LUTSIZE )
{ {
Abc_Print( -1, "Incorrect LUT size (%d).\n", pPars->nLutSize ); Abc_Print( -1, "Incorrect LUT size (%d).\n", pPars->nLutSize );
return 1; return 1;
...@@ -27030,7 +27030,7 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -27030,7 +27030,7 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv )
// pPars->fTruth = 1; // pPars->fTruth = 1;
} }
if ( pPars->nLutSize < 3 || pPars->nLutSize > IF_MAX_LUTSIZE ) if ( pPars->nLutSize < 2 || pPars->nLutSize > IF_MAX_LUTSIZE )
{ {
Abc_Print( -1, "Incorrect LUT size (%d).\n", pPars->nLutSize ); Abc_Print( -1, "Incorrect LUT size (%d).\n", pPars->nLutSize );
return 1; return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment