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