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: 6cd9f7db1937
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: e844b0e0958d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 26, 2019

  1. compat.fhdl.specials: fix __all__ list.

    whitequark committed Jan 26, 2019
    Copy the full SHA
    ce7ba70 View commit details
  2. compat.fhdl.module: fix typo.

    whitequark committed Jan 26, 2019
    Copy the full SHA
    e844b0e View commit details
Showing with 3 additions and 3 deletions.
  1. +1 −1 nmigen/compat/fhdl/module.py
  2. +2 −2 nmigen/compat/fhdl/specials.py
2 changes: 1 addition & 1 deletion nmigen/compat/fhdl/module.py
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ def __getattr__(self, name):
return _CompatModuleSyncCD(self._cm, name)

def __setattr__(self, name, value):
if not isinstance(value, _ModuleSyncCD):
if not isinstance(value, _CompatModuleSyncCD):
raise AttributeError("Attempted to assign sync property - use += instead")


4 changes: 2 additions & 2 deletions nmigen/compat/fhdl/specials.py
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
from ...tools import deprecated, extend
from ...hdl.ast import *
from ...hdl.mem import Memory as NativeMemory
from ...hdl.ir import Fragment
from ...hdl.ir import Fragment, Instance
from ...lib.io import TSTriple as NativeTSTriple, Tristate as NativeTristate
from .module import Module as CompatModule


__all__ = ["TSTriple", "READ_FIRST", "WRITE_FIRST", "NO_CHANGE", "_MemoryPort", "Memory"]
__all__ = ["TSTriple", "Instance", "Memory", "READ_FIRST", "WRITE_FIRST", "NO_CHANGE"]


class CompatTSTriple(NativeTSTriple):