summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Uart.py
blob: 54754aeb9306a243e09f731aa71b46370ed757f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from m5 import *
from Device import BasicPioDevice

class Uart(BasicPioDevice):
    type = 'Uart'
    abstract = True
    sim_console = Param.SimConsole(Parent.any, "The console")

class Uart8250(Uart):
    type = 'Uart8250'

if build_env['ALPHA_TLASER']:
    class Uart8530(Uart):
        type = 'Uart8530'