OA. free
Free
MathWorks Embedded Systems Embedded Systems & Hardware Medium

Question 7: Memory Interleaving In memory interleaving, the lower order bits of the address...

MathWorks technical mcq question, verified with a worked answer. Free to practise - no sign-up.

Question 7: Memory Interleaving

In memory interleaving, the lower order bits of the address are used to:

Choose one option.
Show answer & explanation
Answer: B. Get the address of the module

In memory interleaving, the address is partitioned into two parts: lower-order bits select which memory module (bank) to access, while higher-order bits specify the location within that module. The lower-order bits directly determine the module address. Option C is incorrect because selecting the intra-module address requires the higher-order bits, not the lower-order bits.

Step-by-step Derivation:
Memory interleaving divides physical memory into multiple independent modules (banks). Address decoding: Lower-order bits (e.g., bits 0-1 for 4-module interleaving) → Module selector; Higher-order bits → Intra-module offset. Example: In 2-way interleaving with 16-bit address, bit 0 selects between module 0 and module 1, while bits 1-15 specify the location within the selected module. Therefore, lower-order bits determine which module is accessed.