A resistive attenuator and a method for improving
linearity of the resistive attenuator are provided. The resistive attenuator includes a first
transistor, an attenuation circuit and a compensation circuit, wherein both the first
transistor and the attenuation circuit are coupled between an input terminal and an output terminal of the resistive attenuator, and the compensation circuit is coupled to the first
transistor. The first transistor is configured to provide a first
signal path between the input terminal and the output terminal. The attenuation circuit is configured to provide a second
signal path between the input terminal and the output terminal, wherein
signal attenuation of the second signal path is greater than signal attenuation of the first signal path. The compensation circuit is configured to compensate
nonlinear distortion caused by the first transistor.