Thank you very much Berkeman, for your quick response.
This is my state transition table:
(I have attached an image also)
PS
(y2y1y0) Next State FF Output(D2D1D0)
X=0 X=1 X=0 X=1
000 100 001 100 001
001 010 101 010 101
010 110 011 110 011
011 000 000 000...
I have to implement a sequential machine to resolve 4-bit security code . I have to use a GAL22LV10 to implement it. I've given the GAL22LV10 Circuit diagram & part of the data sheet...