You are on page 1of 21

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : K.Suguna
Designation : Lecturer
Branch : Computer Engineering
Institute : GPT, Anantapur
Year/Semester : III - Semester
Subject : Computer Architecture
Subject Code : CM-303
Topic : I/O Organization
Duration : 100 mts
Sub Topic : Block Diagram of IOP and it’s working
Teaching Aids : ppt, Animations, drawings
CM303.63 to 64 1
Recap

In the last class, you have learnt about


• Priority Interrupt
• Polling
• Daisy chaining priority

CM303.63 to 64 2
Objective
On completion of this period, you would be
able to understand

• Block Diagram of computer with IOP


• Working of I/O processor

CM303.63 to 64 3
I/O Processing

• IOP – Input Output Process

• Instead of each interface communicating with


the CPU

• One or more external processors assigned to


communicate directly with I/O devices

CM303.63 to 64 4
I/O Processing
Contd..

• IOP has both direct memory access and


I/O communication capabilities

• IOP releases the CPU from the housekeeping

the chores involved in I/O transfer

CM303.63 to 64 5
I/O Processing
Contd..

• Processors handling serial communication with


remote terminal are called Data Communication
Processors (DCP)

• IOP is similar to CPU except its handles only I/O


processing

CM303.63 to 64 6
I/O Processing
Contd..

• Unlike DMA controller totally setup by the


CPU, IOP can fetch and executes its own
instructions

• Additionally IOP can perform other tasks


like arithmetic, logic, branching and code
translation

CM303.63 to 64 7
Block Diagram of computer with I/O Processor

Central
processing unit
(CPU)

Memory bus Peripheral devices


Memory unit
PD PD PD PD

Input-output
Processor
I/O bus
(IOP)

Fig.1

CM303.63 to 64 8
Responsibilities of IOP

• Memory at the centre can communicate with


both processors via DMA

• CPU responsible for data processing and


computational tasks

CM303.63 to 64 9
Responsibilities of IOP
Contd..

• IOP transfers data between peripheral devices

and memory

• CPU is usually assigned the task of initiating


the I/O program, there after IOP operates
independently
CM303.63 to 64 10
Responsibilities of IOP
Contd..

• IOP take care of data format difference and


structure mapping between memory and
various I/O devices

• Communication between CPU and IOP is


similar to programmed I/O

CM303.63 to 64 11
Responsibilities of IOP
Contd..

• Communication between Memory and IOP is


done as DMA

• IOP can be independent or slave processors


depending on the sophistication of the system

CM303.63 to 64 12
Responsibilities of IOP
Contd..

• Instructions for IOP generally refers as

commands
• CPU informs the IOP where to find the

commands in memory when it is time to

execute the I/O program

CM303.63 to 64 13
CPU-IOP Communication

Send instruction Transfer status word


To test IOP path To memory location

If status OK… send


Access memory for
Start I/O instruction
IOP program
To IOP
CPU Operations

IOP Operations
Conduct I/O transfers
CPU continues with
Using DMA; prepare
Another program
Status report

I/O transfer completed;


Request IOP status
Interrupt CPU

Check status word Transfer status word


For correct transfer To memory location
CM303.63 to 64 14
Continue Fig .2
Quiz
2. IOP means
a. Interface out process
b. Input output processor
c. None of the above

CM303.63 to 64 15
Quiz
Contd..

1. IOP handles
a. input devices only
b. output devices only
c. Both I/O devices

CM303.63 to 64 16
Quiz
Contd..
1. IOP transfers data between
a. Peripheral devices and memory
b. CPU and memory
c. None of the above

CM303.63 to 64 17
Quiz
Contd..
4. Communication between CPU and IOP in
similar to
b) DMA
c) Programmed I/O
d) Interrupt I/O
e) AU

CM303.63 to 64 18
Quiz
Contd..
5. Communication between memory and IOP in
similar to
b) DMA
c) Programmed I/O
d) Interrupt I/O
e) All

CM303.63 to 64 19
Summary

We have discussed

• Block Diagram of computer with IOP

• Working of I/O processor

CM303.63 to 64 20
Frequently Asked Questions

1. Draw the block diagram of computer with I/O


processor and explain working

CM303.63 to 64 21

You might also like