Top Banner
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins are used. For a specific CPU, a number will be given to tell how many.
51

CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

CPU Chips

The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins are used. For a specific CPU, a number will be given to tell how many.

Page 2: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Computer Buses (1)

A computer system with multiple buses.

Page 3: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Buses

• Links device(s)• Internal to CPU or External• This chapter is external buses• Multiple buses in computer• Some buses run of other buses• Can be used for

– Control– Data – Address

Page 4: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Buses (cont)

• External buses are well defined to allow interconnect (Bus protocol)

• Examples– ISA– EISA– USB– FireWire

Page 5: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Buses

• Three types– Masters Active initiate transfer – bus drivers– Slaves Passive receive data – bus receiver– Both – both transceiver

May not match CPU

multiplexer

decoder

Page 6: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Computer Buses (2)

Examples of bus masters and slaves.

Page 7: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Width

Growth of an Address bus over time.

Page 8: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Width

• Tradeoffs– Speed– Cost– Capabilities– Compatibility

ISA – 20 address lines – 1 MB

EISA - 32 Address lines - 4 GB

Page 9: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Speed

• Synchronous buses– Increase clock speed– Increase width

Problems

Compatibility

Bus skew

Multiplexing

Page 10: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Clocking (1)

Read timing on a synchronous bus.

Page 11: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Clocking (2)

Specification of some critical times.

Page 12: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Asynchronous Buses

Operation of an asynchronous bus.

Page 13: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Asynchronous Buses

• Not tied to clock

• Uses new technology

• More control lines

• Not as many chips are available

Page 14: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Arbitration (1)

(a) A centralized one-level bus arbiter using daisy chaining.(b) The same arbiter, but with two levels.

Page 15: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Arbitration

• Only bus masters are concerned

• Two types– Centralized – some logic external to device

requesting access– Decentralized – logic in each device that

could request access

Page 16: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Arbitration (2)

Decentralized bus arbitration.

Page 17: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Operations (1)

A block transfer.

Page 18: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Operations

• Single word or block transfer

• Read modify write cycle

• Interrupts

• Time critical priorities

Page 19: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bus Operations (2)

Use of the 8259A interrupt controller.

Page 20: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The Pentium 4

The Pentium 4 physical pinout.

Page 21: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The Pentium 4’s Logical Pinout

Page 22: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Pentium 4

Logical pinout of the Pentium 4. Names in upper case are the official Intel names for individual signals. Names in mixed case are groups of related signals or signal descriptions.

Page 23: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Pentium 4

• 478 pins

• One corner is missing pins for alignment

• On board bus arbitration

• All transfers are on 8 byte boundary with 8 bytes at a time

• Controls power use to reduce heat

Page 24: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Pipelining on the Pentium 4’s Memory Bus

Pipelining requests on the Pentium 4’s memory bus.

Page 25: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Pentium 4 Pipeline

• Bus Arbitration

• Request phase

• Error-reporting phase

• Snoop phase

• Response phase

• Data pahse

• Each phase uses different bus signals

Page 26: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The UltraSPARC III (1)

The UltraSPARC III CPU chip.

Page 27: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

UltraSPARC III

• RISC computer – 64 bit

• Designed for multiprocessor systems

• 6 internal pipelines – up to 14 stages

• 1368 Land Grid array package

• Up to 8TB of memory

• Address memory thru UDB II (UltraSPARC Data Buffer II)

Page 28: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The UltraSPARC III (2)

The main features of the core of an UltraSPARC III system.

Page 29: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The 8051 (1)Physical pinout of the 8051.

Page 30: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The 8051 (2)

Logical pinout of the 8051.

Logical pinout of 8051

Page 31: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

8051

• Embedded system processor

• 40 pin package

• 8 bit data bus

• 4 or 8 KB of internal ROM

Page 32: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The ISA Bus

The PC/AT bus has two components, the original PC part and the new part.

Page 33: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

ISA

• ISA Industry Standard Architecture

• Runs at 8.33 MHz

• PC 62 line bus + 36 Lines – ISA

• EISA (Extended ISA) 32 bit

Page 34: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Bandwidth Calculations

• 1024X768 screen with true color

• Requirement for moving video is 30 fps

• = 67.5 MB/sec of data for video only

• Because screen must be read/generated, actual requirement = 135MB minimum

• EISA has a maximum of 33.3 MB/sec

Page 35: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI

• Original PCI 33 mhz with 32 bit bus = 133 MB/sec

• PCI 2.0 66 mhz with 64 bit bus = 528 MB• Old PCI was 5.0 volts, new = 3.3 volts• APG added to offload video load from PCI• AGP 3.0 (8X) is 2.1GB• Master now call initiator• Slave now called target

Page 36: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The PCI Bus (1)Architecture of an early Pentium system. The

thicker buses have more bandwidth than the thinner ones but the figure is not to scale.

Page 37: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The PCI Bus (2)

The bus structure of a modern Pentium 4.

Page 38: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI Bus Arbitration

The PCI bus uses a centralized bus arbiter.

Page 39: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI Bus Signals(1)

Mandatory PCI bus signals.

Page 40: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI Bus Signals(2)

Optional PCI bus signals.

Page 41: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI Bus Transactions

Examples of 32-bit PCI bus transactions. The first three cycles are used for a read operation, then an idle cycle, and then

three cycles for a write operation.

Page 42: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI Express

A typical PCI Express system.

Page 43: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PCI Express Protocol Stack

(a) The PCI Express protocol stack.

(b) The format of a packet.

Page 44: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

The Universal Serial Bus

The USB root hub sends out frames every 1.00 ms.

Page 45: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

USB

• For slower devices• No switches to set• Do not open case• Power from cable• 127 devices from Cable• Support real-time• No reboot necesssary• Inexpensive

Page 46: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

USB

• 1.0 runs at 1.5 mbps

• 1.1 runs at 12 Mbps

• 2.0 runs at 480 Mbps

• 4 wires 2 for data, power and ground

• Time-sliced

• No interrupts

Page 47: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

USB

• 4 types of frames– Control– Isochronous– Bulk – Interrupt

Frame consists of packets

data

token

handshake

special

Page 48: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

PIO Chips

An 8255A PIO chip.

Page 49: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Address Decoding (1)

Location of the EPROM, RAM, and PIO in our 64 KB address space.

Page 50: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Address Decoding (2)

Full address decoding.

Page 51: CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.

Address Decoding (3)

Partial address decoding.