diff options
Diffstat (limited to 'python/m5/objects/Uart.py')
-rw-r--r-- | python/m5/objects/Uart.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/m5/objects/Uart.py b/python/m5/objects/Uart.py new file mode 100644 index 000000000..cfb09acad --- /dev/null +++ b/python/m5/objects/Uart.py @@ -0,0 +1,7 @@ +from m5 import * +from Device import PioDevice + +class Uart(PioDevice): + type = 'Uart' + console = Param.SimConsole(Parent.any, "The console") + size = Param.Addr(0x8, "Device size") |