Accurate and efficient PSD computation in mixed-signal circuits: a time domain approach