fhdl/decorators: remove traces of deprecated API
This commit is contained in:
parent
eb921fb957
commit
42afba2bbc
|
@ -3,9 +3,7 @@ from migen.fhdl.module import Module
|
|||
from migen.fhdl.tools import insert_reset, rename_clock_domain
|
||||
|
||||
|
||||
__all__ = ["DecorateModule",
|
||||
"InsertCE", "InsertReset", "RenameClockDomains",
|
||||
"CEInserter", "ResetInserter", "ClockDomainsRenamer",
|
||||
__all__ = ["CEInserter", "ResetInserter", "ClockDomainsRenamer",
|
||||
"ModuleTransformer"]
|
||||
|
||||
|
||||
|
@ -89,8 +87,6 @@ class CEInserter(ControlInserter):
|
|||
for ce, cdn in to_insert:
|
||||
f.sync[cdn] = [If(ce, *f.sync[cdn])]
|
||||
|
||||
InsertCE = CEInserter.adhoc
|
||||
|
||||
|
||||
class ResetInserter(ControlInserter):
|
||||
control_name = "reset"
|
||||
|
@ -99,8 +95,6 @@ class ResetInserter(ControlInserter):
|
|||
for reset, cdn in to_insert:
|
||||
f.sync[cdn] = insert_reset(reset, f.sync[cdn])
|
||||
|
||||
InsertReset = ResetInserter.adhoc
|
||||
|
||||
|
||||
class ClockDomainsRenamer(ModuleTransformer):
|
||||
def __init__(self, cd_remapping):
|
||||
|
@ -111,5 +105,3 @@ class ClockDomainsRenamer(ModuleTransformer):
|
|||
def transform_fragment(self, i, f):
|
||||
for old, new in self.cd_remapping.items():
|
||||
rename_clock_domain(f, old, new)
|
||||
|
||||
RenameClockDomains = ClockDomainsRenamer.adhoc
|
||||
|
|
Loading…
Reference in New Issue