-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg
from migen.bank.description import *
import math
from collections import OrderedDict
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from migen.genlib.record import *
from migen.genlib.fsm import FSM, NextState
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
from migen.genlib.fsm import FSM, NextState
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.record import *
from migen.sim.generic import run_simulation
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
from migen.bank.eventmanager import *
from migen.genlib.record import Record
-from migen.fhdl.std import *
+from migen import *
from misoc.tools.wishbone import WishboneStreamingBridge
from misoc.com.uart.phy.serial import UARTPHYSerial
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg
from migen.bank.description import *
from migen.flow.actor import Sink, Source
import pty
import time
-from migen.fhdl.std import *
+from migen import *
from migen.flow.actor import Sink, Source
import subprocess
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
def get_id():
import os
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
import os
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
from migen.bank.eventmanager import *
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.genlib.fsm import FSM, NextState
-from migen.fhdl.std import *
+from migen import *
from migen.bus.transactions import *
from migen.bus import wishbone
from migen.genlib.misc import timeline
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.record import *
from migen.bank.description import *
-from migen.fhdl.std import *
+from migen import *
from migen.bus.transactions import *
from migen.genlib import roundrobin
from migen.genlib.record import *
-from migen.fhdl.std import *
+from migen import *
from misoc.mem.sdram.phy import dfi
from misoc.mem.sdram.core import lasmibus
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.roundrobin import *
from migen.genlib.fsm import FSM, NextState
from migen.genlib.misc import optree
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.roundrobin import *
from migen.genlib.misc import optree
from migen.genlib.fsm import FSM, NextState
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.misc import timeline
from migen.genlib.fsm import FSM
-from migen.fhdl.std import *
+from migen import *
from migen.genlib import roundrobin
from migen.genlib.record import *
from migen.genlib.misc import optree
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.genlib.fsm import FSM, NextState
from migen.genlib.misc import optree, WaitTimer
-from migen.fhdl.std import *
+from migen import *
from migen.flow.actor import *
from migen.genlib.fifo import SyncFIFO
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.misc import optree
from migen.bank.description import *
from migen.actorlib.spi import *
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.fsm import FSM, NextState
class WB2LASMI(Module):
from math import ceil
-from migen.fhdl.std import *
+from migen import *
from misoc.mem import sdram
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.record import *
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
from misoc.mem.sdram.phy import dfi
# This PHY only supports CAS Latency 2.
#
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.record import *
from migen.fhdl.specials import *
-from migen.fhdl.std import log2_int
+from migen import log2_int
def get_sdram_phy_header(sdram_phy_settings):
# tCK=5ns CL=7 CWL=6
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
from misoc.mem.sdram.phy.dfi import *
# Write commands must be sent on phase 1.
#
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.record import *
from misoc.mem.sdram.phy.dfi import *
# TODO:
# - add $display support to Migen and manage timing violations?
-from migen.fhdl.std import *
+from migen import *
from migen.fhdl.specials import *
from misoc.mem.sdram.phy.dfi import *
from misoc.mem import sdram
-from migen.fhdl.std import *
+from migen import *
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
-from migen.fhdl.std import *
+from migen import *
from migen.sim.generic import run_simulation
from misoc.mem.sdram.code import lasmibus
from fractions import Fraction
from math import ceil
-from migen.fhdl.std import *
+from migen import *
from misoc import sdram
-from migen.fhdl.std import *
+from migen import *
from migen.sim.generic import run_simulation
from misoc.mem.sdram.core import lasmibus
-from migen.fhdl.std import *
+from migen import *
from migen.sim.generic import run_simulation
from misoc.mem.sdram.core import lasmibus
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.bus.transactions import *
from migen.sim.generic import run_simulation
-from migen.fhdl.std import *
+from migen import *
from migen.bus.transactions import TRead, TWrite
from migen.bus import wishbone
from migen.sim.generic import Simulator
from random import Random
-from migen.fhdl.std import *
+from migen import *
from migen.sim.generic import run_simulation
from misoc.mem.sdram.core.lasmicon.refresher import *
from operator import itemgetter
-from migen.fhdl.std import *
+from migen import *
from migen.bank import csrgen
from migen.bus import wishbone, csr, wishbone2csr
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import CSRStatus
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.genlib.record import *
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.genlib.misc import chooser, Counter, WaitTimer
from migen.genlib.record import Record
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import AutoCSR
from misoc.video.dvisampler.edid import EDID
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg, PulseSynchronizer
from migen.genlib.fifo import AsyncFIFO
from migen.genlib.record import Record
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg
from migen.genlib.fifo import _inc
from migen.genlib.record import Record, layout_len
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg
from migen.genlib.misc import optree
from migen.bank.description import *
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg
from migen.bank.description import *
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.cdc import MultiReg, PulseSynchronizer
from migen.bank.description import *
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.fifo import AsyncFIFO
from migen.genlib.record import layout_len
from migen.bank.description import AutoCSR
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.record import Record
from misoc.video.dvisampler.common import control_tokens, channel_layout
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.fsm import FSM, NextState
from migen.bank.description import *
from migen.bank.eventmanager import *
-from migen.fhdl.std import *
+from migen import *
from migen.fhdl.specials import Tristate
from migen.genlib.cdc import MultiReg
from migen.genlib.fsm import FSM, NextState
-from migen.fhdl.std import *
+from migen import *
from migen.bank.description import *
from migen.genlib.misc import optree
from migen.genlib.cdc import PulseSynchronizer
-from migen.fhdl.std import *
+from migen import *
from migen.flow.network import *
from migen.flow import plumbing
from migen.bank.description import AutoCSR
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.misc import optree
control_tokens = [0b1101010100, 0b0010101011, 0b0101010100, 0b1010101011]
-from migen.fhdl.std import *
+from migen import *
from migen.flow.actor import *
from migen.bank.description import CSRStorage
from migen.genlib.record import Record
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.fifo import AsyncFIFO
from migen.genlib.cdc import MultiReg
from migen.bank.description import *
-from migen.fhdl.std import *
+from migen import *
from misoc.mem.sdram.module import IS42S16160
from misoc.mem.sdram.phy import gensdrphy
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from misoc.mem.sdram.module import MT8JTF12864
from fractions import Fraction
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from migen.actorlib.fifo import SyncFIFO
from fractions import Fraction
from math import ceil
-from migen.fhdl.std import *
+from migen import *
from mibuild.generic_platform import ConstraintError
from misoc.mem.sdram.module import MT46V32M16
from fractions import Fraction
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from misoc.mem.sdram.module import MT46H32M16
from fractions import Fraction
-from migen.fhdl.std import *
+from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from misoc.mem.sdram.module import MT48LC4M16
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.genlib.io import CRG
-from migen.fhdl.std import *
+from migen import *
from migen.bus import wishbone
from migen.genlib.io import CRG