from fractions import Fraction
from migen import *
-from migen.genlib.io import DDROutput
from migen.genlib.resetsync import AsyncResetSynchronizer
+from litex.build.io import DDROutput
from litex.boards.platforms import minispartan6
from litex.soc.cores.clock import *
# This file is Copyright (c) 2019 vytautasb <v.buitvydas@limemicro.com>
# License: BSD
+from migen import *
from migen.fhdl.module import Module
from migen.fhdl.specials import Instance
-from migen.genlib.io import DifferentialInput, DifferentialOutput
from migen.genlib.resetsync import AsyncResetSynchronizer
-from migen.fhdl.structure import *
+from litex.build.io import *
# DifferentialInput --------------------------------------------------------------------------------
from migen.fhdl.module import Module
from migen.fhdl.specials import Instance, Tristate
from migen.fhdl.bitcontainer import value_bits_sign
-from migen.genlib.io import *
from migen.genlib.resetsync import AsyncResetSynchronizer
-from litex.gen.io import *
+from litex.build.io import *
# ECP5 AsyncResetSynchronizer ----------------------------------------------------------------------
from migen.fhdl.module import Module
from migen.genlib.cdc import *
from migen.genlib.resetsync import AsyncResetSynchronizer
-from migen.genlib.io import *
+from litex.build.io import *
from litex.build import tools
# Colorama -----------------------------------------------------------------------------------------
import logging
from migen import *
-from migen.genlib.io import DifferentialInput
from migen.genlib.resetsync import AsyncResetSynchronizer
+from litex.build.io import DifferentialInput
+
from litex.soc.integration.soc import colorer
from litex.soc.interconnect.csr import *
from migen import *
from migen.genlib.misc import timeline
-from migen.genlib.io import DifferentialOutput
+
+from litex.build.io import DifferentialOutput
from litex.soc.interconnect import wishbone