The width of the physical address on a machine is 32 bits, 4 way set…

The width of the physical address on a machine is 32 bits, 4 way set associative cache each block hold 1kilo byte and having word of size 4 bytes. There are 512 blocks in the cache. Initially cache is empty then how many data words are brought into the cache ______________ (In Kwords) ?

Answer: 128Block size = 1024 bytes Word size = 4 bytes Number of words per block = Block size / Word size = 1024 bytes / 4 bytes = 256 words. Total data words = 256…

Attempted by 14 students.

Show answer & explanation

Correct answer: 128

Block size = 1024 bytes

Word size = 4 bytes

Number of words per block = Block size / Word size = 1024 bytes / 4 bytes = 256 words.

Total data words = 256 words/block x 512 blocks = 128 KWords

Explore the full course: Zero To Hero

Loading lesson…