Components, digital

logic

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

Pins

logic specimen1 component and 0 connections.0U1out
logic specimen
logic with its default options, pins named.

Pin functions

PinSide
outright

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 4 values: high,low,unknown,high-zlow
outputsExactly 1 1
orientationOne of 4 values: right,down,left,upright

Variants

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

logic specimen1 component and 0 connections.1U1out
logic specimen
type=high

out (right)

logic specimen1 component and 0 connections.0U1out
logic specimen
type=low

out (right)

logic specimen1 component and 0 connections.XU1out
logic specimen
type=unknown

out (right)

logic specimen1 component and 0 connections.ZU1out
logic specimen
type=high-z

out (right)

Writing one

logic:U1 at (120, 107) #purple