📄 bridge.py
字号:
from m5.params import *from MemObject import MemObjectclass Bridge(MemObject): type = 'Bridge' side_a = Port('Side A port') side_b = Port('Side B port') req_size_a = Param.Int(16, "The number of requests to buffer") req_size_b = Param.Int(16, "The number of requests to buffer") resp_size_a = Param.Int(16, "The number of requests to buffer") resp_size_b = Param.Int(16, "The number of requests to buffer") delay = Param.Latency('0ns', "The latency of this bridge") nack_delay = Param.Latency('0ns', "The latency of this bridge") write_ack = Param.Bool(False, "Should this bridge ack writes") filter_ranges_a = VectorParam.AddrRange([], "What addresses shouldn't be passed through the side of the bridge") filter_ranges_b = VectorParam.AddrRange([], "What addresses shouldn't be passed through the side of the bridge")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -