From e4f0294d825076abfca37096ed7bc3d2457437a8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 31 May 2020 12:27:45 +0100 Subject: [PATCH] add write_cr to ALU record subset --- src/soc/fu/alu/alu_input_record.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/fu/alu/alu_input_record.py b/src/soc/fu/alu/alu_input_record.py index a1f6b0a9..f95c16d3 100644 --- a/src/soc/fu/alu/alu_input_record.py +++ b/src/soc/fu/alu/alu_input_record.py @@ -17,11 +17,12 @@ class CompALUOpSubset(Record): #'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)))), - ('oe', Layout((("oe", 1), ("oe_ok", 1)))), + ('rc', Layout((("rc", 1), ("rc_ok", 1)))), # Data + ('oe', Layout((("oe", 1), ("oe_ok", 1)))), # Data ('invert_a', 1), ('zero_a', 1), ('invert_out', 1), + ('write_cr', Layout((("data", 3), ("ok", 1)))), # Data ('input_carry', CryIn), ('output_carry', 1), ('input_cr', 1), -- 2.30.2