Rail road related accidents are more dangerous than other transportation accidents in terms of severity and death rate. Therefore more efforts are necessary for improving safety. There are many railway platforms which are unmanned due to lock of man power needed to fulfill the demands. Hence many accidents occur at such platform since there is no one to take care of the functioning of railway lights when the train approaches the crossing. The main objective of these project is to manage the light control system of railway platform by using VHDL. The proposed model has been designed using XC2S200 FPGA to avoid railway accidents occurring at railway platforms. If implemented detection of train approaching the platform can be sensed by means of two sensors place on either side of platform. These work utilizes that two powerful IR sensor fixed at both sides o f railway platform. We call the sensors along the train directions fore side sensors and the other has aft side. When fore side sensor gets activated ,the sensed signal is sent to the FPGA IC and the whole tubelights get ‘ON’ and stays ‘ON’ until the train crosses the platform and reaches aft side sensors and then half of tubelights get ‘OFF’. Similarly we call the sensors along the train directions as a fore side sensors and the other as aft side sensor. When fore side sensor gets activated, the sensed signal is sent to the FPGA IC and the gate is closed and stays closed until the train crosses the gate and reaches after side sensors. When the side sensors get activated and the signal about the departure is sent to the FPGA motor turns in opposite direction and get opens and motor stop automatically.