From 42afba2bbcc23e80c46aedebc0ba475cdfaca88d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 12 Sep 2015 19:44:35 +0800 Subject: [PATCH] fhdl/decorators: remove traces of deprecated API --- migen/fhdl/decorators.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/migen/fhdl/decorators.py b/migen/fhdl/decorators.py index 0d566f938..694479c56 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