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

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

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!