Pergunta de entrevista da empresa SerialTek

Write the VHDL or Verilog code for a given state machine diagram.