GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 19

Shared interrupt request and grant lines

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2005 paper

GATE 2005, Q19 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 19, GATE 2005: A CPU has one interrupt-request and one interrupt-grant line. What is possible? A neither vectored interrupts nor multiple devices; B multiple devices but no vectors; C both; D vectors but only one device.
Question 19, GATE 2005: A CPU has one interrupt-request and one interrupt-grant line. What is possible? A neither vectored interrupts nor multiple devices; B multiple devices but no vectors; C both; D vectors but only one device.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Multiple devices can share an interrupt-request line and arbitrate using a daisy-chained grant or an interrupt controller. The selected device can then place its vector on the data bus. Therefore both multiple devices and vectored interrupts are possible, C; one request wire does not require a single interrupt source.

A request wire signals that some device needs service; it need not encode which one. Arbitration through a controller or daisy-chain grant selects one requester, which can then supply an interrupt vector over another bus. Thus one shared request/grant pair does not limit the system to one device or one fixed service routine. C is possible; actual priority/fairness depends on the arbitration design.

Original paper, page 2