Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A computer has the following memory and cache characteristics: +Virtual memory: 4 Gbytes +Main memory: 4 Mbytes - + Cache: 4 Kbytes + 1 word

A computer has the following memory and cache characteristics:

+Virtual memory: 4 Gbytes

+Main memory: 4 Mbytes -

+ Cache: 4 Kbytes

+ 1 word is 4 bytes

+ Page size: 4096 words

+ The cache is 4-way set associative

+ Cache block size 16 words

a. How many bits are there in a virtual memory address?

b. Show the page and offset fields of the virtual adress. How many bits are there in each field?

c. How many bits are there in a main memory address?

d. How many sets are there in the cache?

e. Show the tag, set and word fields of the memory addresses. How many bits are there in each field?

d. Virtual address 3A4B5C6DH is mapped to page frame 0 in the main memory. Write the main memory address of this reference.

g. Where will it be mapped in the cache? Write the set number and its tag.

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 Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

=+working on a micro-multinational?

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago