SlideShare a Scribd company logo
12
Most read
13
Most read
15
Most read
CS304PC:Computer Organization
and Architecture (R18 II(I sem))
Department of computer science and engineering (AI/ML)
Session 27
by
Asst.Prof.M.Gokilavani
VITS
2/28/2023 Department of CSE (AI/ML) 1
TEXTBOOK:
• 1. Computer System Architecture – M. Moris Mano,
Third Edition, Pearson/PHI.
REFERENCES:
• Computer Organization – Car Hamacher, Zvonks
Vranesic, Safea Zaky, Vth Edition, McGraw Hill.
• Computer Organization and Architecture – William
Stallings Sixth Edition, Pearson/PHI.
• Structured Computer Organization – Andrew S.
Tanenbaum, 4th Edition, PHI/Pearson.
2/28/2023 Department of CSE (AI/ML) 2
Unit IV
Input-Output Organization: Input-Output
Interface, Asynchronous data transfer, Modes of
transfer, Priority Interrupt Direct memory
Access.
Memory Organization: Memory Hierarchy,
Main memory, Auxiliary memory, Associate
memory, cache memory.
2/28/2023 Department of CSE (AI/ML) 3
Topics covered in session 27
2/28/2023 Department of CSE (AI/ML) 4
•Input-Output Organization
•Input-Output Interface
•Asynchronous data transfer
•Modes of transfer
•Priority Interrupt
•Direct memory Access.
Priority Interrupt
 A priority interrupt is a system that establishes a priority
over the various sources to determine which condition is to
be services first when two or more requests arise
simultaneously.
 Higher priority interrupt levels are assigned to requests which,
if delayed or interrupted could have serious consequences.
 Devices with high speed transfers such as magnetic disks are
given high priority and slow devices such as keyboards
receive low priority.
2/28/2023 5
Department of CSE (AI/ML)
Priority Interrupt
• When two devices interrupt the computer at the same
time, the computer services the devices with the higher
priority first.
• Establishing the priority of simultaneous interrupts
can be done by software or hardware:
 Software: Polling
 Hardware: Daisy chain, Parallel Priority
2/28/2023 6
Department of CSE (AI/ML)
Polling
A polling procedure is used to identify the highest-
priority source by software means.
 In this method, there is one common branch
address for all interrupts.
 The program that takes care of interrupts begins
at the branch address and polls the interrupt
sources in sequence.
 The order in which they are tested determines the
priority of each interrupt.
2/28/2023 7
Department of CSE (AI/ML)
Polling
The disadvantage of the software method is that if there
are many interrupts, the time required to poll them can
exceed the time available to service the I/O device.
 a hardware priority interrupt unit can be
used to speed up the operation.
A hardware priority-interrupt unit functions as
an overall manager in an interrupt system
environment.
It accepts interrupt requests from many
sources, determines which of the incoming
requests has the highest priority, and issues an
interrupt request to the computer based on the
determination.
2/28/2023 8
Department of CSE (AI/ML)
Daisy-Chaining Priority
• The daisy-chaining method of establishing priority
consists of a serial connection of all devices that request an
interrupt.
• The device with the highest priority is placed in the first
position, followed by the lower-priority devices up to the
device with the lowest priority, which is placed last in the
chain.
• The interrupt request line is common to all devices and
forms a wired logic connection.
• If any device has an interrupt signal in the low-level state,
the interrupt line goes to the low-level state and enables
the interrupt input in the CPU.
2/28/2023 9
Department of CSE (AI/ML)
2/28/2023 Department of CSE (AI/ML) 10
Daisy-Chaining Priority
 When no interrupts are pending, the interrupt line stays in the
high-level state and no interrupts are recognized by the CPU.
 This is equivalent to the negative logic OR operation.
 The CPU responds to an interrupt request by enabling the
interrupt acknowledge line. This signal is received by device 1
at its PI (Priority In) input.
 The acknowledge signal passes on to the next device through
the PO (Priority Out) output only if device 1 is not requesting
an interrupt.
 If device 1 has a pending interrupt, it blocks the acknowledge
