Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Convert the incoming virtual address to a physical address. if PPN is in the TLB, compute PA log_entry(ADDRESS_FROM_TLB,PA); return PA * else use the page
Convert the incoming virtual address to a physical address.
if PPN is in the TLB,
compute PA
log_entry(ADDRESS_FROM_TLB,PA);
return PA
* else use the page table function to get the PPN:
PPN = get_page_table_entry(VPN) // provided function
compute PA
log_entry(ADDRESS_FROM_PAGETABLE,PA);
return PA
Basically i need to program a TLB
Must be done in C
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started