Question: A . 5 A Smart Snail In this question, you will implement a finite state machine ( FSM ) for a smart snail robot. Similar
A A Smart Snail
In this question, you will implement a finite state machine FSM for a smart snail robot.
Similar to the snail example discussed in class, your smart snail robot follows a path of and and uses the detected digit as input. However, your smart snail doesn't like long strings of the same digit. In particular, this is how your smart snail robot behaves:
The snail follows a path of and and uses that as input.
If your snail sees or more of the same digit, it outputs an angry face by asserting a in its tm output stands for Too Many It also outputs the digit that is being repeated in its oz one or zero output.
The snail's angry face will only be reset after encountering or more consecutive input of the opposite digit.
The following shows a sample timing diagram of the action of your smart snail:
Your task for this question is to design an FSM that implements the smart snail robot's brain. Specifically, you will design a circuit called ssbrain which has the following input and output signals:
A Describe the decision logic of the snail with a state transition diagram. Your design should ensure that it produces the correct timing for tm and oz as shown in the example timing diagram above. Submit this part of homework as part of your written exercise.
A Implement your design in VHDL Save your VHDL design as ssbrain. vhd and submit it in GradeScope.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
