Question
A 4 kilobyte (KB) byte-addressable memory is realized using four 1 KB memory blocks. Two input address lines (IA4 and IA3) are connected to the chip select (CS) port of these memory blocks through a decoder as shown in the figure. The remaining ten input address lines from IA11–IA0 are connected to the address port of these blocks. The chip select (CS) is active high.
The input memory addresses (IA11–IA0), in decimal, for the starting locations (Addr=0) of each block (indicated as X1, X2, X3, X4 in the figure) are among the options given below. Which one of the following options is CORRECT?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2023 answer key
Solution
Identify the bit positions of IA4 and IA3 in the address bus to find starting addresses where Addr = 0.
- The 12-bit address bus is .
- The 10 address lines connected to
Addrof each block are and . For the starting location of each block, , meaning all these 10 lines must be . - The chip select lines are driven by the decoder inputs:
- (weight )
- (weight )
- Evaluating the starting address for each decoder output:
- For block ( enabled):
- For block ( enabled):
- For block ( enabled):
- For block ( enabled):
Thus, the starting decimal addresses are .
Option (C)
Assuming the decoder lines are the most significant bits (which would give ).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2023 Computer Science and Information Technology (CS)
- Question
- 42 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.