Replies: 3 comments
|
Refer to: https://docs.xilinx.com/r/en-US/pg021_axi_dma/MM2S_DMASR-MM2S-DMA-Status-Register-Offset-04h See if it provides any clues. Jiin |
0 replies
|
See if you can print the returned error code, it may give you a better idea of which error is. Jiin |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Hi. I am using AXI Stream interface to transmit a vector type data. As in the following code, I pack a vector in hls::axis and then I pack it in hls::stream.
typedef signed int int32_t;
typedef hls::vector<int32_t, 8> int32_vt;
typedef hls::axis<int32_vt,1,1,1> value_t;
typedef hls::stream<value_t> stream_t;
I have passed CSim, CSynth, CoSim, and used Vivado to generate the .bit and .hwh files. (I have also checked that the TLAST signal is correct.) But I don't know how to write the Python code to run it on FPGA.
I have tried to use np.int32 Buffer or the buffer below:
dt = np.dtype((np.int32, 8))
Buffer = allocate(shape=(NumSample,), dtype=dt)
But both of them have the same problem that they cannot pass recvchannel.wait(), as the following error shows:
Does anyone know how to solve this?
Thanks.
All reactions