diff options
Diffstat (limited to 'rapport/assets/code/add1bita.tex')
-rw-r--r-- | rapport/assets/code/add1bita.tex | 10 |
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} |