flow.plumbing: make argument order consistent
This commit is contained in:
parent
ff1d105c7e
commit
9266e10cae
|
@ -53,7 +53,7 @@ class Splitter(Module):
|
|||
self.comb += s.stb.eq(self.sink.stb & ~already_acked[n])
|
||||
|
||||
class Multiplexer(Module):
|
||||
def __init__(self, n, layout):
|
||||
def __init__(self, layout, n):
|
||||
self.source = Source(layout)
|
||||
sinks = []
|
||||
for i in range(n):
|
||||
|
|
Loading…
Reference in New Issue