Question: 3. For the heterogeneous memory below, the first table is the number of reads and writes for different data or variable in the program. The

 3. For the heterogeneous memory below, the first table is the

3. For the heterogeneous memory below, the first table is the number of reads and writes for different data or variable in the program. The second table is the cost of different memory operations. There are 4 MRAM, 2 SRAM and 1 Main memory. All data are in the Main memory at the beginning. Please use dynamic programming to find the minimal memory cost while finish the program. (40 points). Also, please list the corresponding memory assignment for each data (10 points) Data reads writes A 101 B 8 2 C7 D5 E 3 5 F Operation SRAM MRAM Main Read 340 Write 1 40 SRAM 0 5 Move MRAM 4 0 Main 45 50 5 30 3. For the heterogeneous memory below, the first table is the number of reads and writes for different data or variable in the program. The second table is the cost of different memory operations. There are 4 MRAM, 2 SRAM and 1 Main memory. All data are in the Main memory at the beginning. Please use dynamic programming to find the minimal memory cost while finish the program. (40 points). Also, please list the corresponding memory assignment for each data (10 points) Data reads writes A 101 B 8 2 C7 D5 E 3 5 F Operation SRAM MRAM Main Read 340 Write 1 40 SRAM 0 5 Move MRAM 4 0 Main 45 50 5 30

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!