Rename fhdl→hdl, genlib→lib.
This commit is contained in:
parent
b5a1efa0c8
commit
790eb05a92
26 changed files with 50 additions and 50 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from .fhdl.ast import Value, Const, Mux, Cat, Repl, Signal, ClockSignal, ResetSignal
|
||||
from .fhdl.dsl import Module
|
||||
from .fhdl.cd import ClockDomain
|
||||
from .fhdl.ir import Fragment
|
||||
from .fhdl.xfrm import ResetInserter, CEInserter
|
||||
from .hdl.ast import Value, Const, Mux, Cat, Repl, Signal, ClockSignal, ResetSignal
|
||||
from .hdl.dsl import Module
|
||||
from .hdl.cd import ClockDomain
|
||||
from .hdl.ir import Fragment
|
||||
from .hdl.xfrm import ResetInserter, CEInserter
|
||||
|
||||
from .genlib.cdc import MultiReg
|
||||
from .lib.cdc import MultiReg
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ from vcd import VCDWriter
|
|||
from vcd.gtkw import GTKWSave
|
||||
|
||||
from ..tools import flatten
|
||||
from ..fhdl.ast import *
|
||||
from ..fhdl.xfrm import ValueTransformer, StatementTransformer
|
||||
from ..hdl.ast import *
|
||||
from ..hdl.xfrm import ValueTransformer, StatementTransformer
|
||||
|
||||
|
||||
__all__ = ["Simulator", "Delay", "Tick", "Passive", "DeadlineError"]
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import textwrap
|
|||
from collections import defaultdict, OrderedDict
|
||||
from contextlib import contextmanager
|
||||
|
||||
from ..fhdl import ast, ir, xfrm
|
||||
from ..hdl import ast, ir, xfrm
|
||||
|
||||
|
||||
class _Namer:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from ... import tools
|
||||
from ...fhdl import ast
|
||||
from ...hdl import ast
|
||||
from ...tools import deprecated
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from collections.abc import Iterable
|
||||
|
||||
from ...tools import flatten, deprecated
|
||||
from ...fhdl import dsl
|
||||
from ...hdl import dsl
|
||||
|
||||
|
||||
__all__ = ["Module", "FinalizeError"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from ...genlib.io import TSTriple as NativeTSTriple
|
||||
from ...lib.io import TSTriple as NativeTSTriple
|
||||
|
||||
|
||||
__all__ = ["TSTriple"]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
from collections import OrderedDict
|
||||
|
||||
from ...tools import deprecated
|
||||
from ...fhdl import ast
|
||||
from ...fhdl.ast import DUID, Value, Signal, Mux, Cat, Repl, Const, C, ClockSignal, ResetSignal
|
||||
from ...fhdl.cd import ClockDomain
|
||||
from ...hdl import ast
|
||||
from ...hdl.ast import DUID, Value, Signal, Mux, Cat, Repl, Const, C, ClockSignal, ResetSignal
|
||||
from ...hdl.cd import ClockDomain
|
||||
|
||||
|
||||
__all__ = ["DUID", "wrap", "Mux", "Cat", "Replicate", "Constant", "C", "Signal", "ClockSignal",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from ...genlib.cdc import MultiReg
|
||||
from ...lib.cdc import MultiReg
|
||||
|
||||
|
||||
__all__ = ["MultiReg"]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import warnings
|
||||
from collections import OrderedDict
|
||||
|
||||
from ...fhdl.xfrm import ValueTransformer, StatementTransformer
|
||||
from ...fhdl.ast import *
|
||||
from ...hdl.xfrm import ValueTransformer, StatementTransformer
|
||||
from ...hdl.ast import *
|
||||
from ..fhdl.module import CompatModule, CompatFinalizeError
|
||||
from ..fhdl.structure import If, Case
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from ..fhdl import *
|
||||
from .. import *
|
||||
|
||||
|
||||
__all__ = ["MultiReg"]
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from ..fhdl import *
|
||||
from .. import *
|
||||
|
||||
|
||||
__all__ = ["TSTriple"]
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from ..fhdl.ast import *
|
||||
from ..hdl.ast import *
|
||||
from .tools import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from ..fhdl.cd import *
|
||||
from ..hdl.cd import *
|
||||
from .tools import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from ..fhdl.ast import *
|
||||
from ..fhdl.dsl import *
|
||||
from ..hdl.ast import *
|
||||
from ..hdl.dsl import *
|
||||
from .tools import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from ..fhdl.ast import *
|
||||
from ..fhdl.cd import *
|
||||
from ..fhdl.ir import *
|
||||
from ..hdl.ast import *
|
||||
from ..hdl.cd import *
|
||||
from ..hdl.ir import *
|
||||
from .tools import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from ..fhdl.ast import *
|
||||
from ..fhdl.cd import *
|
||||
from ..fhdl.ir import *
|
||||
from ..fhdl.xfrm import *
|
||||
from ..hdl.ast import *
|
||||
from ..hdl.cd import *
|
||||
from ..hdl.ir import *
|
||||
from ..hdl.xfrm import *
|
||||
from .tools import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from .tools import *
|
||||
from ..fhdl.ast import *
|
||||
from ..fhdl.ir import *
|
||||
from ..hdl.ast import *
|
||||
from ..hdl.ir import *
|
||||
from ..back.pysim import *
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import unittest
|
|||
import warnings
|
||||
from contextlib import contextmanager
|
||||
|
||||
from ..fhdl.ast import *
|
||||
from ..hdl.ast import *
|
||||
|
||||
|
||||
__all__ = ["FHDLTestCase"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue