From dc8ede8eedd8cf6c7e2701537c3c5352320a9ecb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 May 2020 20:51:10 +0100 Subject: [PATCH] remove input_cr, output_cr and is_32bit from CompCROpSubset --- src/soc/fu/cr/cr_input_record.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/soc/fu/cr/cr_input_record.py b/src/soc/fu/cr/cr_input_record.py index 914ddd16..7147ec2c 100644 --- a/src/soc/fu/cr/cr_input_record.py +++ b/src/soc/fu/cr/cr_input_record.py @@ -1,7 +1,6 @@ from nmigen.hdl.rec import Record, Layout -from soc.decoder.power_enums import (InternalOp, Function, CryIn, - CRInSel, CROutSel) +from soc.decoder.power_enums import (InternalOp, Function) class CompCROpSubset(Record): @@ -14,11 +13,8 @@ class CompCROpSubset(Record): def __init__(self, name=None): layout = (('insn_type', InternalOp), ('fn_unit', Function), - ('input_cr', CRInSel), - ('output_cr', CROutSel), ('read_cr_whole', 1), ('write_cr_whole', 1), - ('is_32bit', 1), ) Record.__init__(self, Layout(layout), name=name) @@ -26,11 +22,8 @@ class CompCROpSubset(Record): # grrr. Record does not have kwargs self.insn_type.reset_less = True self.fn_unit.reset_less = True - self.input_cr.reset_less = True - self.output_cr.reset_less = True self.read_cr_whole.reset_less = True self.write_cr_whole.reset_less = True - self.is_32bit.reset_less = True def eq_from_execute1(self, other): """ use this to copy in from Decode2Execute1Type @@ -44,9 +37,6 @@ class CompCROpSubset(Record): def ports(self): return [self.insn_type, self.fn_unit, - self.input_cr, - self.output_cr, self.read_cr_whole, self.write_cr_whole, - self.is_32bit, ] -- 2.30.2