17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2<br />

Hawk PCI Host Bridge & Multi-Processor Interrupt Controller<br />

Interrupt Request Register (IRR)<br />

In-Service Register (ISR)<br />

Interrupt Router<br />

There is a Interrupt Request Register (IRR) for each processor. The IRR<br />

always passes the output of the IS except during Interrupt Acknowledge<br />

cycles. This guarantees that the vector which is read from the Interrupt<br />

Acknowledge Register does not change due to the arrival of a higher<br />

priority interrupt. The IRR also serves as a pipeline register for the two tick<br />

propagation time through the IS.<br />

There is a In-Service Register (ISR) for each processor. The contents of the<br />

ISR are the priority and source of all interrupts, which are in-service. The<br />

ISR receives a bit-set command during Interrupt Acknowledge cycles and<br />

a bit-clear command during End Of Interrupt cycles.<br />

The ISR is implemented as a 40 bit register with individual bit set and clear<br />

functions. Fifteen bits are used to store the priority level of each interrupt<br />

which is in-service. Twenty-five bits are used to store the source<br />

identification of each interrupt which is in service. Therefore, there is one<br />

bit for each possible interrupt priority and one bit for each possible<br />

interrupt source.<br />

The Interrupt Router monitors the outputs from the ISR’s, Current Task<br />

Priority Registers, Destination Registers, and the IRR’s to determine when<br />

to assert a processor’s INT pin.<br />

When considering the following rule sets, it is important to remember that<br />

there are two types of inputs to the Interrupt Selectors. If the interrupt is a<br />

distributed class interrupt, there is a single bit in the IPR associated with<br />

this interrupt and it is delivered to both Interrupt Selectors. This IPR bit is<br />

qualified by the destination register contents for that interrupt before the<br />

Interrupt Selector compares its priority to the priority of all other<br />

requesting interrupts for that processor. If the interrupt is programmed to<br />

be edge sensitive, the IPR bit is cleared when the vector for that interrupt<br />

is returned when the Interrupt Acknowledge register is examined. On the<br />

other hand, if the interrupt is a direct/multicast class interrupt, there are two<br />

bits in the IPR associated with this interrupt. One bit for each processor.<br />

2-60 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!