projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8132b5
)
update comments
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 21 May 2020 19:58:26 +0000
(20:58 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 21 May 2020 19:58:26 +0000
(20:58 +0100)
src/soc/fu/cr/main_stage.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/cr/main_stage.py
b/src/soc/fu/cr/main_stage.py
index 7240ebe51bb005868564c9fa93a33c1026be42cf..607579d17f65a6cb69260d8841186496e78b4b71 100644
(file)
--- a/
src/soc/fu/cr/main_stage.py
+++ b/
src/soc/fu/cr/main_stage.py
@@
-47,11
+47,12
@@
class CRMainStage(PipeModBase):
mask = Signal(32, reset_less=True)
comb += mask.eq(Cat(*[Repl(FXM[i], 4) for i in range(8)]))
- # Generate array of bits for cr_a
and cr_b
+ # Generate array of bits for cr_a
, cr_b and cr_c
cr_a_arr = Array([cr_a[i] for i in range(4)])
cr_b_arr = Array([cr_b[i] for i in range(4)])
cr_o_arr = Array([cr_o[i] for i in range(4)])
+ # this may have one bit be modified by OP_CROP
comb += cr_o.eq(cr_c)
with m.Switch(op.insn_type):