From 4d90058b180ff43856da47f03b7bc736f16b887d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 30 Sep 2019 11:32:07 +0200 Subject: [PATCH] soc/integration: move cpu_interface retro-compatibility to litex/__init__ --- litex/__init__.py | 7 ++++++- litex/soc/integration/__init__.py | 4 ---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/litex/__init__.py b/litex/__init__.py index 19eec2b36..e1534fda3 100644 --- a/litex/__init__.py +++ b/litex/__init__.py @@ -1 +1,6 @@ -from litex.tools.litex_client import RemoteClient \ No newline at end of file +import sys +from litex.tools.litex_client import RemoteClient + +# retro-compat 2019-09-29 +from litex.soc.integration import export +sys.modules["litex.soc.integration.cpu_interface"] = export \ No newline at end of file diff --git a/litex/soc/integration/__init__.py b/litex/soc/integration/__init__.py index 1c9d9b4b8..8a97adbde 100644 --- a/litex/soc/integration/__init__.py +++ b/litex/soc/integration/__init__.py @@ -1,6 +1,2 @@ - from litex.soc.integration.soc_core import SoCCore from litex.soc.integration.soc_sdram import SoCSDRAM - -# FIXME: retro-compat 2019-09-29 -from litex.soc.integration import export as cpu_interface