signal from the next device by placing a 0 in the PO output.
2/28/2023 11
Department of CSE (AI/ML)
Parallel Priority Interrupt
• The parallel priority interrupt method uses a
register whose bits are set separately by the
interrupt signal from each device.
• Priority is established according to the
position of the bits in the register.
• Mask register is used to provide facility for the
higher priority devices to interrupt when lower
priority device is being serviced or disable all
lower priority devices when higher is being
services.
2/28/2023 12
Department of CSE (AI/ML)
2/28/2023 Department of CSE (AI/ML) 13
Parallel Priority Interrupt
It consists of:
 an interrupt register whose individual bits are set
by external conditions and cleared by program
instructions.
The magnetic disk, being a high-speed
device is given the highest priority.
 The mask register has the same number of bits as
the interrupt register. By means of program
instructions, it is possible to set or reset any bit in
the mask register.
 Each interrupt bit and it corresponding mask bit are
applied to an AND gate to produce the four inputs
to a priority encoder.
2/28/2023 14
Department of CSE (AI/ML)
Parallel Priority Interrupt
• In this way an interrupt is recognized only if its corresponding
mask bit is set to 1 by the program. The priority encoder
generates two bits of the vector address, which is transferred to
the CPU.
 Another output from the encoder sets an interrupt status
flip-flop IST when an interrupt that is not masked occurs.
 The interrupt enable flip-flop IEN can be set or cleared by
the program to provide an overall control over the interrupt
system.
 The outputs of IST ANDed with IEN provide a common
interrupt signal for the CPU.
 The interrupt acknowledge INTACK signal from the CPU
enables the bus buffers in the output register and a vector
address VAD is placed into the data bus.
• The priority encoder is a circuit that implements the priority
function. The logic of the priority encoder is such that if two or
more inputs arrive at the same time, the input having the highest
priority will take precedence.
2/28/2023 15
Department of CSE (AI/ML)
Topics to be covered in next session 28
• Direct memory Access
2/28/2023 Department of CSE (AI/ML) 16
Thank you!!!

More Related Content

What's hot (20)

PPT
Parallel processing and pipelining
mahesh kumar prajapat
 
PPT
Interface
Siddique Ibrahim
 
PPTX
Modes of transfer
Andhra University
 
PPTX
8257 DMA Controller
ShivamSood22
 
PPTX
Lecture 37
RahulRathi94
 
PPTX
Types of Instruction Format
Dhrumil Panchal
 
PDF
Bus structure in Computer Organization.pdf
mvpk14486
 
PPT
pipeline and vector processing
Acad
 
PDF
8259 Programmable Interrupt Controller
abhikalmegh
 
PPTX
Leaky Bucket & Tocken Bucket - Traffic shaping
Vimal Dewangan
 
PDF
hardwired control unit ppt
SushmithaAcharya7
 
PPT
Modes Of Transfer in Input/Output Organization
MOHIT AGARWAL
 
PPTX
Direct memory access
shubham kuwar
 
PPTX
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Ashish Duggal
 
PPTX
Instruction pipeline: Computer Architecture
InteX Research Lab
 
PPTX
Memory organization in computer architecture
Faisal Hussain
 
PPS
Virtual memory
Anuj Modi
 
PPTX
Computer architecture virtual memory
Mazin Alwaaly
 
PPTX
Instruction codes
pradeepa velmurugan
 
PPTX
Salient featurs of 80386
aviban
 
Parallel processing and pipelining
mahesh kumar prajapat
 
Interface
Siddique Ibrahim
 
Modes of transfer
Andhra University
 
8257 DMA Controller
ShivamSood22
 
Lecture 37
RahulRathi94
 
Types of Instruction Format
Dhrumil Panchal
 
Bus structure in Computer Organization.pdf
mvpk14486
 
pipeline and vector processing
Acad
 
8259 Programmable Interrupt Controller
abhikalmegh
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Vimal Dewangan
 
hardwired control unit ppt
SushmithaAcharya7
 
Modes Of Transfer in Input/Output Organization
MOHIT AGARWAL
 
Direct memory access
shubham kuwar
 
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Ashish Duggal
 
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Memory organization in computer architecture
Faisal Hussain
 
Virtual memory
Anuj Modi
 
Computer architecture virtual memory
Mazin Alwaaly
 
Instruction codes
pradeepa velmurugan
 
Salient featurs of 80386
aviban
 

Similar to CS304PC: Computer Organization and Architecture Session 27 priority interrupt.pptx (20)

