but when I try to send it with AXI stream, the AXI stream throws an error...
Which error?
You will need to share many more details to get help/advice.
An AXI Stream endpoint/sink provides no status/error/reporting, it is either accepting data or it is not.
hello, this is my way of sending the matrices to AXI stream, let me know if you need more details :
*(accelCtrl+0) = 0x00000002;
xil_printf("slv_reg0 mat A2: 0x%08x\n\r", *(accelCtrl+0));
// DMA transfers matrix A2 to the accelerator
status = XAxiDma_SimpleTransfer(&AxiDma,(int) weights_layer1_part2, layer_part_1_size, XAXIDMA_DMA_TO_DEVICE);
if (status != XST_SUCCESS) {
xil_printf("Error: DMA transfer matrix A2 to accelerator failed\n");
return XST_FAILURE;
}
// Wait for transfer of matrix A2
while (XAxiDma_Busy(&AxiDma, XAXIDMA_DMA_TO_DEVICE)) ;
I am able to send arrays of int with size 30x10 to the AXI stream but unable to do so when I try to send arrays larger than that...is there anything that I have to configure on the PL side?