Arm interview question

They asked to code using Verilog.