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