From 935bbab9ae8c9de2421067503b62859203b9542e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 5 Mar 2020 18:42:14 +0000 Subject: [PATCH] corrections on Form PowerDecoder --- src/decoder/power_decoder.py | 2 +- src/decoder/power_enums.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/decoder/power_decoder.py b/src/decoder/power_decoder.py index 6176e496..446f6d38 100644 --- a/src/decoder/power_decoder.py +++ b/src/decoder/power_decoder.py @@ -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) diff --git a/src/decoder/power_enums.py b/src/decoder/power_enums.py index 142d0247..f520ee57 100644 --- a/src/decoder/power_enums.py +++ b/src/decoder/power_enums.py @@ -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 -- 2.30.2