Honors ICS - 1 : Bit Operations
Honors ICS - 1 : Bit Operations
Logic is about “Proof”
- Every step must be very solid and accurate
- Coherent
Bit Operations
3 basic operations (gate):
- AND
- OR
- NOT
Voltage -> Bit

Problem : Addition (Summation)
We will start at 1-bit addition like 1-digit addition
If will do not consider the carry out, but only the carry in. is one iff
A\oplus B=(A\and \neg B)\or(\neg A\and B)

To simplify, we use a box:

Therefore,
Major Challenge : speed (Need to be count step by step)
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 zhangxixi的博客!