Commit f6eb5262 by Alan Mishchenko

Experiments with mapping.

parent c26f7cf3
...@@ -952,7 +952,7 @@ void Kf_ManComputeMapping( Kf_Man_t * p ) ...@@ -952,7 +952,7 @@ void Kf_ManComputeMapping( Kf_Man_t * p )
if ( p->pPars->fVerbose ) if ( p->pPars->fVerbose )
{ {
printf( "Aig: CI = %d CO = %d AND = %d ", Gia_ManCiNum(p->pGia), Gia_ManCoNum(p->pGia), Gia_ManAndNum(p->pGia) ); printf( "Aig: CI = %d CO = %d AND = %d ", Gia_ManCiNum(p->pGia), Gia_ManCoNum(p->pGia), Gia_ManAndNum(p->pGia) );
printf( "LutSize = %d CutMax = %d Hash = %d\n", p->pPars->nLutSize, p->pPars->nCutNum, p->pPars->fCutHashing ); printf( "LutSize = %d CutMax = %d Threads = %d\n", p->pPars->nLutSize, p->pPars->nCutNum, p->pPars->nProcNum );
printf( "Computing cuts...\r" ); printf( "Computing cuts...\r" );
fflush( stdout ); fflush( stdout );
} }
......
...@@ -30407,9 +30407,9 @@ int Abc_CommandAbc9Kf( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -30407,9 +30407,9 @@ int Abc_CommandAbc9Kf( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print( -1, "Command line switch \"-P\" should be followed by a positive integer.\n" ); Abc_Print( -1, "Command line switch \"-P\" should be followed by a positive integer.\n" );
goto usage; goto usage;
} }
pPars->nProcNumMax = atoi(argv[globalUtilOptind]); pPars->nProcNum = atoi(argv[globalUtilOptind]);
globalUtilOptind++; globalUtilOptind++;
if ( pPars->nProcNumMax < 0 ) if ( pPars->nProcNum < 0 )
goto usage; goto usage;
break; break;
case 'R': case 'R':
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