corelogic -> genlib
This commit is contained in:
parent
38664d6e16
commit
f9acee4e68
|
@ -1,4 +1,4 @@
|
|||
from migen.corelogic.complex import *
|
||||
from migen.genlib.complex import *
|
||||
from migen.fhdl import verilog
|
||||
|
||||
w = Complex(32, 42)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl import verilog
|
||||
from migen.corelogic.fsm import FSM
|
||||
from migen.genlib.fsm import FSM
|
||||
|
||||
s = Signal()
|
||||
myfsm = FSM("FOO", "BAR")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl import verilog
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.misc import optree
|
||||
|
||||
def gen_list(n):
|
||||
s = [Signal() for i in range(n)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl import verilog
|
||||
from migen.corelogic import divider
|
||||
from migen.genlib import divider
|
||||
|
||||
d1 = divider.Divider(16)
|
||||
d2 = divider.Divider(16)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.record import *
|
||||
from migen.genlib.record import *
|
||||
|
||||
L = [
|
||||
("x", 10, 8),
|
||||
|
|
|
@ -7,7 +7,7 @@ import matplotlib.pyplot as plt
|
|||
|
||||
from migen.fhdl.structure import *
|
||||
from migen.fhdl import verilog
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.misc import optree
|
||||
from migen.fhdl import autofragment
|
||||
from migen.sim.generic import Simulator, PureSimulable
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.flow.actor import *
|
||||
from migen.corelogic.buffers import ReorderBuffer
|
||||
from migen.genlib.buffers import ReorderBuffer
|
||||
|
||||
class SequentialReader(Actor):
|
||||
def __init__(self, port):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.record import *
|
||||
from migen.corelogic.fsm import *
|
||||
from migen.genlib.record import *
|
||||
from migen.genlib.fsm import *
|
||||
from migen.flow.actor import *
|
||||
|
||||
# Generates integers from start to maximum-1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.bank.description import *
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.misc import optree
|
||||
|
||||
class EventSource:
|
||||
def __init__(self):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.misc import optree
|
||||
from migen.bus.transactions import *
|
||||
from migen.sim.generic import Proxy, PureSimulable
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.misc import optree
|
||||
|
||||
(S_TO_M, M_TO_S) = range(2)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl.specials import Memory
|
||||
from migen.corelogic import roundrobin
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib import roundrobin
|
||||
from migen.genlib.misc import optree
|
||||
from migen.bus.simple import *
|
||||
from migen.bus.transactions import *
|
||||
from migen.sim.generic import Proxy, PureSimulable
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl.specials import Memory
|
||||
from migen.bus import wishbone
|
||||
from migen.corelogic.fsm import FSM
|
||||
from migen.corelogic.misc import split, displacer, chooser
|
||||
from migen.corelogic.record import Record
|
||||
from migen.genlib.fsm import FSM
|
||||
from migen.genlib.misc import split, displacer, chooser
|
||||
from migen.genlib.record import Record
|
||||
|
||||
# cachesize (in 32-bit words) is the size of the data store, must be a power of 2
|
||||
class WB2ASMI:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from migen.bus import wishbone
|
||||
from migen.bus import csr
|
||||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.misc import timeline
|
||||
from migen.genlib.misc import timeline
|
||||
|
||||
class WB2CSR:
|
||||
def __init__(self):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.corelogic.record import *
|
||||
from migen.genlib.misc import optree
|
||||
from migen.genlib.record import *
|
||||
|
||||
class Endpoint:
|
||||
def __init__(self, token):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from networkx import MultiDiGraph
|
||||
|
||||
from migen.fhdl.structure import *
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.misc import optree
|
||||
from migen.flow.actor import *
|
||||
from migen.flow import plumbing
|
||||
from migen.flow.isd import DFGReporter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.flow.actor import *
|
||||
from migen.corelogic.record import *
|
||||
from migen.corelogic.misc import optree
|
||||
from migen.genlib.record import *
|
||||
from migen.genlib.misc import optree
|
||||
|
||||
class Buffer(PipelinedActor):
|
||||
def __init__(self, layout):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl import visit as fhdl
|
||||
from migen.corelogic.fsm import FSM
|
||||
from migen.genlib.fsm import FSM
|
||||
|
||||
class AbstractNextState:
|
||||
def __init__(self, target_state):
|
||||
|
|
Loading…
Reference in New Issue