Fix adapter reverse typo

Signed-off-by: Andrew Butt <andrewb1999@gmail.com>
This commit is contained in:
Andrew Butt 2021-04-30 11:48:16 -04:00
parent 63358ee666
commit 99990b9eae
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [