Full VHDL code for Moore FSM Sequence Detector is presented. A VHDL Testbench is also provided for simulation. The sequence to be detected is "1001".