Jump to content

Relay

From Logic World Wiki
Relay

Relay
Component info
Internal ID MHG.Relay
Configurable No
Input and output
Input count 3
Output count 0
Propagation delay 1 tick

The Relay is a component used for digital logic. The input on the top is used to control whether signals can pass through the inputs on the sides, making it useful for controlling where signals can propagate to.

Behavior

When the input on the top of a Relay is ON, signals can pass freely between the two side inputs with no delay, as if they were Pegs connected by a wire. However, when the input on the top is OFF, the side inputs do not affect each other.

The Relay takes one tick to change state between "open" and "closed" when the input on the top changes state. While the Relay is open, signals pass through the side inputs instantly (in 0 ticks).

Differences from an AND Gate

TODO: this section

Placement

XOR Gates have two attachment points, one for each square covered by the body of the component. These attachment points can be placed in the center of a Circuit Board square or on top of a Mount.