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
Elan Coil [88]
4 years ago
10

Suppose a byte-addressable computer using set-associative cache has 2 16 bytes of main memory and a cache size of 32 blocks and

each cache block contains 8 bytes. a) If this cache is 2-way set associative, what is the format of a memory address as seen by the cache; that is, what are the size of the tag, set, and offset fields
Computers and Technology
1 answer:
melisa1 [442]4 years ago
3 0

Answer:

Following are the responses to these question:

Explanation:

The cache size is 2n words whenever the address bit number is n then So, because cache size is 216 words, its number of address bits required for that  cache is 16 because the recollection is relational 2, there is 2 type for each set. Its cache has 32 blocks, so overall sets are as follows:

\text{Total Number of sets raluired}= \frac{\text{Number of blocks}}{Associativity}

                                               =\frac{32}{2}\\\\ =16\\\\= 2^4 \ sets

The set bits required also are 4. Therefore.

Every other block has 8 words, 23 words, so the field of the word requires 3 bits.

For both the tag field, the remaining portion bits are essential. The bytes in the tag field are calculated as follows:

Bits number in the field tag =Address Bits Total number-Set bits number number-Number of bits of words

=16-4-3

= 9 bit

The number of bits inside the individual fields is therefore as follows:

Tag field: 8 bits Tag field

Fieldset: 4 bits

Field Word:3 bits

You might be interested in
Write a function SwapArrayEnds() that swaps the first and last elements of the function's array parameter. Ex: sortArray = {10,
ludmilkaskok [199]

Answer:

Replace /* Your solution goes here*/ with the following

<em>void SwapArrayEnds(int sortArray [], int lent){ </em>

<em>    int temp = sortArray[0]; </em>

<em>    sortArray[0] = sortArray[lent-1]; </em>

<em>    sortArray[lent-1] = temp; </em>

<em>} </em>

<em />

Explanation:

This defines the function SwapArrayEnds with two parameter (the array and the array length)

<em>void SwapArrayEnds(int sortArray [], int lent){ </em>

This declares an integer variable "temp" and initializes it with the first element of the array

<em>    int temp = sortArray[0]; </em>

The next two lines swap the last element with the first

<em>    sortArray[0] = sortArray[lent-1]; </em>

<em>    sortArray[lent-1] = temp; </em>

<em>} </em>

<em />

<em>See attachment for full program</em>

Download cpp
3 0
3 years ago
What is the left area of a slide called in an electronic presentation
Natasha2012 [34]

The left area of a slide is called the "slide pane" in an electronic presentation. It displays the thumbnails of all the slides in a presentation window.

3 0
3 years ago
Read 2 more answers
The PICC team is scheduled to remove a PICC before client discharge. Assessment of the catheter indicates the PICC and determine
Alik [6]

Answer:

Stuck PICC is one potential complication, and it occurs when the catheter is not able to disengage while the removal process, and it cannot be removed out of the vein. And this is generally due to venospasm and it gets resolved as the time passes.

Explanation:

You should know that PICC stands for Peripherally inserted central catheter, and it is a thin, delicate and long tube or catheter, which is inserted inside the vein in the child's arm, neck or leg. And the tip of the catheter is being positioned inside a large vein which carries the blood inside the heart. A PICC line is applied for long-term intravenous antibiotics, medication or nutrition, and for drawing the blood.

4 0
3 years ago
By applying styles formats are being applied ?
Dovator [93]

Answer:

A

Explanation:

The same formats are being applied.

7 0
3 years ago
Read 2 more answers
How are paragraphs distinguished in a website?
torisob [31]

Answer::

Appearance-wise: Paragraphs are distinguished by a whole row of empty space. There may or may not be an indentation at the beginning of a paragraph.

In programming with HTML: Paragraphs are separated with the opening and closing tags <p>text</p>. It creates an empty line of space after each closing tag.

7 0
3 years ago
Read 2 more answers
Other questions:
  • . Consider the following brute-force algorithm for evaluating a polynomial. ALGORITHM Brute Force Polynomial Evaluation(P[0..n],
    14·1 answer
  • What does the acronym API stand for?
    12·2 answers
  • Describe the concepts of Defense in Depth and Detection in Depth. Compare and contrast. What's different? What's similar?
    9·1 answer
  • Windows domain policy to disable windows 10 update
    7·1 answer
  • Cissy looks up a number in the phone book, pushes the book away, and then dials the number. why does she discourage any interrup
    8·2 answers
  • You're going to be mowing lawns as a summer job. How long will it take for your
    14·1 answer
  • How long Will it take me to master scada and plc programming?​
    9·1 answer
  • How is “compromise" defined in the context of information technology and Select one answer.
    5·2 answers
  • A layout with boxes that can be used to make text easier to read."
    5·1 answer
  • 2
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!