projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407f413
)
Fix small bug in op_crop
author
Michael Nolan
<mtnolan2640@gmail.com>
Wed, 20 May 2020 18:33:15 +0000
(14:33 -0400)
committer
Michael Nolan
<mtnolan2640@gmail.com>
Wed, 20 May 2020 18:33:31 +0000
(14:33 -0400)
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 eaa3f1f6bd2db2249568770f84f68dfeb3a5bc77..00417651c8fa9c08221224223d651db7a1e6e4c2 100644
(file)
--- a/
src/soc/fu/cr/main_stage.py
+++ b/
src/soc/fu/cr/main_stage.py
@@
-108,7
+108,7
@@
class CRMainStage(PipeModBase):
# Use the two input bits to look up the result in the LUT
idx = Signal(2, reset_less=True)
- comb += idx.eq(Cat(cr_arr[bb], cr_arr[b
b
]))
+ comb += idx.eq(Cat(cr_arr[bb], cr_arr[b
a
]))
comb += cr_out_arr[bt].eq(lut[idx])
##### mtcrf #####