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: ed7e07c6c1c3
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: 84f2c3df2bfe
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Aug 18, 2019

  1. Copy the full SHA
    d44ea4e View commit details
  2. Copy the full SHA
    84f2c3d View commit details
Showing with 4 additions and 3 deletions.
  1. +2 −2 nmigen/compat/fhdl/decorators.py
  2. +2 −1 nmigen/hdl/xfrm.py
4 changes: 2 additions & 2 deletions nmigen/compat/fhdl/decorators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from ...hdl.ast import *
from ...hdl.xfrm import ResetInserter as NativeResetInserter
from ...hdl.xfrm import CEInserter as NativeCEInserter
from ...hdl.xfrm import EnableInserter as NativeEnableInserter
from ...hdl.xfrm import DomainRenamer as NativeDomainRenamer


@@ -33,7 +33,7 @@ class CompatResetInserter(_CompatControlInserter):

class CompatCEInserter(_CompatControlInserter):
_control_name = "ce"
_native_inserter = NativeCEInserter
_native_inserter = NativeEnableInserter


ResetInserter = CompatResetInserter
3 changes: 2 additions & 1 deletion nmigen/hdl/xfrm.py
Original file line number Diff line number Diff line change
@@ -698,4 +698,5 @@ def on_fragment(self, fragment):
return new_fragment


CEInserter = deprecated("instead of `CEInserter`, use `EnableInserter`")(EnableInserter)
CEInserter = staticmethod(
deprecated("instead of `CEInserter`, use `EnableInserter`")(EnableInserter))