dd2001
Full Member level 4
How to write a state machine to do following:
reg [1:0] current, next
....
if (yes)
next = current + 1'b1; //state -- A0
else
next stay in A0 ; //how to implimented this ????
.....
reg [1:0] current, next
....
if (yes)
next = current + 1'b1; //state -- A0
else
next stay in A0 ; //how to implimented this ????
.....