1.deld Unit I
1.deld Unit I
Logic Design
Unit I
Minimization
Technique
Signed Numbers
Signed numbers contain both sign and magnitude of the number. Generally, the sign is placed in front of
number. So, we have to consider the positive sign for positive numbers and negative sign for negative
numbers.
b6 b5 b4 b3 b2 b1 b0
- Positive number is represented with ‘0’ at its most significant bit (MSB).
- Negative number is represented with ‘1’ at its most significant bit (MSB).
Representation of signed binary number
The 1’s complement of a number is obtained by complementing all the bits of signed binary number.
So, 1’s complement of positive number gives a negative number. Similarly, 1’s complement of negative
number gives a positive number.
1. How to represent (-33)10 in 1’s complement form? 2. How to represent (-1)10 in 1’s complement form?
To get 2’s complement of a binary number, simply invert the given number and add 1 to the least
significant bit (LSB) of given result.
Example:
1. Find 2’s complement of binary number 10101110.
Simply invert each bit of given binary number, which will be 01010001. Then add 1 to the LSB of
this result, i.e., 01010001+1=01010010 which is answer.
Direct conversion
01010011000 00110001101
Signed binary number examples
Examples:
Boolean Algebra: It is mathematical system that defines a series of logical operations (AND, OR, NOT,
etc) perform on set of variables (A,B,C, etc). Only two values(1 for high and 0 for low) are possible for the
variable used in Boolean algebra.
Example:
F(A,B,C) = AB + A’C + B’C’
• Variables
• Constant
• Complement
• Literals
• Boolean Function
Examples:
SOP POS
F = AB + BC + AC F = (A+B) *(A + B + C) * (C +D)
minterm Maxterm
Each individual product term in standard SOP is Each individual sum term in standard POS is called
called minterm. maxterm.
Conversions of Canonical Forms
Example:
Convert the non standard SOP function F = x y + x z + y z
Sol:
F=xy+xz+yz
= x y (z + z’) + x (y + y’) z + (x + x’) y z
= x y z + x y z’ + x y z + x y’ z + x y z + x’ y z
= x y z + x y z’ + x y’ z + x’ y z
SOP POS
A variable is in complemented form, if its value is In max term, each variable is complimented, if its
assigned to 0, and the variable is un-complimented value is assigned to 1, and each variable is un-
form, if its value is assigned to 1. complimented if its value is assigned to 0.
Standard Notation of SOP and POS
Example:
Exercise: Exercise:
1. F = ∑ m (1,3,4,6,7) 1. F = Π M (1,3,5,7)
2. F = ∑ m (2,4,5) 2. F = Π M (2,4,6)
3. F = A’B’C + A’BC + AB’C + ABC’ 3. F = (A+B+C) (A+B+C’) (A+B’+C) (A+B’+C’)
Construct SOP and POS From a Truth Table
A B Y A B C Y 0 0 0 1 1
0 0 1 0 0 0 1 0 0 1 0 0
0 1 1 0 0 1 0 0 0 1 1 1
1 0 0 0 1 0 1 0 1 0 0 0
1 1 1 0 1 1 0 0 1 0 1 0
1 0 0 1 0 1 1 0 1
1 0 1 0 0 1 1 1 1
1 1 0 1 1 0 0 0 0
1 1 1 0 1 0 0 1 0
1 0 1 0 1
1 0 1 1 0
2. From following expression draw the truth table,
a. Y= A’B’ + A’B + AB 1 1 0 0 0
b. F= A’B’C’ + A’B’C + ABC 1 1 0 1 1
c. Y = (A+B) (A’+B) 1 1 1 0 0
d. Y= (A+B’+C+D’) (A+B’+C+D) (A+B’+C’+D’) (A+B+C+D’) (A’+B’+C+D’)
(A’+B’+C’+D’) (A+B+C+D) 1 1 1 1 1