A semiconductor memory device includes a code channel for outputting a
plurality of code signals based on a code control signal inputted from an
external source; a termination resistor decoder for decoding a chip
selection signal, an on die termination (ODT) control signal and the
plurality of code signals and outputting a plurality of selection signals
based on decoded signals; and an ODT block for providing an output data
pad with impedance of a termination resistor which is selected in
response to the plurality of selection signals.