Traffic control using FPGA