uart.py

来自「M5,一个功能强大的多处理器系统模拟器.很多针对处理器架构,性能的研究都使用它作」· Python 代码 · 共 18 行

PY
18
字号
from m5.params import *from m5.proxy import *from m5 import build_envfrom Device import BasicPioDeviceclass 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'

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?