From: Florent Kermarrec Date: Fri, 10 Apr 2020 07:18:39 +0000 (+0200) Subject: litex.build: update from migen.genlib.io litex.build.io. X-Git-Tag: 24jan2021_ls180~472 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79913e8614a08dbaff25fdcc35a564863fa515c9;p=litex.git litex.build: update from migen.genlib.io litex.build.io. --- diff --git a/litex/boards/targets/minispartan6.py b/litex/boards/targets/minispartan6.py index 2903a507..408ed442 100755 --- a/litex/boards/targets/minispartan6.py +++ b/litex/boards/targets/minispartan6.py @@ -9,9 +9,9 @@ import argparse 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 * diff --git a/litex/build/altera/common.py b/litex/build/altera/common.py index 45770984..252f5fbd 100644 --- a/litex/build/altera/common.py +++ b/litex/build/altera/common.py @@ -2,12 +2,12 @@ # This file is Copyright (c) 2019 vytautasb # 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 -------------------------------------------------------------------------------- diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index 6b340c8d..52286dda 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -6,10 +6,9 @@ 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 ---------------------------------------------------------------------- diff --git a/litex/build/xilinx/common.py b/litex/build/xilinx/common.py index bc6c96d5..0017f623 100644 --- a/litex/build/xilinx/common.py +++ b/litex/build/xilinx/common.py @@ -13,8 +13,8 @@ from migen.fhdl.specials import Instance 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 ----------------------------------------------------------------------------------------- diff --git a/litex/soc/cores/clock.py b/litex/soc/cores/clock.py index 2ff7668c..97f83c7b 100644 --- a/litex/soc/cores/clock.py +++ b/litex/soc/cores/clock.py @@ -8,9 +8,10 @@ import math 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 * diff --git a/litex/soc/cores/hyperbus.py b/litex/soc/cores/hyperbus.py index c1dc0b8c..cfc81310 100644 --- a/litex/soc/cores/hyperbus.py +++ b/litex/soc/cores/hyperbus.py @@ -4,7 +4,8 @@ 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