Computer Science
2. A synchronous sequential circuit has a numerical input in the form of two bits (X1X2). The circuit remembers the last input and when a new input arrives, compares the new input to the previous input. The output of the circuit (Y1Y2) is determined as: a) – If (new input = previous input), then YAY2 = 11 b) – If (new input > previous input), then Y1Y2 = 10 c) – If (new input < previous input), then Y1Y2 = 01 Derive the state table (10 points), and find the expressions for the D type flip-flop inputs and the outputs (5 points) and draw the circuit schematics (5 points).