ECE243 Practice Question Website


Main Assembly Programming Input/Output Memory Computer Architecture Advanced Topics

Memory Questions





Question 1

In a cache and memory system with the following characteristics:

Direct Mapped
16 KByte
32 Byte Cache Lines (Blocks)
32 bit addresses, byte addressable

How many bits are the Tag, Index and Offset fields?

Answer

Offset field: 5 bits
Index field: 9 bits
Tag field: 18 bits