summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/CoherenceProtocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/objects/CoherenceProtocol.py')
-rw-r--r--src/python/m5/objects/CoherenceProtocol.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/python/m5/objects/CoherenceProtocol.py b/src/python/m5/objects/CoherenceProtocol.py
new file mode 100644
index 000000000..7013000d6
--- /dev/null
+++ b/src/python/m5/objects/CoherenceProtocol.py
@@ -0,0 +1,7 @@
+from m5 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")