projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee6b621
)
pass through sticky-overflow
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 May 2020 13:56:16 +0000
(14:56 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 May 2020 13:56:16 +0000
(14:56 +0100)
src/soc/alu/input_stage.py
patch
|
blob
|
history
diff --git
a/src/soc/alu/input_stage.py
b/src/soc/alu/input_stage.py
index e962692bc3ffe033376104fc02f54aa080e61661..ed86a5bf0f2be2d16b33f62f26b36bc1fd2c662c 100644
(file)
--- 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