HDL code for Elevator operation simulation