ECE 211 Digital Electronics Unit 1
ECE 211 Digital Electronics Unit 1
UNIT - I
Digital Fundamentals
Decimal Octal
Binary Hexadecimal
5
Converting between number systems
Octal to Decimal
For example the system radix of octal is 8, since any of the 8 values from 0 to 7 can be
written as a single digit.
Convert 1268 to decimal.
Using the values of each column, (which in an octal integer are powers of 8) the octal
value 1268 can also be written as:
(1x82) + (2x81) + (6 x 80)
As (82 = 64), (81 = 8) and (80 =1), this gives a multiplier value for each column.
Multiply the digit in each column by the column multiplier value for that column to
give:
1x64 = 64 2x8 =16 6x1 = 6
Then simply add these results to give the decimal value.
64 + 16 + 6 = 8610
Therefore 1268 = 8610.
03/11/2023 Fall 2020 - ECE 211 Digital Electronics 6
Binary to Decimal
Convert 11012 to decimal.
The same method can be used to convert binary
number to decimal:
= (1x23)+(1x22)+(0x21)+(1x20)
= 8 + 4 +0 +1
= 1310
Therefore 11012 = 1310.
Boolean Laws
The laws of Boolean algebra are similar in some ways to those of standard algebra, but in
some cases Boolean laws are unique. This is because when logic is applied to digital
circuits, any variable such as A can only have two values 1 or 0, whereas in standard
algebra A can have many values.
Associative Laws
The order of calculation can be changed without affecting the result (Change which
terms are in brackets, or remove brackets). Note: This is only OK so long as all signs (+
or •) are the same.
2a. Boolean addition (OR): (A+B)+C = A+(B+C) = A+B+C
2b. Boolean Multiplication (AND): (A•B)•C = A•(B•C) = A•B•C = ABC
Reduction
8a. When a single variable (A) is ANDed with itself OR a
second variable (A+B), the result is equal to the single
variable.
8a A•(A+B) = A = A + AB = A(1+B) =A.1=A
Law 1. A+B = A . B
A’ + B’ = (A • B)’ Inverting the inputs to an OR gate
changes its function to NAND.
Law 2. . A.B = A + B
A’ • B’ = (A + B)’ Inverting the inputs to an AND
gate changes its function to NOR
M and m Relationship
if f = f (A,B,C) = m3 + m4 + m5 + m6 + m7
• f’ = (m3 + m4 + m5 + m6 + m7)’ = m’3 m’4 m’5 m’6 m’7
= M3M4M5M6M7
1. Groups should contain as many ‘1’ cells (i.e. cells containing a logic 1) as
possible and no blank cells.
2. Groups can only contain 1, 2, 4, 8, 16 or 32... etc. cells (powers of 2).
3. A ‘1’ cell can only be grouped with adjacent ‘1’ cells that are immediately
above, below, left or right of that cell; no diagonal grouping.
4. Groups of ‘1’ cells can overlap. This helps make smaller groups as large as
possible, which is an advantage in finding the simplest solution.
5. The top/bottom and left/right edges of the map are considered to be
continuous, as shown in Fig. 2.4.3, so larger groups can be made by grouping
cells across the top and bottom or left and right edges of the map.
6. There should be as few groups as possible.
03/11/2023 Fall 2020 - ECE 211 Digital Electronics 37
Binary Codes
In the coding, when numbers, letters or words are represented by a specific group of
symbols, it is said that the number, letter or word is being encoded. The group of
symbols is called as a code. The digital data is represented, stored and transmitted as
group of binary bits. This group is also called as binary code. The binary code is
represented by the number as well as alphanumeric letter.
Weighted binary codes are those binary codes which obey the positional
weight principle. Each position of the number represents a specific
weight. Several systems of the codes are used to express the decimal
digits 0 through 9. In these codes each decimal digit is represented by a
group of four bits.
Non-Weighted Codes
In this type of binary codes, the positional weights are not assigned. The
examples of non-weighted codes are Excess-3 code and Gray code.
03/11/2023 Fall 2020 - ECE 211 Digital Electronics 40
Excess-3 code
The Excess-3 code is also called as XS-3 code. It is non-weighted code used to express
decimal numbers. The Excess-3 code words are derived from the 8421 BCD code words
adding (0011)2 or (3)10 to each code word in 8421. The excess-3 codes are obtained as
follows
Prime Implicants
A group of square or rectangle made up of bunch of adjacent
minterms which is allowed by definition of K-Map are called prime
implicants (PI) i.e. all possible groups formed in K-Map.
Example: