Join the IDNLearn.com community and start getting the answers you need today. Find the answers you need quickly and accurately with help from our knowledgeable and dedicated community members.

implement a simple cache with set associativity options for direct-mapped, set associative (2-way/4-way) (lru replacement policy), andfully associative (lru replacement policy) using java or c . the simple cache should be able to take inputs 7 number of cache blocks, set associativity option and a sequence of block address references and printout corresponding cache miss rate and cache content for each reference. see attached cache reference and cache content examples. 1. input: number of cache blocks, set associativity option, replacement policy option, and block address reference for each set associativity. 2. output: cache miss rate and content for each set associativity option. show less