From: Florent Kermarrec Date: Mon, 30 Sep 2019 09:32:07 +0000 (+0200) Subject: soc/integration: move cpu_interface retro-compatibility to litex/__init__ X-Git-Tag: 24jan2021_ls180~955 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d90058b180ff43856da47f03b7bc736f16b887d;p=litex.git soc/integration: move cpu_interface retro-compatibility to litex/__init__ --- diff --git a/litex/__init__.py b/litex/__init__.py index 19eec2b3..e1534fda 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 1c9d9b4b..8a97adbd 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