From: Luke Kenneth Casson Leighton Date: Sat, 9 May 2020 13:56:16 +0000 (+0100) Subject: pass through sticky-overflow X-Git-Tag: div_pipeline~1319 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aeed9406d87161588d8be15b52a27456b32fe542;p=soc.git pass through sticky-overflow --- diff --git a/src/soc/alu/input_stage.py b/src/soc/alu/input_stage.py index e962692b..ed86a5bf 100644 --- a/src/soc/alu/input_stage.py +++ b/src/soc/alu/input_stage.py @@ -54,8 +54,9 @@ class ALUInputStage(PipeModBase): with m.Case(CryIn.CA): comb += self.o.carry_in.eq(self.i.carry_in) - ##### context ##### + ##### sticky overflow and context (both pass-through) ##### + comb += self.o.so.eq(self.i.so) comb += self.o.ctx.eq(self.i.ctx) return m