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: 639e64c38831
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: 4c443a7ef50e
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 3, 2019

  1. Copy the full SHA
    4c443a7 View commit details
Showing with 1 addition and 4 deletions.
  1. +1 −4 nmigen/compat/fhdl/specials.py
5 changes: 1 addition & 4 deletions nmigen/compat/fhdl/specials.py
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
__all__ = ["TSTriple", "Instance", "Memory", "READ_FIRST", "WRITE_FIRST", "NO_CHANGE"]


class TSTriple(Elaboratable):
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(bits_sign, min=min, max=max, reset=reset_o,
@@ -25,9 +25,6 @@ def __init__(self, bits_sign=None, min=None, max=None, reset_o=0, reset_oe=0, re
def __len__(self):
return len(self.o)

def elaborate(self, platform):
return Fragment()

def get_tristate(self, io):
return Tristate(io, self.o, self.oe, self.i)