24/7 Homework Help

Studykind Will Help You Write Your Essays and Term Papers

From initial topic to finished paper

Question:

[Solution] Homework 5 Computer Science

by | Jul 18, 2022 | Recent Orders

CS2400 Fall 2020

Homework 05 (50 Points)

1. Here is a series of address references given as word addresses: 2, 3, 11, 16, 21, 13, 64, 48, 19, 11, 3, 22, 4, 27, 6 and 11. (5 Points)

a. Assuming a Direct-mapped cache with 16 one-word blocks that is initially empty, Find number of hits and misses.

b. Now assume that the cache is a 2-way set associative, one-word blocks, total 16-word capacity, Find number of hits and misses.

2. A computer is using a fully associative cache and has 216 bytes of memory and a cache of 64 blocks, where each block contains 32 bytes. (15 points)

a. How many blocks of main memory are there?

b. What will be the sizes of the tag, index, and byte offset fields?

c. To w h i c h c a c h e s e t w i l l t h e m e m o r y a d d r e s s 0xF8C9(hexadecimal) map?

3. A computer using a direct mapped cache has 220 Bytes of memory and a cache of 32 blocks, each block contains 16 Bytes. (15)

a. How many blocks of main memory are there?

b. What will be the sizes of the tag, index, and byte offset fields?

c. To which cache set will the memory address 0x0DB63 map?

4. Suppose we have a 4 GB memory that is byte addressable, and a 2 MB cache with 256 bytes per block. (15 points)

a. How many total lines are in the cache?

b. If the cache is direct mapped, how many cache lines could a specific memory block be mapped to?

c. If the cache is direct mapped, what would be the format (tag bits, index, offset bits) of the address?

R@R 1

 

 

CS 24

00 H

om eW

or k

CS2400 Fall 2020

Submit the files with answers in doc or pdf format in Canvas before the due date.

R@R 2

Sample Solution
Assignment Help

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

Services that we offer

Your Paper Is In Safe Hands

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

Related Assignments

Study more efficiently

Quickly get your essay from idea to final graft save time, money and effort.

Boost your grade

Get through your toughest problem and learn how to solve them from expert writers

Essay Writing Service Ready to Help Online 24/7

Hire a professional just from $9.99

Click here

Open chat
1
Powered by Essaynice
Hello welcome to our whatsapp support 👋
Can we help you?