From 65aceac3fa2cdc1bc34120551c23a9dff681c02e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 May 2020 17:48:20 +0100 Subject: [PATCH] add zero_a flag to CompALUOpSubset --- src/soc/fu/alu/alu_input_record.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/fu/alu/alu_input_record.py b/src/soc/fu/alu/alu_input_record.py index 41a40ebf..d8a9be14 100644 --- a/src/soc/fu/alu/alu_input_record.py +++ b/src/soc/fu/alu/alu_input_record.py @@ -20,6 +20,7 @@ class CompALUOpSubset(Record): ('rc', Layout((("rc", 1), ("rc_ok", 1)))), ('oe', Layout((("oe", 1), ("oe_ok", 1)))), ('invert_a', 1), + ('zero_a', 1), ('invert_out', 1), ('input_carry', CryIn), ('output_carry', 1), @@ -40,6 +41,7 @@ class CompALUOpSubset(Record): #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 self.invert_out.reset_less = True self.input_carry.reset_less = True -- 2.30.2