I need help with the following Exercise. Trying to understand the material so I need second opinions to know if I did it correctly. Thanks!
Design Problem: Given two 2-bit binary numbers X -> x1x0 and Y -> y1y0, design a comparator, through a multi-input (x1, y1, x0, y0, ) multi-output PAL array that determines whether the numbers are equal (X = Y -> F1 = 1) or, otherwise, which one is larger (X>Y -> F2 = 1, or X<Y -> F3 = 1). The PAL array is provided below.
Constraint: Your design should only use the Programmable Array Logic (PAL array) provided below. Unused AND gates should output a 0. Unused outputs should output a 0.