Xilinx MicroBlaze Reference Manual page 59

32-bit soft processor
Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

When a hit occurs, the MMU reads the RPN field from the corresponding TLB entry. Some
or all of the bits in this field are used, depending on the value of the SIZE field (see
Table
2-37). For example, if the
the physical page number and is used to form the physical address. RPN[14:21] is not used,
and software must clear those bits to 0 when initializing the TLB entry. The remainder of the
physical address is taken from the page-offset portion of the EA. If the page size is 256 kB,
the 32-bit physical address is formed by concatenating RPN[0:13] with bits14:31 of the
effective address.
Prior to accessing physical memory, the MMU examines the TLB-entry access-control fields.
These fields indicate whether the currently executing program is allowed to perform the
requested memory access.
If access is allowed, the MMU checks the storage-attribute fields to determine how to
access the page. The storage-attribute fields specify the caching policy for memory
accesses.
TLB Access Failures
A TLB-access failure causes an exception to occur. This interrupts execution of the
instruction that caused the failure and transfers control to an interrupt handler to resolve
the failure. A TLB access can fail for two reasons:
A matching TLB entry was not found, resulting in a TLB miss
A matching TLB entry was found, but access to the page was prevented by either the
storage attributes or zone protection
When an interrupt occurs, the processor enters real mode by clearing MSR[VM] to 0. In real
mode, all address translation and memory-protection checks performed by the MMU are
disabled. After system software initializes the UTLB with page-translation entries,
management of the MicroBlaze UTLB is usually performed using interrupt handlers running
in real mode.
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
field specifies a 256 kB page size, RPN[0:13] represents
SIZE
www.xilinx.com
Chapter 2: MicroBlaze Architecture
Send Feedback
59

Advertisement

Table of Contents
loading

Table of Contents