Discriminators in 65 nm CMOS process for high granularity, high time resolution pixel detectors