等待Axi写作响应时期。

13 views (last 30 days)
Praneet Kala
Praneet Kala 2020年9月28日
Answered: Nadatimujon 26 Feb 2021
通过JTAG路由成功运行HDLWA之后,我在MATLAB中创建一个AXI Master对象,然后尝试写入内存到特定寄存器,但我会收到一个错误:
H.WriteMemory(hex2dec('a4000100'),6)
使用fpgadebug_mex错误
等待Axi写作响应时期。MATLAB AXI Master IP上的Aresetn信号卡在活跃的低位上。
Error in hdlverifier.AXIMasterJTAG/writememory
I am not sure if it's my setup in Vivado that's incorrect but would appreacite any guidance/help on this error.
I am using R2020a with Vivado version 2018.2. Windows 10 OS, the model is built in Simulink and I created a custom reference deign. I use the HDLWA to create an IP Core that fits into a larger design. The JTAG is a USB 2.0 type A to type B an the board settings were changed to use this configuration. I am using the Blining LED example in Simulink.

答案(2)

Kiran Kintali
Kiran Kintali on 30 Sep 2020
This is insufficient info to answer the question. Someone to answer this question would need to know the following details at the minimum to sufficently diagnose the issue you are facing.
  • What version of HDL Coder and HDL Verifier are you using?
  • Are using MATLAB only workflow or is it reproducible in Simulink as well?
  • 您正在使用Vivado吗?什么释放?
  • 您是否专门针对一个现场板?如果是这样,细节将有用
  • Are you using MathWorks supplied reference design or did you build you own?
  • What is your platform (Windows/Linux)?
  • What kind of JTAG cable?
  • 您尝试过任何运输示例吗?您看到相同的行为吗?
  • 我敢肯定我在这里错过了几个其他人...
6条评论
Nadatimuj
Nadatimuj 2021年2月25日
你好 @Praneet Kala Thanks for your quick response. I am not using any SD card. My Kintex Ultrascale KU040 board is connnected to my PC with a micro USB cable through the on-board Digilent USB-JTAG module. I used this for programming and also using this for writing data. My board doesn't have any SoC too. I am just trying to write to a memory mapped slave register through the AXI master. I am attaching my project as well as a screenshot of the block design. You can also download my project: https://drive.google.com/file/d/1m9cedvr442vkihgpodfa4uxsa7h5vv2l/view?usp = sharing
如果您可以提出任何真正有用的东西。我被困了2天。

Sign in to comment.


Nadatimuj
Nadatimuj on 26 Feb 2021
My issue was, I didn't use crystal clock. I used create_clock only as the Matlab documentation showed. Using differential crystal clock solved my problem.
谢谢你的帮助。

Tags

下载188bet金宝搏

社区寻宝

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

开始狩猎!