busbridge.py

来自「linux下基于c++的处理器仿真平台。具有处理器流水线」· Python 代码 · 共 12 行

PY
12
字号
from m5 import *from BaseHier import BaseHierclass BusBridge(BaseHier):    type = 'BusBridge'    max_buffer = Param.Int(8, "The number of requests to buffer")    in_bus = Param.Bus("The bus to forward from")    out_bus = Param.Bus("The bus to forward to")    latency = Param.Latency('0ns', "The latency of this bridge")    ack_writes = Param.Bool(False, "Should this bridge ack writes")    ack_delay = Param.Latency('0ns', "The latency till the bridge acks a write")

⌨️ 快捷键说明

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