![Intel NIOS II Owner Reference Manual Download Page 61](http://html1.mh-extra.com/html/intel/nios-ii/nios-ii_owner-reference-manual_2071826061.webp)
Table 34.
mpuacc Control Register Field Descriptions
Field
Description
Access
Reset
Availabl
e
MASK
MASK
specifies the size of the region.
Read/Write
0
Only
with
MPU
LIMIT
LIMIT
specifies the upper address limit of the region.
Read/Write
0
Only
with
MPU
MT
(
MT
) Memory Type:
• 0 = peripheral (non-cacheable, non-write bufferable)
• 1 = normal (cacheable, write bufferable)
• 2 = device (non-cacheable, write bufferable)
• 3 = reserved
Read/Write
0
Only
with
MPU
PERM
PERM
specifies the access permissions for the region.
Read/Write
0
Only
with
MPU
RD
RD
is the read region flag. When
RD
= 1,
wrctl
instructions to the
mpuacc
register perform a read operation.
Write
0
Only
with
MPU
WR
WR
is the write region flag. When
WR
= 1,
wrctl
instructions to the
mpuacc
register perform a write operation.
Write
0
Only
with
MPU
The
MASK
and
LIMIT
fields are mutually exclusive. Refer to mpucc Control Register
Field for MASK Variation Table and mpuacc Control Register Field for LIMIT Variation
Table.
The following sections provide more information about the
mpuacc
fields.
Related Information
•
The LIMIT Field
on page 62
•
The MASK Field
on page 61
3.4.2.14.1. The MASK Field
When the amount of memory reserved for a region is defined by size, the
MASK
field
specifies the size of the memory region. The
MASK
field is the same number of bits as
the
BASE
field of the
mpubase
register.
Note:
Unused high-order or low-order bits must be written as zero and are read as zero.
MASK Region Size Encodings Table lists the
MASK
field encodings for all possible region
sizes in a full 31-bit byte address space.
(12)
This field size is variable. Unused upper bits and unused lower bits must be written as zero.
3. Programming Model
NII-PRG | 2018.04.18
Nios II Processor Reference Guide
61