23
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

1

The System Unit

Lecture 2CSCI 1405

Introduction to Computer ScienceFall 2006

Page 2: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

2

Overview This lecture covers:

How the CPU, memory, and other components are arranged inside the system unit

How the CPU works

Strategies to speed up a computer and create faster computers

Page 3: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

3

Inside the System Unit

The system unit of a PC is the case that houses processing hardware and other hardware.

All of the hardware contained within the system unit is connected to the system board or motherboard.

Page 4: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

4

Page 5: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

5

CPU The CPU (central processing unit) does the vast

majority of processing for a computer.

CPUs contains a variety of circuitry and components and are connected to the motherboard.

Also called the processor or microprocessor.

Page 6: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

6

CPU, Cont’d.

Processing speed (clock speed) is measured in megahertz (MHz) or gigahertz (GHz) and measures the number of clock ticks per second.

A computer word is a group of bits or bytes that a CPU can manipulate at one time.

Other factors that affect the speed of the computer include the amount of RAM and cache memory, bus width, and bus speed.

Page 7: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

7

Memory: RAM RAM (random access memory) is the computer’s main memory and is

used to temporarily storage programs and data with which it is working.

RAM is volatile (erased when the power to the PC goes off).

RAM comes in a variety of types, speeds, and size. Types of RAM include:

DRAMSRAM

SDRAM

DDR SDRAMRDRAM

DDR-II SDRAM

Page 8: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

8

Memory: Other Types

Cache memory—fast memory chips located on or close to the CPU chip (L1, L2, and L3).

Registers—high speed memory built into the CPU.

ROM (read-only memory)—non-volatile chips inside which data or programs are stored.

Flash memory—non-volatile memory that can be erased and reused. Used both within the PC and for portable storage media (e.g digital cameras).

Page 9: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

9

Buses

Buses are electronic paths that data travels around on a computer system.

Internal buses move data around within the CPU.

Expansion buses establish links with peripheral devices. ISA, PCI, AGP, USB, FireWire.

Page 10: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

10

Page 11: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

11

Expansion Slots and Cards

Expansion for desktop PCs. Expansion cards can be inserted into expansion

slots on the motherboard. Some external devices can be plugged into existing

USB or FireWire ports without adding another expansion card.

PC cards—used with notebook PCs.

Expansion for handhelds and mobile devices—can have proprietary, PC card, or SDIO slot.

Page 12: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

12

Ports

Connectors to which devices can be attached.

Common ports: Serial

Parallel

SCSI

USB

FireWire

Network

Keyboard

Mouse

Monitor

Modem

MIDI

IrDA

Game

Page 13: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

13

Page 14: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

14

How the CPU Works

The CPU is a collection of electronic circuits and components.

Impulses from an input device passes through RAM and enters the CPU via a system bus.

Within the CPU the impulses move through the circuits and components to create new impulses.

Eventually, a set of electronic impulses leaves the CPU for an output device.

Page 15: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

15

Typical CPU Components

Arithmetic/logic unit (ALU)

Control unit

Registers

Prefetch unit

Decode unit

Internal cache

Bus interface unit

Page 16: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

16

Page 17: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

17

The System Clock and the Machine Cycle

The system clock synchronizes the computer’s operations.

The machine cycle is the series of operations involved in the execution of a single, machine-level instruction. Fetch Decode Execute

Page 18: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

18

Page 19: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

19

Making Computers Faster Now and in the Future Speeding up your system today.

Add more memory.

Perform system maintenance.

Buy a larger or second hard drive.

Upgrade your Internet connection.

Upgrade your video card.

Upgrade your CPU.

Page 20: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

20

Making Computers Faster Now and in the Future Cont’d.

Strategies for making faster computers.

Moving circuits closer together.

Faster and wider buses; faster memory.

Improved materials (copper, SOI, new materials).

Pipelining.

Page 21: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

21

Page 22: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

22

Making Computers Faster Now and in the Future, Cont’d.

Strategies for making faster computers, cont’d

Multiprocessing (multiple CPUs, each working on a different job) and parallel processing (multiple CPUs working together to make one job finish sooner).

Page 23: 1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006

23

Summary

Inside the system unit

How the CPU works

Making computers faster