mem: Perform write merging in the DRAM write queue
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 19 Aug 2013 07:52:31 +0000 (03:52 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 19 Aug 2013 07:52:31 +0000 (03:52 -0400)
commitac42db8134bff8617e20e1a034dc0d65158335ae
tree3bd964c031f0bc271da2444152b2f686a3f81f36
parent243f135e5f4a4ec5b4a483f8f9ee90e88d750a2a
mem: Perform write merging in the DRAM write queue

This patch implements basic write merging in the DRAM to avoid
redundant bursts. When a new access is added to the queue it is
compared against the existing entries, and if it is either
intersecting or immediately succeeding/preceeding an existing item it
is merged.

There is currently no attempt made at avoiding iterating over the
existing items in determining whether merging is possible or not.
src/mem/simple_dram.cc
src/mem/simple_dram.hh