I have completed all the tutorials at the Xillybus portal. Following the steps in Xillybus tutorials: FPGA coprocessing for C/C++ programmers (part V) has not resolved this issue.
I modified the C code into a simple matrix multiplication logic as below:
- Code: Select all
// Matrix Multiplication
for(i = 0; i < 3; i++) {
// Iterate over the columns of the B matrix
for(j = 0; j < 1; j++) {
ycbcr[i][j] = 0;
// Do the inner product of a row of A and col of B
for(k = 0; k < 3; k++) {
ycbcr[i][j] += 1 * rgb[k][j];
}
}
}
You can ignore the logic for now, just a random multiplier of 1 for debugging purposes.
After a successful synthesis in Vivado HLS, the V files are imported into a fresh ISE project provided by Xillydemo bundle. The loopback is edited as in the tutorial to interface with logic instead of looping back the data. When i attempt to generate the new programming file, I get the following error:
- Code: Select all
ERROR:HDLCompiler:1654 - "D:/Dropbox/FYP/Moving_Forward/hls-starter-1.0/coprocess/example/syn/verilog/xillybus_wrapper_sitofp_32ns_32_6.v" Line 33: Instantiating <xillybus_wrapper_ap_sitofp_4_no_dsp_u> from unknown module <xillybus_wrapper_ap_sitofp_4_no_dsp>
When I review the .V files generated by Vivado HLS, there is indeed no xillybus_wrapper_ap_sitofp_4_no_dsp_u.v file generated. The closest thing i could find was a "xillybus_wrapper_sitofp_32ns_32_6.v" file which is where the code for instantiating the unknown module resides.
Removing the matrix multiplication code solves this( I pass the input matrix values out without any manipulation) removes the error i faced.
Was hoping someone could shed some light on the issue I've been facing.
Thanks