overview of basics · 3/1/2017  · introduction cs353 –computer architecture najeeb-ur-rehman...

18
Introduction CS353 – Computer Architecture Najeeb-Ur-Rehman Assistant Professor Department of Computer Science Faculty of Computing & IT University of Gujrat

Upload: others

Post on 22-Mar-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Introduction

CS353 – Computer Architecture

Najeeb-Ur-RehmanAssistant Professor

Department of Computer Science

Faculty of Computing & IT

University of Gujrat

Architecture

Architecture is those attributes visible to the programmer.

For example logical Attributes such as:

Instruction set, number of bits used for data representation, I/O mechanisms, memory addressing techniques.

e.g. Is there a multiply instruction?

Organization

Organization is how features are implemented

These include hardware details such as:

Control signals, interfaces, memory technology.

Organizational decision is : “Is there a hardware multiply unit or is it done by repeated addition?”

The above decision may be implemented using analysis of usage of mult instruction.

Architecture & Organization

Differentiation between organization and architecture is an important one.

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

Changes in technology influence organization, and also result in powerful new architectures.

Architecture & Organization

Organizational and Architectural design decisions are inter-related.

The interplay between organizational and architectural design decisions have resulted in RISC and CISC types of architectures.

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

Function

All computer functions are:

Data processing

Data storage

Data movement

Control

Functional view

Functional view of a computer

Data

Movement

Apparatus

Control

Mechanism

Data

Storage

Facility

Data

Processing

Facility

Operations (1)

Data movement

e.g. keyboard to screen

Data

Movement

Apparatus

Control

Mechanism

Data

Storage

Facility

Data

Processing

Facility

Operations (2)

Storage

e.g. Internet download to disk

Data

Movement

Apparatus

Control

Mechanism

Data

Storage

Facility

Data

Processing

Facility

Operation (3)

Processing from/to storage

e.g. updating bank statement

Data

Movement

Apparatus

Control

Mechanism

Data

Storage

Facility

Data

Processing

Facility

Operation (4)

Processing from storage to I/O

e.g. printing a bank statement

Data

Movement

Apparatus

Control

Mechanism

Data

Storage

Facility

Data

Processing

Facility

Structure - Top Level

Computer

Main

Memory

Input

Output

Systems

Interconnection

Peripherals

Communication

lines

Central

Processing

Unit

Computer

Structure - The CPU

Computer Arithmetic

and

Logic Unit

Control

Unit

Internal CPU

Interconnection

Registers

CPU

I/O

Memory

System

Bus

CPU

Structure - The Control Unit

CPU

Control

Memory

Control Unit

Registers and

Decoders

Sequencing

Logic

Control

Unit

ALU

Registers

Internal

Bus

Control Unit

Internet Resources

- Web site for book

http://www.shore.net/~ws/COA5e.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

Internet Resources

- Web sites to look for

WWW Computer Architecture Home Page

CPU Info Center

ACM Special Interest Group on Computer Architecture

IEEE Technical Committee on Computer Architecture

Intel Technology Journal

Manufacturer’s sites

Intel, IBM, etc.

Internet Resources

- Usenet News Groups

comp.arch

comp.arch.arithmetic

comp.arch.storage