Question

3. Implement a Mealy FSM to detect the 1100110” sequence with overlap. The output Y should be a l only when the sequence h

Answer both parts please

0 1
Add a comment Improve this question Transcribed image text
Answer #1

3)

A Mealy FSM to detect the sequence " 1100110" with Overlap is implemented below.

Since the length of the sequence is equal to 7 then total number of states required is also equal to 7

The states are assigned with Alphabets

SINCE THERE ARE 7 STATES NUMBER OF BITS TO REPRESENT THE STATE IS EQUAL TO 3

STATE ASSIGNMENT TABLE:

STATES BINARY VALUE
A 000
B 001
C 010
D 011
E 100
F 101
G 110

STATE TRANSITION DIAGRAM :

이이 이 이 10 olo ܘܐ ܘ 이 이 이어 ajo YO Vo 10이 CA 이이 01 00) 001 000 yo I/O 9 110 110

STATE TRANSITION TABLE:

From the below state transition table we can clearly see that the output becomes 1 when there is a transition from G to C.

It implies that the required sequence has been detected and due to the overlap of the sequence the next transition state is C. but not A.  

PRESENT STATE INPOT NEXT STATE OUTPUT o A 000 H OOO o А Ooo B 001 o HO B 001 A 000 O B I со (о 001 01 010 C o D oll o c 010 1

TOTAL NUMBER OF STATES =7

AND WE KNOW THAT

2^{N}\geq 7

So, N= 3.

Hence 3 number of flipflops are required.

4)

A Moore FSM to detect the sequence " 1100110" with Overlap is implemented below.

Since the length of the sequence is equal to 7 then total number of states required is equal to 8

The states are assigned with Alphabets

SINCE THERE ARE 8 STATES NUMBER OF BITS TO REPRESENT THE STATE IS EQUAL TO 3

STATE ASSIGNMENT TABLE:

STATES BINARY VALUE
A 000
B 001
C 010
D 011
E 100
F 101
G 110
H 111

STATE TRANSITION DIAGRAM

STATE TRANSITION MATRIX:

From the below state transition table we can clearly see that the output becomes 1 when the Circuit enters the H state.

It implies that the required sequence has been detected and due to the overlap of the sequence the next transition state is E if input is 0 and B if input is 1 but not A.  

PRESENT INPUT OUTPUT STATE A 000 NEXT STATE H OOO B A 000 001 0 B ool A 000 Horlo B C 010 ool O10 o olo o C D Oll с 010 colo

TOTAL NUMBER OF STATES =8

AND WE KNOW THAT

2^{N}\geq 8

So, N= 3.

Hence 3 number of flipflops are required.

Add a comment
Know the answer?
Add Answer to:
Answer both parts please 3. Implement a Mealy FSM to detect the "1100110” sequence with overlap....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Design and implement a MEALY finite state machine that would detect a sequence 0110 in the...

    Design and implement a MEALY finite state machine that would detect a sequence 0110 in the input stream. Overlapping sequences are allowed. A) draw state diagram You would need no more than 4 states to implement the logic B) tabulate the state transition table C) show the implementation of the FSM using D-flip-flops

  • Question 6. (20 points) You are designing a sequence detector that can detect 0110', if this sequ...

    Question 6. (20 points) You are designing a sequence detector that can detect 0110', if this sequence is detected, the detector output a 1'. Please consider 'overlap', which means that even if the sequence '0110 is detected, the detector still can reuse the history data. Design a Mealy FSM. 1) .(5 points) Draw the state transition diagram. 2) (2 points) How many states are there? How many bits are needed to encode the states? 3) -(4 points) Write down the...

  • Design a 4-bit serial bit sequence detector. The input to your state detector is called DIN...

    Design a 4-bit serial bit sequence detector. The input to your state detector is called DIN and the output is called FOUND. Your detector will assert FOUND anytime there is a 4-bit sequence of "0101". For all other input sequuences the output is not asserted. (a) (b) Provide the state diagram for this FSM. Encode your states using binary encoding. How many D-Flip-Flops does it take to implement the state memory for this FSM? (c) Provide the state transition table...

  • 4) Design FSMs that will detect the following sequence (including overlapping sequences). When the sequence is...

    4) Design FSMs that will detect the following sequence (including overlapping sequences). When the sequence is detected, a single output "z" is set to 1. Your design should include a state transition diagram and a state transition truth table (you do NOT need to design the circuit schematic, just the transition diagram and truth table). Sequence = 110111 a. Create a Moore FSM b. Create a Mealy FSM

  • Given the State Diagram for a sequence detector: a) Mealy or Moore? circle one b) What...

    Given the State Diagram for a sequence detector: a) Mealy or Moore? circle one b) What sequence detects? Answer: c) How many Flip Flops are required to implement this as a circuit. d) Develop the state table.

  • Design a sequential circuit for a single-input and single output Moore-type FSM that produces an ...

    digital logic Design a sequential circuit for a single-input and single output Moore-type FSM that produces an output of 1 if in the input sequence it detects either 110 patterns. Overlapping sequences should be detected.(Note : use D flip-flops in your design. Repeat problem 2 for a Mealy-type FSM 2. 3. Design a sequential circuit for a single-input and single output Moore-type FSM that produces an output of 1 if in the input sequence it detects either 110 patterns. Overlapping...

  • Design a Moore FSM to detect an input sequence of X: 010, the output will be...

    Design a Moore FSM to detect an input sequence of X: 010, the output will be 1. input: 0001010100101.. output: 0000101010010.. a. Draw the state diagram of your design [5 marks] b. Using the binary number as the state assignment, deduce the next state equation of your design. [10 marks] c. Deduce the logic equations of the next state decoder and output decoder with T flop flip as storage elements. [10 marks]

  • Design a sequential circuit for a sequence detector that detects the sequence 10011

    Design a sequential circuit for a sequence detector that detects the sequence 10011. A continuous bit stream is fed at the input of the circuit. Every time the circuit detects the sequence 10011, an output line is made HIGH a) Sketch Mealy FSM for the sequence detector. b) Tabulate the state table c) Using K-maps, write down the simplified Boolean expressions of the flip-flops input equations using T flip-flops d) Sketch the logic circuit diagram

  • detect two sequence at a time by using both fsm machine (mealy and more) 011 ,...

    detect two sequence at a time by using both fsm machine (mealy and more) 011 , 110 these are two given sequence please do all step . explain every thing that why you go this state

  • Sequence detector: The machine has to generate z = 1 when it detects the sequence 1011

     Sequence detector: The machine has to generate z = 1 when it detects the sequence 1011. Once the sequence is detected, the circuit looks for a new sequence.  The signal E is an input enable: It validates the input x, i.e., if E = 1, x is valid, otherwise x is not valid. Draw the State Diagram (any representation), State Table, and the Excitation Table of this circuit with inputs E and x and output z. Is this a Mealy or a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT