EKT 422 Computer Architecture Chapter 1 Introduction.

24
EKT 422 Computer Architecture Chapter 1 Introduction

Transcript of EKT 422 Computer Architecture Chapter 1 Introduction.

Page 1: EKT 422 Computer Architecture Chapter 1 Introduction.

EKT 422 Computer Architecture

Chapter 1Introduction

Page 2: EKT 422 Computer Architecture Chapter 1 Introduction.

What is Computer Architecture ???

Page 3: EKT 422 Computer Architecture Chapter 1 Introduction.

Architecture & Organization 1

• Architecture is those attributes visible to the programmer—Instruction set, number of bits used for data

representation, I/O mechanisms, addressing techniques.

—e.g. Is there a multiply instruction?

• Organization is how features are implemented—Control signals, interfaces, memory

technology.—e.g. Is there a hardware multiply unit or is it

done by repeated addition?

Page 4: EKT 422 Computer Architecture Chapter 1 Introduction.

Computer Architecture Abstraction

Software Abstraction

Hardware Abstraction

Page 5: EKT 422 Computer Architecture Chapter 1 Introduction.

Software Abstraction Layer

int sum (int x, int y){

int t = x +y;return t;

}

_sum:pushl %ebpmovl %esp,%ebp

add1 8 %esp, %exp ….. ….. ret

0x550x540x640xF6…..…..0xFF

Compiler

Assembler

Machine Code

Page 6: EKT 422 Computer Architecture Chapter 1 Introduction.

Hardware Abstraction Layer

Page 7: EKT 422 Computer Architecture Chapter 1 Introduction.

Architecture & Organization 2

• All Intel x86 family share the same basic architecture

• The IBM System/370 family share the same basic architecture

• This gives code compatibility—At least backwards

• Organization differs between different versions

Page 8: EKT 422 Computer Architecture Chapter 1 Introduction.

Intel Core i5 vs Core i7 architecture

Page 9: EKT 422 Computer Architecture Chapter 1 Introduction.

Smart Phone Architecture

Page 10: EKT 422 Computer Architecture Chapter 1 Introduction.

Structure & Function

• Structure is the way in which components relate to each other

• Function is the operation of individual components as part of the structure

Page 11: EKT 422 Computer Architecture Chapter 1 Introduction.

Function

• All computer functions are:—Data processing—Data storage—Data movement—Control

Page 12: EKT 422 Computer Architecture Chapter 1 Introduction.

Functional View

Page 13: EKT 422 Computer Architecture Chapter 1 Introduction.

Operations (a) Data movement

Page 14: EKT 422 Computer Architecture Chapter 1 Introduction.

Operations (b) Storage

Page 15: EKT 422 Computer Architecture Chapter 1 Introduction.

Operation (c) Processing from/to storage

Page 16: EKT 422 Computer Architecture Chapter 1 Introduction.

Operation (d)Processing from storage to I/O

Page 17: EKT 422 Computer Architecture Chapter 1 Introduction.

Structure - Top Level

Computer

Main Memory

InputOutput

SystemsInterconnection

Peripherals

Communicationlines

CentralProcessing Unit

Computer

Page 18: EKT 422 Computer Architecture Chapter 1 Introduction.

Structure - The CPU

Computer Arithmeticand Login Unit

ControlUnit

Internal CPUInterconnection

Registers

CPU

I/O

Memory

SystemBus

CPU

Page 19: EKT 422 Computer Architecture Chapter 1 Introduction.

Structure - The Control Unit

CPU

ControlMemory

Control Unit Registers and Decoders

SequencingLogin

ControlUnit

ALU

Registers

InternalBus

Control Unit

Page 20: EKT 422 Computer Architecture Chapter 1 Introduction.

Outline of the Book (1)

• Computer Evolution and Performance• Computer Interconnection Structures• Internal Memory• External Memory• Input/Output• Operating Systems Support• Computer Arithmetic• Instruction Sets

Page 21: EKT 422 Computer Architecture Chapter 1 Introduction.

Outline of the Book (2)

• CPU Structure and Function• Reduced Instruction Set Computers• Superscalar Processors• Control Unit Operation• Microprogrammed Control• Multiprocessors and Vector Processing• Digital Logic (Appendix)

Page 22: EKT 422 Computer Architecture Chapter 1 Introduction.

Internet Resources- Web site for book

• http://WilliamStallings.com/COA/COA7e.html—links to sites of interest—links to sites for courses that use the book—errata list for book—information on other books by W. Stallings

• http://WilliamStallings.com/StudentSupport.html—Math—How-to—Research resources—Misc

Page 23: EKT 422 Computer Architecture Chapter 1 Introduction.

Internet Resources- Web sites to look for

• WWW Computer Architecture Home Page• CPU Info Center• Processor Emporium• ACM Special Interest Group on Computer

Architecture• IEEE Technical Committee on Computer

Architecture• Intel Technology Journal• Manufacturer’s sites

—Intel, IBM, etc.

Page 24: EKT 422 Computer Architecture Chapter 1 Introduction.

Internet Resources - Usenet News Groups

• comp.arch• comp.arch.arithmetic• comp.arch.storage• comp.parallel