GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 46

Decoder hierarchy for a 16K by 16 memory

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

GATE 2013, Q46 2 marks · MCQ
Report issue

Memory Organization & Address Translation

Question 46, GATE 2013: Build16K×16 RAM from 1K×8 chips. How many 2-to-4 decoders with enable are needed? A4, B5, C6, D7.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Two 1K×8 chips operate in parallel to supply each 16-bit word, making one 1K×16 bank. Sixteen such banks give 16K×16, so there are 32 memory chips but only 16 bank-select signals. The low ten address bits select a word within a bank; the upper four bits select the bank. Construct the required 4-to-16 decoding with one 2-to-4 decoder on the upper two bank bits. Its four outputs enable four further 2-to-4 decoders, each decoding the lower two bank bits. The total is 1+4=5 decoders, option B. Four bottom-level decoders are needed to provide sixteen outputs and an additional level is needed to select their enables.

Separate width expansion from depth expansion. Pairing two 8-bit chips gives 16 data bits at one address; it does not double the number of addresses. Sixteen such pairs are needed for 16Kdepth. A4-bit bank number chooses one pair, while 10low address bits are broadcast to all chips. A top decoder selects one group of four pairs, and four enabled bottom decoders select within each group. This produces 16mutually exclusive bank enables with five decoders; it is not one decoder per memory chip.

Original paper, page 10 · Answer key