Standard Forms, and Gate-Level Minimization Algebraic Manipulation • Simplify the following Boolean function to a minimum number of terms: F (x,y,z)= xy + x' z + yz
Complement of a Function • The complement of a function F is F’ and is obtained from an interchange of 0’s for 1’s and 1’s for 0’s in the value of F. • It can be derived algebraically through DeMorgan’s theorem:
• A simple procedure for deriving the complement of a function
is to take the dual of the function and complement each literal.
Conversion between Canonical Forms: • To convert from one canonical form to another, interchange symbols ∑ and ∏and list those numbers missing from the original form.
Standard Forms: • Canonical forms are very seldom the ones with the least number of literals. • In Standard Form (sop/pos), terms that form the function may contain one, two, or any number of literals.
Gate-Level Minimization • Gate-level minimization is the design task of finding an optimal gate-level implementation of the Boolean functions describing the digital circuit. • Difficult to minimize if the logic has more than a few inputs; however helps to understand how the minimization tools are built with these fundamentals. • Truth table representation of a function is unique, when it is expressed algebraically it can appear in many different, but equivalent, forms. • Minimization using Boolean algebra is awkward because it lacks specific rules to predict each succeeding step in the manipulative process. • Map method provides a simple, straightforward procedure for minimizing Boolean with clear rules. • Regarded as a pictorial form of truth table/Karnaugh map (K- map) [15/01/2018, IIT BBS] | [Srinivas Boppu] | [SES] | [EC2L006] 13 K-map • K-map is a diagram made up of a squares, with each square representing one min-term of the function that is to be minimized. • Map represents a visual diagram of all possible ways a function may be expressed in standard form. • By recognizing various patterns, the user can derive alternative algebraic expressions for the same function, from which the simplest can be selected. • The simplest expressions produced by the map are always in one of the two standard forms: • Sum of products • Product of sums • Simplest algebraic expression is an expression that contains: • minimum number of terms and with the smallest possible number of literals in each term.
Three-Variable K-map: • There eight minterms for three binary variables; therefore, the map consists of eight squares. • Minterms are arranged in a sequence similar to Gray code---only one bit changes in value from one adjacent column to the next.
Three-Variable K-map (Contd.) • How is this map useful? • Any adjacent squares in the map differ by only one variable, which is primed in one square and unprimed in the other.
• From the postulates of Boolean algebra, the sum of two
minterms in adjacent squares can be simplified to a simple AND term.
Three Variable K-map: • The number of adjacent squares that may be combined must always represent a number that is a power of two, such as 1, 2, 4, and 8.
• One square represents one minterm, giving a term with three
literals. • Two adjacent squares represent a term with two literals. • Four adjacent squares represent a term with one literal. • Eight adjacent squares encompass the entire map and produce a function that is always equal to 1.
• In general, any 2k adjacent squares, for k=(0,1,2,…,n) in an n-
variable map, will represent an area that gives a term of (n-k) literals ( n > k). • If n=k, entire map is combined to give the identity function.