Bridge.py revision 4439
1from m5.params import *
2from MemObject import MemObject
3
4class Bridge(MemObject):
5    type = 'Bridge'
6    side_a = Port('Side A port')
7    side_b = Port('Side B port')
8    req_size_a = Param.Int(16, "The number of requests to buffer")
9    req_size_b = Param.Int(16, "The number of requests to buffer")
10    resp_size_a = Param.Int(16, "The number of requests to buffer")
11    resp_size_b = Param.Int(16, "The number of requests to buffer")
12    delay = Param.Latency('0ns', "The latency of this bridge")
13    nack_delay = Param.Latency('0ns', "The latency of this bridge")
14    write_ack = Param.Bool(False, "Should this bridge ack writes")
15    fix_partial_write_a = Param.Bool(False, "Should this bridge fixup partial block writes")
16    fix_partial_write_b = Param.Bool(False, "Should this bridge fixup partial block writes")
17