Fix Physical Memory to allow memory sizes bigger than 128MB.

Kinda port DRAM to new memory system. The code is *really* ugly (not my fault) and right now something about the stats it uses
causes a simulator segfault.

src/SConscript:
    Add dram.cc to sconscript
src/mem/physical.cc:
src/mem/physical.hh:
    Add params struct to physical memory, use params, make latency function be virtual
src/python/m5/objects/PhysicalMemory.py:
    Add DRAMMemory python class

--HG--
extra : convert_revision : 5bd9f2e071c62da89e8efa46fa016f342c01535d
This commit is contained in:
Ali Saidi
2006-08-16 19:01:11 -04:00
parent bb6af8eb8a
commit 2f145ac54a
6 changed files with 2991 additions and 41 deletions

View File

@@ -94,6 +94,7 @@ base_sources = Split('''
mem/bridge.cc
mem/bus.cc
mem/dram.cc
mem/mem_object.cc
mem/packet.cc
mem/physical.cc