summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-05-06 14:15:40 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2025-05-06 14:15:40 -0400
commit528470b363d5db386cae9d52cc4f577592aa0d0a (patch)
treeacfccff4276313c8e64b5e71ae68293c3caee0dd
parent2e3de8d14aac0f5e7657b620a32b2238a5e2afb1 (diff)
Karnaugh go BRRR
-rw-r--r--rapport/annexe.tex110
1 files changed, 78 insertions, 32 deletions
diff --git a/rapport/annexe.tex b/rapport/annexe.tex
index 3b87539..058bc8f 100644
--- a/rapport/annexe.tex
+++ b/rapport/annexe.tex
@@ -4,39 +4,39 @@
\todo{Finish this this}
\begin{figure}[H]
- \tiny
-\centering
-\begin{varwidth}{\linewidth}
- \input{assets/code/thermo2bin.tex}
-\end{varwidth}
-\caption{Module Thermo2bin}
+ \tiny
+ \centering
+ \begin{varwidth}{\linewidth}
+ \input{assets/code/thermo2bin.tex}
+ \end{varwidth}
+ \caption{Module Thermo2bin}
\end{figure}
\begin{figure}[H]
- \tiny
-\centering
-\begin{varwidth}{\linewidth}
- \input{assets/code/add4bits.tex}
-\end{varwidth}
-\caption{Module Add4Bits}
+ \tiny
+ \centering
+ \begin{varwidth}{\linewidth}
+ \input{assets/code/add4bits.tex}
+ \end{varwidth}
+ \caption{Module Add4Bits}
\end{figure}
\begin{figure}[H]
- \tiny
-\centering
-\begin{varwidth}{\linewidth}
- \input{assets/code/add1bita.tex}
-\end{varwidth}
-\caption{Module Add1BitA}
+ \tiny
+ \centering
+ \begin{varwidth}{\linewidth}
+ \input{assets/code/add1bita.tex}
+ \end{varwidth}
+ \caption{Module Add1BitA}
\end{figure}
\begin{figure}[H]
- \tiny
-\centering
-\begin{varwidth}{\linewidth}
- \input{assets/code/add1bitb.tex}
-\end{varwidth}
-\caption{Module Add1BitB}
+ \tiny
+ \centering
+ \begin{varwidth}{\linewidth}
+ \input{assets/code/add1bitb.tex}
+ \end{varwidth}
+ \caption{Module Add1BitB}
\end{figure}
\section{Schémas}
@@ -46,24 +46,70 @@
\begin{figure}[H]
-\centering
- \includegraphics[width=.7\textwidth]{assets/img/schematic-thermo2bin.png}
-\caption{Module Thermo2bin}
+ \centering
+ \includegraphics[width=.7\textwidth]{assets/img/schematic-thermo2bin.png}
+ \caption{Module Thermo2bin}
\end{figure}
\begin{figure}[H]
+ \centering
+ \includegraphics[width=.7\textwidth]{assets/img/schematic-add4bits.png}
+ \caption{Module Add4Bits}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=.7\textwidth]{assets/img/schematic-add1bit.png}
+ \caption{Module Add1Bit}
+\end{figure}
+
+\newpage
+\section{Tables de Vérité et Karnaugh}
+
+% \begin{figure}[H]
+% \centering
+% \begin{karnaugh-map}[4][4][1][$D$][$C$][$B$][$A$]
+% \manualterms{
+% 0,1,2,3,
+% 4,5,6,7,
+% 8,9,10,11,
+% 12,13,14,15}
+% \implicant{2}{10}
+% \implicant{4}{13}
+% \implicant{12}{10}
+% \implicantedge{3}{2}{11}{10}
+% \end{karnaugh-map}
+% \caption{TEMPLATE NOT GOOD}
+% \end{figure}
+
+\begin{figure}[H]
\centering
- \includegraphics[width=.7\textwidth]{assets/img/schematic-add4bits.png}
-\caption{Module Add4Bits}
+\begin{karnaugh-map}[4][4][1][$D$][$C$][$B$][$A$]
+\manualterms{
+ 0,1,X,0,
+ X,X,X,1,
+ X,X,X,X,
+ X,X,X,0}
+\implicant{1}{9}
+\implicant{4}{6}
+\end{karnaugh-map}
+\caption{Karnaugh pour le bit $H$}
\end{figure}
\begin{figure}[H]
\centering
- \includegraphics[width=.7\textwidth]{assets/img/schematic-add1bit.png}
-\caption{Module Add1Bit}
+\begin{karnaugh-map}[4][4][1][$D$][$C$][$B$][$A$]
+\manualterms{
+ 0,0,X,1,
+ X,X,X,1,
+ X,X,X,X,
+ X,X,X,0}
+\implicant{3}{6}
+\end{karnaugh-map}
+\caption{Karnaugh pour le bit $G$}
\end{figure}
-\section{Tables de Vérité et Karnaugh}
+
\todo{Verite}\\
\todo{Karnaugh}