mem: Add DRAM power states to the controller

This patch adds power states to the controller. These states and the
transitions can be used together with the Micron power model. As a
more elaborate use-case, the transitions can be used to drive the
DRAMPower tool.

At the moment, the power-down modes are not used, and this patch
simply serves to capture the idle, auto refresh and active modes. The
patch adds a third state machine that interacts with the refresh state
machine.
This commit is contained in:
Andreas Hansson
2014-05-09 18:58:48 -04:00
parent babf072c1c
commit 87f4c956c4
3 changed files with 221 additions and 61 deletions

View File

@@ -81,6 +81,7 @@ CompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus',
DebugFlag('Bridge')
DebugFlag('CommMonitor')
DebugFlag('DRAM')
DebugFlag('DRAMState')
DebugFlag('LLSC')
DebugFlag('MMU')
DebugFlag('MemoryAccess')