Calculator
More
Share
Explore

# Logic GatesLogic Gates

A logic gate accepts a number of binary inputs (usually two), and outputs another binary value. You can connect outputs to inputs to make new logic gates. A gate with which you can make any other gate is called a universal gate. One example is the nand gate which takes these two inputs,
and
and outputs
true
One thing you can make with these components is an adder, which accepts two inputs and a carry bit (binary digit), and outputs a value and another carry bit, allowing you to chain them together. You can fidddle around with it here.
Inputs
0
1
2
3
Name
Value
Input 1
Input 2
Input Carry
There are no rows in this table

Outputs
1
1
2
Name
Value
Output Sum
Output Carry
This device can be made out of
9
nand gates. Here is a list.
Gates
1
Name
In 1
In 2
Value
1
Input 1
2
Input 2
3
Input Carry
4
Process 1
Input 1
Input 2
5
Process 2
Input 1
Process 1
6
Process 3
Input 2
Process 1
7
Process 4
Process 2
Process 3
8
Process 5
Input Carry
Process 4
9
Process 6
Process 4
Process 5
10
Process 7
Input Carry
Process 5
11
Output Sum
Process 6
Process 7
12
Output Carry
Process 1
Process 5
There are no rows in this table