Hey everybody,
So this is a homework assignment and I have fought through it but I am not sure if I am correct. So here is the question and my work so far. Please tell me if I am doing right and if not what am I doing wrong. Please offer a solution to fix it.
Q.)Create a sequence detector that recognizes the following sequence on input x with overlap: "1011101", and sets the output y to 1 when the sequence has been detected.
1.)Provide State Diagram
2.)Generate truth table showing Previous State, input combinations, next state and outputs.
3.)Encode the states and give the next state equations for the Q's and output as:
-One hot encoding
-D-flip flop
-SR flip flop
-Jk flip flop
-T flip flop (Toggle)
My work:
2.)Truth Table:
Previous | State || X | Next State | Y (output)
0|0||0|00|0
0|0||1|01|0
0|1||0|10|0
0|1||1|00|0
1|0||0|10|0
1|0||1|11|0
1|1||0|10|0
1|1||1|00|1
1.)state Diagram is attached
3.)This part I have not done because I need to know if I am doing the previous parts wrong or not and how to correct them. Also I am not quite sure how to do this part. I have reviewed my notes and can not figure it out. Please help.
Lastly, I am doing the best I can. I am sorry if I appear to be a noob, or just suck. I am not trying to get you to do my hw but I really do need help. So please!!
So this is a homework assignment and I have fought through it but I am not sure if I am correct. So here is the question and my work so far. Please tell me if I am doing right and if not what am I doing wrong. Please offer a solution to fix it.
Q.)Create a sequence detector that recognizes the following sequence on input x with overlap: "1011101", and sets the output y to 1 when the sequence has been detected.
1.)Provide State Diagram
2.)Generate truth table showing Previous State, input combinations, next state and outputs.
3.)Encode the states and give the next state equations for the Q's and output as:
-One hot encoding
-D-flip flop
-SR flip flop
-Jk flip flop
-T flip flop (Toggle)
My work:
2.)Truth Table:
Previous | State || X | Next State | Y (output)
0|0||0|00|0
0|0||1|01|0
0|1||0|10|0
0|1||1|00|0
1|0||0|10|0
1|0||1|11|0
1|1||0|10|0
1|1||1|00|1
1.)state Diagram is attached
3.)This part I have not done because I need to know if I am doing the previous parts wrong or not and how to correct them. Also I am not quite sure how to do this part. I have reviewed my notes and can not figure it out. Please help.
Lastly, I am doing the best I can. I am sorry if I appear to be a noob, or just suck. I am not trying to get you to do my hw but I really do need help. So please!!
Attachments
-
11.6 KB Views: 78