Download Multiprocessor platform using LEON3 processor

Transcript
A snoop mechanism consists of a unit integrated in the cache system, which is constantly
monitoring all transactions related to cache operations, in the main memory access bus, the
AHB bus, ensuring memory coherency in shared memory systems. A snoop unit monitors
AHB bus to find data written to any processor in the system, ensuring that do not contain
any copy of that data. In case of equal data detection, the cache line that contains it is
marked as invalid [3].
A write-through policy can be used (LEON3 has this mechanism available) in conjunction
with cache snooping in order to write data to main memory, reducing write loads on the
AHB bus [18]. The reduction in write transactions is made using an update policy, in other
words, when a processor writes to main memory location that is cached, both the cache and
the main memory are updated.
2.4.
MEMORY MANAGEMENT UNIT
A Memory Management Unit (MMU) emerged with the needs of multitasking and multiuser operating systems that share one common memory space. With this demand is required that the MMU, protects users privacy, prevents unauthorized access and prevents
accesses to data currently in use.
Figure 5 Block diagram representation of a system with MMU [5].
To meet these system requirements, the MMU translates virtual addresses into physical
addresses and manages all memory accesses. A system without MMU can access main
memory using physical addresses, i.e. use the main memory addresses without any type of
codification. With MMU, when the processor needs to access the main memory it uses virtual addresses that will be translated by the MMU into physical addresses to access data.
To implement virtual address spaces in hardware, paging and segmentation can be used.
11