mem: Just-in-time write scheduling in DRAM controller
authorNeha Agarwal <neha.agarwal@arm.com>
Fri, 1 Nov 2013 15:56:25 +0000 (11:56 -0400)
committerNeha Agarwal <neha.agarwal@arm.com>
Fri, 1 Nov 2013 15:56:25 +0000 (11:56 -0400)
commitda6fd72f62578d0a981de8bb37dfb803d6c13f8a
tree01f84f28e4e1365fa3232c24a9415a50707ec35b
parentee6b41a1e41656b15f9f77bff5effbba27133603
mem: Just-in-time write scheduling in DRAM controller

This patch removes the untimed while loop in the write scheduling
mechanism and now schedule commands taking into account the minimum
timing constraint. It also introduces an optimization to track write
queue size and switch from writes to reads if the number of write
requests fall below write low threshold.
src/mem/SimpleDRAM.py
src/mem/simple_dram.cc
src/mem/simple_dram.hh