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