Skip to main content
All types are exported from wires. Import them with import type.

Signal

SignalTransition

ComponentDefinition

ComponentInstance

Returned by add() inside a circuit builder.

Port, SourcePort, SinkPort

SourcePort is useful for variables that track a signal through a loop, like the carry in a ripple adder. SinkPort is what feed() accepts as its destination: a part’s input.

InputWiring

The third argument to add(): what feeds each input of the part being added. Inputs left out must be wired later with feed().

ComponentDescription

Returned by describe(). Plain, serializable data.

Spec and builder types

Simulation types