This is a basic 2D convolution accelerator. All source code is in the folder:
https://github.com/sdrangan/hwdesign/tree/main/demos/conv2d