TOT measurement implemented in FPGA TDC*Supported by National Natural Science Foundation of China (11079003, 10979003). (November 2015)