convert shift_rot to use XER Data
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 20 May 2020 04:46:17 +0000 (05:46 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 20 May 2020 04:46:17 +0000 (05:46 +0100)
src/soc/fu/shift_rot/main_stage.py

index a837fb8ae3d090dd09bce62ebfbfd3a450e9bd4b..f39118271eb188351679781734b33cf896901794 100644 (file)
@@ -68,11 +68,11 @@ class ShiftRotMainStage(PipeModBase):
                 
         # outputs from the microwatt rotator module
         comb += [self.o.o.eq(rotator.result_o),
-                 self.o.carry_out.eq(rotator.carry_out_o)]
+                 self.o.xer_co.eq(rotator.carry_out_o)]
 
         ###### sticky overflow and context, both pass-through #####
 
-        comb += self.o.so.eq(self.i.so)
+        comb += self.o.xer_so.data.eq(self.i.so)
         comb += self.o.ctx.eq(self.i.ctx)
 
         return m