赛灵思
直播中

张丽丽

7年用户 161经验值
私信 关注
[问答]

请问有几个GTP可以与usrclk2共享DCM

嗨,
我试图从8个GTP接收数据,它们都具有相同的输入参考时钟,线路速率,....我想如果我使用其中一个GTP的gtplclkout(0或1),我只能放一个
dcm除了clk(宽度为20位,因此对于usrclk2我应该将gtpoutclk除以2)然后将这个usrclk2用于所有8个GTP。
基于上面的假设,我将usrclk2从一个GTP连接到同一个磁贴中的其他GTP。
我仍然从其他GTP接收数据,但收到的数据有错误。
另一方面,如果我使用其他GTP自己的gtpclkout,它可以正常工作。
我想知道是否可以使用一个GTP的usrclk2,至少用于一个磁贴,或者用于FPGA一侧的磁贴,以正确接收数据?
如果答案是肯定的,我应该使用什么配置?
问候
马兹

以上来自于谷歌翻译


以下为原文

Hi,

I am trying to receive data from 8 GTPs, all of them have the same input refrence clock, line rate, .... I thought that if I use gtplclkout(0 or 1) from one of these GTPs, I can put only one dcm to divide that clk (the width is 20 bits so for usrclk2 I should divide the gtpoutclk by 2) and then use this usrclk2 for all 8 GTPs.


Based on the assumption above, I connected the usrclk2 from one GTP to other GTP in the same tile. I still receive data from the other GTP but received data has error. On the other hand, if I use the other GTP's own gtpclkout, it works fine.


I was wondering whether it is possible to use usrclk2 of one GTP, at least for one tile, or for the tiles in one side of FPGA, to receive data correctly? if the answer is yes, what configuration should I use?


Regards

Maz

回帖(12)

王山崎

2019-7-23 09:35:54
嗨,
您可以使用您提到的配置。
但是,还有另一面,当您为所有GTP使用相同的TXUSRCL时,您可能会看到时序违规。
请对用户时钟应用时序约束,看看是否可以满足时序要求。
问候,
克里希纳
--------------------------------------------------
---------------------------------------------请将帖子标记为
如果提供的信息能够回答您的问题/解决您的问题,请“接受为解决方案”。给予您认为有用的帖子。

以上来自于谷歌翻译


以下为原文

Hi,
 
You can use the configuration that you mentioned. But, there is a flip side to it, you may see timing violations when using the same TXUSRCLks for all GTPs.
 
Please apply timing constraints on the user clocks and see if you can meet the timing.
 
Regards,
Krishna
-----------------------------------------------------------------------------------------------
Please mark the post as "Accept as solution" if the information provided answers your query/resolves your issue.

Give Kudos to a post which you think is helpful.
举报

李诗晴

2019-7-23 09:50:17
克里希纳,
谢谢。
我将时序约束添加到双tile0_GTP0的gtpclkout0(0/1)。
refclk是148.5 MHz(因此usrclk20将是74.25 MHz)并且约束条件满足。
仍然从tile0_GTP1收到的数据有错误。
我观察到的另一件事是我不能使用gtpclkout0(0)来生成rxusrclk20,但是我可以使用rxrecclk0而不是gtpclkout0(1)来生成rxusrclk20并正确地从tile0_GTP0恢复数据。
问候,
马兹

以上来自于谷歌翻译


以下为原文

Krishna,
 
Thanks. I added timing constraint to gtpclkout0(0/1) of the dual tile0_GTP0. The refclk is 148.5 MHz (and so the usrclk20 will be 74.25 MHz) and the constraints meet. Still the data received from tile0_GTP1 has errors.
 
Another thing that I observed was that I cannot use gtpclkout0(0) to generate rxusrclk20, but I can use rxrecclk0 instead of gtpclkout0(1) to generate rxusrclk20 and recover data from tile0_GTP0 correctly.
 
Regards,
Maz
举报

贾佳斌

2019-7-23 10:06:15
gtpclkout0(0)用于Tx,gtpclkout0(1)用于Rx。
你发现设计在模拟中工作吗?
如果您使用逗号对齐,请检查此模块的状态信号以开始。
--------------------------------------------------
----------------------------别忘了回复,给予kudo并接受为解决方案---------
--------------------------------------------------
-------------------

以上来自于谷歌翻译


以下为原文

gtpclkout0(0) is for Tx and gtpclkout0(1) is for Rx.

Do you find the design working in simulation? if you are using comma alignment, check the status signals of this module to start with.------------------------------------------------------------------------------
Don't forget to reply, give kudo and accept as solution
------------------------------------------------------------------------------
举报

李诗晴

2019-7-23 10:25:18
Srinadh,
谢谢。
gtpclkout0(0)用于Tx,gtpclkout0(1)用于Rx。
来自UG386,
据说REFCLKPLL可以通过gtpclkout0(0)输出到FPGA逻辑,但你是对的。
如果我们“只”考虑频率,那么这个时钟与我设计中的rxrecclk相同。
你发现设计在模拟中工作吗?
如果您使用逗号对齐,请检查此模块的状态信号以开始。
是的,tile0_gtp1在使用gtpclkout0(1)和rxrecclk0(我不确定我检查了gtoclkout0(0))的模拟中效果很好。
没有我的设计没有逗号对齐。
我正在使用基于逻辑的DRU和框架......当我使用每个GTP的gtpclkout(1)时,一切都没问题,但我不能与其他GTP共享一个GTP的gtpclkout(1),即使所有线路速率和clks都是
一样。
问候,
马兹

以上来自于谷歌翻译


以下为原文

Srinadh,
Thanks.
gtpclkout0(0) is for Tx and gtpclkout0(1) is for Rx.
From UG386,
 

It is said that REFCLKPLL can be ouput to FPGA logic via gtpclkout0(0), But you are right. If we "only" consider the frequency this clock is the same as rxrecclk in my design.
 
Do you find the design working in simulation? if you are using comma alignment, check the status signals of this module to start with.
Yes the tile0_gtp1 works well in simulation with gtpclkout0(1) and rxrecclk0 (I am not sure I checked the gtoclkout0(0)).


And no my desing doesn't have comma alignment. I am using a logic based DRU and framing and .... Everything is okay when I use each GTP's gtpclkout(1), but I cannot share one GTP's gtpclkout(1) with other GTPs, even though all the line rates and clks are the same.
 
Regards,
Maz
举报

更多回帖

发帖
×
20
完善资料,
赚取积分