Commit 2b8dc52c authored by Sebastien Bourdeauducq's avatar Sebastien Bourdeauducq
Browse files

Use common definition for FinalizeError

parent b75fb7f9
...@@ -3,9 +3,6 @@ from migen.genlib.misc import optree ...@@ -3,9 +3,6 @@ from migen.genlib.misc import optree
from migen.bus.transactions import * from migen.bus.transactions import *
from migen.sim.generic import Proxy, PureSimulable from migen.sim.generic import Proxy, PureSimulable
class FinalizeError(Exception):
pass
(SLOT_EMPTY, SLOT_PENDING, SLOT_PROCESSING) = range(3) (SLOT_EMPTY, SLOT_PENDING, SLOT_PROCESSING) = range(3)
class Slot: class Slot:
......
...@@ -276,3 +276,6 @@ class ClockDomain: ...@@ -276,3 +276,6 @@ class ClockDomain:
n_rst = n2 n_rst = n2
self.clk = Signal(name_override=n_clk) self.clk = Signal(name_override=n_clk)
self.rst = Signal(name_override=n_rst) self.rst = Signal(name_override=n_rst)
class FinalizeError(Exception):
pass
...@@ -3,9 +3,6 @@ from operator import itemgetter ...@@ -3,9 +3,6 @@ from operator import itemgetter
from migen.fhdl.structure import * from migen.fhdl.structure import *
from migen.fhdl import visit as fhdl from migen.fhdl import visit as fhdl
class FinalizeError(Exception):
pass
class AbstractLoad: class AbstractLoad:
def __init__(self, target, source): def __init__(self, target, source):
self.target = target self.target = target
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment