In module 0079, the “Merge” algorithm has a look up table based on comparison results. For simplicity, let X = lv ≤ in0, Y = lv ≤ in1, Z = in0 ≤ in1. Then, table 6 represents the truth table.
|
We can rewrite the truth table as a k-map as in table 7.
Next, we identify pairs of singles. There are three pairs. Let us name them {a,b,c}. We now rewrite the k-map to represent the pair ownership, represented by table 8.
In this case, we have to select all the pairs, which means the result is W = X′Z′(a) + Y Z′(b) + X′Y (c).