PPTX
priority interrupt computer organization
chnrketan
 
PDF
5 Techniques to Achieve Functional Safety for Embedded Systems
Angela Hauber
 
PDF
5 Techniques to Achieve Functional Safety for Embedded Systems
MEN Mikro Elektronik GmbH
 
PDF
5 Techniques to Achieve Functional Safety for Embedded Systems
MEN Micro
 
PDF
Io pro
cs19club
 
PPTX
CS304PC:Computer Organization and Architecture Session 15 program control.pptx
Guru Nanak Technical Institutions
 
PPTX
IO hardware
sangrampatil81
 
PDF
Input output concepts in operating systems
isitneededwhy
 
PPTX
COA-Unit5-ppt2.pptx
Ruhul Amin
 
PPT
unit-5 ppt.ppt
SheebaKelvin2
 
PPTX
Computer organization
Rvishnupriya2
 
PPTX
Computer organization
vishnu973656
 
PPTX
Jonny doin safe io t- lt_spice failsafe
Jonny Doin
 
PPTX
Module 6.pptx for computer architecture and organisation
gagansocial1
 
PPTX
3 unit-DMA-1fjgigkhlhkbkbkvkvkvkvkvkgkvkvkvv.pptx
sdsoni2042
 
PPTX
CS304PC: Computer Organization and Architecture Session 26 Mode of transfer
Guru Nanak Technical Institutions
 
PDF
Computer oganization input-output
Deepak John
 
PPT
Mca admission in india
Edhole.com
 
PPT
Unit2 p1 io organization-97-2003
Swathi Veeradhi
 
PDF
COMPUTER ORGANIZATION NOTES Unit 3 4
Dr.MAYA NAYAK
 
priority interrupt computer organization
chnrketan
 
5 Techniques to Achieve Functional Safety for Embedded Systems
Angela Hauber
 
5 Techniques to Achieve Functional Safety for Embedded Systems
MEN Mikro Elektronik GmbH
 
5 Techniques to Achieve Functional Safety for Embedded Systems
MEN Micro
 
Io pro
cs19club
 
CS304PC:Computer Organization and Architecture Session 15 program control.pptx
Guru Nanak Technical Institutions
 
IO hardware
sangrampatil81
 
Input output concepts in operating systems
isitneededwhy
 
COA-Unit5-ppt2.pptx
Ruhul Amin
 
unit-5 ppt.ppt
SheebaKelvin2
 
Computer organization
Rvishnupriya2
 
Computer organization
vishnu973656
 
Jonny doin safe io t- lt_spice failsafe
Jonny Doin
 
Module 6.pptx for computer architecture and organisation
gagansocial1
 
3 unit-DMA-1fjgigkhlhkbkbkvkvkvkvkvkgkvkvkvv.pptx
sdsoni2042
 
CS304PC: Computer Organization and Architecture Session 26 Mode of transfer
Guru Nanak Technical Institutions
 
Computer oganization input-output
Deepak John
 
Mca admission in india
Edhole.com
 
Unit2 p1 io organization-97-2003
Swathi Veeradhi
 
COMPUTER ORGANIZATION NOTES Unit 3 4
Dr.MAYA NAYAK
 
Ad

More from Guru Nanak Technical Institutions (20)

PPTX
22PCOAM21 Data Quality Session 3 Data Quality.pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PDF
III Year II Sem 22PCOAM21 Data Analytics Syllabus.pdf
Guru Nanak Technical Institutions
 
PDF
22PCOAM16 _ML_Unit 3 Notes & Question bank
Guru Nanak Technical Institutions
 
PDF
22PCOAM16 Machine Learning Unit V Full notes & QB
Guru Nanak Technical Institutions
 
PDF
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
Guru Nanak Technical Institutions
 
PDF
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 Unit 3 Session 22 Ensemble Learning .pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 Unit 3 Session 24 K means Algorithms.pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 ML Unit 3 Session 18 Learning with tree.pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 ML Unit 3 Session 21 Classification and Regression Trees .pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 ML Unit 3 Session 20 ID3 Algorithm and working.pptx
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 ML Unit 3 Session 19 Constructing Decision Trees.pptx
Guru Nanak Technical Institutions
 
