I tried to simulate the following PWM generator:
The output at the PWM node records a constant voltage, not a PWM signal. So I simulated the sawtooth generator separately
And the output of this generator too isn't what it is supposed to be:
So what might be the problem with this sawtooth generator?