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