diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-10-23 15:14:31 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-10-23 15:14:31 -0700 |
commit | 3712dd30d0e6152e627b487f7f4f5e4e6f6c5afd (patch) | |
tree | 156cf8801b8e1f6d46d180428dcf926316bdb0db /src/map | |
parent | 0f64f3b7abbc2c0e3ea94c27cface77254127234 (diff) | |
download | abc-3712dd30d0e6152e627b487f7f4f5e4e6f6c5afd.tar.gz abc-3712dd30d0e6152e627b487f7f4f5e4e6f6c5afd.tar.bz2 abc-3712dd30d0e6152e627b487f7f4f5e4e6f6c5afd.zip |
Changes for delay-oriented computation.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/mio/mio.h | 5 | ||||
-rw-r--r-- | src/map/mio/mioUtils.c | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/map/mio/mio.h b/src/map/mio/mio.h index ef1f4258..e6ee53ac 100644 --- a/src/map/mio/mio.h +++ b/src/map/mio/mio.h @@ -65,10 +65,11 @@ struct Mio_Cell2_t_ word uTruth; // truth table word DelayAve; // average delay word Delays[6]; // delay + void * pMioGate; // gate pointer }; -#define MIO_NUM 1000000 -#define MIO_NUMINV 0.000001 +#define MIO_NUM 1000 +#define MIO_NUMINV 0.001 //////////////////////////////////////////////////////////////////////// /// GLOBAL VARIABLES /// diff --git a/src/map/mio/mioUtils.c b/src/map/mio/mioUtils.c index bb24c7c8..71fa3acc 100644 --- a/src/map/mio/mioUtils.c +++ b/src/map/mio/mioUtils.c @@ -635,6 +635,7 @@ static inline void Mio_CollectCopy2( Mio_Cell2_t * pCell, Mio_Gate_t * pGate ) pCell->uTruth = pGate->uTruth; pCell->Area = (word)(MIO_NUM * pGate->dArea); pCell->nFanins = pGate->nInputs; + pCell->pMioGate = pGate; pCell->DelayAve = 0; for ( k = 0, pPin = pGate->pPins; pPin; pPin = pPin->pNext, k++ ) { |