Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2021/digital-systems-linear-algebra-introduction-to-formal-proof/3/d/solution

Write the inputs as and . Each row compares the represented value of with all four values of . In Gray code order along both axes, the Karnaugh map is
The equality cases lie on the diagonal and are all one. A complete row of ones at and a complete column at provide useful checks. The outlined groups are used in the next part.
Figure 1.
Two-bit comparator Karnaugh map with all five essential four-cell groups
. Details.

New to topics? Read the docs here!