1. Suppose a byte-addressable computer using a cache has 2^21 bytes of main memory and a cache of 64 blocks, where each

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1. Suppose a byte-addressable computer using a cache has 2^21 bytes of main memory and a cache of 64 blocks, where each

Post by answerhappygod »

1. Suppose a byte-addressable computer using a cache has
2^21 bytes of main memory and a cache of 64 blocks,
where each cache block contains 4 bytes.
a. If this cache is Direct Mapped, what is the format of a
memory address as seen
by the cache, that is, what are the sizes of the tag, set, and
offset fields?
b. If this cache is fully associative, what is the format
of a memory address as seen by the cache?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply