The design of a high speed CMOS image sensor