+ All Categories
Home > Engineering > Cpu organisation

Cpu organisation

Date post: 07-Jul-2015
Category:
Upload: er-sangita-vishwakarma
View: 66 times
Download: 3 times
Share this document with a friend
Description:
Organisation & architecture of CPU
17
CPU CPU ORGANISATIO ORGANISATIO N N
Transcript
Page 1: Cpu organisation

CPU CPU ORGANISATIOORGANISATIO

NN

Page 2: Cpu organisation

CPU (CPU (Central Processing UnitCentral Processing Unit))

Acts as the brain of computer.

Performs all the calculations & controls all the

components.

Carries out the instructions of a computer

program, performs the basic arithmetical,

logical, and input and output operations of the

system.

Page 3: Cpu organisation
Page 4: Cpu organisation

CPU Has Two Main CPU Has Two Main ComponentsComponents

Control Unit (CU)

Arithmetic & Logic Unit (ALU)

Page 5: Cpu organisation

Control UnitControl Unit

Selects program instructions & coordinates their execution.

Regulates timing of processor.

Sends control signal to and receives control signal from peripheral devices.

Acts as central nervous system for all other components.

It obtains instruction from memory, interprets the instruction & issues signals to the required units to carry out the execution.

Page 6: Cpu organisation

ALUALUActual execution of instruction takes place

in ALU.

It consists of a complicated set of logic circuit, registers and accumulator to carry out all operations.

Depends on the commands given by the Control Unit.

Page 7: Cpu organisation

RegistersRegistersIt holds data temporarily during the execution

of instruction.They are a part of CPU.Length of register = No. of bits in can store.

Two types - Special Purpose Registers General Purpose Registers

Page 8: Cpu organisation

List of Special Purpose RegistersList of Special Purpose Registers

Decoder

Program Control Register

Memory Address Register

Memory Buffer Register

Instruction Register

I/O Register

Accumulator

Page 9: Cpu organisation

Decoder It interprets the instruction to be executed.

Program Control Register• It holds the address of next instruction to be executed.• In case of branch instruction, system passes the address part of branch instruction to PC.

Memory Address Register It holds the address of the active memory

location.

Page 10: Cpu organisation

Memory Buffer Register

It holds the content of accessed memory word.

It holds the data word when it is transferred to and from the main memory.

Instruction Register It holds the instruction being executed. Instruction is divided into two parts :

Operation Part - Given to MAR

Address part - Given to Decoder

Page 11: Cpu organisation

I/O Register

It is used for communication with the I/O devices. An input unit transfers all the contents to this register

& then system picks up the data & vice-versa.

Accumulator It holds the data under execution, intermediate results

& result of operations. Result Accumulator MBR Main Memory

Page 12: Cpu organisation

Main MemoryMain MemoryRAM (Random Access Memory)

Volatile Memory

Every file or application opened is placed in RAM

Uses Random Access Technique, i.e., the data can be directly jumped to the middle if necessary without having to read the data sequentially.

Page 13: Cpu organisation
Page 14: Cpu organisation

ROM (Read Only Memory)ROM (Read Only Memory)Non-volatile Memory

The instructions are stored by manufacturers

Special programs are stored called micro-programs

which deal with low-level machine functions.

Types of ROM --

PROM (Programmabl e ROM)

EPROM (Eras abl e Programmabl e ROM)

Page 15: Cpu organisation

Cache MemoryCache MemoryExtremely fast & small memory

Placed between CPU & Main memory

Used for temporarily storing active data & for minimizing

the data fetch time

CPU

Cache Memory Main

Memory

Page 16: Cpu organisation

Steps of Execution Of InstructionSteps of Execution Of Instruction1 ) The CU ta ke s a ddre s s o f the ne x t ins truc tio n

fro m the PC Re g is te r & re a d s the ins truc tio n fro m c o rre s p o nd ing m e m o ry a ddre s s into the Ins truc tio n Re g is te r.

2 ) CU the n s e nd s the o p e ra tio n & a ddre s s p a rt to De c o d e r & MAR re s p e c tive ly .

3 ) De c o d e r inte rp re ts the ins truc tio n s e nd s c o m m a nd s ig na ls to the a p p ro p ria te units to c a rry o ut the ta s k s p e c ifie d .

4) As the s y s te m e x e c ute s e a ch ins truc tio n, it lo a d s the a ddre s s o f ne x t ins truc tio n in PC Re g is te r & re p e a ts s te p s 1 to 4.

Page 17: Cpu organisation

Thank You

Thank You


Recommended