Electrical properties of CMOS circuits and device modeling