diff options
| -rw-r--r-- | src/base/abci/abc.c | 3 | ||||
| -rw-r--r-- | src/map/if/ifTune.c | 3 | 
2 files changed, 4 insertions, 2 deletions
| diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index bcbcd045..e91670f5 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -29234,6 +29234,7 @@ int Abc_CommandAbc9Synch2( Abc_Frame_t * pAbc, int argc, char ** argv )      int nRelaxRatio = 20;      // set defaults      Dch_ManSetDefaultParams( pPars ); +    pPars->nBTLimit = 100;      Extra_UtilGetoptReset();      while ( ( c = Extra_UtilGetopt( argc, argv, "WCSKRfvh" ) ) != EOF )      { @@ -31259,7 +31260,7 @@ usage:      Abc_Print( -2, "\t-s     : toggle using sequential verification [default = %s]\n",  fSeq? "yes":"no");      Abc_Print( -2, "\t-v     : toggle verbose output [default = %s]\n",                 fVerbose? "yes":"no");      Abc_Print( -2, "\t-h     : print the command usage\n"); -    Abc_Print( -2, "\t<file> : optional file name with the spec [default = not used\n" ); +    Abc_Print( -2, "\t<file> : optional file name with the spec [default = not used]\n" );      return 1;  } diff --git a/src/map/if/ifTune.c b/src/map/if/ifTune.c index bde72059..d1ed7abd 100644 --- a/src/map/if/ifTune.c +++ b/src/map/if/ifTune.c @@ -73,7 +73,7 @@ struct Ifn_Ntk_t_      int                    nObjs;             // objects      Ifn_Obj_t              Nodes[2*IFN_INS];  // nodes      // constraints -    int                    pConstr[IFN_INS];  // constraint pairs +    int                    pConstr[IFN_INS*IFN_INS];  // constraint pairs      int                    nConstr;           // number of pairs      // user data      int                    nVars;             // variables @@ -429,6 +429,7 @@ void Ifn_NtkParseConstraints( char * pStr, Ifn_Ntk_t * p )          for ( k = 0; pStr[k]; k++ )              if ( pStr[k] == 'A' + i && pStr[k-1] == ';' )              { +                assert( p->nConstr < IFN_INS*IFN_INS );                  p->pConstr[p->nConstr++] = ((int)(pStr[k] - 'A') << 16) | (int)(pStr[k+1] - 'A');  //                printf( "Added constraint (%c < %c)\n", pStr[k], pStr[k+1] );              } | 
