corrections on Form PowerDecoder
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 5 Mar 2020 18:42:14 +0000 (18:42 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 5 Mar 2020 18:42:14 +0000 (18:42 +0000)
src/decoder/power_decoder.py
src/decoder/power_enums.py

index 6176e4965caa35af28744746d097653e53b164ed..446f6d38785cefaea16f5d89ca1cd95a46233df7 100644 (file)
@@ -71,7 +71,7 @@ class PowerOp:
     def __init__(self):
         self.function_unit = Signal(Function, reset_less=True)
         self.internal_op = Signal(InternalOp, reset_less=True)
-        self.form = Signal(form, reset_less=True)
+        self.form = Signal(Form, reset_less=True)
         self.in1_sel = Signal(In1Sel, reset_less=True)
         self.in2_sel = Signal(In2Sel, reset_less=True)
         self.in3_sel = Signal(In3Sel, reset_less=True)
index 142d0247d54388720734e07c0679e73e58d1d14a..f520ee5728568716cfa9f43ba86f1f34a6e1e247 100644 (file)
@@ -48,8 +48,9 @@ class Form(Enum):
     D = 4
     DS = 5
     DQ = 6
-    X = 7
-    XL = 8
+    DX = 7
+    X = 8
+    XL = 9
     XFX = 10
     XFL = 11
     XX1 = 12