Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are designing a hypothetical virtual memory system (similar to figure 1) with TLB, first-level and second-level caches. You are given the following conditions: 64-bit

You are designing a hypothetical virtual memory system (similar to figure 1) with TLB, first-level and second-level caches. You are given the following conditions:

64-bit virtual address space

41-bit physical address space

L1 cache is virtually indexed, physically tagged, and with size 8 KB

L2 cache is physical indexed, physically tagged, and with size 4 MB

Block size of both L1 and L2 caches are 64 bytes

Page size is 8 KB

L1 cache is direct-mapped, L2 cache is two-way associative

TLB is direct-mapped with 256 entries

This question continues on the next page

image text in transcribed

Calculate the number of bits needed for the following fields:

virtual page number

page offset

TLB index

TLB tag

TLB data

L1 cache index

L1 block offset

L1 Cache tag

L1 data

L2 cache index

L2 block offset

L2 Cache tag

L2 data

Figure 3: Basic description of the hypothetical virtual memory system Virtual address

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

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions

Question

What type of processing do Relational Databases support?

Answered: 1 week ago