- A Suppose A Computer Has 256 Bytes Of Memory And An 4 Block Cache Of 8 Bytes Each The Computer Uses A Direct Mapping 1 (93.93 KiB) Viewed 33 times
a. Suppose a computer has 256 bytes of memory, and an 4-block cache of 8 bytes each. The computer uses a direct mapping
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
a. Suppose a computer has 256 bytes of memory, and an 4-block cache of 8 bytes each. The computer uses a direct mapping
a. Suppose a computer has 256 bytes of memory, and an 4-block cache of 8 bytes each. The computer uses a direct mapping approach for addressing the cache. a. What is the format of a memory address as seen by the cache, i.e., what are the sizes of the tag, block, and offset fields? (5 points) b. Trace memory accesses that are listed in the following table for direct mapping approach. (20 points) c. What is the cache hit rate? (5 points) Binary address Hit or Miss Comments Address Reference Ox02 Ox00 Ox08 Ox14 0x10 OxОА Ox1B 0x56 Ox1D Ox1F