Analysis and design of reliable mixed-signal CMOS circuits