From 290bb59532d4163fef6b5e7c342e36fcd4717da9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 1 Jun 2020 19:13:08 +0100 Subject: [PATCH] rotator carry is set into both XER CA and CA32 fields --- src/soc/fu/shift_rot/main_stage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/fu/shift_rot/main_stage.py b/src/soc/fu/shift_rot/main_stage.py index 6b6f20a8..eac9253b 100644 --- a/src/soc/fu/shift_rot/main_stage.py +++ b/src/soc/fu/shift_rot/main_stage.py @@ -73,9 +73,8 @@ class ShiftRotMainStage(PipeModBase): rotator.clear_right).eq(mode) # outputs from the microwatt rotator module - # XXX TODO: carry32 comb += [o.data.eq(rotator.result_o), - self.o.xer_ca[0].eq(rotator.carry_out_o)] + self.o.xer_ca.data.eq(Repl(rotator.carry_out_o, 2))] ###### sticky overflow and context, both pass-through ##### -- 2.30.2