From: Luke Kenneth Casson Leighton Date: Thu, 5 Mar 2020 18:42:14 +0000 (+0000) Subject: corrections on Form PowerDecoder X-Git-Tag: div_pipeline~1773 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=935bbab9ae8c9de2421067503b62859203b9542e;p=soc.git corrections on Form PowerDecoder --- 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