Docsity

Computer Architecture and Organization: Lecture 1 - Basic Concepts and Computer Evolution, Lecture notes of Computer Architecture and Organization

Partial preview of the text

Download Computer Architecture and Organization: Lecture 1 - Basic Concepts and Computer Evolution and more Lecture notes Computer Architecture and Organization in PDF only on Docsity!

EEC 216

Computer Architecture and

Organization

Spring 2020

Lecture

Dr. Mohamed Issa

Teaching Staff

  • Instructor:

—Dr. Mohamed Issa

—Lectures: Monday G1 : 9:00am-10:30am

Monday G2 : 12:20pm-1:50pm

—Office Hours: TBA

  • Teaching Assistant:

—Eng. Abdurahman Mohamed

—Tutorials: TBA

—Office Hours: TBA

Course Overview

  • Ch. 1: Basic Concept and Computer Evolution
  • Ch. 2: Performance Issues
  • Ch. 3: A Top-Level View of Computer Function

and Interconnection

  • Ch. 4: Cache Memory
  • Ch. 5: Internal Memory
  • Ch. 20: Control Unit

Ch. 1: Basic Concept and

Computer Evolution

Hardware Structure vs. Function

  • Structure: the way in which components relate

to each other.

  • Function: the operation of individual components

as part of the structure

Structure - Top level

Computer

Main Memory

Input Output

Systems Interconnection

Peripherals

Communication lines

Central Processing Unit

Computer

Structure – Control Unit

CPU

Control Memory

Control Unit Registers and Decoders

Sequencing Logic

Control Unit

Registers ALU

Internal Bus

Control Unit

Function

  • All computers have the following functions:

—Data storage

—Date processing

—Data movement

—Control

Data Movement

  • e.g., keyboard to screen.

Data Movement Apparatus

Control Mechanism

Data Storage Facility

Data Processing Facility

Storage

  • e.g., Internet download to a disk.

Data Movement Apparatus

Control Mechanism

Data Storage Facility

Data Processing Facility

Data Processing from Storage to I/O

  • e.g., printing a bank statement.

Data Movement Apparatus

Control Mechanism

Data Storage Facility

Data Processing Facility

Chapter 2: Performance

Issues

Processor Performance

  • Processor performance is reflected by:

—Instructions-per-second (IPS) rate ( Ri ): number of

instructions executed each second. When instructions

are count in millions, this becomes MIPS rate ( Rm).

—Programs-per-second (PPS) rate ( Rp ): number of

programs executed each second.

  • Processor performance parameters:

1. Clock speed ( f) (in cycles/second or Hz)

  • Processor goes through multiple steps to execute each

instruction.

  • Each step takes one clock cycle to be performed.
  • Duration of each clock cycle (cycle time τ ) = 1/ f

Processor Performance Parameters

  • Processor performance parameters (Continued):

2. Instruction count ( I c) (in instructions)

  • Number of machine instructions executed for a given

program to run from start until completion.

3. Cycles per instruction ( CPI) (in cycles/instruction)

  • Number of clock cycles taken to execute an instruction.
  • Different types of instructions have different CPI values!
  • Average CPI for a program with n different types of

instructions:

I (^) c: instruction count for the program. I (^) x : number of instructions of type x.

CPI (^) x : CPI for instructions of type x.

c

x

n x x

I

CPI I

CPI

 (^)  