diff options
Diffstat (limited to 'src/map/mio')
-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++ ) { |