This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
CAHomework/Homework 11/Homework 11.tex

34 lines
793 B
TeX

\documentclass[12pt]{scrartcl}
\usepackage[margin=3cm]{geometry}
\usepackage{tikz}
\usepackage{pgf}
\title{Computer Architecture -- Homework 11}
\author{Tommaso Rodolfo Masera \and Claudio Maggioni}
\begin{document}
\maketitle
\section{Exercise 1}
Please find our solution in the finite state diagram below.
\begin{figure}[h]
\small
\resizebox{\ifdim\width>\linewidth\linewidth\else\width\fi}{!}{\input{ex1}}
\end{figure}
\section{Exercise 2}
Since the number of conditional branches is 5 and the probability of each prediction being right is 95\%,
the probability of the prefetching being in the right track is:
$95\% \times 95\% \times 95\% \times 95\% \times 95\% \approx 77.4\%$.
\section{Exercise 3}
Please find our solution in the file \texttt{hw11\_ex3.ods}.
\end{document}