Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the Direct-Mapped Cache Simulator: https://www3.ntu.edu.sg/home/smitha/ParaCache/Paracache/dmc.html Assume we have a 64Kbyte of RAM and direct-mapped byte-addressed cache with capacity 256 Bytes and block size of


Use the Direct-Mapped Cache Simulator:

https://www3.ntu.edu.sg/home/smitha/ParaCache/Paracache/dmc.html

  1. Assume we have a 64Kbyte of RAM and direct-mapped byte-addressed cache with capacity 256 Bytes and block size of 32 Bytes. Use Write Policies Write Back & Write On Allocate.

Answer the following questions:

How many Memory Blocks in RAM?

How many Memory Blocks in the Cache?

How many bits is the Cache TAG?

How many bits is the Cache Index?

How many bits is the Cache Offset?


Manually enter the provided instructions into the simulator to fill in the following tables:

L/S

Address

(Hex)

Tag

(Binary)

Index

(Binary)

Offset

(Binary)

RAM Block

(Hex)


Store0x8132



Store0xcf15



Store0xbb3b



Load0x9a6c



Load0x6f35



Store0xc85f



Store0xd12e



Load0x55a4



Load0x111f



Load0x1716



Store0x51a1



Load0x960c



Load0xa1bb



Store0xbaba



Load0xa0b7



Load0xbae5




Final State of the Direct-Mapped Cache Table (screenshot)


2.. Assume we have a 64Kbyte of RAM and 4-way set associative byte-addressed cache with capacity 256 Bytes and block size of 32 Bytes. Use a Replacement Policy of LRU & Write Policies of Write Back & Write on Allocate.

Answer the following questions:

How many Memory Blocks in RAM?

How many Memory Blocks in the Cache?

How many bits is the Cache TAG?

How many bits is the Cache Index?

How many bits is the Cache Offset?


Manually enter the provided instructions into the simulator to fill in the following tables:

L/S

Address

(Hex)

Tag

(Binary)

Index

(Binary)

Offset

(Binary)

RAM Block

(Hex)


Store0x8132



Store0xcf15



Store0xbb3b



Load0x9a6c



Load0x6f35



Store0xc85f



Store0xd12e



Load0x55a4



Load0x111f



Load0x1716



Store0x51a1



Load0x960c



Load0xa1bb



Store0xbaba



Load0xa0b7



Load0xbae5




Final State of the Direct-Mapped Cache Table (screenshot)

imageimage

whose numerator and denominator are. be equal to 0 (Q=0). In other words, a rational algebraic expression is an expression ACTIVITY 2 Identify each expression if it is a rational algebraic expression or not. Write RAE it's a rational algebraic expression, if not, write NRAE. 11. 5. m 10. 12. d+45 3x+3 X-9x-10 ACTIVITY 3 Evaluate the rational algebraic expressions. Use another sheet of paper if necessary. 1. 3x 510 :x=3 2. m+m-2 m-1 m=-1 3. p-3p+2p;p=-2 p-5p+6

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 Communications and Networking

Authors: Behrouz A. Forouzan

5th edition

73376221, 978-0073376226

More Books

Students also viewed these Computer Network questions

Question

3. Laugh at the right time for the right time.

Answered: 1 week ago

Question

Compare an uplink with a downlink.

Answered: 1 week ago

Question

What is the purpose of the pointer in the line overhead?

Answered: 1 week ago