c39aea440c
and resulting recursive import trickiness. --HG-- extra : convert_revision : 1ea93861eb8d260c9f3920dda0b8106db3e03705
8 lines
322 B
Python
8 lines
322 B
Python
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")
|