Computer Architecture and Organisation
Computer Architecture and Organisation
organization
M.Nivedita
Assistant Professor
SCOPE
VIT Chennai
Books
David A. Patterson and John L. Hennessy, Computer
Organization and Design -The Hardware / Software Interface
6th Edition, Morgan Kaufmann, 2020.
CAT – I - 15
CAT – II - 15
Digital ASSIGNMENT - 30
Term End Exam - 40
Objective
How computers work, basic principles.
How to analyze their performance.
How computers are designed and built.
To teach arithmetic of computers.
To provide knowledge of memory technologies, interfacing
techniques and subsystem devices and the issues in that.
Motivation
This knowledge will be useful if you need to
architecture.
This helps to enable code compatibility.(backwards)
But organisation is different for different versions.
I/O Chan
Link
ISA
API
Interfaces
Technology
IR
Regs
Machine Organization
Applications Computer
Architect Measurement &
Evaluation
Structure and Function
Structure is the way in which components relate to each
other.
Data Movement
apparatus
Control Mechanism
movement
control
Storage Processing
Storage
Movement
Control
Storage Process
Processing from/to storage
Movement
Control
Storage Process
Processing from storage to I/O
Movement
Control
Storage Process
Structure
Communication Lines
Peripherals
Computer
Storage
Processing
Structure - Top Level
Peripherals Computer
Central Main
Processing Memory
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
Structure - The Control Unit
Control Unit
CPU
Sequencing
ALU Login
Control
Internal
Unit
Bus
Control Unit
Registers Registers and
Decoders
Control
Memory
Structural components
CPU – Processor
Main Memory – Stores data
I/O – Moves the data
System Interconnection
Control Unit – controls operation
ALU – data processing
Registers – storage internal to CPU
CPU Interconnection
ENIAC
◦ Programmable ROM, where the data is written after the memory chip has been
created. It is non-volatile.
◦ Erasable Programmable ROM, where the data on this non-volatile memory chip
can be erased by exposing it to high-intensity UV light.
value.
A word may also contain two 20-bit instructions, with
NUMBER WORD
0 1 39
Sign
Bit
Instruction Word
0 8 20 28 39
ADD M(X),501
=1
LOAD M(X),500
ADD M(X),501
=1
=1
EXAMPLE
MBR=3 =3
500
500
EXAMPLE
MBR =4
4
PC=2
ADD M(X) 501
501
EXAMPLE
STOR M(X),500 Other Ins
MAR = 2
2
EXAMPLE
MAR =500
500
EXAMPLE
IAS Instruction Set
Data Transfer – moves the data between Memory and ALU
registers or between two ALU registers
Unconditional Branch – CU executes instructions in
sequence from memory, sequence can be changed by branch
instructions (repetitive operations)
Conditional Branch – branch can be made dependent on
condition.
Arithmetic – operations performed by ALU
Address modify – permits the address to be computed in the
ALU and then inserted into instructions stored in memory.
Harvard Architecture
Finished at Harvard University in 1947.
It wasn't so modern as the computer from von
number of instructions.
control unit.
consistent.
modes.
MULT 1:2,2:1
CISC vs RISC
CISC uses a large set of complex machine language
instructions, while RISC uses a reduced set of simpler
instructions
The primary difference between RISC and CISC architecture is
that RISC-based machines execute one instruction per
clock cycle. In a CISC processor, each instruction performs so
many actions that it takes several clock cycles to complete.