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.

Multi-Processor Interrupt Controller (MPIC)<br />

In the distributed delivery mode, the interrupt is pointed to one or more<br />

processors but it will be delivered to only one processor. Therefore, for<br />

externally sourced or I/O interrupts, multicast delivery is not supported.<br />

The interrupt is delivered to a processor when the priority of the interrupt<br />

is greater than the priority contained in the task register for that processor,<br />

when the priority of the interrupt is greater than any interrupt which is inservice<br />

for that processor, when the priority of that interrupt is the highest<br />

of all interrupts pending for that processor, and when that interrupt is not<br />

in-service for the other processor. If both destination bits are set for each<br />

processor, the interrupt will be delivered to the processor that has a lower<br />

task register priority. Note, due to a deadlock condition that can occur<br />

when the task register priorities for each processor are the same and both<br />

processors are targeted for interrupt delivery, the interrupt will be<br />

delivered to processor 0 or processor 1 as determined by the TIE mode.<br />

Additionally, if priorities are set the same for competing interrupts,<br />

external int. 0 is given the highest priority in hardware followed by<br />

external interrupt 1 through 15 and then followed by timer 0 through timer<br />

3 and followed by IPI 0 and 1. For example, if both ext0 and ext1 interrupts<br />

are pending with the same assigned priority; during the following interrupt<br />

acknowledge cycles, the first vector returned shall be that of ext0 and then<br />

ext1. This is an arbitrary choice.<br />

Block Diagram Description<br />

The description of the MPIC block diagram shown in Figure 2-9 focuses<br />

on the theory of operation for the interrupt delivery logic.<br />

http://www.motorola.com/computer/literature 2-57<br />

2

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

Saved successfully!

Ooh no, something went wrong!