Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b963449b41dd
Choose a base ref
...
head repository: m-labs/nmigen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ff343d5cf0c5
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 14, 2019

  1. Pin: Add extra hierarchy level for name derivation

    Fatsie authored and whitequark committed Jul 14, 2019
    Copy the full SHA
    ff343d5 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 nmigen/lib/io.py
4 changes: 2 additions & 2 deletions nmigen/lib/io.py
Original file line number Diff line number Diff line change
@@ -97,9 +97,9 @@ class Pin(Record):
cannot change direction more than once per cycle, so at most one output enable signal
is present.
"""
def __init__(self, width, dir, xdr=0, name=None):
def __init__(self, width, dir, xdr=0, name=None, src_loc_at=0):
self.width = width
self.dir = dir
self.xdr = xdr

super().__init__(pin_layout(self.width, self.dir, self.xdr), name=name)
super().__init__(pin_layout(self.width, self.dir, self.xdr), name=name, src_loc_at=src_loc_at + 1)