Prepare a 3-bit counter using flip-flop and logic gates.
Question: Construct a 3-bit counter using three D flip-flops and a selection of logic gates. The inputs should consist of a signal that resets the counter to 0, called reset, and a signal to increment the counter, called inc.
There is also a clock input. The outputs should be the value of the counter. When the counter has value 7 and is incremented, it should wrap around and become 0.
Can someone provide the answer with reference to computer basics?