Exception Processing
SC140 DSP Core Reference Manual
5-47
Figure 5-11 below depicts the core interface to an external interrupt controller.
Figure 5-11. Core-PIC Interface
The interface signals (inputs to the core from an external interrupt controller) are described in the
following list.
•
Maskable Interrupt Request Signal (IREQ)
— Asserted to inform the core of a pending
maskable interrupt request.
•
Interrupt Request Priority Level (IPL)
— This 3-bit bus defines the priority level of the
maskable interrupt request. If this value exceeds the value encoded in the SR bits I[2:0], the
interrupt can be serviced. Otherwise, it is masked.
•
Non-maskable Interrupt Request (NMI_REQ)
— Assertion of this signal initiates an interrupt
independent of the value on the IPL bus or the SR priority level. This input can be inhibited by the
non-masked interrupt disable (NMID) bit in the Exception and Mode Register (EMR).
•
Enable Auto-vector (AUTO_VEC)
— This signal selects the source for the offset part of the
interrupt vector address: either the default offset or the value driven by the user on the 8-bit
INTERRUPT OFFSET bus. This selection affects both maskable and non-maskable interrupts.
•
INTERRUPT OFFSET
— This 6-bit value can be the offset address applied to the interrupt
vector address table. It is selected if the AUTO_VEC (above) does not select the default offset.
The complete address of the interrupt vector is defined by a number of fields. For more details, see
Section 5.8.1.2, “Programming Exception Routine Addresses.”
The following list outlines how exceptions are processed by the SC140:
1.
The hardware interrupt request is synchronized with the core clock. The interrupt pending
request signal for that particular hardware interrupt is set. An internal exception (such as an
illegal instruction) is processed in the PSEQ internally as a non-maskable exception request.
An exception source can have only one exception pending at any given time.
2.
The PSEQ in the core automatically ignores any interrupt request with an IPL lower than or
equal to the interrupt mask level in the SR. NMIs and internal exceptions are serviced
regardless of the current IPL.
IREQ
VBA
PAB
Program
Internal
Exceptions
NMI_REQ
Sequencer
AUTO_VEC
PSEQ
IPL
INTERRUPT OFFSET
3
20
SC140
6
6
6
Содержание SC140 DSP Core
Страница 12: ...xii SC140 DSP Core Reference Manual ...
Страница 18: ...xviii SC140 DSP Core Reference Manual ...
Страница 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Страница 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Страница 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Страница 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Страница 385: ...BMCHG W SC140 DSP Core Reference Manual A 71 u16 iiiiiiiiiiiiiiii 16 bit unsigned immediate data ...
Страница 388: ...A 74 SC140 DSP Core Reference Manual BMCHG W s16 AAAAAAAAAAAAAAAA 16 bit signed SP address offset ...
Страница 391: ...BMCLR SC140 DSP Core Reference Manual A 77 u16 iiiiiiiiiiiiiiii 16 bit unsigned immediate data ...
Страница 454: ...A 140 SC140 DSP Core Reference Manual DECA u5 iiiii 5 bit unsigned immediate data 1 set by the assembler ...
Страница 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Страница 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Страница 592: ...A 278 SC140 DSP Core Reference Manual MOVE L a32 aaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAA 32 bit absolute long address ...
Страница 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Страница 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Страница 660: ...A 346 SC140 DSP Core Reference Manual OR W s16 AAAAAAAAAAAAAAAA Signed 16 bit SP address offset ...
Страница 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Страница 758: ...I 10 Index ...
Страница 759: ...SC140 DSP Core Reference Manual i ...
Страница 760: ......