Merge pull request #249 from andrewb1999/master

Fix adapter reverse typo
This commit is contained in:
enjoy-digital 2021-05-03 16:49:59 +02:00 committed by GitHub
commit feba854c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = [