MATLAB: I want to convert matlab code to verilog for the image processing project using hdl coder, i have the code but i dont know how to divide the code into function and test bench, please help me. I m using matlab r2018a version.

HDL Coderimage processing

if true
% code
end

Best Answer

Here is an an example showing how to create the design and testbench MATLAB code.
Related Question