15. <12 pts> Given: Cache with tag:8 bits, index: 8 bits,block offset: 4 bits. Direct mapped. We have the following Ccode: memcpy(0x43A4, 0x15E2C, 0x3C). Copy 0x3C bytes from0x15E2C to 0x43A4 1 byte at a time. (Hint: Think about alladdresses accessed, both source and destination.)
15.a. ( 3.0 pts) How many total rows in thecache are accessed?
15.b. ( 3.0 pts) Assuming the cache isinitially empty, how many compulsory misses will occur based on thesource address ONLY?
15.c. ( 3.0 pts) Assuming the cache isinitially empty, how many cache hits will happen based on thedestination ONLY?
15. <12 pts> Given: Cache with tag:8 bits, index: 8 bits, block offset: 4 bits. Direct mapped. We have the following C c
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am