HDL Coder and Bitstream Programming Insight Needed

4 次查看(过去 30 天)
I am trying to program the DAC PL-DDR Transmit example ( https://www.mathworks.com/help/hdlcoder/ug/hdl-dac-PL-DDR4-transmit.html ) to my ZCU216 board. I have already asked a question about this a few days ago but will make this one more broad to give it a better chance of being answered.
When generating and programming the bitstream, I ensure that the AXI4 Stream Interface is 128 bits wide. However, when I run the addAXI4StreamInterface() function, a prequisite to writing to the port from MATLAB for testing purposes, I am getting data mismatch errors that can be resolved by changing the inteface width to 64 bits. So, clearly the programmed FPGA is expecting the function to request 64 bits and not 128.
My question is: what kind of troubleshooting steps are aviailable for an issue like this? Trying to explore these functions, you run into .p files quickly, so it's been impossible so far to see what's going on under the hood.
  4 个评论
Umar
Umar 2024-8-27
Hi @ Thomas J Kelly,
While it is indeed strange that a 128-bit operation would be deemed impossible given your context, it is crucial to remember that hardware capabilities often dictate operational limits. In cases where direct use of 128 bits proves unfeasible, consider implementing techniques such as packetization or multiplexing your data streams over multiple channels, if applicable.
Lastly, keep an eye on software updates from Xilinx for MATLAB interfaces, as newer versions may address existing issues or introduce improved functionalities for handling wider data paths.
Thomas J Kelly
Thomas J Kelly 2024-8-27
@Umar thanks for the insight, I'll keep working at it. What I meant by "strange" is that the example is fully worked in the link that I included, and the ZCU216 is explicitly listed as one of two compatible devices. So, I'm still confident that this is supposed to work in a straighforward way, and the issue is somewhere on my end.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by