Wave1

easy

A one-bit system takes the input Y[n] and produces the output Z. Both are synchronous to the same clock.

The figure shows three waveforms: the input Y[n], the previous sample of the same input Y[n-1], and the output Z. The four intervals walk through every combination of the two, one interval each.

a. Write Z as a Boolean expression in Y[n] and Y[n-1], and say in one sentence what the system detects.

b. Draw the circuit inside the box. One flip-flop and one gate are enough.