summaryrefslogtreecommitdiff
path: root/python/m5
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-04-28 15:37:48 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-04-28 15:37:48 -0400
commit53d93ef9182aade99faa5996dece522d9aba88d1 (patch)
tree53edf6abec2b845dfad7ce70f8b96dafc353895a /python/m5
parentc819a1c0e188a388cd1891fa5a36e81adcd6c279 (diff)
downloadgem5-53d93ef9182aade99faa5996dece522d9aba88d1.tar.xz
add a bridge object, modify bus object to be able to connect to other buses or bridges without panicing
SConscript: add new cc files to scons mem/bus.cc: mem/bus.hh: implement addressRanges() on the bus. propigate address ranges to anyone who is interested stripping out ranges of who your propigating to (to avoid livelock) mem/packet.hh: add intersect function that returns true if two packets touch at least one byte of the same data (for functional access) add fixPacket() that will eventually take the correct action giving a timing and functional packet, right now it panics mem/physical.cc: Don't panic if the physical memory recieves a status change, just ignore. --HG-- extra : convert_revision : d470d51f2fb1db2700ad271e09792315ef33ba01
Diffstat (limited to 'python/m5')
-rw-r--r--python/m5/objects/Bridge.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/m5/objects/Bridge.py b/python/m5/objects/Bridge.py
new file mode 100644
index 000000000..ada715ce9
--- /dev/null
+++ b/python/m5/objects/Bridge.py
@@ -0,0 +1,9 @@
+from m5 import *
+from MemObject import MemObject
+
+class Bridge(MemObject):
+ type = 'Bridge'
+ queue_size_a = Param.Int(16, "The number of requests to buffer")
+ queue_size_b = Param.Int(16, "The number of requests to buffer")
+ delay = Param.Latency('0ns', "The latency of this bridge")
+ write_ack = Param.Bool(False, "Should this bridge ack writes")