CSCI 311     Homework 4

 

 

1. Given a direct mapped cache memory with 16 lines of cache, each of one word.  For the following WORD addresses (not byte addresses), give the binary address, the tag and the index:
                3 180 43 2 14 44 253

2.    Using the same WORD addresses, do the same thing but for a direct mapped cache with 32 lines of 8 words per line.

3.    Using the same WORD addresses, show the contents of 4-way set associative cache with 2-word blocks and a total size of 24 words of cache memory.  Use TRUE LRU replacement.