Design of rail-to-rail CMOS operational amplifiers for a 3-V supply /