mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-03-14 17:00:05 +01:00
18 lines
720 B
TeX
18 lines
720 B
TeX
\subsubsection{Cache Addressing Schemes}
|
|
\label{sec:hw-addressing-schemes}
|
|
|
|
The cache can see either the virtual or physical address, and the tag and index do \textit{not} need to both use the physical/virtual address.
|
|
If this seems confusing, first read and understand section \ref{sec:hw-virt-mem}
|
|
|
|
\begin{center}
|
|
\begin{tabular}{c|c|c}
|
|
\hline
|
|
\textbf{Indexing} & \textbf{Tagging} & \textbf{Code} \\
|
|
\hline
|
|
Virtually Indexed & Virtually Tagged & VV \\
|
|
Virtually Indexed & Physically Tagged & VP \\
|
|
Physically Indexed & Virtually Tagged & PV \\
|
|
Physically Indexed & Physically Tagged & PP
|
|
\end{tabular}
|
|
\end{center}
|