Issue Connecting to Xilinx FPGA Board for Simulation (Windows ,ZYNQ) Error:Did not receive version information from the hardware.
34 次查看(过去 30 天)
显示 更早的评论
I was trying to connect to my Xilinx ZYNQ FPGA board using MATLAB to run an FPGA-in-the-loop simulation, and I keep getting an error message. This error occurs in the validation Test when I usng the New FPGA Board Wizard.
Here is the result:
To stop the test, press "Ctrl+C" in the MATLAB console window.
Starting FPGA-in-the-Loop test ...
Generating FPGA programming file ...Passed
Programming FPGA ...Passed
Running FIL simulation ...Failed
Error:Did not receive version information from the hardware. You must have a valid connection, a compatible development board, and compatible versions of the block and FPGA programming file.
Here are the screenshots:




I've tried looking at all the other MATLAB forum posts for this issue, The URL of the most relevant question I found is :Issue Connecting to Xilinx FPGA Board for Simulation - MATLAB Answers - MATLAB Central (mathworks.cn)
Thanks to Max and YP's discussion, I finally had a clue to solve the problem. But it seems that this way does not solve the problem I am experiencing.
Here's what I've tried:
- Change the number of the JTAG Chain Position, but it turns out that only 2 can load the bitstream properly.
- Since the Reset pin is an optional setting, I chose not to set its information. But it didn't work
- Lowering the JTAG Clock Frequency from the default 66MHz, although I've lowered it to 1MHz, has no effect
- Compare the BSDL information in (Downloads (xilinx.com)), but I didn't find anything to change here. This is because the default User 1-4 instructions in the New FPGA Board Wizard are the same as those provided in xc7z020_clg400.bsd. This proves them right.
- Tried the fix file provided by YP in problem (Issue Connecting to Xilinx FPGA Board for Simulation - MATLAB Answers - MATLAB Central (mathworks.cn)), again did not solve my problem.
Here is my Version Information: Windows 10, Vivado 2018.3, Matlab R2021a
And the Information of my hardware:
- Digilent(R) JTAG HS2 cable. https://digilent.com/reference/_media/reference/programmers/jtag-hs2/jtag-hs2_rm.pdf
- The schematic of the development board's backboard and core board is in the attachment, and I also took a photo of the hardware. I can post it because it's a public resource on the web.

I would be very grateful and again if anyone could provide some help!
0 个评论
采纳的回答
YP
2023-6-5
编辑:YP
2023-6-6
As mentioned on this help doc.
https://www.mathworks.com/help/hdlverifier/ug/fpga-board-editor-reference.html
If you are using a Zynq device, and it is the only item in the device chain, enter 4 in Sum of IR length before and 0 in Sum of IR length after.
7 个评论
YP
2024-12-21
Hi Bharat,
The dataset is already attached in the OP's question.
Since you are facing a different issue, please ask question in a new thread, other than commenting on this answered one.
Bharat Bohara
2024-12-27
Hi YP,
I have posted my question here: https://www.mathworks.com/matlabcentral/answers/2172373-how-can-i-establish-hardware-in-loop-implementation-of-pynq-z2-on-matlab-using-filwizard. Could you please check this, I have done exactly what you have suggested. Thank you for your time.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hamamatsu Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!