PDF
22PCOAM16 ML UNIT 2 NOTES & QB QUESTION WITH ANSWERS
Guru Nanak Technical Institutions
 
PDF
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
Guru Nanak Technical Institutions
 
PDF
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
Guru Nanak Technical Institutions
 
PDF
22PCOAM16_MACHINE_LEARNING_UNIT_I_NOTES.pdf
Guru Nanak Technical Institutions
 
PPTX
22PCOAM16 Unit 2 Session 17 Support vector Machine.pptx
Guru Nanak Technical Institutions
 
22PCOAM21 Data Quality Session 3 Data Quality.pptx
Guru Nanak Technical Institutions
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
III Year II Sem 22PCOAM21 Data Analytics Syllabus.pdf
Guru Nanak Technical Institutions
 
22PCOAM16 _ML_Unit 3 Notes & Question bank
Guru Nanak Technical Institutions
 
22PCOAM16 Machine Learning Unit V Full notes & QB
Guru Nanak Technical Institutions
 
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
Guru Nanak Technical Institutions
 
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
Guru Nanak Technical Institutions
 
22PCOAM16 Unit 3 Session 22 Ensemble Learning .pptx
Guru Nanak Technical Institutions
 
22PCOAM16 Unit 3 Session 24 K means Algorithms.pptx
Guru Nanak Technical Institutions
 
22PCOAM16 ML Unit 3 Session 18 Learning with tree.pptx
Guru Nanak Technical Institutions
 
22PCOAM16 ML Unit 3 Session 21 Classification and Regression Trees .pptx
Guru Nanak Technical Institutions
 
22PCOAM16 ML Unit 3 Session 20 ID3 Algorithm and working.pptx
Guru Nanak Technical Institutions
 
22PCOAM16 ML Unit 3 Session 19 Constructing Decision Trees.pptx
Guru Nanak Technical Institutions
 
22PCOAM16 ML UNIT 2 NOTES & QB QUESTION WITH ANSWERS
Guru Nanak Technical Institutions
 
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
Guru Nanak Technical Institutions
 
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
Guru Nanak Technical Institutions
 
22PCOAM16_MACHINE_LEARNING_UNIT_I_NOTES.pdf
Guru Nanak Technical Institutions
 
22PCOAM16 Unit 2 Session 17 Support vector Machine.pptx
Guru Nanak Technical Institutions
 
Ad

Recently uploaded (20)

PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PDF
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
PPTX
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
PPTX
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
4 Tier Teamcenter Installation part1.pdf
VnyKumar1
 
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
Zero Carbon Building Performance standard
BassemOsman1
 
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 

