CMOS circuit design layout and simulation