From aeed9406d87161588d8be15b52a27456b32fe542 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 9 May 2020 14:56:16 +0100 Subject: [PATCH] pass through sticky-overflow --- src/soc/alu/input_stage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2