GATE / CS ARCHIVE

GATE CSE 2019 / QUESTION 2

Decoding a DRAM chip-select address range

Computer Organization & Architecture · Memory Organization & Address Translation · Full GATE CSE 2019 paper

GATE 2019, Q2 1 mark · MCQ
Report issue

Memory Organization & Address Translation

Question 2, GATE 2019: Sixteen address lines are A15 through A0. A five-input AND chip-select gate receives A15, A14, inverted A13, inverted A12, and A11. Which address range enables the chip? Choices: A C800–CFFF; B CA00–CAFF; C C800–C8FF; D DA00–DFFF, all hexadecimal.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Method: turn the gate into fixed high-order bits and let every unused low-order address bit vary.

1. The active-high AND output is CS = A15 AND A14 AND NOT A13 AND NOT A12 AND A11. It is 1 only when A15…A11 = 11001.
2. Address lines A10…A0 do not enter the gate. Their 11 bits may take any values, giving 211 = 2048 consecutive addresses for the selected chip.
3. The lowest address sets those bits to zero: 1100 1000 0000 0000 in binary, or C800 in hexadecimal.
4. The highest address sets them all to one: 1100 1111 1111 1111, or CFFF. The number of addresses is CFFF − C800 + 1 = 0800 hexadecimal = 2048, agreeing with step 2.

Result: A, C800 through CFFF inclusive. The circles on A13 and A12 are inversions, so those original address lines must be zero, not one.

Original paper, page 4 · Answer key