-from liteusb.ftdi.uart import FtdiUART
-from liteusb.ftdi.dma import FtdiDMA
-from liteusb.ftdi.com import FtdiCom
-from liteusb.ftdi.crc import FtdiCRC32
\ No newline at end of file
+from misoclib.com.liteusb.frontend.uart import FtdiUART
+from misoclib.com.liteusb.frontend.dma import FtdiDMA
+from misoclib.com.liteusb.core.com import FtdiCom
+from misoclib.com.liteusb.core.crc import FtdiCRC32
from migen.fhdl.std import *
from migen.flow.actor import *
-from liteusb.ftdi.std import *
-from liteusb.ftdi.crossbar import FtdiCrossbar
-from liteusb.ftdi.packetizer import FtdiPacketizer
-from liteusb.ftdi.depacketizer import FtdiDepacketizer
-from liteusb.ftdi.phy import FtdiPHY
+from misoclib.com.liteusb.common import *
+from misoclib.com.liteusb.frontend.crossbar import FtdiCrossbar
+from misoclib.com.liteusb.core.packetizer import FtdiPacketizer
+from misoclib.com.liteusb.core.depacketizer import FtdiDepacketizer
+from misoclib.com.liteusb.phy.ft2232h import FtdiPHY
class FtdiCom(Module):
def __init__(self, pads, *ports):
-
from collections import OrderedDict
from migen.fhdl.std import *
from migen.genlib.fsm import FSM, NextState
from migen.flow.actor import Sink, Source
from migen.actorlib.fifo import SyncFIFO
-from liteusb.ftdi.std import *
+from misoclib.com.liteusb.common import *
class CRCEngine(Module):
"""Cyclic Redundancy Check Engine
from migen.actorlib.structuring import *
from migen.genlib.fsm import FSM, NextState
-from liteusb.ftdi.std import *
+from misoclib.com.liteusb.common import *
class FtdiDepacketizer(Module):
def __init__(self, timeout=10):
from migen.actorlib.structuring import *
from migen.genlib.fsm import FSM, NextState
-from liteusb.ftdi.std import *
+from misoclib.com.liteusb.common import *
class FtdiPacketizer(Module):
def __init__(self):
from migen.genlib.roundrobin import *
from migen.genlib.record import Record
-from liteusb.ftdi.std import *
+from misoclib.com.liteusb.common import *
class FtdiCrossbar(Module):
def __init__(self, masters, slave=None):
from misoclib.mem.sdram.frontend import dma_lasmi
-from liteusb.ftdi.std import *
+from misoclib.com.liteusb.common import *
class FtdiDMAWriter(Module, AutoCSR):
def __init__(self, lasmim):
from migen.bank.eventmanager import *
from migen.genlib.fifo import SyncFIFOBuffered
-from liteusb.ftdi.std import *
+from misoclib.com.liteusb.common import *
class FtdiUART(Module, AutoCSR):
def __init__(self, tag, fifo_depth=64):