A cache with a line size of L 32-bit words, S number of sets, W ways, and addresses are made up of A bits. Assume that the cache is word addressed, i.e., the low two bits of the address are always 0.
If this is a direct-mapped cache of size 16 words, line size 4 words, what is the cache size in bytes? This number should include just the data portion of the cache
What is the total number of bytes required to store the tags?
This problem is very abstract for me, so helpful hints on calculating the cache size and tags would be apreciated.
If the words are 32 bits, and there are a total of 16 words, does that mean the cache size is 16 * 32 = 512 bits = 64 bytes (Question 1)? This would also be important to answer 2) the number of bytes required to store the tags.