Chapter 3 Digital Logic Structures

Transistor: Building Block of Computers Microprocessors contain millions of transistors • Intel Pentium 4 (2000): 48 million • IBM PowerPC 750FX (2002...
Author: Ronald Ray
0 downloads 0 Views 1MB Size
Transistor: Building Block of Computers Microprocessors contain millions of transistors • Intel Pentium 4 (2000): 48 million • IBM PowerPC 750FX (2002): 38 million • IBM/Apple PowerPC G5 (2003): 58 million

Chapter 3 Digital Logic Structures

Logically, each transistor acts as a switch Combined to implement logic functions • AND, OR, NOT

Combined to build higher-level structures • Adder, multiplexer, decoder, register, …

Based on slides © McGraw-Hill Additional m aterial © 2004/2005 Lewis/Martin

Combined to build processor • LC-3 3-2

CSE 240

How do we represent data in a computer?

A Transistor Analogy: Computing with Air

At the lowest level, a computer has electronic “plumbing”

Use air pressure to encode values



Operates by controlling the flow of electrons

• High pressure represents a “1” (blow) • Low pressure represents a “0” (suck)

Easy to recognize two conditions:

Valve can allow or disallow the flow of air

1. Presence of a voltage – we’ll call this state “1” 2. Absence of a voltage – we’ll call this state “0”

• Two types of valves

N-Valve Low

P-Valve (Off)

Low

(On)

(On)

High

(Off)

Computer use transistors as switches to manipulate bits • •

hole

Before transistors: tubes, electro-mechanical relays (pre 1950s) Mechanical adders (punch cards, gears) as far back as mid-1600s

High

Before describing transistors, we present an analogy… CSE 240

3-3

CSE 240

3-4

1

Pressure Inverter

Pressure Inverter (Low to High) High

High

P-Valve In

P-Valve

Out

Low

High

N-Valve

N-Valve

Low

Low 3-5

CSE 240

Pressure Inverter

3-6

CSE 240

Pressure Inverter (High to Low) High

High

P-Valve

P-Valve High

Low

N-Valve

N-Valve

Low CSE 240

Low 3-7

CSE 240

3-8

2

Analogy Explained

Transistors as Switches

Pressure differential → electrical potential (voltage) • Air molecules → electrons • High pressure → high voltage • Low pressure → low voltage

Two types

Air flow → electrical current

Properties

• N-type • P-type

• Pipes → wires

• • • •

• Air only flows from high to low pressure • Electrons only flow from high to low voltage • Flow only occurs when changing from 1 to 0 or 0 to 1

Solid state (no moving parts) Reliable (low failure rate) Small (90nm channel length) Fast (