MOTOROLA
25
5.4.2
Displaying the Valid-bits of Specific Cache Locations Starting From
Address xxx
This routine uses R0 as pointer to cache addresses. Therefore this register has to be read
before the routine, and has to be loaded with the value xxx. At the end of the routine, the
values of R0 must be restored. See Section 10.12.3 in the DSP96002 User’s Manual
(DSP96002UM/AD) for an example.
1. Send command WRITE PDB REGISTER and GO (no EX).
(ODEC selects PDB as destination for serial data.)
2. ACK
3. Send the 32-bit opcode: “MOVEP P:(R0)+, x:OGDB”
(After the 32 bits have been received, the PDB register drives the PDB. ODEC releases the chip
from “halt” state and the MOVEM instruction is executed. This instruction does not change the
cache status in any way but the hit/miss mechanism is activated. The value of HIT/MISS signal
is sampled in bit 20 in the OSCR register. The signal that marks the end of the instruction returns
the chip to the “halt” state and an acknowledge is issued to the command controller.)
4. ACK
5. Send command READ OSCR REGISTER
(ODEC selects OSCR as the source for the serial data and an acknowledge is issued to the
command controller.)
6. ACK
7. CLK
8. Send command NO SELECTION and GO (no EX).
(ODEC releases the chip from the “halt” state and the instruction is executed again (in a
“REPEAT-like “fashion). The signal that marks the end of the instruction returns the chip to the
“halt” state and an acknowledge is issued to the command controller.)
9. ACK
10. Send command READ OSCR REGISTER
(ODEC selects OSCR as source for serial data and an acknowledge is issued to the command
controller.)
11. ACK
12. CLK
13. Repeat from step 8 until the entire cache area is examined. At the end of the process R0 should be
restored.
5.4.3
Displaying the Valid-bits of Specific Cache Locations Starting From
Address xxx, When in PRAM Mode
When in PRAM mode the MOVEM instruction would not activate the HIT/MISS mecha-
nism and therefore the value of the valid-bit would not be reflected in the HIT/MISS status
bit. Therefore, it is necessary to switch to cache mode before reading the valid-bits. Use
the following sequence to switch to cache mode:
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......