Intel Corporation Interview Question

Write code in Verilog and C