完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家,
我的任务是建立一个电路板和VHDL来处理一个与我过去做过的信号不同的信号。 在这种情况下,提供的时钟不会自由转换,而是在没有有效数据时停止。 我想知道是否有任何原因我无法将其直接输入GCLK并使用它来驱动异步fifo输入时钟。 然后我会抓住输出并创建像我以前那样的启用 如果它改变了答案,这里有一些具体细节: 1 MHz时钟 数据在时钟下降沿之前200 ns有效。 保持有效期为250ns。 当时钟无效时,至少有4个时钟周期。 发送完最后一个数据字后,时钟保持低电平,直到下一个数据字开始。 正如我所说,我的计划是通过全局时钟引脚将此时钟输入,然后尽快将数据传输到异步FIFO。 我想知道ASYNC FIFO是否可以处理这种时钟,或者我的计划是否有任何其他问题。 也很高兴听到人们会推荐的其他方法。 谢谢! 玩笑 以上来自于谷歌翻译 以下为原文 Everyone, I've been tasked with building a board and VHDL to process a signal that's different from others that I've done in the past. In this case the clock provided does not transition freely, instead it stops when there is not valid data present. I'd like to know if there is any reason I can't input this directly into a GCLK and use it to drive an asynchronous fifo input clock. Then I'll grab the output and create enables like I'm used to Here's some specifics if it changes the answer:
As I said, my plan was to bring this clock in via a Global Clock pin, and then get it and the data over to an Async FIFO as soon as I can. I want to know if the ASYNC FIFO can handle this kind of clock, or if there are any other gotchas with my plan. Also happy to hear about other approaches people would recommend. Thanks! Josh |
|
相关推荐
3个回答
|
|
你好
没有FIFO不能在门控时钟上工作。 FIFO Generator仅适用于自由运行的写和读时钟。 赛灵思 不建议通过操作rd_clk和wr_clk来控制内核如果需要此功能来进行FIFO操作,我们建议使用写使能(wr_en)和读使能(rd_en)信号。 检查下面的文档,清楚地提到这一点。 http://www.xilinx.com/support/documentation/ip_documentation/fifo_generator/v9_3/pg057-fifo-generator.pdf 问候,萨蒂什----------------------------------------------- --- --------------------------------------------请注意 - 如果提供的信息有用,请将答案标记为“接受为解决方案”。给予您认为有用的帖子。感谢.-- ---------------------------- --------------------- ---------------------- 以上来自于谷歌翻译 以下为原文 Hi No the FIFO cannot work on a gated clock. The FIFO Generator is designed to work only with free-running write and read clocks. Xilinx does not recommend controlling the core by manipulating rd_clk and wr_clk If this functionality is required to gate FIFO operation, we recommend using the write enable( wr_en) and read enable (rd_en) signals. Check below doc which clearly mentions this. http://www.xilinx.com/support/documentation/ip_documentation/fifo_generator/v9_3/pg057-fifo-generator.pdf Regards, Satish ---------------------------------------------------------------------------------------------- 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. --------------------------------------------------------------------------------------------- |
|
|
|
嗨,
有关使用自由运行时钟访问FIFO的更多视图,请参阅下面的相关讨论 http://forums.xilinx.com/t5/System-Logic/FIFO-Generator-8-3-problem/td-p/523811 问候, Vanitha -------------------------------------------------- -------------------------------------------请在发布前进行谷歌搜索, 您可能会找到相关信息。请留下帖子 - “接受为解决方案”,如果提供的信息有用且回复,请给予赞誉 以上来自于谷歌翻译 以下为原文 Hi, For more views on accessing FIFO with out free running clock please go through below relavant discussion http://forums.xilinx.com/t5/System-Logic/FIFO-Generator-8-3-problem/td-p/523811 Regards, Vanitha --------------------------------------------------------------------------------------------- Please do google search before posting, you may find relavant information. Mark the post - "Accept as solution" and give kudos if information provided is helpful and reply oriented |
|
|
|
如今,FPGA的1 MHz非常慢。
由于您有足够的时间来处理数据采样,因此使用异步板级时钟(例如50 MHz)来采样1 MHz门控时钟并为内部逻辑创建时钟使能是非常有意义的。 如果您已经计划在FIFO的输出端使用这样的时钟,则只需要确保它足够快,以便在450ns数据有效窗口期间检测边沿并对数据进行采样。 一些技巧: 1)使用至少3个触发器来制作同步器/延迟电路以检测时钟上的边沿。 通过对移位寄存器中的最后两个触发器进行采样来检测时钟上的边沿。 2)如果要对接近输入时钟边沿的数据进行采样,还要在输入数据上添加一个3级流水线,这样时钟使能将查看延迟的数据与检测时间的数量大致相同。 时钟边缘。 如果仍需要FIFO,则可以使用同步(公共时钟)FIFO并使用时钟边沿检测脉冲作为该FIFO的写入输入。 - Gabor 以上来自于谷歌翻译 以下为原文 1 MHz is really slow for an FPGA these days. Since you have so much time around the clock edge to sample the data, it really makes sense to use an asynchronous board-level clock, say 50 MHz, to sample the 1 MHz gated clock and create a clock enable for internal logic. If you already have such a clock you were planning to use on the output side of the FIFO, you just need to be sure it's fast enough to allow you to detect the edge and sample the data during the 450ns data valid window. Some tips: 1) Use at least 3 flip-flops to make a synchronizer / delay circuit to detect edges on the clock. Detect edges on the clock by sampling the last two flip-flops in the shift register. 2) If you want to sample the data closer to the incoming clock edge, also add a 3-stage pipeline on the input data so the clock enable will be looking at data that's been delayed by about the same amount as the time to detect the clock edge. If you still need a FIFO, then you can use a synchronous (common clock) FIFO and use the clock edge detection pulse as the write input to that FIFO. -- Gabor |
|
|
|
只有小组成员才能发言,加入小组>>
2378 浏览 7 评论
2793 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2260 浏览 9 评论
3334 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2426 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
753浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
540浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
363浏览 1评论
1957浏览 0评论
680浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-20 22:35 , Processed in 1.258481 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号