Integrated circuit and storage device

The present invention relates to an integrated circuit. The integrated circuit of the present invention is a receiving circuit for connecting the input and output pads, input-output pad is coupled to the drive circuit, input and output pads for outputting the output signal to the external device via the input-output pad and receive an input signal to input-output pads from the external device, and receives in response to the signal outputted from the circuit, it comprises a code generator for generating a termination code of the external device for transmitting an input signal to the input-output pads.