From 0090bae759a271beafbee67a3096d4a1052e07ce Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 18 Aug 2019 16:27:11 +0000 Subject: [PATCH] compat.fhdl.decorators: avoid using deprecated NativeCEInserter. --- nmigen/compat/fhdl/decorators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2