{,_}tools→{,_}utils

In context of nMigen, "tools" means "parts of toolchain", so it is
confusing to have a completely unrelated module also called "tools".
This commit is contained in:
whitequark 2019-10-13 18:53:38 +00:00
parent ccd28b40c2
commit 2f9dab361f
39 changed files with 43 additions and 43 deletions

View file

@ -1,4 +1,4 @@
from ..._tools import _ignore_deprecated
from ..._utils import _ignore_deprecated
from ...compat import *
from ...compat.fhdl import verilog

View file

@ -1,6 +1,6 @@
import unittest
from ..._tools import _ignore_deprecated
from ..._utils import _ignore_deprecated
from ...compat import *

View file

@ -1,7 +1,7 @@
from collections import OrderedDict
from ..build.dsl import *
from .tools import *
from .utils import *
class PinsTestCase(FHDLTestCase):

View file

@ -3,7 +3,7 @@ from ..hdl.rec import *
from ..lib.io import *
from ..build.dsl import *
from ..build.res import *
from .tools import *
from .utils import *
class ResourceManagerTestCase(FHDLTestCase):

View file

@ -1,6 +1,6 @@
from ..hdl.ir import Fragment
from ..compat import *
from .tools import *
from .utils import *
class CompatTestCase(FHDLTestCase):

View file

@ -2,7 +2,7 @@ import sys
import subprocess
from pathlib import Path
from .tools import *
from .utils import *
def example_test(name):

View file

@ -2,7 +2,7 @@ import warnings
from enum import Enum
from ..hdl.ast import *
from .tools import *
from .utils import *
class UnsignedEnum(Enum):

View file

@ -1,5 +1,5 @@
from ..hdl.cd import *
from .tools import *
from .utils import *
class ClockDomainTestCase(FHDLTestCase):

View file

@ -4,7 +4,7 @@ from enum import Enum
from ..hdl.ast import *
from ..hdl.cd import *
from ..hdl.dsl import *
from .tools import *
from .utils import *
class DSLTestCase(FHDLTestCase):

View file

@ -4,7 +4,7 @@ from ..hdl.ast import *
from ..hdl.cd import *
from ..hdl.ir import *
from ..hdl.mem import *
from .tools import *
from .utils import *
class BadElaboratable(Elaboratable):

View file

@ -1,6 +1,6 @@
from ..hdl.ast import *
from ..hdl.mem import *
from .tools import *
from .utils import *
class MemoryTestCase(FHDLTestCase):

View file

@ -2,7 +2,7 @@ from enum import Enum
from ..hdl.ast import *
from ..hdl.rec import *
from .tools import *
from .utils import *
class UnsignedEnum(Enum):

View file

@ -3,7 +3,7 @@ from ..hdl.cd import *
from ..hdl.ir import *
from ..hdl.xfrm import *
from ..hdl.mem import *
from .tools import *
from .utils import *
class DomainRenamerTestCase(FHDLTestCase):

View file

@ -1,4 +1,4 @@
from .tools import *
from .utils import *
from ..hdl import *
from ..back.pysim import *
from ..lib.cdc import *

View file

@ -1,4 +1,4 @@
from .tools import *
from .utils import *
from ..hdl import *
from ..asserts import *
from ..back.pysim import *

View file

@ -1,4 +1,4 @@
from .tools import *
from .utils import *
from ..hdl import *
from ..asserts import *
from ..back.pysim import *

View file

@ -1,4 +1,4 @@
from .tools import *
from .utils import *
from ..hdl import *
from ..hdl.rec import *
from ..back.pysim import *

View file

@ -1,7 +1,7 @@
from contextlib import contextmanager
from .tools import *
from .._tools import flatten, union
from .utils import *
from .._utils import flatten, union
from ..hdl.ast import *
from ..hdl.cd import *
from ..hdl.mem import *