MATLAB: Generation matlab to VHDL

matlab codervhdl

Hello my friends,i convert my code matlab to VHDL with MATLAB coder ,when i tested my code c in vivadeo HLS ,i get this problem"cannot find a c test bench".what can i do about this problem?some help please.

Best Answer

I'm not sure you want to be attempting to perform HLS on HDL source code. HLS is normally a C/C++ based flow, not an HDL flow. It looks like Vivado HLS is expecting the test bench to be written C/C++ due to this. In any case, this is an issue in using the Xilinx Vivado tool and not an issue with HDL Coder or other MathWorks tools.