DFG Exercise
Revision as of 14:07, 19 March 2024 by Anastacia Alvarez (talk | contribs) (Created page with "Given the following code snippet: d = a*c t = a+b s = d*t If t = 1 then { d = a-b s = a+b } Else d = a+d 1. Determine the single assignment form of the code 2. Draw the corresponding data flow graph 4. Determine the datapath assuming you have 1 multiplier, 1 adder and 1 subtractor 5. Derive the corresponding control")
Given the following code snippet:
d = a*c t = a+b s = d*t If t = 1 then { d = a-b s = a+b } Else d = a+d
1. Determine the single assignment form of the code
2. Draw the corresponding data flow graph
4. Determine the datapath assuming you have 1 multiplier, 1 adder and 1 subtractor
5. Derive the corresponding control