Question

please solve e & f for this question.

1. (40 points) The Corei7-6700K microprocessor has 3 cache levels about the L2 cache per core and the main memory: (more deta

0 0
Add a comment Improve this question Transcribed image text
Answer #1

f) Physical memory size = 64 GB = 26*230 bytes = 236 bytes

Therefore, the physical address is of 36 bits.

Block Offset is given as 6 bits.

Therefore block size = 26 bytes.

Cache capacity = 256 KB = 28*210 bytes = 218 bytes.

Therefore, the number of blocks in the cache = 218 / 26 = 212

As it is 4 way set associative so, number of sets in the cache = 212 / 22 = 210.

Therefore the index field is of 10 bits.

Remaining bits = 36 - 6 - 10 = 20 bits

Therefore TAG will be of 20 bits.

TAG(20 bits) INDEX(10 bits) BLOCK OFFSET(6 bits)

e) Address = 411234(in decimal) = 00000000000000000110 0100011001 100010

The block containing this address will be mapped to the set 0100011001 = 281(decimal) with the TAG 00000000000000000110.

Now the number of sets before the set 281 = 281 sets [ as address starts from 0]

Now the number of blocks per set = 4 [ as 4 way set associative]

So address of the previous block in cache = 281*4 = 1124

Therefore address of this block in cache = 1125

Add a comment
Know the answer?
Add Answer to:
please solve e & f for this question. 1. (40 points) The Corei7-6700K microprocessor has 3...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Q2. Consider a four-way set associative cache with a data size of 64 KB. The CPU...

    Q2. Consider a four-way set associative cache with a data size of 64 KB. The CPU generates a 32-bit byte addressable memory address. Each memory word contains 4 bytes. The block size is 16 bytes. Show the logical partitioning of the memory address into byte offset, cache index, and tag components.

  • Problem 6. Suppose we have a computer with 32 megabytes of main memory, 256 bytes of...

    Problem 6. Suppose we have a computer with 32 megabytes of main memory, 256 bytes of cache, and a block size of 16 bytes. For each configuration below, determine the memory address format, indicating the number of bits needed for each appropriate field (i.e. tag, block, set, offset). Show any relevant calculations. Direct cache mapping and memory is byte-addressable a) Direct cache mapping and memory is word-addressable with a word size of 16 bits b) c) 2-way set associative cache...

  • 7. In a cache system we have the following attributes: 4 GB of DRAM 256 MB...

    7. In a cache system we have the following attributes: 4 GB of DRAM 256 MB of physical memory space 2 MB of cache IKB per cache line Determine number of lines in cache. a) Determine the number of address bits out of the processor. b) c) Determine the number of bits needed for the block offset section of the address. If our cache is 8-way set associative, how many sets are there in the cache? d) How many bits...

  • Question 6 For the following figure shows a hypothetical memory hierarchy going from a virtual address to L2 cache acce...

    Question 6 For the following figure shows a hypothetical memory hierarchy going from a virtual address to L2 cache access. The page size is 8KB, the TLB is direct mapped with 128 entries. The L1 cache is a direct mapped 8 KB, and the L2 cache is 2MB and direct mapped. Both use 64 byte blocks. The virtual address is 64 bits and the physical address is 41 bits. For each block in the figure below, fill in the number...

  • question 2 and 3 2. Determine how many sets of cache blocks will be there for...

    question 2 and 3 2. Determine how many sets of cache blocks will be there for the following Cache memory size (in bytes) Direct Mapped Blocks Size (in bits) 32 64 218 2-way Set Associative Block Size (in bits) 32 64 A 2A6 [0.5 * 16 = 8] 4-way Set Associative Block Size (in bits) 32 64 SK 64K 256K 3. The physical memory address generated by a CPU is converted into cache memory addressing scheme using the following mapping...

  • please answer $5 UXIF map in the computer uses direct mapping Question 18 5 pts Suppose...

    please answer $5 UXIF map in the computer uses direct mapping Question 18 5 pts Suppose we have a byte-addressable computer using 2-way set associative mapping with 16-bit main memory addresses and 32 blocks of cache. Suppose also that each block contains 8 bytes. The size of the block offset field is bits, the bits. size of the set field is bits, and the size of the tag field is 5 pts Question 19 Suppose we have a byte-addressable computer...

  • Suppose a computer using a fully associative cache has 232 bytes of byte-addressable main memory and...

    Suppose a computer using a fully associative cache has 232 bytes of byte-addressable main memory and a cache of 1024 blocks, were each cache block contains 32 bytes. Consider a memory address as seen by the cache. How many bits are in the tag field?

  • A processor outputs the hexadecimal address: AA0893BF, with the following partitioning: AA0 (Tag) 890 (Index) BF...

    A processor outputs the hexadecimal address: AA0893BF, with the following partitioning: AA0 (Tag) 890 (Index) BF (Offset) Assume that the memory space is Byte addressable. Note that the parts below are not related to each other, i.e treat them separately. a. If Direct Mapped Cache is used, how many bytes are in the cache? b. If Two-Way Set Associative Cache is used, how many sets are in the entire cache? c. If Two-Way Set Associative Cache is used, how many...

  • 0. (10 Points) A four-core i7 has a 8 MB L3 cache 8-way set associative of...

    0. (10 Points) A four-core i7 has a 8 MB L3 cache 8-way set associative of block size 32 bytes. It uses 30-bit block address (36-bit physical address, 6-bit block offset). What is the addressing organization of L3? ANSWER Block Address - Block offset Index Tag-

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT