Question: The following below was a solution provided for a past assignment, and I have no idea why this is the correct solution: Why is 0x8703412E

The following below was a solution provided for a past assignment, and I have no idea why this is the correct solution:

The following below was a solution provided for a past assignment, and

Why is 0x8703412E a hit at all? 8 in binary is 1000, therefore it is at index 0, { b10, 0x7034 }. Or even at index 2, { b00, 0x7034 } which is a miss. Same for the other three: 0xBEEDD020: B in binary is 1011, therefore it is at index 3 { b10, 0xEEDD }. Or even at index 2, { b11, 0xEEDD }. 0x00001077: 0 in binary is 0000, therefore it is at index 0, { b00, 0x0001 }.

For the second table, the question was: what are the contents of the TLB after processing the page access from table above?

How do we even get to this solution?

TLB. Your TLB is 2-way set associative and hold 8 translations. It has the following entries . Virtual memory address consist of 32 bits with a 12 bit page offset The virtual page number tag in the TLB excludes the 2 bit index and therefore is of 18 bits . The 18 bit tag is shown in the TLB table below in the form: (top 2 bits (bXX) in binary, remaining 16 bits in hex (0xXXXX)} . Finally, the physical page number consist of 28 bits Index Virtual Page No TagPhysical Page No. Virtual Page no. Tag Physical Page No 0x1234567 0x7123454 0xDBD234D 0xAB578BC 0x7642867 0x2345647 0x234BDCE 0x0187109 0 b10, 0xb6f7 b00, 0x0000 b01, Ox950c b01, 0xdddd) b10, 0x1cOd b10, 0xa667 b01, 0x1265 b10, 0x61d0 2 What are the contents of the TLB after the following page accesses? You may assume that to start with, the right entry is the least recently used. In addition to filling out the bottom table, also fill out the rightmost column of the memory access table below to denote whether the memory access was a hit or a miss in the TLB virtual mem access |result (physical mem address) Hit/Miss 0xBEEDDAD2 0x4321A9DC 0x8703412E 0x10218000 0x339541DO 0xBEEDD020 0x00001077 0x3092834AD2 0xDA234CC9DC 0x764286712E 0xAA234BC000 OxDB32D781D0 0x3092834020 0x7123454077 Miss Miss Hit Miss Miss Hit You may put your answer in the table below Index Virtual Page No. Tag Physical Page No. Virtual Page No. Tag Physical Page No {boO, 0x4086 b00, Ox0000 b01, Ox950c b01, Oxdddd (b0O, Oxce55) b10, Oxfbb7 b01, OxOc86 b10, Ox61do 0 OxAA234BC Ox7 123454 OxDBD234D OxAB578BC OxDB32D78 Ox3092834 OxDA234CC 0x0187109 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!