homework 5 computer science

CS
24

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

00
H

om
eW

or
k

CS2400 Fall 2020

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Homework 05 (50 Points) – Due Nov 30th 2020

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

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.

Order your essay today and save 30% with the discount code ESSAYHELP