Components, digital

adder

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

Pins

adder specimen1 component and 0 connections.HAU1in1in2out1out2
adder specimen
adder with its default options, pins named.

Pin functions

PinSide
in1left
in2left
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 2 values: half,fullhalf
inputsWhole number from 1 to 32 2 3 when type=full
outputsWhole number from 1 to 32 2
orientationOne of 4 values: right,down,left,upright
fitOnly wiresNone

fit and orientation cannot be written together.

Variants

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

adder specimen1 component and 0 connections.HAU1in1in2out1out2
adder specimen
type=half

in1 (left),in2 (left),out1 (right),out2 (right)

adder specimen1 component and 0 connections.FAU1in1in2in3out1out2
adder specimen
type=full

in1 (left),in2 (left),in3 (left),out1 (right),out2 (right)

Writing one

adder:U1 at (120, 112) #purple