Question

In: Computer Science

Describe the number of bits required in each entry of a TLB that has the following...

Describe the number of bits required in each entry of a TLB that has the following characteristics:

• Virtual addresses are 32 bits wide
• Physical addresses are 31 bits wide
• The page size is 2K bytes
• The TLB contains 16 entries of the page table
• The TLB is direct-mapped

Solutions

Expert Solution

virtual address =32 bit (given)

page size=2k bytes=bytes

page offset=11 bit

total number of pages in process=virtual address space/page size=

number of bits require to represent the page in process=log(total number of pages in process)=21bit

total number of frame in physical address=physical address space/page size=

number of bits require to represent the frame in physical memory=log(number of frame in physical memory)

=log()=20 bit

As we know that TLB contains <page number, frame number>

total number of bit require to represent the TLB=21+20=41bit

number of entries in TLB =16(given)

size of TLB=16*41/8 bytes

size of TLB=82 bytes

in each entry of TLB contain <page number,frame number> so to represent it 41 bit is require .


Related Solutions

Journalize each of the following transactions assuming a perpetual inventory system. (If no entry is required...
Journalize each of the following transactions assuming a perpetual inventory system. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.) Feb. 1 Sold merchandise with a cost of $1,900 for $2,900; terms 2/10, n/30, FOB destination. 2 Paid $265 to ship the merchandise sold on February 1. 3 The customer of February 1 returned half of the amount purchased because it was the incorrect product; it was returned to inventory. 4...
Journalize each of the following transactions assuming a perpetual inventory system. (If no entry is required...
Journalize each of the following transactions assuming a perpetual inventory system. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.) Feb. 1 Purchased $17,100 of merchandise inventory; terms 2/10, n/30. 5 Purchased for cash $8,300 of merchandise inventory. 6 Purchased $22,100 of merchandise inventory; terms 3/15, n/45. 9 Purchased $1,950 of office supplies; terms n/15. 10 Contacted a major supplier to place an order for $210,000 of merchandise in exchange for...
Write a program that copies the even number of bits from a into the corresponding bits...
Write a program that copies the even number of bits from a into the corresponding bits in b ,only use bit-manipulation instructions, no loop int main () { uint_32 a = 0 xaabbccdd ; uint_32 b = 0 x11223344 ; // Replace bits 0 ,2 ,4 ,... of b with bits 0 ,2 ,4 ,... from a . uint_32 result = ...; // Print out the result as a hexadecimal number }
Required Each of the following independent events requires a year-end adjusting entry. Show how each event...
Required Each of the following independent events requires a year-end adjusting entry. Show how each event and its related adjusting entry affect the accounting equation. Assume a December 31 closing date. The first event is recorded as an example. (Do not round intermediate calculations & Round your final answer to nearest whole dollar.) Paid $6,400 cash in advance on October 1 for a one-year insurance policy. Received an $5,200 cash advance for a contract to provide services in the future....
Record the following transactions. (If no entry is required for a transaction/event, select "No journal entry...
Record the following transactions. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.) 1. (a) Started business by issuing 10,000 shares of common stock for $30,000. (b) Hired Rebecca as an administrative assistant, promising to pay her $2,900 every two weeks. (c) Rented a building for three years at $570 per month and paid six months' rent in advance. (d) Purchased equipment for $5,000 cash. (e) Purchased $1,900 of supplies on...
Record the following transactions. (If no entry is required for a transaction/event, select "No journal entry...
Record the following transactions. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.) (a) Started business by issuing 10,000 shares of common stock for $20,000. (b) Hired Rebecca as an administrative assistant, promising to pay her $2,700 every two weeks. (c) Rented a building for three years at $590 per month and paid six months' rent in advance. (d) Purchased equipment for $5,100 cash. (e) Purchased $2,100 of supplies on account....
1. Journalize the selected transactions. If no entry is required, select "No entry required" from the...
1. Journalize the selected transactions. If no entry is required, select "No entry required" from the dropdown and leave the amount boxes blank. For a compound transaction, if an amount box does not require an entry, leave it blank. a. Issued 15,000 shares of $20 par common stock at $30, receiving cash. Description Debit Credit Cash 450,000 Common Stock 300,000 Paid-In Capital in Excess of Par-Common Stock 150,000 b. Issued 4,000 shares of $80 par preferred 5% stock at $100,...
1. Match each transaction with the type of entry that will be required at April 30,...
1. Match each transaction with the type of entry that will be required at April 30, the company's year-end. A. Deferral Adjusting entry B. Accrual Adjusting entry The company has $8,300 in Prepaid Rent at the beginning of April and uses $3,600 of that for its April rent. The company provides lawn care in April for customers who will be billed and make payment in May. The company owes interest on loans for the month of April and will not...
in general when is a journal entry required? specifically would an entry be required (please explain...
in general when is a journal entry required? specifically would an entry be required (please explain why ) when good are ordered but not yet delivered and no payments have been made yet? when goods are received but payment is not due yet ?when goods are sold and paid for but will be picked up next week?
Suppose a block cipher uses m-to-m bits S-boxes. How many bits are required to store the...
Suppose a block cipher uses m-to-m bits S-boxes. How many bits are required to store the look-up table of k different such m-to-m bits S-boxes? Give a formula in terms of k and m. Hint: A look-up table for one DES S-box requires 256 bits of storage.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT