Synaptic Incorporated interview question

verilog code for mux,FSM,encoder,clock generator