From: Sebastien Bourdeauducq Date: Sat, 12 Sep 2015 11:44:35 +0000 (+0800) Subject: fhdl/decorators: remove traces of deprecated API X-Git-Tag: 24jan2021_ls180~2099^2~3^2~92 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42afba2bbcc23e80c46aedebc0ba475cdfaca88d;p=litex.git fhdl/decorators: remove traces of deprecated API --- diff --git a/migen/fhdl/decorators.py b/migen/fhdl/decorators.py index 0d566f93..694479c5 100644 --- a/migen/fhdl/decorators.py +++ b/migen/fhdl/decorators.py @@ -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