system software initializes the UTLB with page-translation entries, management of the MicroBlaze
UTLB is usually performed using interrupt handlers running in real mode.
Figure 2-21
The following sections describe the conditions under which exceptions occur due to TLB access
failures.
Data-Storage Exception
When virtual mode is enabled, (MSR[VM]=1), a data-storage exception occurs when access to a
page is not permitted for any of the following reasons:
•
MicroBlaze Processor Reference Guide
UG081 (v14.7)
diagrams the general process for examining a TLB entry.
TLBHI[V]=1
TLBHI[TID]=0x00
Yes
Compare
TLBHI[TAG] with EA[EPN]
using TLBHI[SIZE]
Match (TLB Hit)
Check Access
Allowed
Data Reference
Instruction Fetch
Check for
Guarded Storage
Not Guarded
Read TLBLO[RPN]
using TLBHI[SIZE]
Extract Offset from EA
using TLBHI[SIZE]
Figure 2-21: General Process for Examining a TLB Entry
From user mode:
♦
The TLB entry specifies a zone field that prevents access to the page (ZPR[Zn]=00). This
applies to load and store instructions.
♦
The TLB entry specifies a read-only page (TLBLO[WR]=0) that is not otherwise
overridden by the zone field (ZPR[Zn]‚ 11). This applies to store instructions.
www.xilinx.com
No
Yes
No
Compare
TLBHI[TID] with PID
Match
No Match
Not Allowed
Guarded
Virtual-Memory Management
TLB-Entry Miss
No Match
TLB-Entry Miss
TLB-Entry Miss
Access Violation
Storage Violation
Generate Physical Address
from TLBLO[RPN] and Offset
UG011_41_033101
Send Feedback
61
Need help?
Do you have a question about the MicroBlaze and is the answer not in the manual?