summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Uart.py
blob: 62062c6b1777f26f07e24a7c5c941693352170c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from m5.params import *
from m5.proxy import *
from m5 import build_env
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'