How to generate a ramp voltage in Cadence SpectreRF (or AMS)? I am designing a compartor and need to give a ramp voltage at one of its inputs, the other input being a dc voltage. Can anyone suggest me ideas to generate a ramp voltage.
For simulation purpose, use a piecewise linear (PWL) voltage source.
For a real circuit, inject (constant) current into a capacitor and use a reset circuit.