Digital Logic Circuits

Simulations of digital logic components and circuits with React and SVG.

switch

Switches

Switches allow current to flow in either direction.
diode

Diodes

Diodes only allow current to flow in one direction.
Transistor

Transistors

Transistors are solid state switches and form the basis of modern digital circuits.
NAND

Logic Gates

Gates perform logical operations and are the building blocks of digital circuits.
encoder

Encoders

Encoders take an explicit value and map it to a binary output.
decoder

Decoders

Decoders take a binary input and map it to an explicit value.
7 segment

7 segment LED

7 segment LEDs are used to display decimal digits.
Adder

Adders

Adders can add bits.
Subtractor

Subtractors

Subtractors can subtract bits.
Comparator

Comparators

Comparators can compare bits.
latch

Latches

Latches are basic memory circuits.
flip-flop

Flip-Flops

Flip-flops are memory circuits that respond to a clock.
multiplexer

Multiplexers

Multiplexers can select a single input and pass its value.
demultiplexer

Demultiplexers

Demultiplexers can route an input to the selected output channel.