Components, digital

bus

Every option, pin and variant of bus, as release 1.3.1 of the compiler states them.

Pins

bus specimen1 component and 0 connections.SPLITTERU1busout1out2
bus specimen
bus with its default options, pins named.

Pin functions

PinSide
busleft
out1right
out2right

A wire names a pin as ID.pin. Rotating the part moves the pins with it; their names stay the same.

Options

Options go in square brackets after the colour, as name=value. Any option not listed here is an error.

Options

OptionAcceptsDefault
typeOne of 3 values: tap,splitter,joinersplitter
inputsWhole number from 1 to 32 1
outputsWhole number from 1 to 32 2 1 when type=joiner
orientationOne of 4 values: right,down,left,upright
fitOnly wiresNone
widthWhole number from 2 to 256 8

fit and orientation cannot be written together.

Variants

Pin names depend on the selected variant. Each drawing labels its own pins.

bus specimen1 component and 0 connections.TAPU1bustap
bus specimen
type=tap

bus (left),tap (right)

bus specimen1 component and 0 connections.SPLITTERU1busout1out2
bus specimen
type=splitter

bus (left),out1 (right),out2 (right)

bus specimen1 component and 0 connections.JOINERU1in1bus
bus specimen
type=joiner

in1 (left),bus (right)

Writing one

bus:U1 at (120, 112) #purple