diff --git a/migen/bus/asmibus.py b/migen/bus/asmibus.py index cab327a7d..6f639e957 100644 --- a/migen/bus/asmibus.py +++ b/migen/bus/asmibus.py @@ -3,9 +3,6 @@ from migen.genlib.misc import optree from migen.bus.transactions import * from migen.sim.generic import Proxy, PureSimulable -class FinalizeError(Exception): - pass - (SLOT_EMPTY, SLOT_PENDING, SLOT_PROCESSING) = range(3) class Slot: diff --git a/migen/fhdl/structure.py b/migen/fhdl/structure.py index 8052fdffb..3b5ca53e9 100644 --- a/migen/fhdl/structure.py +++ b/migen/fhdl/structure.py @@ -276,3 +276,6 @@ class ClockDomain: n_rst = n2 self.clk = Signal(name_override=n_clk) self.rst = Signal(name_override=n_rst) + +class FinalizeError(Exception): + pass diff --git a/migen/pytholite/reg.py b/migen/pytholite/reg.py index 5ec49c4a9..6346753d0 100644 --- a/migen/pytholite/reg.py +++ b/migen/pytholite/reg.py @@ -3,9 +3,6 @@ from operator import itemgetter from migen.fhdl.structure import * from migen.fhdl import visit as fhdl -class FinalizeError(Exception): - pass - class AbstractLoad: def __init__(self, target, source): self.target = target