Hi everyone! A few weeks ago I posted a thread asking for help with a triangle signal generator. It was for the class D amp I was designing. Now I mae the entire circuit, but the waveforms are quite messed up.
Here is my circuit:

The triangle signal generator and comparator I designed myself, the rest of the circuit I took it from here. This is the simulation of the waveforms:
On the first pane are a 1kHz sinusoidal input signal and the triangular signal, on the second is the PWM that the comparator is outputting and on the third is the amplified sinusoidal signal. But there are some huge spikes on the PWM and on the triangular signal, which ruin the output signal. Here is also a zoomed in picture of the waveforms:
What did I do wrong in the circuit? Taken separately, the triangle signal is generated ok and the comparator works as intended. I believe there is something wrong with the IR2110 model, even though I downloaded it from Infineon's website. Either that or the wire configuration leading to it. Any thoughts? Thanks in advance!
Here is my circuit:

The triangle signal generator and comparator I designed myself, the rest of the circuit I took it from here. This is the simulation of the waveforms:

