GATE / CS ARCHIVE

GATE CSE 2023 / QUESTION 42

GATE CSE 2023 Q42

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

GATE 2023, Q42 2 marks · MCQ
Report issue

Memory Organization & Address Translation

Question 42, GATE 2023: Four 1 KiB blocks form a 4 KiB byte-addressed memory. External IA4,IA3 select blocks X1,X2,X3,X4 through decoder outputs 00,01,10,11; the other ten address lines feed each block's internal address. Find the external decimal addresses where internal Addr=0 for X1 through X4.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

The internal address lines are all external lines except IA4 and IA3. Internal Addr=0 forces every one of those ten lines to 0. The four blocks are then selected by(IA4, IA3)=00, 01, 10, 11, whose external numeric contributions are 0, 8, 16, 24. Thus C. These are the starts in the interleaved external address map, not contiguous 1024-byte block boundaries.

Teaching detail. The address bits used for selection do not feed the internal address port. Setting internal Addr=0 therefore fixes IA11..IA5 and IA2..IA0 to zero, while leaving IA4,IA3 free to encode the selected block. Their binary place values are 16 and 8. This is an interleaved address mapping: the internal address can change as lower external bits change and block selection can change at bit 3. Assuming the chip-select lines are the two most significant bits would incorrectly produce 0,1024,2048,3072.

Original paper, page 43 · Answer key