12 views

A computer system with a word length of 32 bits has a 16 MB word- addressable main memory and a 64 KB, 4-way set associative cache memory with a block size of 256 bytes. Consider the following four physical addresses represented in hexadecimal notation.

A1 = 0x42C8A4,
A2 = 0x546888,
A3 = 0x6A289C,
A4 = 0x5E4880 

Which one of the following is TRUE ?

 A A1 and A4 are mapped to different cache sets. B A2 and A3 are mapped to the same cache set. C A3 and A4 are mapped to the same cache set. D A1 and A3 are mapped to the same cache set.

@swami_9

## B. A2 and A3 are mapped to the same cache set...

computer system with a word length of 32 bits has a 16 MB byte-addressable main memory and a 64 KB, 4-way set associative cache memory with a block size of 256 bytes....

The memory is already byte-addressable, so there is no use of word length but it is also mentioned that system has a word length of 32 bits. Word length is mentioned so that students get confused and waste their time and mess up their exam...

633 points
0
0

@swami_9

## Memory is a storage component in the Computer used to store application programs.

The Memory Chip is divided into equal parts called as “CELLS”. Each Cell is uniquely identified by a binary number called as “ADDRESS”.

For example, the Memory Chip configuration is represented as ’64 K x 8′ as shown in the figure below...

The following information can be obtained from the memory chip representation shown above: 1. Data Space in the Chip = 64K X 8 2. Data Space in the Cell = 8 bits 3.

Address Space in the Chip = \log_{2} (64 K)=16 bits Now we can clearly state the difference between Byte Addressable Memory & Word Addressable Memory....

## When the data space in the cell = word length of CPU then the corresponding address space is called as Word Address....

Based on this data storage i.e. Bytewise storage, the memory chip configuration is named as Byte Addressable Memory.

Based on this data storage i.e. Wordwise storage, the memory chip configuration is named as Word Addressable Memory.

For eg. : 64K X 8 chip has 16 bit Address and cell size = 8 bits (1 Byte) which means that in this chip, data is stored byte by byte...

For eg. : For a 16-bit CPU, 64K X 16 chip has 16 bit Address & cell size = 16 bits (Word Length of CPU) which means that in this chip, data is stored word by word.…

NOTE :

i) The most important point to be noted is that in case of either of Byte Address or Word Address, the address size can be any number of bits (depends on the number of cells in the chip) but the cell size differs in each case.

ii)The default memory configuration in the Computer design is Byte Addressable ....

0

@swami_9