Intel Corporation interview question

Write code in Verilog and C