Introduction
This is an exercise in working with the parameters that describe cache designs. For each column of the following table, you are to fill in the values for the machines listed below. The first column is filled in for the parameters for the cache shown in Figure 7.9 of the text.
- Machine M-1 has 224 bytes of byte-addressable memory with two bytes per word. Each cache line is 32 bytes wide. The cache is 4-way set associative, and there are 64 cache sets.
- Machine M-2 has a word addressable memory with 64G 48-bit words. Each cache line holds 32 words of memory. The cache is fully associative, and there are 6,272 bits of cache memory, which includes the valid bit for each line, all the tags, and all the memory data bits.
- Machine M-3 is byte addressable with 64 bits per word. There can be up to 240 words of memory. The cache is organized as an 8-way set associative design with 64 words per cache line, and a total of 212 cache lines.