ADSP-2126x SHARC Processor Hardware Reference
5-21
Memory
Illegal I/O Processor Register Access
The DSP monitors I/O processor register access when the Illegal I/O pro-
cessor Register Access (
IIRAE
) bit in the
MODE2
register is set (=1). If access
to the IOP registers is detected, an Illegal Input Condition Detected
(
IICDI
) interrupt occurs. The interrupt is latched in the
IRPTL
register
when a core access to an IOP register occurs.
The I/O processor’s DMA controller cannot generate the
IICDI
interrupt.
For more information, see “Mode Control 2 Register
Unaligned 64-Bit Memory Access
The DSP monitors for unaligned 64-bit memory accesses if the Unaligned
64-bit Memory Accesses (
U64MAE
) bit in the
MODE2
register (bit 21) is set
(=1). An unaligned access is an odd numbered address normal word access
that is forced to 64 bits with the
LW
mnemonic. When detected, this con-
dition is an input that can cause an Illegal Input Condition Detected
(
IICDI
) interrupt if the interrupt is enabled in the
IMASK
register.
information, see “Mode Control 2 Register (MODE2)” on page A-7.
The following code example shows the access for even and odd addresses.
When accessing an odd address, the sticky bit is set to indicate the
unaligned access.
bit set mode2 U64MAE; /* set testbit for aligned or
unaligned 64-bit access*/
r0 = 0x11111111;
r1 = 0x22222222;
pm(0x80200) = r0(lw); /* even address in 32-bit, access
is aligned */
pm(0x80201) = r0(lw); /* odd address in 32-bit, sticky
bit is set */
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...