mem: Unify request selection for read and write queues
authorNeha Agarwal <neha.agarwal@arm.com>
Fri, 1 Nov 2013 15:56:27 +0000 (11:56 -0400)
committerNeha Agarwal <neha.agarwal@arm.com>
Fri, 1 Nov 2013 15:56:27 +0000 (11:56 -0400)
commit77fce1ce0e1db502b47ea72c4243c929666d04fa
treeec65bb9c33ec6b6090b8ce65a5c7a9d5771249a5
parentbb572663cf1ba802492743f1196eb9eac4c20bea
mem: Unify request selection for read and write queues

This patch unifies the request selection across read and write queues
for FR-FCFS scheduling policy. It also fixes the request selection
code to prioritize the row hits present in the request queues over the
selection based on earliest bank availability.
src/mem/simple_dram.cc
src/mem/simple_dram.hh