Recogni interview question

write a round robin arbiter in Verilog