mirror of https://github.com/YosysHQ/abc.git
Compiler warnings.
This commit is contained in:
parent
df0f8ad540
commit
97b52a6a6d
|
|
@ -1495,7 +1495,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
|
||||||
Vec_Int_t * vPiVars = NULL, * vPoVars = NULL;
|
Vec_Int_t * vPiVars = NULL, * vPoVars = NULL;
|
||||||
sat_solver * pSat = NULL;
|
sat_solver * pSat = NULL;
|
||||||
Ifn_Ntk_t * pNtkCell = NULL;
|
Ifn_Ntk_t * pNtkCell = NULL;
|
||||||
int i, k, nLutMax, Entry;
|
int i, k, nLutMax = -1, Entry;
|
||||||
assert( !pIfMan->pPars->fDeriveLuts || pIfMan->pPars->fTruth );
|
assert( !pIfMan->pPars->fDeriveLuts || pIfMan->pPars->fTruth );
|
||||||
// if ( pIfMan->pPars->fEnableCheck07 )
|
// if ( pIfMan->pPars->fEnableCheck07 )
|
||||||
// pIfMan->pPars->fDeriveLuts = 0;
|
// pIfMan->pPars->fDeriveLuts = 0;
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@ int Extra_ThreshSelectWeights( word * t, int nVars, int * pW )
|
||||||
}
|
}
|
||||||
int Extra_ThreshCheck( word * t, int nVars, int * pW )
|
int Extra_ThreshCheck( word * t, int nVars, int * pW )
|
||||||
{
|
{
|
||||||
int Chow[16], Chow0, nMints = (1 << nVars);
|
int Chow0, Chow[16];
|
||||||
if ( !Abc_TtIsUnate(t, nVars) )
|
if ( !Abc_TtIsUnate(t, nVars) )
|
||||||
return 0;
|
return 0;
|
||||||
Abc_TtMakePosUnate( t, nVars );
|
Abc_TtMakePosUnate( t, nVars );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue