summaryrefslogtreecommitdiff
path: root/python/m5/objects/Uart.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/Uart.mpy')
-rw-r--r--python/m5/objects/Uart.mpy6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/m5/objects/Uart.mpy b/python/m5/objects/Uart.mpy
new file mode 100644
index 000000000..76ee8805f
--- /dev/null
+++ b/python/m5/objects/Uart.mpy
@@ -0,0 +1,6 @@
+from Device import PioDevice
+
+simobj Uart(PioDevice):
+ type = 'Uart'
+ console = Param.SimConsole(Super, "The console")
+ size = Param.Addr(0x8, "Device size")