The Edge Detector is a simple circuit that allows you to reveal the edge of an input digital signal. Here you can get the VHDL code of an edge detector