summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Bridge.py
blob: 33b24ad3c449c197f54ae2112c0510e2ad522345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from m5.params import *
from MemObject import MemObject

class 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")
    fix_partial_write_a = Param.Bool(False, "Should this bridge fixup partial block writes")
    fix_partial_write_b = Param.Bool(False, "Should this bridge fixup partial block writes")