remove commented-out vars from ALU input record
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 31 May 2020 11:33:30 +0000 (12:33 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 31 May 2020 11:33:30 +0000 (12:33 +0100)
src/soc/fu/alu/alu_input_record.py

index f95c16d39ed36f3d5df5342323d7425efd351212..472eaaf4c988635cd532e1de00a1d6e3cac6c516 100644 (file)
@@ -14,8 +14,6 @@ class CompALUOpSubset(Record):
         layout = (('insn_type', InternalOp),
                   ('fn_unit', Function),
                   ('imm_data', Layout((("imm", 64), ("imm_ok", 1)))),
-                    #'cr = Signal(32, reset_less=True) # NO: this is from the CR SPR
-                    #'xerc = XerBits() # NO: this is from the XER SPR
                   ('lk', 1),
                   ('rc', Layout((("rc", 1), ("rc_ok", 1)))), # Data
                   ('oe', Layout((("oe", 1), ("oe_ok", 1)))), # Data
@@ -39,8 +37,6 @@ class CompALUOpSubset(Record):
         # grrr.  Record does not have kwargs
         self.insn_type.reset_less = True
         self.fn_unit.reset_less = True
-        #self.cr = Signal(32, reset_less = True
-        #self.xerc = XerBits(
         self.lk.reset_less = True
         self.zero_a.reset_less = True
         self.invert_a.reset_less = True
@@ -66,8 +62,6 @@ class CompALUOpSubset(Record):
 
     def ports(self):
         return [self.insn_type,
-                #self.cr,
-                #self.xerc,
                 self.lk,
                 self.invert_a,
                 self.invert_out,