Question: PROBLEM 4: WHAT'S THE DIFFERENCE For this problem, be sure to review the RTL Storage Components Lecture Video (Processors - Datapath and Controllers). Here is

PROBLEM 4: WHAT'S THE DIFFERENCE For this problem, be sure to review the RTL Storage Components Lecture Video (Processors - Datapath and Controllers). Here is a simple program: 1: A := Input 2: B := Input 3: Result := A-B 4: if (Result >= 0) 5: Out := Result 6: else 7: Out := 0 - Result 8: end if Build the FSM for the code above. Don't worry about showing clock cycles, just split the program into states. Next to each state, write down the line(s) of code that will be done in that state. There are multiple solutions possible. FSM: PROBLEM 5: ANALYZING THE FSM For each state you have from the previous problem, list the components that would need to be used to process the state (aka A := Input may need a register to store the input). States & Components
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
