Assume the following: TLB Page Table Set # Way #0 Way #1 Way #2 Way #3 0: V=Y;Tag=0x2a PPN=0x1c V=Y;Tag=0x2b PPN=0x29 V=Y;Tag=0x2c PPN=0x25 -- VPN PPN V? 0x0e 0x21 Y 0x0f 0x01 Y 0x10 0x38 Y 0x11 0x20 Y 0x12 0x3d Y 0x13 - - 0x14 - - 0x15 0x08 Y VPN PPN V? 0x16 0x1d Y 0x17 0x27 Y 0x18 - - 0x19 0x15 Y 0x1a 0x16 Y 0x1b 0x26 Y 0x1c - - 0x1d 0x36 Y VPN PPN V? 0x1e 0x10 Y 0x1f 0x3f Y 0x20 0x34 Y 0x21 0x09 Y 0x22 0x1b Y 0x23 0x2d Y 0x24 0x18 Y 0x25 0x39 Y VPN PPN V? 0x26 0x12 Y 0x27 0x22 Y 0x28 0x3a Y 0x29 0x00 Y 0x2a 0x1c Y 0x2b 0x29 Y 0x2c 0x25 Y 0x2d - - The memory is byte addressable. Memory accesses are to 1-byte words (not to 4-byte words). Virtual addresses are 15 bits wide. Physical addresses are 15 bits wide. The page size is 512 bytes. The TLB is 4-way associative tlb (E=4) with 1 sets (S=1) and a total of 4 entries . The TLB and a portion of the page table contents are as shown below Assume that memory address 0x599a has been referenced by a load instruction. Determine the virtual page number (VPN) and use that to compute the TLB index and tag that would be used to check the TLB for the translation entry. Indicate if the entry is in the TLB (Y/N). Indicate if the memory reference has a valid entry in the page table whether it hits in the TLB or not. Use the information from the page table to translate the VPN to a physical page number (PPN) and then the valid physical address (PA). For entries that can not be determined ( e.g. the PPN or PA if a translation doesn't exist), enter "-". Virtual Page Number (VPN) 0xAnswer Virtual Page Offset (VPO) 0xAnswer TLB Index (TLBI) 0xAnswer TLB Tag (TLBT) 0xAnswer TLB Hit (Y/N)? Answernoyes Valid Entry in Page Table (Y/N)? Answernoyes Physical Page Number (PPN) 0xAnswer Physical Address (PA) 0xAnswer

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 1.6CP
icon
Related questions
icon
Concept explainers
Question

Assume the following:

TLB

Page Table

Set #

Way #0

Way #1

Way #2

Way #3

0:

V=Y;Tag=0x2a
PPN=0x1c

V=Y;Tag=0x2b
PPN=0x29

V=Y;Tag=0x2c
PPN=0x25

--

VPN

PPN

V?

0x0e

0x21

Y

0x0f

0x01

Y

0x10

0x38

Y

0x11

0x20

Y

0x12

0x3d

Y

0x13

-

-

0x14

-

-

0x15

0x08

Y

VPN

PPN

V?

0x16

0x1d

Y

0x17

0x27

Y

0x18

-

-

0x19

0x15

Y

0x1a

0x16

Y

0x1b

0x26

Y

0x1c

-

-

0x1d

0x36

Y

VPN

PPN

V?

0x1e

0x10

Y

0x1f

0x3f

Y

0x20

0x34

Y

0x21

0x09

Y

0x22

0x1b

Y

0x23

0x2d

Y

0x24

0x18

Y

0x25

0x39

Y

VPN

PPN

V?

0x26

0x12

Y

0x27

0x22

Y

0x28

0x3a

Y

0x29

0x00

Y

0x2a

0x1c

Y

0x2b

0x29

Y

0x2c

0x25

Y

0x2d

-

-

  • The memory is byte addressable.
  • Memory accesses are to 1-byte words (not to 4-byte words).
  • Virtual addresses are 15 bits wide.
  • Physical addresses are 15 bits wide.
  • The page size is 512 bytes.
  • The TLB is 4-way associative tlb (E=4) with 1 sets (S=1) and a total of 4 entries .
  • The TLB and a portion of the page table contents are as shown below

Assume that memory address 0x599a has been referenced by a load instruction. Determine the virtual page number (VPN) and use that to compute the TLB index and tag that would be used to check the TLB for the translation entry. Indicate if the entry is in the TLB (Y/N).

Indicate if the memory reference has a valid entry in the page table whether it hits in the TLB or not.

Use the information from the page table to translate the VPN to a physical page number (PPN) and then the valid physical address (PA).

For entries that can not be determined ( e.g. the PPN or PA if a translation doesn't exist), enter "-".

Virtual Page Number (VPN)

0xAnswer

Virtual Page Offset (VPO)

0xAnswer

TLB Index (TLBI)

0xAnswer

TLB Tag (TLBT)

0xAnswer

TLB Hit (Y/N)?

Answernoyes

Valid Entry in Page Table (Y/N)?

Answernoyes

Physical Page Number (PPN)

0xAnswer

Physical Address (PA)

0xAnswer

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning