Homework #4


Problems for this homework are from the textbook. Note that I have changed the the content of some of them: in particular, problems 7.1 through 7.5 will use the following string of address references given as word addresses: 1, 4, 8, 5, 21, 16, 17, 19, 1, 57, 9, 11, 4, 43, 5, 6. You may assume (for simplicity) that each address is 8 bit wide.


1. 7.1 (page 527) (10 points)
2. 7.2 (page 527) (10 points)
3. 7.3 (page 527) (10 points)
4. 7.4 (page 527) (10 points)
5. 7.5 (page 52) (10 points)
6. 7.6 (page 527) (15 points)
7. 7.9 (page 528) (15 points)
8. 7.15 (page 529) (10 points)
9. 7.18 (page 529) (110 points). For this problem you will use a cache simulator. You will need to read the documentation which can be found in ~virgil/cs470/Cache/dinero/man/dinero.cat The executable itself is ~virgil/cs470/Cache/dinero/bin/dinero
The trace files can be found in ~virgil/cs470/Cache/traces/benchmarks/

Maximum mark: 200 (100%)