summaryrefslogtreecommitdiff
path: root/python/m5/objects/Bus.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/Bus.py')
-rw-r--r--python/m5/objects/Bus.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/m5/objects/Bus.py b/python/m5/objects/Bus.py
new file mode 100644
index 000000000..1ed87d2e7
--- /dev/null
+++ b/python/m5/objects/Bus.py
@@ -0,0 +1,7 @@
+from m5 import *
+from BaseHier import BaseHier
+
+class Bus(BaseHier):
+ type = 'Bus'
+ clock_ratio = Param.Frequency("ratio of CPU to bus frequency")
+ width = Param.Int("bus width in bytes")