subject

Consider a processor with a direct-mapped write-through cache with 8 blocks each with a double word. Assume that the memory address is 48 bits wide and the memory is byte-addressable. (a) Show the layout of the cache, including the data, valid and tag bits, and any logic required to determine hit/miss and select the appropriate data item when reading from the cache. Also, indicate which bits in the 48-bit memory address are used as block offset (if applicable), byte offset, tag, and index, and show where each of these groups of bits are used in the cache architecture. Make sure to label the width of all fields and signals.
(b) What is the total amount of memory (in bytes) required to build this cache (including both data and other necessary bits)? (show calculations)
(c) What is the block offset (if applicable), byte offset, tag, and index for byte address 56? Give your answer in decimal notation.
(d) What is the block offset (if applicable), byte offset, tag, and index for double-word address 56? Give your answer in decimal notation. Note: A double address refers to the memory address without the byte offset (the most significant 45 bits of the address)
(e) Given the series of double-word addresses: 2, 5, 10, 7, 1, 5, 2, 9, 7, Complete the table below. Assume the cache is initially empty. Label each reference as a hit or a miss and show the final contents of the cache in the diagram you drew under (a). Address Index Tag Hit/Miss 2 5 10 7 1 5 2 9 7 (f) The following miss rate measurements have been made. Instruction miss rate is 6%; data miss rate is 8%. Assume that one-half of the instructions contain a data reference and that the cache miss penalty in no. of clock cycles is (6 + (Block size in double-words)). Calculate the average miss penalty per instruction.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 07:20
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. this can be done by normalizing to values between 0 and 1, or throwing away outliers. for this program, adjust the values by subtracting the smallest value from all the values. the input begins with an integer indicating the number of integers that follow. ex: if the input is 5 30 50 10 70 65, the output is: 20 40 0 60 55
Answers: 1
question
Computers and Technology, 25.06.2019 07:00
Afile named data.txt contains an unknown number of lines, each consisting of a single integer. write some code that creates two files, dataplus.txt and dataminus.txt, and copies all the lines of data1.txt that have positive integers to dataplus.txt, and all the lines of data1.txt that have negative integers to dataminus.txt. zeros are not copied anywhere.
Answers: 2
question
Computers and Technology, 25.06.2019 08:20
E-commerce builds on traditional commerce by adding the flexibility that networks offer and the availability of the internet. - true or false
Answers: 1
You know the right answer?
Consider a processor with a direct-mapped write-through cache with 8 blocks each with a double word....
Questions
question
Mathematics, 26.01.2020 14:31
question
Mathematics, 26.01.2020 14:31
question
Mathematics, 26.01.2020 14:31
Questions on the website: 13722366