Qualcomm Interview Question

Case in verilog