From 72277ffd9bde86c603726bb6b68be2836a029ee0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Apr 2020 10:29:35 +0200 Subject: [PATCH] examples: use CRG from litex.build. --- examples/fast_scope_arty.py | 3 +-- examples/targets/simple.py | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/fast_scope_arty.py b/examples/fast_scope_arty.py index 8f2083b..b6b12ac 100755 --- a/examples/fast_scope_arty.py +++ b/examples/fast_scope_arty.py @@ -6,10 +6,9 @@ import sys from migen import * -from migen.genlib.io import CRG from litex.build.generic_platform import * -from litex.build.io import DifferentialInput +from litex.build.io import DifferentialInput, CRG from litex.build.tools import write_to_file from litex.boards.platforms import arty diff --git a/examples/targets/simple.py b/examples/targets/simple.py index 7d02377..5e26482 100644 --- a/examples/targets/simple.py +++ b/examples/targets/simple.py @@ -2,7 +2,8 @@ # License: BSD from migen import * -from migen.genlib.io import CRG + +from litex.build.io import CRG from litex.soc.integration.soc_core import SoCMini