Latch is a wiring component that can be crafted using the Wiring Station. It is a logical D-Latch, with the upper input as 'E' and the lower input as 'D' (which is the inverse of most D-Latch diagrams).
If both E and D are ON at the same time, the output will stay ON until E is ON but D is turned OFF.
The Persistent Switch is a SR-Latch. In case tungsten is unavailable, it is possible to construct a SR-Latch from 2 NOT Switches and 2 AND Switches, but this is not recommended as it takes the same area and is more computationally expensive than building one from a D-Latch.
S is the top port, and R is the lower port.
The lower OR Switch is only used as a convenience buffer, and may be substituted with a XOR Switch. To act as a buffer, its upper port is left unconnected. As OR Gates are Trivial both can be removed to save space, at the cost of the simplistic shape and dedicated external ports.
|Floran :||A Latch. Can be used to sstore a wire sstate.|
|Glitch :||Fascinated. A Latch. Can be used to store a wire state.|