From: Luke Kenneth Casson Leighton Date: Mon, 1 Jun 2020 18:13:08 +0000 (+0100) Subject: rotator carry is set into both XER CA and CA32 fields X-Git-Tag: div_pipeline~676 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=290bb59532d4163fef6b5e7c342e36fcd4717da9;p=soc.git rotator carry is set into both XER CA and CA32 fields --- 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 #####