_tools: extract most utility methods to a private package.

We don't want to guarantee backwards compatibility for most of them.
This commit is contained in:
whitequark 2019-10-12 22:27:43 +00:00
parent a97003d57a
commit da48c05bdf
22 changed files with 106 additions and 103 deletions

View file

@ -1,6 +1,6 @@
import warnings
from ...tools import deprecated
from ..._tools import deprecated
from ...lib.cdc import FFSynchronizer as NativeFFSynchronizer
from ...hdl.ast import *
from ..fhdl.module import CompatModule

View file

@ -1,4 +1,4 @@
from ...tools import deprecated, extend
from ..._tools import deprecated, extend
from ...lib.fifo import (FIFOInterface as NativeFIFOInterface,
SyncFIFO as NativeSyncFIFO, SyncFIFOBuffered as NativeSyncFIFOBuffered,
AsyncFIFO as NativeAsyncFIFO, AsyncFIFOBuffered as NativeAsyncFIFOBuffered)

View file

@ -1,6 +1,6 @@
from collections import OrderedDict
from ...tools import _ignore_deprecated
from ..._tools import _ignore_deprecated
from ...hdl.xfrm import ValueTransformer, StatementTransformer
from ...hdl.ast import *
from ..fhdl.module import CompatModule, CompatFinalizeError

View file

@ -1,4 +1,4 @@
from ...tools import deprecated
from ..._tools import deprecated
from ...lib.cdc import ResetSynchronizer as NativeResetSynchronizer