Mod 5 Part 1
Mod 5 Part 1
I/O devices cannot directly communicate with the CPU due to various differences between
them. I/O interface resolve these differences
I/O bus is attached to all peripherals.
Interface monitors the address on address bus.
If it find its own address, it activates path between bus line and device.
All the other devices are disabled by their interfaces.
Data to read or write is made available in the data bus.
IO command is made available in the control bus.
I/O versus Memory Bus
Like IO bus Memory bus also contain data,
address and control lines.
There are two ways in which computer bus
communicates with memory and IO
Separate buses for both
Common data and address bus
Common data, address and control bus
I .
II
-
A
10 Here
bases
and
we
for
10 with
use separate
connecting memory
CPU
2 .
Common address and data bus
Isolated 10 or
CPU distinguishes between memory and I/O using control signals
10 mapped 118
This is called ISOLATED I/O
-J
C
I memory XXX
adv
H - wastage
-
memuly
#
CDU -
No -
XX X
Reduced cert
C
. Common address, data and control
3
a
add
bus
·
Some addresses are assigned to I/O devices from memory addresses
⑬
-018
Y dra
↳
ad
-
Memusy Wastage
adv
-
cost loa