flow.plumbing: make argument order consistent

This commit is contained in:
Robert Jordens 2014-07-18 23:18:48 -06:00 committed by Sebastien Bourdeauducq
parent ff1d105c7e
commit 9266e10cae
1 changed files with 1 additions and 1 deletions

View File

@ -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):