summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/CoherenceProtocol.py
blob: 82adb686260a3a2d3c328751f7da86c35c093e2f (plain)
1
2
3
4
5
6
7
8
from m5.SimObject import SimObject
from m5.params import *
class Coherence(Enum): vals = ['uni', 'msi', 'mesi', 'mosi', 'moesi']

class CoherenceProtocol(SimObject):
    type = 'CoherenceProtocol'
    do_upgrades = Param.Bool(True, "use upgrade transactions?")
    protocol = Param.Coherence("name of coherence protocol")