17 Aug You will develop your cache simulator to operate as with the cache memory we discussed in class.
Please help me with this lab:
You will develop your cache simulator to operate as with the cache memory we discussed in class. the cache will be configurable with command-line options as follows (you may include default values and
make these optional parameters for your program):
• Block size (number of bytes).
• Number of blocks in the cache.
• Associativity (1 for direct, 2 for two-way set associative, etc.)
• (Extra credit 20%) Implement both random and LRU policies when appropriate.
I need the :
the code (60%),
The documentation (20%), and the testing cases (20%)
please don’t copy the code online.Please show step by step for me