Nanometer CMOS ICs: from Basics to ASICs