chynawalker1709 chynawalker1709
  • 21-07-2020
  • Computers and Technology
contestada

A cache has been designed such that it has 512 lines, with each line or block containing 8 words. Identify the line number, tag, and word position for the 20-bit address 94EA616 using the direct mapping method.

Respuesta :

batolisis
batolisis batolisis
  • 21-07-2020

Answer:

Given address = 94EA6[tex]_{16}[/tex]

tag = 0 * 94  ( 10010100 )

line = 0 * 1 D 4 ( 111010100 )

word position = 0*6 ( 110 )

Explanation:

using the direct mapping method

Number of lines = 512

block size = 8 words

word offset = [tex]log ^{8} _{2}[/tex]  = 3 bit

index bit = [tex]log^{512}_{2}[/tex]  = 9 bit

Tag = 20 - ( index bit + word offset ) = 20 - ( 3+9) = 8 bit

Given address = 94EA6[tex]_{16}[/tex]

tag = 0 * 94  ( 10010100 )

line = 0 * 1 D 4 ( 111010100 )

word position = 0*6 ( 110 )

Answer Link

Otras preguntas

A group of hikers is descending a mountain at a rate of 400 feet per hour. After three hours, what integer represents their total change in elevation?
Study the world map. What is the arrow pointing to?
Compare and order the numbers below. - 10 - TT - 3.1 - V 10 - 3.1 < <
Which is an example of a scalawag?
Do most condensation of water take place in the oceans
VERY EASY I’m just dumb but it’s be great if I could get some help on how to do this for an upcoming quiz #4-7
In what way is Japan paper cutting different than what is done in other Asian countries
What is the length of seg AZ if A is between Y and Z, YA = 24, AZ = 15x, and YZ = 189 ?
HELP PLEASE!! Which statement describes an impact of the collapse of the Western Roman Empire on Europe? A. Europe's economy improved significantly as new roads
What is the proper sequence of the Scientific Method?