完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我试图从xapp1052识别PCIe BMD示例中的主要数据端口,以便我可以在其中添加我的设计。
我试图为PCIe接收数据[63:0] trn_rd添加一些常量值。 但是在我给出一个ReadData()的软件部分(PC中的PCIe应用程序)中,我收到了与WriteData()函数一样的值。 有谁知道我应该使用哪个端口来操纵PCIe中接收和传输的数据? 安德烈 以上来自于谷歌翻译 以下为原文 I am trying to indentify the main data ports in the PCIe BMD example from xapp1052, so that I can add my design in it. I am trying to add some constant value to the PCIe received data [63:0] trn_rd . But In the software part (PCIe application in the PC) when I give do a ReadData() I receive the same value that I wrote with WriteData() function. Does anyone know which port should I use to manipulate the received and transmitted data in PCIe ? Andre |
|
相关推荐
3个回答
|
|
嗨,
我认为您需要查看应用程序以了解如何生成有效负载。 据我所知,数据包是以应用程序GUI中指定的固定模式启动的,然后通过链接发送。 我相信您尝试理解的数据端口是用于传输和接收的trn接口。 Yuo可以在pcie核心用户指南中找到接口详细信息。对于virtex-6设备,请参阅ug517。 如果你看一下xapp1052文档“探索总线主设计”部分,它说 启动器使用特定数据模式发送Memory Writes。 每个DWORD 有效负载中包含写DMA数据模式寄存器的内容(参见“写DMA” 数据模式(WDMATLPP)(014H,R / W),“第31页)。 因此,您可能需要更改DMA模块中的逻辑以获得自己的流量模式。 问候, KR -------------------------------------------------- --------------------------------------------请注意 - 请注明 答案为“接受为解决方案”,如果提供的信息是有帮助的。给予您认为有用的帖子。感谢 - ------------------------- ------------------------ ------------------- 在原帖中查看解决方案 以上来自于谷歌翻译 以下为原文 Hi , I think you need to look into the application to understand how the payload is generated. As far as i understand the packets are initiated with fixed pattern specified int he application GUI and then they are sent across the link. I believe the data ports you are trying to understand are trn interface for transmit and receive. Yuo can find the interface details in the pcie core userguide.Like ug517 for virtex-6 device. If you look at the xapp1052 document " Exploring the Bus Master Design" section , it says The initiator sends Memory Writes with a specific data pattern. Each DWORD in the payload contains the contents of the Write DMA Data Pattern register (see “Write DMA Data Pattern (WDMATLPP) (014H, R/W),” page 31). So probably you need to change the logic in the DMA modules for having your own traffic pattern. Regards, KR ---------------------------------------------------------------------------------------------- Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful. Give Kudos to a post which you think is helpful. ---------------------------------------------------------------------------------------------View solution in original post |
|
|
|
嗨,
我认为您需要查看应用程序以了解如何生成有效负载。 据我所知,数据包是以应用程序GUI中指定的固定模式启动的,然后通过链接发送。 我相信您尝试理解的数据端口是用于传输和接收的trn接口。 Yuo可以在pcie核心用户指南中找到接口详细信息。对于virtex-6设备,请参阅ug517。 如果你看一下xapp1052文档“探索总线主设计”部分,它说 启动器使用特定数据模式发送Memory Writes。 每个DWORD 有效负载中包含写DMA数据模式寄存器的内容(参见“写DMA” 数据模式(WDMATLPP)(014H,R / W),“第31页)。 因此,您可能需要更改DMA模块中的逻辑以获得自己的流量模式。 问候, KR -------------------------------------------------- --------------------------------------------请注意 - 请注明 答案为“接受为解决方案”,如果提供的信息是有帮助的。给予您认为有用的帖子。感谢 - ------------------------- ------------------------ ------------------- 以上来自于谷歌翻译 以下为原文 Hi , I think you need to look into the application to understand how the payload is generated. As far as i understand the packets are initiated with fixed pattern specified int he application GUI and then they are sent across the link. I believe the data ports you are trying to understand are trn interface for transmit and receive. Yuo can find the interface details in the pcie core userguide.Like ug517 for virtex-6 device. If you look at the xapp1052 document " Exploring the Bus Master Design" section , it says The initiator sends Memory Writes with a specific data pattern. Each DWORD in the payload contains the contents of the Write DMA Data Pattern register (see “Write DMA Data Pattern (WDMATLPP) (014H, R/W),” page 31). So probably you need to change the logic in the DMA modules for having your own traffic pattern. Regards, KR ---------------------------------------------------------------------------------------------- Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful. Give Kudos to a post which you think is helpful. --------------------------------------------------------------------------------------------- |
|
|
|
谢谢kotir的回复。
但我仍然不明白它是如何工作的。 你有图表或绘图来帮忙吗? 您是否认为最好从带有PIO示例的xapp1022 PCIe开始? 谢谢, 安德烈 以上来自于谷歌翻译 以下为原文 Thanks kotir for your reply. But I still don't understand how it works. Do you have a diagram or drawing to help? Do you think it is better to start with the xapp1022 PCIe with PIO example instead? Thank you, Andre |
|
|
|
只有小组成员才能发言,加入小组>>
2416 浏览 7 评论
2821 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2292 浏览 9 评论
3372 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2459 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1145浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
582浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
448浏览 1评论
2003浏览 0评论
727浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 16:57 , Processed in 1.114521 second(s), Total 51, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号