From: Robert Jordens Date: Sat, 19 Jul 2014 05:18:48 +0000 (-0600) Subject: flow.plumbing: make argument order consistent X-Git-Tag: 24jan2021_ls180~2099^2~344 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9266e10cae8d4ba2d7614800f8cc7d57b221409a;p=litex.git flow.plumbing: make argument order consistent --- diff --git a/migen/flow/plumbing.py b/migen/flow/plumbing.py index 5c48af3d..cb8abf41 100644 --- a/migen/flow/plumbing.py +++ b/migen/flow/plumbing.py @@ -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):