The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 2 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Would like some help with the homework assignment for
Week 6Homework—Virtual Memory
Â
This week's homework problems will be completed in the book.
Complete problems 9.12 and 9.13 below.
Review Section 9.6.4 as a guide.
Problem 9.11 is done below to help you.
9.11. For the given virtual address, indicate the TLB entry accessed, the physical address, and the cache byte value returned. Indicate whether the TLB misses, whether a page fault occurs, and whether a cache miss occurs. If there is a cache miss, enter – for cache byte returned. If there is a page fault, enter - for PPN, and leave parts C and D blank. You will need to use the tables on page 796 for PPN translation (page table b).
Virtual address 0x027c
A.   Virtual Address format:
00 0010 0111 1100
B.    Address translation
Parameter       Value
VPNÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0x9
TLBI: Â Â Â Â Â Â Â Â Â Â Â Â 0x1
TLBT:Â Â Â Â Â Â Â Â Â Â Â Â 0x2
TLB hit?         N
Page fault?     N       Â
PPN:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0x17
C.    Physical address format
0101 1111 1100
D.   Physical memory reference
Parameter       Value
CO:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0x0
CI:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0xf
CT:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0x17
Cache hit?      N
Cache byte?   -         Â
Problem 9.12
Virtual address 0x03a9
A.   Virtual address format:
Â
B.    Address translation
Parameter       Value
VPNÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â
TLBI: Â Â Â Â Â Â Â Â Â Â Â Â
TLBT:Â Â Â Â Â Â Â Â Â Â Â Â
TLB hit?        Â
Page fault?               Â
PPN:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
C.    Physical address format
Â
D.   Physical memory reference
Parameter       Value
CO:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
CI:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
CT:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Cache hit?     Â
Cache byte?              Â
Â
Problem 9.13
Virtual address 0x0040
A.   Virtual address format:
Â
B.    Address translation
Parameter       Value
VPNÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â
TLBI: Â Â Â Â Â Â Â Â Â Â Â Â
TLBT:Â Â Â Â Â Â Â Â Â Â Â Â
TLB hit?        Â
Page fault?               Â
PPN:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
C.    Physical address format
Â
D.   Physical memory reference
Parameter       Value
CO:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
CI:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
CT:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Cache hit?     Â
Cache byte?              Â
Â
my programming class. Attached is the document that needs completed.
Attachments:
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly