Digitally-assisted analog/RF testing for mixed-signal SoCs