Silicon Labs Interview Question

State Machine, Verilog code writing