Minterms

For a function of variables, a product term where each variable appears exactly once is called a minterm

A -variable minterm can be represented on bits

If the variable is equal to 0, it appears in the minterm as complemented, else it’s uncomplemented

Example

because

Maxterms

For a function of variables, a sum term where each variable appears exactly once is called a maxterm

Can also be mapped to a bit integer

If the variable is equal to , then it appears as uncomplemented

Example

Maxterm > Minterm

A minterm is the complement of the maxterm, and vice-versa

The transformation using DeMorgan’s theorem

Logic synthesis

For a function in the form of a truth table, we have a logic expression obtained by

  • The rows in the table where sum of minterms
  • The rows in the table where product of maxterms

Sum-of-Products (SoP)

SoP: a logical expression consisting of products (AND) that are summed (OR)

(if each product is a minterm : it is canonical)

A good way to estimate the cost of a logical circuit sum the amount of gates and inputs

Product-of-Sums (PoS)

Similar to SoP, but “reversed”

(if each sum is a maxterm: it is canonical)

So which of the two is better ?

Generally, we look at the cost of the both, and choose which one is less expensive. They won’t necessarily have the same cost

02.8 NAND and NOR Logic Networks