A non-inverting Schmitt trigger driven by a behavioural 5V peak to peak 1kHz cosine voltage source with an exponential startup from a 2.5V DC offset at a time constant of 250us, hard limited at 0.5V...