CACHE AND ON-CHIP DATA RAM
4-5
4
4.4.2
Operation While the Instruction Cache Is Disabled
Disabling the instruction cache does not disable the instruction buffering that may occur within the
instruction fetch unit. A four-word instruction buffer is always enabled, even when the cache is disabled.
There is one tag and four word-valid bits associated with the buffer. Because there is only one tag
for the buffer, any “miss” within the buffer causes the following:
•
All four words of the buffer are invalidated.
•
A new tag value for the required instruction is loaded.
•
The required instruction(s) are fetched from external memory.
Depending on the alignment of the “missed” instruction, either two or four words of instructions
are fetched and only the valid bits corresponding to the fetched words are set in the buffer. No
external instruction fetches are generated until a “miss” occurs within the buffer, even in the
presence of forward and backward branches.
4.4.3
Loading and Locking Instructions in the Instruction Cache
The processor can be directed to load a block of instructions into one-way of the cache and then
lock out all normal updates to this one-way of the cache. This cache load-and-lock mechanism is
provided to minimize latency on program control transfers to key operations such as interrupt
service routines. The block size that can be loaded and locked on the i960 Jx processor is one way
of the cache. Any code can be locked into the cache, not just interrupt routines.
An
icctl
or
sysctl
instruction is issued with a configure-instruction-cache message type to select
the load-and-lock mechanism. When the lock option is selected, the processor loads the cache
starting at an address specified as an operand to the instruction.
4.4.4
Instruction Cache Visibility
Instruction cache status can be determined by issuing
icctl
with an instruction-cache status
message. To facilitate debugging, the instruction cache contents, instructions, tags and valid bits
can be written to memory. This is done by issuing
icctl
with the store cache operation.
4.4.5
Instruction Cache Coherency
The i960 Jx processor does not snoop the bus to prevent instruction cache incoherency. The cache
does not detect modification to program memory by loads, stores or actions of other bus masters.
Several situations may require program memory modification, such as uploading code at initial-
ization or loading from a backplane bus or a disk drive.
Содержание i960 Jx
Страница 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Страница 24: ......
Страница 25: ...1 INTRODUCTION ...
Страница 26: ......
Страница 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Страница 36: ......
Страница 46: ......
Страница 47: ...3 PROGRAMMING ENVIRONMENT ...
Страница 48: ......
Страница 73: ...4 CACHE AND ON CHIP DATA RAM ...
Страница 74: ......
Страница 85: ...5 INSTRUCTION SET OVERVIEW ...
Страница 86: ......
Страница 111: ...6 INSTRUCTION SET REFERENCE ...
Страница 112: ......
Страница 195: ...INSTRUCTION SET REFERENCE 6 83 6 Opcode mov 5CCH REG movl 5DCH REG movt 5ECH REG movq 5FCH REG See Also LOAD STORE lda ...
Страница 233: ...7 PROCEDURE CALLS ...
Страница 234: ......
Страница 256: ......
Страница 257: ...8 FAULTS ...
Страница 258: ......
Страница 291: ...9 TRACING AND DEBUGGING ...
Страница 292: ......
Страница 309: ...10 TIMERS ...
Страница 310: ......
Страница 324: ......
Страница 325: ...11 INTERRUPTS ...
Страница 326: ......
Страница 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Страница 370: ......
Страница 412: ......
Страница 413: ...13 MEMORY CONFIGURATION ...
Страница 414: ......
Страница 429: ...14 EXTERNAL BUS ...
Страница 430: ......
Страница 468: ......
Страница 469: ...15 TEST FEATURES ...
Страница 470: ......
Страница 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Страница 494: ......
Страница 502: ......
Страница 503: ...B OPCODES AND EXECUTION TIMES ...
Страница 504: ......
Страница 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Страница 516: ......
Страница 523: ...D REGISTER AND DATA STRUCTURES ...
Страница 524: ......
Страница 550: ......
Страница 551: ...GLOSSARY ...
Страница 552: ......
Страница 561: ...INDEX ...
Страница 562: ......
Страница 578: ......