Could someone give me some tips on how to approach state tables? I'm working through my textbook for an upcoming exam and I'm stuck at this problem:
17) Design a circuit that has an input clk, and an output Q which has three bits. At the rising edge of the clk, the unsigned binary number represented by Q changes according to the pattern: 04725631047256310…In other words, it starts with 0 and repeats 04725631 every 8 clock cycles.
I then have to fill out a state-table with Q2, Q1, Q0, D2, D2, D1.
How would one approach this?