Qualcomm interview question

Case in verilog