3.10 SUM-OF-PRODUCTS DESIGN

A function can be represented by an expression that is a sum of minterms only, where each minterm is ANDed with every other minterm to represent the function when it is equal to 1. The resulting implementation is functionally correct and unique but not necessarily the lowest-cost realization of the function. The sum of products (SOP) is a logic expression consisting of product (AND) terms that are summed (ORed) with each other. If each product term is a minterm, the expression is called a canonical sum of products for the function. For example, consider the truth table in Figure 3.10 of a logic function f of three variables. Using the minterms for which the function is equal to 1, the function can be written explicitly as follows:

images

images

Figure 3.10 Truth Table for the Logic Function f

Through the use of Boolean algebra identities, this expression can be simplified algebraically as follows:

images

This is the minimum-cost sum-of-products expression for f. The cost of a logic circuit is the total number of gates plus the total number of inputs to all gates in the circuit. Minterms, given their row-number subscripts, can be used to specify a given function in a more ...

Get Introduction to Digital Systems: Modeling, Synthesis, and Simulation Using VHDL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.