{,_}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:
parent
ccd28b40c2
commit
2f9dab361f
39 changed files with 43 additions and 43 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from ..._tools import _ignore_deprecated
|
||||
from ..._utils import _ignore_deprecated
|
||||
from ...compat import *
|
||||
from ...compat.fhdl import verilog
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from ..._tools import _ignore_deprecated
|
||||
from ..._utils import _ignore_deprecated
|
||||
from ...compat import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from collections import OrderedDict
|
||||
|
||||
from ..build.dsl import *
|
||||
from .tools import *
|
||||
from .utils import *
|
||||
|
||||
|
||||
class PinsTestCase(FHDLTestCase):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from ..hdl.ir import Fragment
|
||||
from ..compat import *
|
||||
from .tools import *
|
||||
from .utils import *
|
||||
|
||||
|
||||
class CompatTestCase(FHDLTestCase):
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import sys
|
|||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
from .tools import *
|
||||
from .utils import *
|
||||
|
||||
|
||||
def example_test(name):
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import warnings
|
|||
from enum import Enum
|
||||
|
||||
from ..hdl.ast import *
|
||||
from .tools import *
|
||||
from .utils import *
|
||||
|
||||
|
||||
class UnsignedEnum(Enum):
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from ..hdl.cd import *
|
||||
from .tools import *
|
||||
from .utils import *
|
||||
|
||||
|
||||
class ClockDomainTestCase(FHDLTestCase):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from ..hdl.ast import *
|
||||
from ..hdl.mem import *
|
||||
from .tools import *
|
||||
from .utils import *
|
||||
|
||||
|
||||
class MemoryTestCase(FHDLTestCase):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from .tools import *
|
||||
from .utils import *
|
||||
from ..hdl import *
|
||||
from ..back.pysim import *
|
||||
from ..lib.cdc import *
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from .tools import *
|
||||
from .utils import *
|
||||
from ..hdl import *
|
||||
from ..asserts import *
|
||||
from ..back.pysim import *
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from .tools import *
|
||||
from .utils import *
|
||||
from ..hdl import *
|
||||
from ..asserts import *
|
||||
from ..back.pysim import *
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from .tools import *
|
||||
from .utils import *
|
||||
from ..hdl import *
|
||||
from ..hdl.rec import *
|
||||
from ..back.pysim import *
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue