Advanced Digital Logic Design Using VHDL, State Machines, and Synthesis for FPGA's