summaryrefslogtreecommitdiff
path: root/objects/CoherenceProtocol.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'objects/CoherenceProtocol.mpy')
-rw-r--r--objects/CoherenceProtocol.mpy2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/CoherenceProtocol.mpy b/objects/CoherenceProtocol.mpy
index ae041b638..f3b0026b7 100644
--- a/objects/CoherenceProtocol.mpy
+++ b/objects/CoherenceProtocol.mpy
@@ -1,4 +1,4 @@
-Coherence = Enum('uni', 'msi', 'mesi', 'mosi', 'moesi')
+class Coherence(Enum): vals = ['uni', 'msi', 'mesi', 'mosi', 'moesi']
simobj CoherenceProtocol(SimObject):
type = 'CoherenceProtocol'