mem: Use the same timing calculation for DRAM read and write
authorAni Udipi <ani.udipi@arm.com>
Fri, 1 Nov 2013 15:56:19 +0000 (11:56 -0400)
committerAni Udipi <ani.udipi@arm.com>
Fri, 1 Nov 2013 15:56:19 +0000 (11:56 -0400)
commitea76f9757668018ad1f2ccb50fd61b9288057913
treec48c3c071c6cd41ba1a2d81e21b4e1fa79fbfa92
parent655bf868282ac2d9d6a711167efa936e7057d405
mem: Use the same timing calculation for DRAM read and write

This patch simplifies the DRAM model by re-using the function that
computes the busy and access time for both reads and writes.
src/mem/SConscript
src/mem/simple_dram.cc
src/mem/simple_dram.hh