Go to the documentation of this file.
43 #ifndef __MEM_DRAM_POWER_HH__
44 #define __MEM_DRAM_POWER_HH__
46 #include "libdrampower/LibDRAMPower.h"
47 #include "params/DRAMInterface.hh"
63 const DRAMInterfaceParams*
p);
80 static uint8_t
getDataRate(
const DRAMInterfaceParams*
p);
85 static bool hasTwoVDD(
const DRAMInterfaceParams*
p);
90 static Data::MemorySpecification
getMemSpec(
const DRAMInterfaceParams*
p);
97 DRAMPower(
const DRAMInterfaceParams*
p,
bool include_io);
101 #endif //__MEM_DRAM_POWER_HH__
static bool hasTwoVDD(const DRAMInterfaceParams *p)
Determine if DRAM has two voltage domains (or one)
static Data::MemTimingSpec getTimingParams(const DRAMInterfaceParams *p)
Transforms the timing parameters defined in DRAMInterfaceParams to the memSpec of DRAMPower.
static uint8_t getDataRate(const DRAMInterfaceParams *p)
Determine data rate, either one or two.
static Data::MemArchitectureSpec getArchParams(const DRAMInterfaceParams *p)
Transform the architechture parameters defined in DRAMInterfaceParams to the memSpec of DRAMPower.
DRAMPower(const DRAMInterfaceParams *p, bool include_io)
static Data::MemPowerSpec getPowerParams(const DRAMInterfaceParams *p)
Transforms the power and current parameters defined in DRAMInterfaceParams to the memSpec of DRAMPowe...
DRAMPower is a standalone tool which calculates the power consumed by a DRAM in the system.
static Data::MemorySpecification getMemSpec(const DRAMInterfaceParams *p)
Return an instance of MemSpec based on the DRAMInterfaceParams.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17