subject
Engineering, 06.05.2020 01:35 hector87

Suppose we have a cache that can hold a total of 256 bytes with 4 words per block.

Suppose that the cache is designed as a 4-way set associative cache. Compute the set index, offset, and the tag for the following addresses:

0x00000004

0x00000014

0x01000004

0x00000008

0x00000018

0x01000008

In designing the cache controller, we would like to simplify the division and mod operations required for computing the set index, offset, and tags. Specifically, for the cache design given above, we can partition the 32 bits in the address into three fields, one each for the set index, offset, and the tags. State which bits from the address will be used to compute each of the set index, offset, and the tag.

For each of the addresses given above, give another address that will be mapped to the same set but have a different tag.

Suppose that the cache is now designed as a fully associative cache. Compute the offset and the tag for the same set of addresses.

Need help on the 2,3,4

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
You know the right answer?
Suppose we have a cache that can hold a total of 256 bytes with 4 words per block.

Suppo...
Questions
question
History, 06.05.2020 08:43
Questions on the website: 13722367