mirror of https://github.com/YosysHQ/abc.git
Merge pull request #361 from letsintegreat/power-aware
Fix switching bug
This commit is contained in:
commit
ee8e0370d5
|
|
@ -612,7 +612,7 @@ Vec_Int_t * Gia_ManSwiSimulate( Gia_Man_t * pAig, Gia_ParSwi_t * pPars )
|
|||
else if ( pPars->fProbTrans )
|
||||
{
|
||||
Gia_ManForEachObj( pAig, pObj, i )
|
||||
pSwitching[i] = Gia_ManSwiComputeProbOne( p->pData1[i], pPars->nWords*(pPars->nIters-pPars->nPref) );
|
||||
pSwitching[i] = Gia_ManSwiComputeSwitching( p->pData1[i], pPars->nWords*(pPars->nIters-pPars->nPref) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue