Use D flip-flops to design a 3-bit counter/pseudorandom number generator. The circuit has one control input x. When x = 0. the circuit should operate as a binary up-counter. Otherwise, it should operate as a pseudorandom number generator according to the following function table.