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]
4 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:
defon4 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
When saving a document or drawing, you determine the destination folder in which the file will be saved by?
bekas [8.4K]

making a selection in the Save in: box.<span>

</span>
8 0
3 years ago
1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a s
masya89 [10]

Answer:

import java.util.Scanner;

public class TestClock {

   public static void main(String[] args) {

 Scanner in = new Scanner (System.in);

       System.out.print("Enter favorite color:");

 String word1 = in.next();

       System.out.print("Enter pet's name:");

 String word2 = in.next();

       System.out.print("Enter a number:");

 int num = in.nextInt();

       System.out.println("you entered: "+word1+" "+word2+" "+num);

   }

}

Explanation:

Using Java Programming language

  1. Import the Scanner class
  2. create an object of the scanner class
  3. Prompt user to enter the values for the variables (word1, word2, num)
  4. Use String concatenation in System.out.println to display the output as required by the question.

7 0
3 years ago
How does a hard drive work
svetlana [45]
A small hard drive typically has only one platter, but each side of it has a magnetic coating. Bigger drives have a series of platters stacked on a central spindle, with a small gap in between them. The platters rotate at up to 10,000 revolutions per minute so the read-write heads can access any part of them.
7 0
4 years ago
Yolanda is making a banner for a school pep rally. She cuts fabric in the shape of a parallelogram. The angle at the bottom left
Irina18 [472]

The answer is 100°

A parallelogram is any four sided shape with two pairs of opposite parallel and equal length sides. It is safe to say that a square is a parallelogram and not the other way round.

To explain how we got to 100 degrees, I have attached an image. Based on the image attached, the opposite angles are equal. The adjacent angles are supplementary. With this in mind, the supplement of 80° will be 100°


5 0
4 years ago
Read 2 more answers
What is the difference between ARM and INTEL Chip?
tia_tia [17]
With the ever-present rumor of ARM MacBooks<span> gaining renewed energy, it’s time to get an understanding of the technical differences between ARM processors and the more common x86 processors made by </span>Intel<span> and AMD.</span>
8 0
3 years ago
Other questions:
  • Can someone tell me how to get all A's with no effort?
    5·1 answer
  • Which one of the following is an example of hacktivism according to you and why?
    11·1 answer
  • By placing the chorale melody in the highest voice and using a simple harmonization, bach made it easier for congregation member
    5·1 answer
  • One guideline for writing content for the web is to use ____ space to visually separate sections of content.
    15·1 answer
  • A device (or a software program on a computer) that can monitor data traveling on a network is known as a socket sniffer. ______
    15·1 answer
  • In what year was the 1st zelda game released
    5·2 answers
  • Cual es la definición de grouded?​
    7·1 answer
  • Which country was the first in the world to launch a mass media campaign in response to population growth?
    14·1 answer
  • What is the iterative procedure of recursive and nonrecursive?
    10·1 answer
  • Identify the correct answer in each item. Write your answer on the blank provided before
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!