fhdl.size: rename to bitcontainer
This commit is contained in:
parent
86ba9c8bbc
commit
8d3d61ba98
|
@ -8,10 +8,10 @@ migen API Documentation
|
|||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
:mod:`fhdl.size` Module
|
||||
:mod:`fhdl.bitcontainer` Module
|
||||
------------------------------
|
||||
|
||||
.. automodule:: migen.fhdl.size
|
||||
.. automodule:: migen.fhdl.bitcontainer
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from operator import itemgetter
|
||||
|
||||
from migen.fhdl.structure import *
|
||||
from migen.fhdl.size import bits_for, value_bits_sign
|
||||
from migen.fhdl.bitcontainer import bits_for, value_bits_sign
|
||||
from migen.fhdl.tools import *
|
||||
from migen.fhdl.tracer import get_obj_var_name
|
||||
from migen.fhdl.verilog import _printexpr as verilog_printexpr
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl.module import Module
|
||||
from migen.fhdl.specials import TSTriple, Instance, Memory
|
||||
from migen.fhdl.size import log2_int, bits_for, flen, fiter, fslice, freversed
|
||||
from migen.fhdl.bitcontainer import log2_int, bits_for, flen, fiter, fslice, freversed
|
||||
from migen.fhdl.decorators import DecorateModule, InsertCE, InsertReset, RenameClockDomains
|
||||
|
|
|
@ -79,7 +79,7 @@ class Value(HUID):
|
|||
|
||||
|
||||
def __getitem__(self, key):
|
||||
from migen.fhdl.size import flen
|
||||
from migen.fhdl.bitcontainer import flen
|
||||
|
||||
if isinstance(key, int):
|
||||
if key < 0:
|
||||
|
@ -242,7 +242,7 @@ class Signal(Value):
|
|||
related : Signal or None
|
||||
"""
|
||||
def __init__(self, bits_sign=None, name=None, variable=False, reset=0, name_override=None, min=None, max=None, related=None):
|
||||
from migen.fhdl.size import bits_for
|
||||
from migen.fhdl.bitcontainer import bits_for
|
||||
|
||||
Value.__init__(self)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl.structure import _Slice, _Assign
|
||||
from migen.fhdl.visit import NodeVisitor, NodeTransformer
|
||||
from migen.fhdl.size import value_bits_sign
|
||||
from migen.fhdl.bitcontainer import value_bits_sign
|
||||
from migen.util.misc import flat_iteration
|
||||
|
||||
class _SignalLister(NodeVisitor):
|
||||
|
|
|
@ -4,7 +4,7 @@ from operator import itemgetter
|
|||
from migen.fhdl.structure import *
|
||||
from migen.fhdl.structure import _Operator, _Slice, _Assign, _Fragment
|
||||
from migen.fhdl.tools import *
|
||||
from migen.fhdl.size import bits_for, flen
|
||||
from migen.fhdl.bitcontainer import bits_for, flen
|
||||
from migen.fhdl.namer import Namespace, build_namespace
|
||||
|
||||
def _printsig(ns, s):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from migen.fhdl.std import *
|
||||
from migen.fhdl.size import value_bits_sign
|
||||
from migen.fhdl.bitcontainer import value_bits_sign
|
||||
from migen.fhdl.specials import Special
|
||||
from migen.fhdl.tools import list_signals
|
||||
|
||||
|
|
Loading…
Reference in New Issue