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
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
ADVERTISEMENT