summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Bridge.py
blob: e123c2891fb1aa5e1ae9d586c197727b4dbfbee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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')
    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")
    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")