Qualcomm Interview Question

Write the verilog of ROB on a paper.