A machine has a byte-addressable main memory of 2¹⁶ bytes and a block size of 8 bytes. A direct-mapped cache with 32 lines is used. How many bits are in the tag, line and word fields of the address?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. 8, 5, 3
Explanation
Word = log₂ 8 = 3 bits; line = log₂ 32 = 5 bits; tag = 16 − 5 − 3 = 8 bits.
More Computer System Architecture questions
- The following program is stored in the basic computer (locations in hex): 210 CLA; 211 ADD 217; 212 INC; 213 STA 217; 214 LDA 218; 215 CMA;…
- A non-pipeline system takes to process a task. The same task can be processed in six- segment pipeline with a clockcycle of 10ns. Determine…
- What is the radix of the numbers if the solutions of x² − 10x + 26 = 0 are x = 4 and x = 7?
- Which simplified expressions are correct for F(A, B, C, D) = Σ(0, 1, 2, 3, 6, 12, 13, 14, 15)? (A) A′B′ + AB + A′C′D′ (B) A′B′ + AB + A′CD′…
- Which of the following statements with respect to K-segment pipelining are true? (A) Maximum speedup that a pipeline can provide is k theor…
- Which of the following statements with respect to multiprocessor system are true? (A) Multiprocessor system is controlled by one operating…