From: whitequark Date: Sun, 18 Aug 2019 16:27:11 +0000 (+0000) Subject: compat.fhdl.decorators: avoid using deprecated NativeCEInserter. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0090bae759a271beafbee67a3096d4a1052e07ce;p=nmigen.git compat.fhdl.decorators: avoid using deprecated NativeCEInserter. --- diff --git a/nmigen/compat/fhdl/decorators.py b/nmigen/compat/fhdl/decorators.py index 933dcc0..f4ab519 100644 --- a/nmigen/compat/fhdl/decorators.py +++ b/nmigen/compat/fhdl/decorators.py @@ -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