Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Architecture
References
William Stallings, Computer Organization
and Architecture: Designing for
Performance, Eighth Edition, Pearson.
P .Chakraborty, Computer Organization and
Architecture,Jacob Publication.
Dr. M. Usha, T. S. Srikanth, Computer System
Architecture and Organization,First Edition,
Wiley-India.
Overview of Computer Architecture &
Organization
Topics to be covered:
What is a computer?
Data v/s Information
Organisation v/s Architecture
Structure v/s Function
Functions-Data processing ,movement , storage , controlling.
Computer Level Hierarchy
Classification of processor architectures : Von-Neumann and
Harvard
Detailed Architecture of Von Neumann machine
Buses : Types ,Physical Implementation ,Structures and Designing
parameters
Performance Measures of Computer Architecture
Objectives
Know the difference between computer organization and computer
architecture.
Understand the computer as a layered system and the function of
basic computer components
Analyse the difference between different computer functions.
Be able to understand the computer level hierarchy.
Classify the processor architectures and explain the Von Neumann
Architecture.
Classify different types of buses and identify design aspects of
buses.
Identify the performance measures of Computer Architecture.
Computer Is........
A computer:
Takes input
Processes it according to stored instructions
Produces results as output
Was taken from the Latin word Computare ,
which means calculate
Data v/s Information
Data is raw fact. There are five types of data:
Text : alphabetic ,numeric , special symbol
Graphics :picture
Audio : any kind of sound
Video: a series of photo frame which record the
real
Animation : a series of image which is displayed
one by one to produce a movement illusion
Information :data that has been processed and
contains meaning
Analogy to differentiate Organisation
and Architecture
Task 1: Building a house
Task 2:Washing clothes in machine
Task 3: Is the gear lever in a car part of its
architecture or organization?
Whether organisation or architecture: How
does a computer work? How do I design a
computer?
Analogy to differentiate Organisation
and Architecture
To build a house you may contact an architect who will give
you the sketch of a house. And for building that design you
will contact a contractor.
Creating a design of a house can be considered as
Computer Architecture, where as building the house can be
considered as Computer Organisation.
Washing clothes involves the process of washing,rinsing
and drying .Carrying out the task is architecture. Deciding
the structural change in the washing tub is organisation.
The architecture of a car is simple; it transports you from A
to B. The gear lever belongs to the car's organization
because it implements the function of a car
Architecture and Organisation
Computer Architecture Computer Organisation
Logical aspects of system Encompasses all physical aspects of
implementation as seen by the computer systems
designer
Organization is how features are
Architecture is the set of attributes
visible to the programmer implemented
instruction sets, instruction formats, circuit design, control signals, memory
data types, addressing modes types
Architecture describes what the Organization describes how it does it.
computer does.
deals with how to design a circuit for deals with how a particular hardware
such hardware. works in a computer.
Examples: Examples:
Does this processor have a multiply Is there a hardware multiply unit
instr.?
or is it done by repeated addition?
How does the compiler create
object code? What type of non-volatile memory
How best is memory handled by is used to store the BIOS?
the O/S?
Architecture and Organisation
All Intel x86 family share the same basic architecture while the IBM
System/370 family share the same basic architecture
Consistent architecture gives code compatibility, at least backwards,
thus protecting users software investment
For designing a computer, its architecture is fixed first and then its
organization is decided
Organization differs between different versions
Architecture and organization are independent; you can change the
organization of a computer without changing its architecture. For
example, a 64-bit architecture can be internally organized as a true
64-bit machine or as a 16-bit machine that uses four cycles to
handle 64-bit values.
Differences in organization but not architecture leads to families:
Different cost and performance,Run same code,Families may span
years of technological advancement
Structure and Function
Structure is the way in which components
relate to each other
Function is the operation of individual
components as part of the structure
Computer Structure
Computer-The Main Structure
Functions of
each unit
To process data and
control the computer
operations
To keep data during
process
Interconnections:Provides
mechanism for
communication among
CU,ALU and registers
Structure-The Control Unit
Functions of each unit
Viva Question:
Difference between compiler ,interpreter and assembler.
Which language uses compiler or interpreter :
Python , C/C++,Java
The Computer Level Hierarchy
Level 3: System Software Level
deals with operating system instructions.
This level is responsible for multiprogramming, protecting
memory, synchronizing processes, and various other important
functions.
Often, instructions translated from assembly language to
machine language are passed through this level unmodified
Level 2: Machine Level
Consists of instructions that are particular to the architecture
of the machine
Programs written in machine language need no compilers,
interpreters, or assemblers
The Computer Level Hierarchy
Level 1: Control Level
A control unit decodes and executes instructions and moves
data through the system.
Control units can be microprogrammed or hardwired.
A microprogram is a program written in a low-level language
that is implemented by the hardware.
Hardwired control units consist of hardware that directly
executes machine instruction
Write
Block
Direction
Address bus: Uni-directional (flow is from
processor to device)
Data bus: Bi-directional (flow can be from
processor to device or from device to
processor)
Six Passenger Aircrafts to be Compared
B 747
DC-8-50
Performance of Aircraft: An Analogy
Key characteristics of six passenger aircraft: all figures are approximate
2.Ncisc/Nrisc=80 % (case 1)
Ncisc/Nrisc=66.67 % (case 2)