CS304PC: Computer Organization and Architecture Session 27 priority interrupt.pptx

  • 1. CS304PC:Computer Organization and Architecture (R18 II(I sem)) Department of computer science and engineering (AI/ML) Session 27 by Asst.Prof.M.Gokilavani VITS 2/28/2023 Department of CSE (AI/ML) 1
  • 2. TEXTBOOK: • 1. Computer System Architecture – M. Moris Mano, Third Edition, Pearson/PHI. REFERENCES: • Computer Organization – Car Hamacher, Zvonks Vranesic, Safea Zaky, Vth Edition, McGraw Hill. • Computer Organization and Architecture – William Stallings Sixth Edition, Pearson/PHI. • Structured Computer Organization – Andrew S. Tanenbaum, 4th Edition, PHI/Pearson. 2/28/2023 Department of CSE (AI/ML) 2
  • 3. Unit IV Input-Output Organization: Input-Output Interface, Asynchronous data transfer, Modes of transfer, Priority Interrupt Direct memory Access. Memory Organization: Memory Hierarchy, Main memory, Auxiliary memory, Associate memory, cache memory. 2/28/2023 Department of CSE (AI/ML) 3
  • 4. Topics covered in session 27 2/28/2023 Department of CSE (AI/ML) 4 •Input-Output Organization •Input-Output Interface •Asynchronous data transfer •Modes of transfer •Priority Interrupt •Direct memory Access.
  • 5. Priority Interrupt  A priority interrupt is a system that establishes a priority over the various sources to determine which condition is to be services first when two or more requests arise simultaneously.  Higher priority interrupt levels are assigned to requests which, if delayed or interrupted could have serious consequences.  Devices with high speed transfers such as magnetic disks are given high priority and slow devices such as keyboards receive low priority. 2/28/2023 5 Department of CSE (AI/ML)
  • 6. Priority Interrupt • When two devices interrupt the computer at the same time, the computer services the devices with the higher priority first. • Establishing the priority of simultaneous interrupts can be done by software or hardware:  Software: Polling  Hardware: Daisy chain, Parallel Priority 2/28/2023 6 Department of CSE (AI/ML)
  • 7. Polling A polling procedure is used to identify the highest- priority source by software means.  In this method, there is one common branch address for all interrupts.  The program that takes care of interrupts begins at the branch address and polls the interrupt sources in sequence.  The order in which they are tested determines the priority of each interrupt. 2/28/2023 7 Department of CSE (AI/ML)
  • 8. Polling The disadvantage of the software method is that if there are many interrupts, the time required to poll them can exceed the time available to service the I/O device.  a hardware priority interrupt unit can be used to speed up the operation. A hardware priority-interrupt unit functions as an overall manager in an interrupt system environment. It accepts interrupt requests from many sources, determines which of the incoming requests has the highest priority, and issues an interrupt request to the computer based on the determination. 2/28/2023 8 Department of CSE (AI/ML)
  • 9. Daisy-Chaining Priority • The daisy-chaining method of establishing priority consists of a serial connection of all devices that request an interrupt. • The device with the highest priority is placed in the first position, followed by the lower-priority devices up to the device with the lowest priority, which is placed last in the chain. • The interrupt request line is common to all devices and forms a wired logic connection. • If any device has an interrupt signal in the low-level state, the interrupt line goes to the low-level state and enables the interrupt input in the CPU. 2/28/2023 9 Department of CSE (AI/ML)
  • 10. 2/28/2023 Department of CSE (AI/ML) 10
  • 11. Daisy-Chaining Priority  When no interrupts are pending, the interrupt line stays in the high-level state and no interrupts are recognized by the CPU.  This is equivalent to the negative logic OR operation.  The CPU responds to an interrupt request by enabling the interrupt acknowledge line. This signal is received by device 1 at its PI (Priority In) input.  The acknowledge signal passes on to the next device through the PO (Priority Out) output only if device 1 is not requesting an interrupt.  If device 1 has a pending interrupt, it blocks the acknowledge signal from the next device by placing a 0 in the PO output. 2/28/2023 11 Department of CSE (AI/ML)
  • 12. Parallel Priority Interrupt • The parallel priority interrupt method uses a register whose bits are set separately by the interrupt signal from each device. • Priority is established according to the position of the bits in the register. • Mask register is used to provide facility for the higher priority devices to interrupt when lower priority device is being serviced or disable all lower priority devices when higher is being services. 2/28/2023 12 Department of CSE (AI/ML)
  • 13. 2/28/2023 Department of CSE (AI/ML) 13
  • 14. Parallel Priority Interrupt It consists of:  an interrupt register whose individual bits are set by external conditions and cleared by program instructions. The magnetic disk, being a high-speed device is given the highest priority.  The mask register has the same number of bits as the interrupt register. By means of program instructions, it is possible to set or reset any bit in the mask register.  Each interrupt bit and it corresponding mask bit are applied to an AND gate to produce the four inputs to a priority encoder. 2/28/2023 14 Department of CSE (AI/ML)
  • 15. Parallel Priority Interrupt • In this way an interrupt is recognized only if its corresponding mask bit is set to 1 by the program. The priority encoder generates two bits of the vector address, which is transferred to the CPU.  Another output from the encoder sets an interrupt status flip-flop IST when an interrupt that is not masked occurs.  The interrupt enable flip-flop IEN can be set or cleared by the program to provide an overall control over the interrupt system.  The outputs of IST ANDed with IEN provide a common interrupt signal for the CPU.  The interrupt acknowledge INTACK signal from the CPU enables the bus buffers in the output register and a vector address VAD is placed into the data bus. • The priority encoder is a circuit that implements the priority function. The logic of the priority encoder is such that if two or more inputs arrive at the same time, the input having the highest priority will take precedence. 2/28/2023 15 Department of CSE (AI/ML)
  • 16. Topics to be covered in next session 28 • Direct memory Access 2/28/2023 Department of CSE (AI/ML) 16 Thank you!!!