NVIDIA interview question

Write the code for a block in verilog