Development of FPGA-based Programmable Timing Controller