A diode clipping circuit can be used to limit the voltage swing of a signal. Figure 4.12 shows a diode circuit that clips both the positive and negative voltage swings to references voltages.
Figure 4.12: Diode clipping circuit and its output
waveform.