Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 . ( 3 5 points ) Consider the SDF graph shown below: In this figure, A , B , and C are actors.
Problem points
Consider the SDF graph shown below:
In this figure, and are actors. Adjacent to each port is the number of tokens consumed or produced by a firing of the actor on that port, where and are variables with positive integer values. Assume the variables and represent the number of initial tokens on the connection where these variables appear in the diagram. These variables have nonnegative integer values.
a Derive a simple relationship between and such that the model is consistent, or show that no positive integer values of and yield a consistent model.
b Assume that and that the model is consistent and find the minimum value of as a function and such that the model does not deadlock.
c Assume that and that the model is consistent. Find values for and such that the model does not deadlock and is minimized.
d Assume that and is whatever value you found in part b Let and be the buffer sizes for connections and respectively. What is the minimum for these buffer sizes?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started