compat.fhdl.decorators: avoid using deprecated NativeCEInserter.

This commit is contained in:
whitequark 2019-08-18 16:27:11 +00:00
parent d44ea4e9fe
commit 84f2c3df2b

View file

@ -1,6 +1,6 @@
from ...hdl.ast import * from ...hdl.ast import *
from ...hdl.xfrm import ResetInserter as NativeResetInserter 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 from ...hdl.xfrm import DomainRenamer as NativeDomainRenamer
@ -33,7 +33,7 @@ class CompatResetInserter(_CompatControlInserter):
class CompatCEInserter(_CompatControlInserter): class CompatCEInserter(_CompatControlInserter):
_control_name = "ce" _control_name = "ce"
_native_inserter = NativeCEInserter _native_inserter = NativeEnableInserter
ResetInserter = CompatResetInserter ResetInserter = CompatResetInserter