MATLAB Answers

Simulate the operation of a cache

2 views (last 30 days)
tarun on 11 May 2013
I have to code the simulation of a cache
My requirements are
It should show the results of running about 20 instructions through the cache. (instructions can be of any generic RISC format).
Instructions should be chosen to highlight the features of cache architecture.
Result should include execution speed of running the instructions without a cache compared to implementing various optimizations.
Implementing cache optimizations such as set associative caches and multi-level caches.
Can someone please give me an idea how to start? how should I plan doing it? Thanks

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!