A 180-nm CMOS time-of-flight 3-D image sensor