Commit 2fe17c1f by Alan Mishchenko

Word-level abstraction.

parent 32712ec9
...@@ -67,8 +67,8 @@ extern int Gia_ManCallSatokoOne( Gia_Man_t * p, satoko_opts_t * opts, int iOutpu ...@@ -67,8 +67,8 @@ extern int Gia_ManCallSatokoOne( Gia_Man_t * p, satoko_opts_t * opts, int iOutpu
void Cmd_RunAutoTunerPrintOptions( satoko_opts_t * pOpts ) void Cmd_RunAutoTunerPrintOptions( satoko_opts_t * pOpts )
{ {
printf( "-C %d ", (int)pOpts->conf_limit ); printf( "-C %d ", (int)pOpts->conf_limit );
printf( "-V %.3f ", pOpts->var_decay ); printf( "-V %.3f ", (float)pOpts->var_decay );
printf( "-W %.3f ", pOpts->clause_decay ); printf( "-W %.3f ", (float)pOpts->clause_decay );
if ( pOpts->verbose ) if ( pOpts->verbose )
printf( "-v" ); printf( "-v" );
printf( "\n" ); printf( "\n" );
......
...@@ -218,8 +218,8 @@ Vec_Int_t * Wlc_NtkGetPut( Abc_Ntk_t * pNtk, Gia_Man_t * pGia ) ...@@ -218,8 +218,8 @@ Vec_Int_t * Wlc_NtkGetPut( Abc_Ntk_t * pNtk, Gia_Man_t * pGia )
pName = Abc_ObjName(pFanin); pName = Abc_ObjName(pFanin);
if ( pNames ) if ( pNames )
{ {
Value = Abc_NamStrFind(pNames, pName) - 1; Value = Abc_NamStrFind(pNames, pName) - 1 - Gia_ManPiNum(pGia);
if ( Value == -1 ) if ( Value < 0 )
{ {
if ( Counter++ == 0 ) if ( Counter++ == 0 )
printf( "Cannot read input name \"%s\" of fanin %d.\n", pName, i ); printf( "Cannot read input name \"%s\" of fanin %d.\n", pName, i );
......
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