Question

The chip select logic for a certain DRAM chip in a memory system design is shown below. Assume that the memory system has 16 address lines denoted by A15A_{15} to A0A_0. What is the range of addresses (in hexadecimal) of the memory system that can get enabled by the chip select (CS) signal?

Logic diagram showing a 5-input AND gate with inputs A15, A14, inverted A13, inverted A12, and A11, generating chip select signal CS
Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2019 answer key

Solution

Determine the logic condition that asserts the chip select signal CS from the 16-bit address lines.

The circuit shows an active-high chip select signal CS\text{CS} driven by a 5-input AND gate with inputs from address lines A15,A14,A13,A12,A11A_{15}, A_{14}, A_{13}, A_{12}, A_{11}.

Inversion bubbles are present on the lines for A13A_{13} and A12A_{12}. Therefore, the output CS\text{CS} is 11 if and only if:

A15=1,A14=1,A13=0,A12=0,A11=1A_{15} = 1, \quad A_{14} = 1, \quad A_{13} = 0, \quad A_{12} = 0, \quad A_{11} = 1

The remaining 11 address lines A10A_{10} through A0A_0 are not connected to the chip select logic and can take any value from 00 to 11.

Converting to hexadecimal:

  • The most significant 5 bits are 11001211001_2.
  • When A10…A0=000 0000 00002A_{10} \dots A_0 = 000\,0000\,0000_2:
    1100 1000 0000 00002=0xC8001100\,1000\,0000\,0000_2 = \text{0xC800}
  • When A10…A0=111 1111 11112A_{10} \dots A_0 = 111\,1111\,1111_2:
    1100 1111 1111 11112=0xCFFF1100\,1111\,1111\,1111_2 = \text{0xCFFF}

Thus, the enabled address range is C800 to CFFF\text{C800 to CFFF}.

Final answer

A

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2019 Computer Science and Information Technology (CS)
Question
12 of 65, printed as CS Q.2
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.