Module types

Module types 

Source
Expand description

Traits and types for defining interfaces and signals in Substrate.

Modules§

layout
Traits and types for layout IOs.
schematic
Traits and types for schematic IOs.

Structs§

Array
An array containing some number of elements of kind T.
ArrayBundle
An instantiated array containing a fixed number of elements of T.
DiffPair
A pair of differential signals.
DiffPairKind
A pair of differential signals.
DiffPairView
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.
MosIoKind
The interface to a standard 4-terminal MOSFET.
MosIoView
The interface to a standard 4-terminal MOSFET.
NameBuf
An owned node name, consisting of an ordered list of NameFragments.
NameTree
A tree for hierarchical node naming.
Output
An output port of kind T.
PowerIo
The interface for VDD and VSS rails.
PowerIoKind
The interface for VDD and VSS rails.
PowerIoView
The interface for VDD and VSS rails.
Signal
A type representing a single hardware wire in a BundleKind.
TestbenchIo
The interface to which simulation testbenches should conform.
TestbenchIoKind
The interface to which simulation testbenches should conform.
TestbenchIoView
The interface to which simulation testbenches should conform.
TwoTerminalIo
The interface for 2-terminal blocks.
TwoTerminalIoKind
The interface for 2-terminal blocks.
TwoTerminalIoView
The interface for 2-terminal blocks.

Enums§

Direction
Port directions.
NameFragment
A portion of a node name.

Traits§

BundleKind
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.
HasBundleKind
A construct with an associated BundleKind.
HasNameTree
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 BundleKind of a block’s IO.

Derive Macros§

BundleKind
Derives BundleKind for a struct.
Io
Derives Io for a struct.