Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider a two way set associative cache with 8K memory for storing data. Each line in the cache stores 4 bytes of data. a.

1. Consider a two way set associative cache with 8K memory for storing data. Each line in the cache stores 4 bytes of data. a. How many lines and how many sets does the cache have? b. The cache is used with a computer having a 18 bit address bus. Illustrate how the CPU address is divided into the TAG, SET, and OFFSET fields. Also indicate the number of bits in each field. c. Calculate the total number of memory bits used in the cache, including all the lines, the tags, and valid bit for each line.

2. Consider a two way set associative cache with 1024 lines and 8 bytes per line a. How many sets does the cache have? b. The cache is used with a computer having a 16 bit address bus. Illustrate how the CPU address is divided into the TAG, SET, and OFFSET fields. Indicate the number of bits in each field. c. Calculate the cache data size, in bytes d. Calculate the total number of memory bits used in the cache, including all the lines, the tags, and valid bit for each line.

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

Step: 3

blur-text-image

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

What is the purpose of a code of conduct ?

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago