[SPCA] Virtual memory, Caches updated

This commit is contained in:
2026-01-24 15:04:32 +01:00
parent 28fb91c42d
commit ff86cef50c
17 changed files with 319 additions and 108 deletions

View File

@@ -0,0 +1,17 @@
\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}