Embedded test circuits and methodologies for mixed-signal ICs