Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 2 deletions.
  1. +2 −2 migen/flow/plumbing.py
  2. 0  migen/util/__init__.py
4 migen/flow/plumbing.py
View
@@ -67,7 +67,7 @@ def __init__(self, n, layout):
case = {}
for i, sink in enumerate(sinks):
- cases[i] = self.source.connect(sink)
+ cases[i] = Record.connect(sink, self.source)
self.comb += Case(self.sel, cases)
class Demultiplexer(Module):
@@ -85,7 +85,7 @@ def __init__(self, layout, n):
cases = {}
for i, source in enumerate(sources):
- cases[i] = source.connect(self.sink)
+ cases[i] = Record.connect(self.sink, source)
self.comb += Case(self.sel, cases)
# Actors whose layout should be inferred from what their single sink is connected to.
0  migen/util/__init__.py
View
No changes.

No commit comments for this range

Something went wrong with that request. Please try again.