12-23-2014 03:51 AM
I was trying to use xapp1170 (Hardware Accelerator for Matrix Multiplication) in one project on face recognition. I need matrix multiplication of rectangular matrices with large dimensions(like: 1x1665 and 1665 x 9). For this before going to SDK, i need to verify whether Vivado HLS generates accurate RTL. Thus I have to do C/RTL Co-simulation. For Co-simulation, I must have testbench that will call the function to be synthesized. What Xilinx provides with xapp1170 is self-checking program file (not a separate testbench), hence Co-simulation will not work here. So i need to make separate testbench. Here I am having problems. I tried to move main() in another file(testbench), but had errors. I also tried to use header files but efforts went in vain as I am not familiar with use of template in cpp. So if anyone helps me, I shall be highly grateful to him/her. Thanks in advance.
12-23-2014 04:19 AM