Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 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
View
4 migen/flow/plumbing.py
@@ -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.
View
0  migen/util/__init__.py
No changes.

No commit comments for this range

Something went wrong with that request. Please try again.