remove alu unneeded op record data
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 6 Jul 2020 22:23:51 +0000 (23:23 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 6 Jul 2020 22:23:51 +0000 (23:23 +0100)
src/soc/fu/alu/alu_input_record.py

index 4a08a93b5a2f268181ae4b4ef59641aa10d5bb68..9d6afc202bdd6fbc70a5324eeb297521a6f5f526 100644 (file)
@@ -28,7 +28,7 @@ class CompALUOpSubset(Record):
                   ('is_signed', 1),
                   ('data_len', 4), # actually used by ALU, in OP_EXTS
                   ('insn', 32),
-                  ('sign_extend', 1))
+                  )
 
         Record.__init__(self, Layout(layout), name=name)
 
@@ -45,7 +45,6 @@ class CompALUOpSubset(Record):
         self.is_32bit.reset_less = True
         self.is_signed.reset_less = True
         self.data_len.reset_less = True
-        self.sign_extend.reset_less = True
 
     def eq_from_execute1(self, other):
         """ use this to copy in from Decode2Execute1Type
@@ -67,5 +66,4 @@ class CompALUOpSubset(Record):
                 self.is_32bit,
                 self.is_signed,
                 self.data_len,
-                self.sign_extend,
         ]