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, 22.06.2019 12:40
The most complicated four letter word
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
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
English, 23.08.2019 06:10
question
Mathematics, 23.08.2019 06:10
question
Mathematics, 23.08.2019 06:10
question
History, 23.08.2019 06:10
Questions on the website: 13722361