from m5.config import *
from MemObject import MemObject

class Bridge(MemObject):
    type = 'Bridge'
    side_a = Port('Side A port')
    side_b = Port('Side B port')
    queue_size_a = Param.Int(16, "The number of requests to buffer")
    queue_size_b = Param.Int(16, "The number of requests to buffer")
    delay = Param.Latency('0ns', "The latency of this bridge")
    write_ack = Param.Bool(False, "Should this bridge ack writes")
