Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. Consider a cache with the following parameters: N (associativity) 2, b (block size) 2 words, W (word size) = 32 bits, C (cache size)

image text in transcribed

7. Consider a cache with the following parameters: N (associativity) 2, b (block size) 2 words, W (word size) = 32 bits, C (cache size) = 32 K words. A (address size) = 32 bits. You need consider only word addresses, (a) Show the tag, set, block offset, and byte offset bits of the address. State how many bits are needed for each field (b) What is the size of all the cache tags in bits? (c) Suppose each cache block also has a valid bit (V) and a dirty bit (d) What is the size of each cache set, including data, tag, and status bits? (e) Design the cache using the building blocks in Figure 1 and a small number of two-input logic gates. The cache design must nclude tag storage, data storage, address comparison, data output selection, and any other parts you feel are relevant, Note that the ultiplexer and comparator blocks may be any size (n or p bits wide, respectively), but the SRAM blocks must be 16K 4 bits, Be sure to include a neatly labeled block diagram You need only design the cache for reads 40 SRAM Figure 1: HW 3 Problem 7

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

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

=+what kinds of policies and practices should be developed?

Answered: 1 week ago

Question

=+ Of the HR issues mentioned in the case,

Answered: 1 week ago