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/migen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e90aa1e69ee4
Choose a base ref
...
head repository: m-labs/migen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1ac783fd0c81
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jun 28, 2017

  1. fix e90aa1e

    jordens committed Jun 28, 2017
    Copy the full SHA
    cdc1f27 View commit details
  2. Copy the full SHA
    1ac783f View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 migen/fhdl/structure.py
4 changes: 2 additions & 2 deletions migen/fhdl/structure.py
Original file line number Diff line number Diff line change
@@ -384,10 +384,10 @@ def like(cls, other, **kwargs):
"""
from migen.fhdl.bitcontainer import value_bits_sign
kw = dict(bits_sign=value_bits_sign(other), variable=other.variable,
reset=other.reset, reset_less=other.reset_less,
reset=other.reset.value, reset_less=other.reset_less,
related=other.related, attr=set(other.attr))
kw.update(kwargs)
return cls(**kwargs)
return cls(**kw)

def __hash__(self):
return self.duid