diff --git a/education/computer engineering/ECE2700/Digital Hardware.md b/education/computer engineering/ECE2700/Digital Hardware.md index e8b9c9c..2498766 100644 --- a/education/computer engineering/ECE2700/Digital Hardware.md +++ b/education/computer engineering/ECE2700/Digital Hardware.md @@ -22,6 +22,9 @@ $$ D = d_{n-1}d_{n-2} \cdots d_1 d_0 $$ This represents the value $$ V(D) = d_{n-1} * 10^{n-1} + d_{n - 2} * 10^{n-2} + \cdots + d_1 * 10^1 + d_0 * 10^0 $$ In a binary or base 2 number system, each digit can be a zero or one, called a *bit*. +$$ D = d_{n-1}d_{n-2} \cdots d_1 d_0 $$ +To determine the integer value, a very similar formula can be used. +$$ V(B) = b_{n-1} * 2^{n-1} + b_{n-2} * 2^{n-2} \cdots b_{1} * 2^1 + b_0 * 2^0 $$ # Definitions - **Xtor** is an abbreviation for *transistor*