在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 11316|回复: 7

[求助] srio真心太难用,求高手指点一二。

[复制链接]
发表于 2017-3-8 17:10:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
我用的是vivado软件,建立工程,然后在ip catalog中生成一个srio ip核,之后在ip sources里面右击打开一个设计例子,example design。之后会生成另一个工程,之后还有一个步骤,然后就是仿真,真的,什么都看不出来,倒是有数据,但是看不懂。
已经看了这个ip 核一个星期了,讲真,看不懂。这个example design,看他的RTL的时候,明明是例化了两次,有一个是mirror,但是在RTL中,只能看到一个。我的理解是,时钟 reset 等等初始化后,发包给各个配置寄存器进行设置(maintenance_list.vh),或者是进行这种包格式的传输,但是还有另一种包即发起/目标格式的包传输。By default, the example design generates stimulus automatically for both the I/O and
maintenance transactions. The maintenance transactions are generated in the
srio_quick_start module, and the transactions are specifically listed out in the
maintenance_list.vh file.

The I/O transactions are generated in the srio_request_gen and srio_response_gen
modules. The srio_request_gen generates the initiator request I/O transactions as
specified in instruction_list.vh file.

总而言之,就是给的example
design
看不懂,更不用说怎么在硬件上使用这个ip核了,谁能给讲一讲所给示例的思路啊,真心愁死了,dsp 与fpga之间的srio通信。
捕获.PNG
发表于 2017-3-9 20:04:56 | 显示全部楼层
xilinx的IP你可以使用最简单的hello模式啊
 楼主| 发表于 2017-3-9 21:03:45 | 显示全部楼层
软件自带的例子,大面上看起来,也不是很难,但我还是有一些困惑,其中包含了一个sim文件,用来加刺激,
The srio_quick_start module, which is instantiated in srio_example_top, connects to the
Maintenance port and generates maintenance transactions. You can add, modify, or remove
transactions by editing the maintenance_list file. The srio_request_gen module, which
is instantiated within the srio_example_top, is where I/O (and message) transactions are
generated. The transaction types to be generated are passed down through parameters so
that only transactions supported on the connected port are produced. This file also stores
the expected response for any response-generating-requests that it creates, and compares
received responses to the expected value. The srio_response_gen module, also instantiated
in srio_example_top, generates responses to requests received from the link partner.

红框圈住的文件是example design中的主要文件,其他的一些数据报告模块暂时不考虑。

我困惑的地方是,两个ip核链接起来可怎么通信啊,我听不懂抽象的话,maintenance transactions和 I/O (and message) transactions,到底要干什么,各自是什么,srio_quick_start module是用来发送一些数据包来对寄存器进行配置?包的量很大,srio_request_gen module也要发送包,也是一大堆,这两者的关系搞不清楚,我从今天开始才开始看代码,就这几个文件,我再琢磨琢磨他的代码,能不能给个思路让我参考一下。真的很受伤。
Overview
The SRIO Gen2 Endpoint example design connects two instances of the core together. Each
core instance can be configured to send supported packet types, check for receive packet
mismatches, and report in the simulation transcript with details about the link traffic. Both
the simulation host and the primary core being tested use the SRIO Gen2 Endpoint
reference design (consisting of a LOG, BUF, and PHY provided through the SRIO Gen2
Endpoint top-level wrapper) and the Configuration Fabric reference design.

发表于 2017-3-10 19:16:12 | 显示全部楼层
如果你连maintenance和message都不懂的话,还是建议你先把srio的协议搞清楚,之后再看要用哪种事务类型进行数据传输,设计srio肯定很难,但是使用srio应该不难,无非就是配置相关寄存器。
发表于 2017-3-16 20:30:50 | 显示全部楼层
我这里有调通的经验,首先得把手册好好看看,下面也无非就是接口控制了,SRIO也就是打包了的数据流罢了
发表于 2017-3-17 09:43:01 | 显示全部楼层
同上意见
发表于 2017-3-18 12:42:58 | 显示全部楼层
0.0.0.0
发表于 2018-12-18 16:31:01 | 显示全部楼层
学习中。。。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-7-14 16:35 , Processed in 0.024804 second(s), 7 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表