User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 86
UG585 (v1.11) September 27, 2016
Chapter 3: Application Processing Unit
Supersections, sections, and large pages are supported to permit mapping of a large region of
memory while using only a single entry in a TLB. If no mapping for an address is found within the
TLB, then the translation table is automatically read by hardware and a mapping is placed in the TLB.
(The translation table entries are discussed in detail in Translation Table Base Register 0 and 1,
page 85)
Memory Access Sequence
When the processor generates a memory access, the MMU:
1. Performs a look-up for the requested virtual address and current ASID and security state in the
relevant instruction or data micro TLB.
2. If there is a miss in the micro TLB, performs a look-up for the requested virtual address and
current ASID and security state in the main TLB.
3. If there is a miss in main TLB, performs a hardware translation table walk.
The MMU might not find a global mapping or a mapping for the currently selected ASID with a
matching non-secure TLB ID (NSTID) for the virtual address in the TLB. In this case, the hardware
does a translation table walk if the translation table walk is enabled by the PD0 or PD1 bit in the TTB
Control register. If translation table walks are disabled, the processor returns a section translation
fault.
If the MMU finds a matching TLB entry, it uses the information in the entry as follows:
1. The access permission bits and the domain determine if the access is enabled. If the matching
entry does not pass the permission checks, the MMU signals a memory abort. See the ARM
Architecture Reference Manual for a description of access permission bits, abort types and
priorities, and for a description of the Instruction Fault Status register (IFSR) and Data Fault Status
register (DFSR).
2. The memory region attributes specified in both the TLB entry and the CP15 c10 remap registers
control the cache and write buffer, and determine if the access is:
a. Secure or non-secure
b. Shared or not
c. Normal memory, device, or strongly-ordered
3. The MMU translates the virtual address to a physical address for the memory access.
If the MMU does not find a matching entry, a hardware table walk occurs.