Академический Документы
Профессиональный Документы
Культура Документы
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 : Priority Interrupt, Polling, Daisy Chaining
Priority
Teaching Aids : ppt, Animations
CM303.61 to 62 1
Recap
CM303.61 to 62 2
Objective
On completion of this period ,you would be
able to understand
• Priority Interrupt
• Polling
• Daisy chaining priority
CM303.61 to 62 3
Priority Interrupts
CM303.61 to 62 4
Priority Interrupts
CM303.61 to 62 5
Priority Interrupts
• Priority Interrupt system
-Deals with simultaneous interrupts and
determine which one to serve first (critical
situation / fast I/O)
-Determine in which conditions allow
interrupting while executing another interrupt
service routing
CM303.61 to 62 6
Priority Interrupts
CM303.61 to 62 7
Priority Interrupts
CM303.61 to 62 8
Priority Interrupts
• When two devices interrupt the computer at the
same time.
• The computer services the device with the
higher priority first.
• Establishing the priority of simultaneous interrupt
can be done by software or hardware.
CM303.61 to 62 9
Polling (Software)
CM303.61 to 62 10
Polling (Software)
CM303.61 to 62 11
Polling (Software)
• Disadvantage:
When there are multiple interrupts polling time might
• Solution:
Hardware priority interrupts unit
CM303.61 to 62 12
Hardware Priority Interrupt Units
• Accepts interrupts from many sources
CM303.61 to 62 13
Hardware Priority Interrupt Units
• No polling required
-Parallel Connection
CM303.61 to 62 14
Daisy Chain
VAD – vector Address
PI – priority in
PO – priority Out
processor data bus
INT
Interrupt request CPU
INTACK
Interrupt acknowledge
Fig .1
CM303.61 to 62 15
Daisy Chain
• Serial connection of all interrupt devices
• Higher priority one places first
• Interrupt request line is common (wired logic)
• CPU responds interrupt via Interrupt Acknowledge
line
• If Device 1 has pending interrupt disable PI and
place its own Interrupt vector. Otherwise pass it to
the next device via P0
CM303.61 to 62 16
Summary
We have discussed
• Priority Interrupt
• Polling
• Daisy chaining priority
CM303.61 to 62 17
Quiz
1. Priority interrupt uses
a. Last come first serve
b. First come first serve
c. None of the above
CM303.61 to 62 18
1. Polling (software)
a. Priority identification mechanism using S/W
b. Priority identification mechanism using H/W
c. None of the above
CM303.61 to 62 19
Frequently asked questions
CM303.61 to 62 20