Defining The Effective Range Of A Logical Data Template - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

13.6.1

Defining the Effective Range of a Logical Data Template

For each logical data template, an LMADR register sets the base address using the A31:12 field.
The LMMR register sets the address mask using the MA31:12 field. The effective address range
for a logical data template is defined using the A31:12 field in an LMADRx register and the
MA31:12 field in an LMMRx register. For each access, the upper 20 address bits (A31:12) are
compared against A31:12 in the LMADRx register. Only address bits with corresponding MA bits
set are compared. Address bits with corresponding MA bits cleared (0) are automatically
considered a "match". The processor will only use the logical data template when all compared
address bits match. Two examples help clarify the operation of the address comparators.
Create a template 64 Kbytes in length beginning at address 0010 0000H and ending at address
0010 FFFFH. Determine the form of the candidate address to match and then program the
LMADR and LMMR registers:
Candidate Address is of form: 0010 XXXX
LMADR <31:12> should be:
LMMR <31:12> should be:
Multiple data templates can be created from a single LMADR/LMMR register pair by aliasing
effective addresses. For example, to create sixteen 64 Kbyte templates, each beginning on
modulo 1 Mbyte boundaries starting at 0000 0000H and ending with 00F0 0000H, the
registers are programmed as follows:
Candidate Address is of form: 00X0 XXXX
LMADR <31:12> should be:
LMMR <31:12> should be:
0010 0...
FFFF 0...
0000 0...
FF0F 0...
MEMORY CONFIGURATION
13
13-11

Advertisement

Table of Contents
loading

Table of Contents