And Gate Transistor

Download Report

Transcript And Gate Transistor

Transistors
Millions of little gates
Central Processing Unit
• Does 90% of your
computer’s work
• Only job is to process
binary code
• Made of 100-200
million transistors
Processing
• CPU takes input in
binary code
• CPU does really
simple math to
input
• CPU gives output in
binary code
Transistors
• Electronic parts
• 2 inputs, 1 output
• Material in transistor
determines what
output will be.
• First built in 1947
– As big as a small
basketball
• Designed smaller and
smaller over the years
Input A
Input B
Output Q
Modern CPU
• CPU made of 100200 million transistors
• Transistors connected
together to process
binary code
A look inside CPU
And Gate Transistor
01
• Output is on when
both A AND B are on
0
1
0
1
Input A
Input B Output Q
0
0
0
1
0
0
0
1
0
1
1
1
Nand Gate Transistor
• Circle in symbol
means “not”
• Output is on when
both A and B or NOT
on
0
0
1
Input A
Input B
Output Q
0
0
1
0
0
1
0
0
1
1
1
0
Transistors Connected
And Gate
0
0
1
0
0
0
0
1
Or Gate
A
0
0
1
1
B
0
1
0
1
Q
0
1
1
1
Nor Gate
1 0
0
A
0
0
1
1
B
0
1
0
1
Q
1
0
0
0
A
0
0
1
1
B
0
1
0
1
Q
0
0
0
1
Operating Frequency
• CPU’s operate a
different speeds
• Speed measured in
hertz
0
1
1 hertz = 1 calculation
per second
• Modern CPU’s run at
2-3 Gigahertz
– 2-3 billion calculations
per second
0
CPU on Newegg