I was asked to design a Mealy FSM using SR Flip Flops to detect a pattern. It should detect if the pattern is either '1001' or '0110'.
I was able to make the state diagram (I have attached the image), but I am confused about forming the state table and solving it with K- Map. It has a total of 7 states (so I need 3 FFs right?), and the inputs can either be 0 or 1, so that's a total of 5 variables then (please correct me if I am wrong).
So in that case, is this to be solved using a 5 variable K - Map?