projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeed940
)
missing sticky-overflow pass-through from middle stage
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 May 2020 13:59:30 +0000
(14:59 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 May 2020 13:59:30 +0000
(14:59 +0100)
src/soc/alu/main_stage.py
patch
|
blob
|
history
diff --git
a/src/soc/alu/main_stage.py
b/src/soc/alu/main_stage.py
index e801c9660a927d6fd8fd7432d578d5f372722fc5..07fb0180de7d73f627386a3d847dd56ded43aadd 100644
(file)
--- a/
src/soc/alu/main_stage.py
+++ b/
src/soc/alu/main_stage.py
@@
-39,7
+39,9
@@
class ALUMainStage(PipeModBase):
with m.Case(InternalOp.OP_XOR):
comb += self.o.o.eq(self.i.a ^ self.i.b)
+ ###### sticky overflow and context, both pass-through #####
+ comb += so.eq(self.i.so)
comb += self.o.ctx.eq(self.i.ctx)
return m