Engineering
build a 3-bit counter which counts in the following sequence: 0,5,2,7,4,1,6,0. when ce is high on the clock edge the current value of the counter advances to the next number in the counting sequence. so 0,5,2,7,4,1,6,0,5,2,7,4,1,6,0... is the sequence of states this counter will go through when ce is high. when ce is low the counter stays in the same state. you may use only 3 d flip-flops and logic gates. the counter's 3 output bits must come directly from the flip-flops. the counter should also have a tc output which is high at 6 (the last state before the sequence is repeated).