diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-07-07 15:15:11 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-07-07 15:15:11 -0400 |
commit | ea11c7bdbefc8eb640f875cdf91a6d6bed398ec4 (patch) | |
tree | 3af6e347d31fffe724122db63ebff97aaf819c3e /configs/test | |
parent | 1ccfdb442ff34f9f2b38ee7716b7baee99a397c2 (diff) | |
download | gem5-ea11c7bdbefc8eb640f875cdf91a6d6bed398ec4.tar.xz |
Update cpus to use the getPort function to use a connector object to connect the I/D cache ports to memory
configs/test/test.py:
Update to use new cpu getPort functionality
src/cpu/base.cc:
Make cpu's a memObject to expose getPort interface
src/cpu/base.hh:
Make cpu's a memObject to export getPort interface
src/cpu/simple/atomic.cc:
src/cpu/simple/atomic.hh:
src/cpu/simple/timing.cc:
src/cpu/simple/timing.hh:
Now use the connector via getPort interface
src/mem/cache/base_cache.cc:
Make sure the cache recognizes all port names
--HG--
extra : convert_revision : dbfefa978ec755bc8aa6f962ae158acf32dafe61
Diffstat (limited to 'configs/test')
-rw-r--r-- | configs/test/test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/test/test.py b/configs/test/test.py index 625304a08..e7b0971ef 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -75,6 +75,8 @@ else: cpu = AtomicSimpleCPU() cpu.workload = process cpu.mem = magicbus +cpu.icache_port=magicbus.port +cpu.dcache_port=magicbus.port system = System(physmem = mem, cpu = cpu) mem.port = magicbus.port |