NEXT (TLM POWER 3 library for SystemC: SRAM example)
Power Modelling using SystemC
TLM POWER2 library release:
- Deals with power `modes' and `phases' of subsystems,
- Was difficult to integrate with loosely-timed modelling,
- Could not record energy consuming events, such as individual bus transactions,
- Power consumption for a component read from a table that must always be manually created.
Cambridge TLM POWER 3 library for SystemC:
- Supports power and energy equally well, with power calculations being accurate at the end of each LT quantum.
- Requires each component to inherit the prazor base class (current implementation),
- Enables physical size of components to be logged (e.g. as a basis for nominal place and route),
- Supports X-Y co-ordinates to be allocated to each component (a concrete layout),
- Wiring distances can be estimated using Rent's rule OR measured from X-Y coordinates if placed,
- Power/energy consumption for a component can depend on constructor args (e.g. memory size, bus width).
- Counts bit flips in generic payload and multiplies by length of the bus.
- A 'recompute_pvt' method of each module is called when supply voltage (or temperature etc) is changed.