Qualcomm Interview Question

Write the Verilog code for the round-robin arbiter. Write the verilog code for the Hamming (7,4) error detection and error correction.