Suppose that your computer is equipped with a main memory and a scratchpad memory. Sizes and the

Question:

Suppose that your computer is equipped with a main memory and a scratchpad memory. Sizes and the required energy per access are shown in Table 7.2 (right). Characteristics of accesses to variables are as indicated in Table 7.2 (left).image text in transcribed

image text in transcribed

Which of those variables should be allocated to the scratchpad memory, provided that we use a static, non-overlaying allocation of variables? Use the integer linear problem (ILP) model to select the variables. Your result should include the ILP model as well as the results. You may use the lp_solve program [17] to solve your ILP problem.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer: