1. Design a comparator circuit that indicates when two 4-bit binary numbers are equal. Indicate with an LED when two inputs are equal.
a. write the binary equations for the circuit's description.
b. Using appropriate ICs, draw a schematic that implements the comparator equations
2. Using question 1 as a base, design a circuit that subtracts two 4-bit binary numbers and indicates with an LED when the output is greater than 7 (Note: +7 equates to 0111, and -8 equates to 1000) for example:
0111 - 0010 = 0101 which 7-2 = 5
0011 - 0100 = 1111 which 3-4= -1
c. write the equation(s) for the circuit that will realize this design
d. Draw the schematic for the subtractor with discrete logic devices (AND/OR/XOR).
Display the output with four LEDs.
e. Replace the discrete logic with a full adder IC(CD74CT283) and draw the resulting shematic. Display the output with four LEDs.