CACHE AND ON-CHIP DATA RAM
4-4
4.3
BIG ENDIAN ACCESSES TO INTERNAL RAM AND DATA CACHE
The i960 Jx processor supports big-endian accesses to the internal data RAM and data cache. The
default byte order for data accesses is programmed in DLMCON.be as either little or big-endian.
The DLMCON.be controls the default byte-order for all internal (i.e., on-chip data RAM and data
cache) and external accesses. See
section 13.6, “Programming the Logical Memory Attributes”
(pg. 13-8)
for more details.
4.4
INSTRUCTION CACHE
The i960 JT processor features a 16 Kbyte, 2-way set-associative instruction cache (I-cache). The
i960 JF and JD processors feature a 4-Kbyte, 2-way set-associative I-cache organized in lines of
four 32-bit words. The JA processor features a 2 Kbyte, 2-way set associative instruction cache.
The cache provides fast execution of cached code and loops of code and provides more bus
bandwidth for data operations in external memory. To optimize cache updates when branches or
interrupts are executed, each word in the line has a separate valid bit. When requested instructions
are found in the cache, the instruction fetch time is one cycle for up to four words. A mechanism to
load and lock critical code within a way of the cache is provided along with a mechanism to
disable the cache. The cache is managed through the
icctl
or
sysctl
instruction. Using
icctl
is the
preferred and more versatile method for controlling the instruction cache on the i960 Jx processor.
Future i960 processors may not support
sysctl
instruction.
Cache misses cause the processor to issue a double-word or a quad-word fetch, based on the
location of the Instruction Pointer:
•
When the IP is at word 0 or word 1 of a 16-byte block, a four-word fetch is initiated.
•
When the IP is at word 2 or word 3 of a 16-byte block, a two-word fetch is initiated.
4.4.1
Enabling and Disabling the Instruction Cache
Enabling the instruction cache is controlled on reset or initialization by the instruction cache
configuration word in the Process Control Block (PRCB); see
Figure 12-6 (pg. 12-17)
. When
bit 16 in the instruction cache configuration word is set, the instruction cache is disabled and all
instruction fetches are directed to external memory. Disabling the instruction cache is useful for
tracing execution in a software debug environment.
The instruction cache remains disabled until one of three operations is performed:
•
icctl
is issued with the enable instruction cache operation (preferred method)
•
sysctl
is issued with the configure-instruction-cache message type and cache configuration
mode other than disable cache (not the preferred method for i960 Jx processor).
•
The processor is reinitialized with a new value in the instruction cache configuration word
Содержание 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: ......