Explore BrainMass
Share

Explore BrainMass

    Set Associative Cache: Main Memory Address Format

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Given a word addressable machine, with following memory configuration.

    - 64 cache lines divided into 4 sets.
    - main memory contains 4K blocks of 128 words each.

    How does the main memory address format look?

    © BrainMass Inc. brainmass.com October 9, 2019, 8:17 pm ad1c9bdddf
    https://brainmass.com/computer-science/memory/set-associative-cache-main-memory-address-format-145888

    Solution Preview

    Since 64 cache lines are divided into 4 sets, so the number of lines in each set = 64/4 = 16
    Since each cache line can hold one memory block, so size of each line = 128 words

    There are 4K i.e. 4096 blocks in main memory. To ...

    Solution Summary

    The solution describes the computation of 19 bits address format, used to address a word in the main memory.

    $2.19