Question: Q 4 : Following VHDL codes are from Touch _ Animation project, FSM described in FSM main, state update 1 0 , case dir

Q4: Following VHDL codes are from "Touch_Animation" project, FSM described in FSM "main",
state "update 10", case "dir" ="ul". In this case, three values "ulv", "urv" and "dlv" are examined to
determine the value of the next "dir".
A. Draw a flowchart to depict the decisions made by the VHDL codes. Remember that each
"decision diamond" shows only one Boolean query, i.e. "ulv ??=0 and urv =0 and dlv ??=0"
are in three decision diamonds, each for "ulv ??=", "urv =0" and "dlv ??=0", respectively.
B. This "IF_THEN" statement describes a Boolean logic circuit. Fill in the truth table for this
circuit. NOTE: " ulv=0" is represented by '0' and "ulv?=0" is represented by '1'.
when ul=>
if(ulv/=0 and urv=0 and dlv/=0) then dir ur;
elsif(ulv/=0 and urv/=0 and dlv=0) then dir dl;
elsif(ulv/=0) then dir dr;
else dir =ul;
end if;
 Q4: Following VHDL codes are from "Touch_Animation" project, FSM described in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!