Jane Street interview question

How to implement 2d convolution in systemverilog