Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1. (30 Points) A system consists of a main memory and one cache memory, the cache size is 16K lines, the main memory is

image text in transcribed

Question 1. (30 Points) A system consists of a main memory and one cache memory, the cache size is 16K lines, the main memory is addressable by word where the word size is 8 bit, and the block size is 4 words. a. Using direct mapping, if the format of the main memory address is Tag Line Word Main memory address = 8 bits 14 bits bits what is the tag and line number (in hex) of this address: 1001-0110-0011-1111-1010-1001? b. Using set-associative with N way sets, if the format of the address: Main Memory Address Tag Set Word 18 4 bits 2 bits 1. How many sets do we have in this system? 2. How many lines in each set? 3. What is the tag and the set number for the following address in hex? 1010-0111-1001-1011-1010-1100

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

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

Students also viewed these Databases questions