summaryrefslogtreecommitdiff
path: root/rapport/assets/code/add1bita.tex
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-05-06 12:40:25 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2025-05-06 12:40:25 -0400
commit8fd60d09f6f0b63c1b555efbda1242fe9fa39bcc (patch)
tree0f67e1736a249c3810d4030c56051f3bf4739b28 /rapport/assets/code/add1bita.tex
parent34f74638ca61d1945f616aed7766a5e3ff681468 (diff)
Annex work
Diffstat (limited to 'rapport/assets/code/add1bita.tex')
-rw-r--r--rapport/assets/code/add1bita.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/rapport/assets/code/add1bita.tex b/rapport/assets/code/add1bita.tex
new file mode 100644
index 0000000..238a6b2
--- /dev/null
+++ b/rapport/assets/code/add1bita.tex
@@ -0,0 +1,10 @@
+\begin{verbatim}
+architecture Behavioral of Add1BitA is
+
+begin
+
+ O <= (X xor Y) xor Ci;
+ Co <= ((X xor Y) and Ci) or (X and Y);
+
+end;
+\end{verbatim}