summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Bus.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/objects/Bus.py')
-rw-r--r--src/python/m5/objects/Bus.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/python/m5/objects/Bus.py b/src/python/m5/objects/Bus.py
new file mode 100644
index 000000000..f6828a0d5
--- /dev/null
+++ b/src/python/m5/objects/Bus.py
@@ -0,0 +1,8 @@
+from m5.params import *
+from MemObject import MemObject
+
+class Bus(MemObject):
+ type = 'Bus'
+ port = VectorPort("vector port for connecting devices")
+ default = Port("Default port for requests that aren't handeled by a device.")
+ bus_id = Param.Int(0, "blah")