assignments:a2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
assignments:a2 [2007/08/01 13:58] – external edit 127.0.0.1 | assignments:a2 [2016/01/08 15:30] (current) – aboelaze | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Assignment 2 ====== | ====== Assignment 2 ====== | ||
+ | Write a cache simulator, you may use Java or C. | ||
+ | The simulator takes a trace file and produces the miss rate. | ||
+ | The trace files consists of multiple lines, each lines three fields | ||
+ | |||
+ | instruction: | ||
+ | |||
+ | The simulator accepts as command line arguments as follows | ||
+ | |||
+ | Simulator <cache size in KBytes> <Block size in bytes> < | ||
+ | |||
+ | trace files will be posted on this page shortly | ||
+ | |||
+ | here is a sample{{: | ||
+ | |||
+ | Grading: | ||
+ | The simulator will be graded based on these criteria | ||
+ | - Correct compilation, | ||
+ | - The program is tested on trace files. The files may be small or extremely large. | ||
+ | - You have to specify your replacement policy (that will affect the miss rate). | ||
+ | - Finally, reasonable documentation and coding style are required. |
assignments/a2.1185976706.txt.gz · Last modified: 2015/11/06 02:09 (external edit)