GATE Computer ScienceModerateGATE CSE
A 4-way set-associative cache of 32 KB with 64-byte lines serves 32-bit physical addresses. Each line stores its data, a tag, one valid bit and one dirty bit. What is the total number of storage bits in the cache (data + tag + valid + dirty)?
- A. 272384
- B. 272896
- C. 276480
- D. 271872
Correct answer: B. 272896
128 sets → 7 index bits, 6 offset bits, tag = 32−7−6 = 19; per line 533 bits × 512 lines = 272896.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- The 32-bit word 0xC2ED0000 is interpreted as an IEEE 754 single-precision number. Its value is
- Booth's algorithm multiplies by the 8-bit two's-complement multiplier 01110110. Counting only the additions and subtractions of the…
- A 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding; the register file is written in the first half of a cycle and read in the…
- A two-level cache: L1 hit time 1 ns with 5% miss rate; L2 hit time 10 ns with a LOCAL miss rate of 20%; main memory access 100 ns. The…
- A 5-stage pipeline has ideal CPI 1. 20% of instructions are branches, 60% of which are taken; branches are predicted not-taken and a taken…
- A 32-bit instruction format holds two register specifiers (the machine has 48 registers) and a 12-bit immediate; all remaining bits form…