1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vladimir1956 [14]
3 years ago
14

A 64-bit word computer employs a 128KB cache. The address bus in this system is 32-bits. Determine the number of bits in each fi

eld of the memory address register (MAR) as seen by cache in the following organizations (show your calculations): A. Fully associative mapping with line size of 4 words. B. Direct mapping with the line size of 8 words. C. 2-way set associated mapping with the line size of 4 words. D. 8-way set associated mapping with the line size of 2 words.
Computers and Technology
1 answer:
defon3 years ago
5 0

Answer: provided in the explanation segment

Explanation:

taking a step by step process for this, we will analyze this problem,

we have that the Word size = 8 bytes

Cache size = 128 KB = 128×2¹⁰ bytes = 2¹⁷ bytes

(a). we are asked to cal for fully associative mapping with line size of  4 words.

  • fully associative mapping with line size of  4 words = 4 × 8 = 32 bytes
  • offset = log₂³² = 5 bit
  • tag = 32 - (5+0) = 27 bit
  • index bit = 0

(b). Direct mapping with the line size of 8 words:

  • here  the line size = 8×8 = 64 bytes
  • no of lines = 2¹⁷/2⁶ = 2¹¹ lines
  • offset = log ₂(2⁶) = 6 bit
  • index = log ₂(2¹¹) = 11 bit
  • tag = 32 - (5 +11) = 15 bit

(c). 2-way set associated mapping with the line size of 1 word:

  • no of lines = 2¹⁷/2³ = 2¹⁴ lines
  • offset = log₂(2³) = 3 bit
  • no of sets = 2¹⁴/2 = 2¹³ sets
  • index = log₂(2¹³) = 13 bit
  • tag = 32 - (3+13) = 16 bit

(d). 8-way set associated mapping with the line size of 2 words:

8-way set associated mapping with the line size of 2 = 2*8 = 16  bytes

  • no of lines = 2¹⁷/2⁴ = 2¹³ lines
  • no of sets = 2¹³/2³ = 2¹⁰ sets
  • offset = log₂¹⁶ = 4 bit
  • index = log ₂(2¹⁰) = 10 bit
  • tag = 32 - (4+10) = 18 bit

cheers i hope this helps!!!!

You might be interested in
Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.". If more than
Masteriza [31]

Answer:

See explaination

Explanation:

#Run the code in the python version 3.x.

#Define the function.

def shampoo_instructions(num_cycles):

#Check the cycles to be greater than 1.

if num_cycles < 1:

#Display the statement.

print('Too few.')

#Check the cycles to be greater than 4.

elif num_cycles > 4:

#Display the statement.

print('Too many.')

#The else part.

else:

#Initialize the variable.

N = 1;

#Begin the for loop.

for N in range(N, num_cycles+1):

#Print the result.

print(N , ": Lather and rinse.")

#Print the statement.

print('Done.')

#Call the function.

shampoo_instructions(2)

7 0
2 years ago
How do social media sites illustrate kindness?
xeze [42]
There are many ways it cna illustrate kindness, such as making friends with friendly people, keeping long distance relationships possible, raising awareness of an event
5 0
3 years ago
What is the importance of using Onedrive in Windows 10 and how knowledge of it will have an impact in today's workplace?
SashulF [63]

The importance of one drive in windows 10 is that it helps the user to synchronize files in their computer.

Onedrive is a cloud storage system that is useful for the storage of files in a secured manner. A person can easily access their files whenever they want to.

In todays workplace a knowledge of onedrive has a great impact because

  • Onedrive offers an unlimited access to files whenever they are needed
  • The files can be available and accessed from anywhere
  • It helps with the organization of files in the work place.

One drive allows for this to be done even when offline. When online, there is an automatic synchronization of the made changes.

Read more at brainly.com/question/17163678?referrer=searchResults

7 0
3 years ago
Read 2 more answers
Which of the following scenarios falls into the category of network crimes?
solong [7]

Answer:

B

Explanation:

Hope it helps!

3 0
2 years ago
Read 2 more answers
Find the propagation delay for a signal traversing the in a metropolitan area through 200 km, at the speed of light in cable (2.
Ede4ka [16]

Answer:

t= 8.7*10⁻⁴ sec.

Explanation:

If the signal were able to traverse this distance at an infinite speed, the propagation delay would be zero.

As this is not possible, (the maximum speed of interactions in the universe is equal to the speed of light), there will be a finite propagation delay.

Assuming that the signal propagates at a constant speed, which is equal to 2.3*10⁸ m/s (due to the characteristics of the cable, it is not the same as if it were propagating in vaccum, at 3.0*10⁸ m/s), the time taken to the signal to traverse the 200 km, which is equal to the propagation delay, can be found applying the average velocity definition:

v = \frac{(xf-xo)}{(t-to)}

If we choose x₀ = 0 and t₀ =0, and replace v= 2.3*10⁸ m/s, and xf=2*10⁵ m, we can solve for t:

t =\frac{xf}{v}  =\frac{2e5 m}{2.3e8 m/s} =8.7e-4 sec.

⇒ t = 8.7*10⁻⁴ sec.

4 0
3 years ago
Other questions:
  • When pasting an object which has been copied from a different slide, where on the slide does the object paste, assuming nothing
    15·1 answer
  • How do humans feel about being abducted?
    12·2 answers
  • True or false?
    5·1 answer
  • Which device or software application detects errors in system configurations?
    8·1 answer
  • Determining the Services Running on a Network Alexander Rocco Corporation has multiple OSs running in its many branch offices. B
    10·1 answer
  • If you wanted a smartphone with the fewest restrictions on application development which smartphone operating system should you
    9·1 answer
  • Three reasons Why we connect speakers to computers
    15·2 answers
  • What is a word processing program? Give examples of word processing programs.
    10·1 answer
  • Write a python program to change variable value of your previous result percentage to your current percentage of mid-term
    13·1 answer
  • Please help with this question
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!