From c158dd5a94294e297bd8561b72897bcfb53f03f9 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 5 Jan 2016 16:40:00 -0800 Subject: Migrating to using 32-bit timing representation in &nf. --- src/opt/sfm/sfmLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/opt') diff --git a/src/opt/sfm/sfmLib.c b/src/opt/sfm/sfmLib.c index 1dffb164..0bf7c4a0 100644 --- a/src/opt/sfm/sfmLib.c +++ b/src/opt/sfm/sfmLib.c @@ -290,14 +290,14 @@ void Sfm_LibTruth8Two( Mio_Cell2_t * pCellBot, Mio_Cell2_t * pCellTop, int InTop ***********************************************************************/ void Sfm_LibCellProfile( Mio_Cell2_t * pCellBot, Mio_Cell2_t * pCellTop, int InTop, int nFanins, int * Perm, int * pProf ) { - int i, DelayAdd = (int)(pCellTop ? pCellTop->Delays[InTop] : 0); + int i, DelayAdd = pCellTop ? pCellTop->iDelays[InTop] : 0; for ( i = 0; i < nFanins; i++ ) if ( Perm[i] < (int)pCellBot->nFanins ) - pProf[i] = (int)pCellBot->Delays[Perm[i]] + DelayAdd; + pProf[i] = pCellBot->iDelays[Perm[i]] + DelayAdd; else if ( Perm[i] < (int)pCellBot->nFanins + InTop ) - pProf[i] = (int)pCellTop->Delays[Perm[i] - (int)pCellBot->nFanins]; + pProf[i] = pCellTop->iDelays[Perm[i] - (int)pCellBot->nFanins]; else // if ( Perm[i] >= (int)pCellBot->nFanins + InTop ) - pProf[i] = (int)pCellTop->Delays[Perm[i] - (int)pCellBot->nFanins + 1]; + pProf[i] = pCellTop->iDelays[Perm[i] - (int)pCellBot->nFanins + 1]; } static inline int Sfm_LibNewIsContained( Sfm_Fun_t * pObj, int * pProf, int Area, int * pProfNew, int nFanins ) { -- cgit v1.2.3