Skip to content

Commit

Permalink
soc/interconnect/wishbone: Fix SEL propagation on UpConverter (thanks @…
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jun 2, 2021
1 parent 0b329c3 commit a064e9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[> Issues resolved
------------------
-
- wishbone/UpConverter: Fix SEL propagation.

[> Added Features
-----------------
Expand Down
2 changes: 1 addition & 1 deletion litex/soc/interconnect/wishbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def __init__(self, master, slave):
for i in range(ratio):
cases[i] = [
slave.adr.eq(master.adr[int(log2(ratio)):]),
slave.sel[i*dw_from//8:(i+1)*dw_from//8].eq(2**(dw_from//8) - 1),
slave.sel[i*dw_from//8:(i+1)*dw_from//8].eq(master.sel),
slave.dat_w[i*dw_from:(i+1)*dw_from].eq(master.dat_w),
master.dat_r.eq(slave.dat_r[i*dw_from:(i+1)*dw_from]),
]
Expand Down

0 comments on commit a064e9d

Please sign in to comment.