Analysis and Design of Resilient VLSI Circuits: Mitigating Soft Errors and Process Variations