remove data_len from SR input record
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 1 Jun 2020 19:15:06 +0000 (20:15 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 1 Jun 2020 19:15:06 +0000 (20:15 +0100)
src/soc/fu/shift_rot/sr_input_record.py

index 8263410cb4ba2af3a8b504a90efd27475c2f44e3..57f84dc9891568f9573c9e8eea0b91c7f8a65c97 100644 (file)
@@ -26,7 +26,6 @@ class CompSROpSubset(Record):
                   ('output_cr', 1),
                   ('is_32bit', 1),
                   ('is_signed', 1),
-                  ('data_len', 4), # actually used by ALU, in OP_EXTS
                   ('insn', 32),
                   ('byte_reverse', 1),
                   ('sign_extend', 1))
@@ -45,7 +44,6 @@ class CompSROpSubset(Record):
         self.output_cr.reset_less = True
         self.is_32bit.reset_less = True
         self.is_signed.reset_less = True
-        self.data_len.reset_less = True
         self.byte_reverse.reset_less = True
         self.sign_extend.reset_less = True
 
@@ -69,7 +67,6 @@ class CompSROpSubset(Record):
                 self.output_cr,
                 self.is_32bit,
                 self.is_signed,
-                self.data_len,
                 self.byte_reverse,
                 self.sign_extend,
         ]