Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

why 16KB = 4K words? I realize that 16KB = 8K words because 1 word = 2 bytes Bits in a Cache (An Example) How

image text in transcribed
why 16KB = 4K words?
I realize that 16KB = 8K words
because 1 word = 2 bytes
Bits in a Cache (An Example) How many total bits are required for a direct-mapped cache with 16 KB of data and 4-word blocks, assuming a 32-bit address? 16KB-4K words-212 words and with a block size of 4 words (22) 210 blocks. Each block has 4X32-128 bits of data plus a tag, which is 32-10-2-2 bits, plus a valid bit. Thus, the total cache size is 210X(128+(32-10-2-2)+1)-210X147-147Kbits or 18.4KB for a 16KB cache. For this cache, the total number of bits in the cache is about 1.15 times as many as needed just for the storage of the data. Chap. 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

3. Would you say that effective teamwork saved their lives?

Answered: 1 week ago