mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
actorlib/spi/DMAWriteController: len -> flen
This commit is contained in:
parent
f5ddd33e7e
commit
6aa1e0c199
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ class DMAReadController(_DMAController):
|
|||
|
||||
class DMAWriteController(_DMAController):
|
||||
def __init__(self, bus_accessor, *args, **kwargs):
|
||||
bus_aw = len(bus_accessor.address_data.payload.a)
|
||||
bus_dw = len(bus_accessor.address_data.payload.d)
|
||||
bus_aw = flen(bus_accessor.address_data.payload.a)
|
||||
bus_dw = flen(bus_accessor.address_data.payload.d)
|
||||
_DMAController.__init__(self, bus_accessor, bus_aw, bus_dw, *args, **kwargs)
|
||||
|
||||
g = DataFlowGraph()
|
||||
|
|
Loading…
Reference in a new issue