summaryrefslogtreecommitdiff
path: root/python/m5/objects/CoherenceProtocol.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/CoherenceProtocol.mpy')
-rw-r--r--python/m5/objects/CoherenceProtocol.mpy6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/m5/objects/CoherenceProtocol.mpy b/python/m5/objects/CoherenceProtocol.mpy
new file mode 100644
index 000000000..f3b0026b7
--- /dev/null
+++ b/python/m5/objects/CoherenceProtocol.mpy
@@ -0,0 +1,6 @@
+class Coherence(Enum): vals = ['uni', 'msi', 'mesi', 'mosi', 'moesi']
+
+simobj CoherenceProtocol(SimObject):
+ type = 'CoherenceProtocol'
+ do_upgrades = Param.Bool(True, "use upgrade transactions?")
+ protocol = Param.Coherence("name of coherence protocol")