Multiple Output Circuits

Suppose we want to implement two or more functions which use the same variables. We can minimize each function individually, but sometimes the overall implementation cost will be lower if we consider two or more functions simultaneously.

The main idea is to find common terms and share them.

Example

Find the lowest cost circuit of the two functions:

solution

(see Karnaugh-Veitch Maps)