Expand description
Traits and types for defining interfaces and signals in Substrate.
Modules§
Structs§
- Array
- An array containing some number of elements of kind
T. - Array
Bundle - An instantiated array containing a fixed number of elements of
T. - Diff
Pair - A pair of differential signals.
- Diff
Pair Kind - A pair of differential signals.
- Diff
Pair View - A pair of differential signals.
- Flipped
- Flip the direction of all ports in
T - InOut
- An inout port of kind
T. - Input
- An input port of kind
T. - MosIo
- The interface to a standard 4-terminal MOSFET.
- MosIo
Kind - The interface to a standard 4-terminal MOSFET.
- MosIo
View - The interface to a standard 4-terminal MOSFET.
- NameBuf
- An owned node name, consisting of an ordered list of
NameFragments. - Name
Tree - A tree for hierarchical node naming.
- Output
- An output port of kind
T. - PowerIo
- The interface for VDD and VSS rails.
- Power
IoKind - The interface for VDD and VSS rails.
- Power
IoView - The interface for VDD and VSS rails.
- Signal
- A type representing a single hardware wire in a
BundleKind. - Testbench
Io - The interface to which simulation testbenches should conform.
- Testbench
IoKind - The interface to which simulation testbenches should conform.
- Testbench
IoView - The interface to which simulation testbenches should conform.
- TwoTerminal
Io - The interface for 2-terminal blocks.
- TwoTerminal
IoKind - The interface for 2-terminal blocks.
- TwoTerminal
IoView - The interface for 2-terminal blocks.
Enums§
- Direction
- Port directions.
- Name
Fragment - A portion of a node name.
Traits§
- Bundle
Kind - A bundle kind.
- Directed
- Indicates that an IO specifies signal directions for all of its fields.
- FlatLen
- The length of the flattened list.
- Flatten
- Flatten a structure into a list.
- HasBundle
Kind - A construct with an associated
BundleKind. - HasName
Tree - An object with named flattened components.
- Io
- A trait implemented by block input/output interfaces.
- Unflatten
- Unflatten a structure from an iterator.
Type Aliases§
- IoKind
- The
BundleKindof a block’s IO.
Derive Macros§
- Bundle
Kind - Derives
BundleKindfor a struct. - Io
- Derives
Iofor a struct.