Algorithms for post-silicon validation and debug of radio-frequency, analog, and mixed-signal circuits and systems