mem: Limit the accesses to a page before forcing a precharge
authorAndreas Hansson <andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:12:03 +0000 (11:12 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:12:03 +0000 (11:12 -0400)
commit116985d661f6383bf2b61fa9b9d3df96e52fdb6d
treeb4442e976e3ab715c51ec4560a2a72959a91c385
parent6557741311f28f718cc33f9abde36d7e51f3585c
mem: Limit the accesses to a page before forcing a precharge

This patch adds a basic starvation-prevention mechanism where a DRAM
page is forced to close after a certain number of accesses. The limit
is combined with the open and open-adaptive page policy and if reached
causes an auto-precharge.
src/mem/SimpleDRAM.py
src/mem/simple_dram.cc
src/mem/simple_dram.hh