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: 585514e6ed66
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: 93d15abcf1ac
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2019

  1. compat.fhdl.specials: fix TSTriple.

    whitequark committed Apr 22, 2019
    Copy the full SHA
    93d15ab View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 nmigen/compat/fhdl/specials.py
4 changes: 2 additions & 2 deletions nmigen/compat/fhdl/specials.py
Original file line number Diff line number Diff line change
@@ -13,11 +13,11 @@
class TSTriple:
def __init__(self, bits_sign=None, min=None, max=None, reset_o=0, reset_oe=0, reset_i=0,
name=None):
self.o = Signal(shape, min=min, max=max, reset=reset_o,
self.o = Signal(bits_sign, min=min, max=max, reset=reset_o,
name=None if name is None else name + "_o")
self.oe = Signal(reset=reset_oe,
name=None if name is None else name + "_oe")
self.i = Signal(shape, min=min, max=max, reset=reset_i,
self.i = Signal(bits_sign, min=min, max=max, reset=reset_i,
name=None if name is None else name + "_i")

def __len__(self):