From 369bc3e30721eb48e4425c8951cf9d99a4ab7e18 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 2 Jul 2020 18:26:08 +0000 Subject: [PATCH] =?utf8?q?=5Fyosys=E2=86=92=5Ftoolchain.yosys?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- nmigen/{_toolchain.py => _toolchain/__init__.py} | 0 nmigen/{_yosys.py => _toolchain/yosys.py} | 2 +- nmigen/back/cxxrtl.py | 2 +- nmigen/back/verilog.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename nmigen/{_toolchain.py => _toolchain/__init__.py} (100%) rename nmigen/{_yosys.py => _toolchain/yosys.py} (99%) diff --git a/nmigen/_toolchain.py b/nmigen/_toolchain/__init__.py similarity index 100% rename from nmigen/_toolchain.py rename to nmigen/_toolchain/__init__.py diff --git a/nmigen/_yosys.py b/nmigen/_toolchain/yosys.py similarity index 99% rename from nmigen/_yosys.py rename to nmigen/_toolchain/yosys.py index e84da53..c223306 100644 --- a/nmigen/_yosys.py +++ b/nmigen/_toolchain/yosys.py @@ -23,7 +23,7 @@ try: except ImportError: importlib_resources = None -from ._toolchain import has_tool, require_tool +from . import has_tool, require_tool __all__ = ["YosysError", "YosysBinary", "find_yosys"] diff --git a/nmigen/back/cxxrtl.py b/nmigen/back/cxxrtl.py index 38cb41b..f7c18ec 100644 --- a/nmigen/back/cxxrtl.py +++ b/nmigen/back/cxxrtl.py @@ -1,4 +1,4 @@ -from .._yosys import * +from .._toolchain.yosys import * from . import rtlil diff --git a/nmigen/back/verilog.py b/nmigen/back/verilog.py index 1d2cb4a..31db02b 100644 --- a/nmigen/back/verilog.py +++ b/nmigen/back/verilog.py @@ -1,4 +1,4 @@ -from .._yosys import * +from .._toolchain.yosys import * from . import rtlil -- 2.30.2