1 from m5
.params
import *
2 from MemObject
import MemObject
4 class Bridge(MemObject
):
6 side_a
= Port('Side A port')
7 side_b
= Port('Side B port')
8 queue_size_a
= Param
.Int(16, "The number of requests to buffer")
9 queue_size_b
= Param
.Int(16, "The number of requests to buffer")
10 delay
= Param
.Latency('0ns', "The latency of this bridge")
11 write_ack
= Param
.Bool(False, "Should this bridge ack writes")