Statistical design, analysis, and diagnosis of digital systems and embedded RF circuits