Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

actorlib/spi/DMAWriteController: len -> flen

  • Loading branch information...
commit 6aa1e0c1992f4c6cdbedaf0eb2fc76fc3af42fe1 1 parent f5ddd33
@sbourdeauducq sbourdeauducq authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 migen/actorlib/spi.py
View
4 migen/actorlib/spi.py
@@ -149,8 +149,8 @@ def __init__(self, bus_accessor, *args, **kwargs):
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()
Please sign in to comment.
Something went wrong with that request. Please try again.