In this exercise (from our Swedish course literature) we're supposed to design a sequence generator going from 0-6-4-3-2-5-0. The states are supposed to be in BCD, with the state signals as output of the circuit. We also have inputs enable (active high) and set6 (active high), where the set6 input is supposed to generate state 6 (110). My result doesn't line up with the solution from the book. This is my solution on paper, and the solution from the book is in the bottom picture. I have only calculated next state for Q2, and not the other outputs. Since Q2 was wrong I felt no need to go further, since I am apparently missing some key thing. Thanks in advance!
//Max
//Max