Merge pull request #249 from andrewb1999/master
Fix adapter reverse typo
This commit is contained in:
commit
feba854c0b
|
@ -312,7 +312,7 @@ class LiteDRAMNativePortUpConverter(Module):
|
||||||
if reverse:
|
if reverse:
|
||||||
wdata_sel_parts = [
|
wdata_sel_parts = [
|
||||||
Replicate(cmd_buffer.source.sel[i], port_to.wdata.we.nbits // sel.nbits)
|
Replicate(cmd_buffer.source.sel[i], port_to.wdata.we.nbits // sel.nbits)
|
||||||
for i in reverse(range(ratio))
|
for i in reversed(range(ratio))
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
wdata_sel_parts = [
|
wdata_sel_parts = [
|
||||||
|
|
Loading…
Reference in New Issue