完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在使用Spatran 3E。
我已经制作了一个代码来捕获以太网端口上的数据包。 我正在使用以太网端口的时钟,这是25 MHZ,但我没有得到结果。 当我在Chipscope上检查时钟输出时,它有一个恒定的高电平1.然后我检查了UCF并且我使用了完全相同的手册声明 NET“E_RX_CLK”LOC =“V3”| IOSTANDARD = LVCMOS33; 当我检查50 MHZ FPGA的电路板时钟时,我在Chipscope上得到了完美的时钟。 为什么我的以太网时钟25 MHZ无效。 我如何交叉检查,我的水晶是否有可能无法使用。 请告诉我一些威廉希尔官方网站 来检查我的水晶是否正在产生时钟。 其次,如果我使用50 MHZ的时钟与以太网,那将是什么影响。 为什么我们有以太网的特殊时钟。 为什么它不能使用Board Clock 以上来自于谷歌翻译 以下为原文 I am using Spatran 3E. I have made a code to capture the data packets on ethernet port. I am using the clock of ethernet port which is 25 MHZ but i am not getting the result. When i checked the clock output on Chipscope, it have a constant high level of 1. then I checked the UCF and i have used the exact same statement of manual NET "E_RX_CLK" LOC = "V3" | IOSTANDARD = LVCMOS33 ; When i check the Board clock of 50 MHZ FPGA, i get the clock on Chipscope whcih is perfect. Why my ethernet clock of 25 MHZ is not working. How can i cross check, is there any probability that my crystal is Unserviceable. Kindly tell me some technique to check that my crystal is generating clock. Secondly if i use clock of 50 MHZ with ethernet,, what will be the effects. Why we are having special clock for ethernet. Why cannt it use Board Clock |
|
相关推荐
17个回答
|
|
请提供足够详细的信息来有效地描述您的问题。
你以前听过这个,从那时起没有任何改变。 由于您知道50MHz时钟正在运行,请尝试将50MHz时钟连接到25MHz时钟输出引脚。 这将验证输出引脚是否正常工作。 如果没有看到顶级设计代码(带引脚连接),至少提供更有用的建议是很困难的。 还要检查信号名称拼写,这会导致与引脚或UCF条目断开连接。 检查后P / R引脚报告。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Please provide sufficent details to usefully describe your problem. You've heard this before, and nothing has changed since then. Since you know that the 50MHz clock is functioning, try connecting the 50MHz clock to your 25MHz clock output pin. This will verify that the output pin is functioning. It's difficult to offer more useful advice without seeing your top-level design code (with pin connections), at the very least. Also check signal name spellings which would result in disconnections to the pins or UCF entries. Check the post-P/R pin report. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
好的,请告诉我程序检查我的25 MHZ以太网晶体是否正在给时钟..
以上来自于谷歌翻译 以下为原文 ok kindly just tell me the procedure to check that my 25 MHZ crystal of ethernet is giving clock.. |
|
|
|
嗨,
首先,它是spartan 3E而不是spatran 3E ..第二,你是在定制板上使用spartan 3E入门套件还是FPGA? 如果您正在使用入门套件,那么您能告诉我们供应商吗? Digilent或任何其他供应商.. 问候 以上来自于谷歌翻译 以下为原文 Hi, First, it is spartan 3E not spatran 3E .. 2nd, are you using spartan 3E starter kit or just the FPGA on a custom board ? If you are using starter kit, then can you tell us the vendor? Digilent or any other vendor.. regards |
|
|
|
我在用
Spartan-3E FPGA Digilent入门套件板 我想使用这块板的以太网端口 我没有从这个板的25 MHZ晶体获得时钟,用于以太网端口。 我的问题是 1.我如何验证这种晶体是否产生了我所需的时钟。 目前我已经查看了Chipscope,我看到的是50 MHZ的主板时钟,但是这个时钟的持续时间为1(高) 2.其次为什么以太网有单独的时钟。 为什么它不使用50 MHZ的主板主时钟。 图片已附上 以上来自于谷歌翻译 以下为原文 I am usingSpartan-3E FPGAStarter Kit Board of Digilent I want to use Ethernet port of this board I am not getting clock from 25 MHZ crystal of this board which is for ethernet port. my questions are 1. How can i verify that this crystal is producing my required clock. At present i have checked on Chipscope and i am seeing the board clock of 50 MHZ but this clock is giving continuous level of 1 (high) 2. Secondly why there is separate clock for Ethernet. why it does not use board's main clock of 50 MHZ. Picture is attached |
|
|
|
嗨,
首先,如果您周围有示波器,请检查振荡器是否产生25Mhz频率。 然后阅读填充在电路板上的smsc phy数据表,看看它是如何工作的。 如果您没有随身携带示波器,请告诉我,当您插入以太网线时,您的phy是否显示连接性? 如果是,那么你的植物就会从你的水晶中获得时钟。如果没有,那么就会出现问题。它可以是水晶或其他东西。 此外,如果它连接,在来自phy的rx_clk上运行一个简单的计数器。 回答你的第二个问题,这一切都取决于IC的规格。 Phy以25Mhz时钟作为输入,快速以太网为MAC接口提供25Mhz时钟,为10Mbps提供2.5Mhz时钟。 另一件事,chipcope显示连续1,因为你在50Mhz采样50Mhz。 因此,它将显示1或0.奈奎斯特采样定理=) 以上来自于谷歌翻译 以下为原文 Hi, first, if you have an oscilloscope around you, check whether 25Mhz frequency is being produced by the oscillator or not. Then read the datasheet of smsc phy which is stuffed on your board to see how it functions. If you don't have oscilloscope with you, tell me this, when you plug in the ethernet wire, does your phy shows connevtivity ? If yes, then your phy is getting clock from your crystal.If no, then there is something wrong.It can be crystal or something else. Also, if it connects, run a simple counter on rx_clk coming from phy. to answer your 2nd question, it all depends on the specs of an IC. Phy takes 25Mhz clock as input and for fast ethernet provides you with 25Mhz clock on MAC interface and 2.5Mhz clock for 10Mbps. Another thing, chipscope is showing continuous 1 because you are sampling 50Mhz at 50Mhz. So, it will show either 1 or 0. Nyquist sampling theorem =) |
|
|
|
也许这会有所帮助......
对于以太网接口,所有时钟都由PHY提供,而不是由MAC提供。 SMSC设备为FPGA提供两个时钟(MAC所在的位置):TX_CLK和RX_CLK TX_CLK来自连接到PHY的25MHz晶振,可以是2.5MHz(10BT),25MHz(100BT)或(1000BT,Spartan 3e入门套件不支持)125MHz。 TX_CLK是FPGA的输入。 RX_CLK源自PHY的电缆侧上的恢复或接收的数据。 RX_CLK是FPGA的输入。 PHY时基是25MHz晶振,连接到PHY上的振荡器和PLL。 该板可以设计为PHY提供25MHz的时钟,但这不是Spartan 3e入门套件的设计方式。 上述电路是典型的10/100 / 1000BT PHY,使用行业标准MII / GMII / RGMII接口连接MAC。 这有帮助吗? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Maybe this will help... For ethernet interfaces, all clocks are sourced by the PHY, not by the MAC. The SMSC device provides two clocks to the FPGA (where the MAC resides): TX_CLK and RX_CLK
The circuit described above is typical of 10/100/1000BT PHYs using the industry standard MII/GMII/RGMII interface to a MAC. Does this help? - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
谢谢萨利姆巴巴。
1.当我用以太网端口连接电缆时,FPGA套件的端口的绿色LED亮起,我认为这意味着连接已经建立。 关于连续的,我认为你误解了我的问题。 我想告诉你,对于50 MHZ,chipcope正在显示正确的时钟 但对于以太网的25 MHZ时钟,Chipscope正呈现持续的高位......连续1级。 有什么问题。 ?? 以上来自于谷歌翻译 以下为原文 Thanks salim Baba. 1. When i connect cable with ethernet port, the green LED of port of FPGA kit gets on which i think means that connectivity has been established. 2. Regarding continuous one, i think u misunderstood my question. I want to tell u that for on board 50 MHZ, chipscope is showing proper clock but for 25 MHZ clock of ethernet, Chipscope is showing continuous high..continuous 1 level. What can be problem. ?? |
|
|
|
但对于以太网的25 MHZ时钟,Chipscope正呈现持续的高位......连续1级。
有什么问题。 ?? 暂时将Chipscope放在一边。 探测来自PHY的TX_CLK和RX_CLK(在向板上发送数据包时)。 您应该在这些信号上看到2.5MHz或25MHz,具体取决于当前的PHY工作模式。 或许我误解了你的问题? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 but for 25 MHZ clock of ethernet, Chipscope is showing continuous high..continuous 1 level.Set Chipscope aside for now. Probe the TX_CLK from the PHY, and RX_CLK (while sending packets to the board). You should see either 2.5MHz or 25MHz on these signals, depending on the current PHY operating mode. Or perhaps I'm misunderstanding your problem ? - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
好的,如果我通过DCM生成25 MHZ时钟,并将该时钟提供给PHY,那么以太网将工作。
以上来自于谷歌翻译 以下为原文 ok if i generate 25 MHZ clock through DCM , and give that clock to PHY, will ETHERNET WORK. |
|
|
|
你似乎对这种情况有现实的了解。
如果我们能以任何方式提供帮助,请告诉我们。 rx_clk来自传入的流量,从2.5Mhz到25Mhz - 125Mhz不等 125MHz可以由1000BT(GbE)PHY生成。 您使用的电路板具有10 / 100BT PHY,不会输出125MHz时钟。 我的结论是rx_clk的信号连接松散或错误 我希望你有机会在退回董事会之前用'范围确认这一点,如果这确实是问题,可能很容易解决。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 You seem to have in-person knowledge of the situation. If we can help in any way, please let us know. rx_clk is derived from the incoming traffic and varies from 2.5Mhz - 25Mhz - 125Mhz125MHz could be generated by a 1000BT (GbE) PHY. The board you are using has a 10/100BT PHY, which will not output a 125MHz clock. my conclusion is towards a loose or faulty signal connection of rx_clkI hope you get a chance to confirm this with a 'scope before you return the board, it may be easy to fix if this is indeed the problem. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
是的,我遇见了那个人..我其实在家,所以我没有示波器。
否则这是我第一次看到信号的赌注。 是的,我希望能够尝试探讨这个问题。 另一个主要问题......那个人的主管是一个***:P:P他不知道以太网是如何工作的......我们认为如果我们能够解决问题,我们将在tx_clk上采样数据,我们也许能够实现 数据采样的准确率大约在65-70%之间。主管说这不是很有用..我需要95%..所以使用UART而不是以太网..你到底如何通过UART设计基于FPGA的防火墙设计:P: P 以上来自于谷歌翻译 以下为原文 yeah iv met the guy.. i was actually at home so I didn't have an oscilloscope. Otherwise that was my first bet to see the signals. Yeah i'll hopefully try to probe the issue. Another major issue.. the guy's supervisor is a jerk :P :P he has no idea of how ethernet works.. We thought if we aint able to solve the problem we'll sample the data on tx_clk and we might be able to achieve around 65-70% accuracy wid data sampling.. the supervisor says that is not enuff.. i need 95% .. so use UART instead of ethernet.. how the hell do u design an FPGA based firewall design thru UART :P :P |
|
|
|
如果这是商业设计,为什么他们没有自己的(不借用的)评估板?
我怀疑答案也可以解释为什么他们没有“范围”。 当你资金不足时,你会出于必要而做出绝望的选择。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 If this is for a commercial design, why don't they have their own (not borrowed) eval board? I suspect the answer would also explain why they don't have a 'scope. When you are under-funded, you make desperate choices out of necessity. - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
那只是一个大学项目。
并使用评估板进行商业设计并不是一件好事 以上来自于谷歌翻译 以下为原文 Na this is just a university project. and using evaluation boards for commercial designs aint good |
|
|
|
只是为了笑容,我们在谈论哪所大学?
- 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Just for grins, which university are we talking about? - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
我们不在美国..我们一直在巴基斯坦...... :)
他刚刚参加高级数字设计课程 以上来自于谷歌翻译 以下为原文 We're not in the US.. We're all the way here in Pakistan... :) He is just taking a course for Advanced Digital Design |
|
|
|
我们不在美国。
这不是什么大惊喜。 我们一直在巴基斯坦。 我会跳过关于啤酒的进一步评论,以及我是犹太人的事实。 他刚刚参加高级数字设计课程 大学有名字吗? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 We're not in the US.That's not a big surprise. We're all the way here in Pakistan.I'll skip further comments about beer, and the fact that I'm Jewish. He is just taking a course for Advanced Digital DesignDoes the University have a name? - Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
我认为他来自NUST-EME位于拉瓦尔品第
以上来自于谷歌翻译 以下为原文 I think he is from NUST-EME Located in Rawalpindi |
|
|
|
只有小组成员才能发言,加入小组>>
2451 浏览 7 评论
2848 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2312 浏览 9 评论
3392 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2488 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1798浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
624浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
486浏览 1评论
2037浏览 0评论
763浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-14 09:27 , Processed in 1.708016 second(s), Total 75, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号