完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我是FPGA的新手。
我想知道我是否可以有一个设计,我的FPGA的外部时钟周期性地打开和关闭。 我知道Xilinx FPGA使用数字时钟管理器(DCM)和相位锁(或使用触发器延迟锁定)。 因此,我的设计(FPGA)将有外部时钟,有时在不需要FPGA时会关闭,这是一个实用的设计,或者通常不建议这样做,因为DCM需要一些时间来锁定。 但是,如果我在我的设计中不使用DCM,那么输入时钟是否可以转动然后...将逻辑从之前的停止状态恢复? 提前感谢任何建议。 注意:我正在研究的设计是一个非常简单的设计,FPGA根据收到的命令控制大约200个交换机。 它可能会以40 MHz运行。 以上来自于谷歌翻译 以下为原文 Hi, I'm sort of new to FPGA. I was wondering if I can have a design where the external clock to my FPGA be on and off periodicly. I know Xilinx FPGA uses a Digital Clock Manager (DCM) and nees to phase lock (or delay lock using flip flops). So my design (FPGA) will have external clock that sometimes are turn off when the FPGA is not needed, is this a practical design or this is usually not recommended since the DCM requires some time to lock. But what if I don't use DCM in my design, can the incoming clock be turn of and on then... will logic recover from previous stop state? Thanks in advance for any advice. Note: My design that I'm looking into is a pretty simple design where FPGA control about 200 switches based on the command it received. It will probably run at 40 MHz. |
|
相关推荐
4个回答
|
|
您不必使用DCM。
FPGA内部的逻辑是完全静态的,所以 只要你想要FPGA,就应该没有问题 在时钟停止时什么都不做。 数据设置/保持时间窗口 使用DCM时要好一些,但在40 MHz时你应该没问题 使用没有DCM的时钟。 确保您的时钟转到全局时钟输入 或者“GC”(具有全局时钟功能)引脚,因为它在较新的部件中被调用。 这些针脚 有一个非常短的专用路由到一个全局时钟缓冲区。 延迟内置于 I / O触发器(引脚和D输入之间)确保您没有 积极的保持时间要求。 对于您的应用程序,我会选择该部分 仅基于您的I / O要求。 几乎任何部分都应足以满足 时机并保持你的设计尺寸。 您可能会发现您的引脚要求 强迫您使用比您需要的更大的部件。 在这种情况下 您可以考虑将设计分成两个较小的部分以节省资金。 HTH, 的Gabor - Gabor 在原帖中查看解决方案 以上来自于谷歌翻译 以下为原文 You don't have to use the DCM. The logic inside the FPGA is completely static, so there should be no problem stopping the clock as long as you want the FPGA to do absolutely nothing while the clock is stopped. Data setup/hold time windows are a bit better when using a DCM, but at 40 MHz you should have no problem using a clock without a DCM. Make sure your clock goes to a global clock input or "GC" (global clock capable) pin as it is called in the newer parts. These pins have a very short dedicated route to a global clock buffer. Delays built into the I/O flip-flops (between the pin and the D input) ensure you don't have a positive hold time requirement. For your application I would select the part based on your I/O requirements only. Almost any part should be adequate to meet the timing and hold your design size. You may find that your pin requirements force you to use a part that is significantly larger than you need. In that case you might consider breaking the design into two smaller parts to save money. HTH, Gabor -- GaborView solution in original post |
|
|
|
您不必使用DCM。
FPGA内部的逻辑是完全静态的,所以 只要你想要FPGA,就应该没有问题 在时钟停止时什么都不做。 数据设置/保持时间窗口 使用DCM时要好一些,但在40 MHz时你应该没问题 使用没有DCM的时钟。 确保您的时钟转到全局时钟输入 或者“GC”(具有全局时钟功能)引脚,因为它在较新的部件中被调用。 这些针脚 有一个非常短的专用路由到一个全局时钟缓冲区。 延迟内置于 I / O触发器(引脚和D输入之间)确保您没有 积极的保持时间要求。 对于您的应用程序,我会选择该部分 仅基于您的I / O要求。 几乎任何部分都应足以满足 时机并保持你的设计尺寸。 您可能会发现您的引脚要求 强迫您使用比您需要的更大的部件。 在这种情况下 您可以考虑将设计分成两个较小的部分以节省资金。 HTH, 的Gabor - Gabor 以上来自于谷歌翻译 以下为原文 You don't have to use the DCM. The logic inside the FPGA is completely static, so there should be no problem stopping the clock as long as you want the FPGA to do absolutely nothing while the clock is stopped. Data setup/hold time windows are a bit better when using a DCM, but at 40 MHz you should have no problem using a clock without a DCM. Make sure your clock goes to a global clock input or "GC" (global clock capable) pin as it is called in the newer parts. These pins have a very short dedicated route to a global clock buffer. Delays built into the I/O flip-flops (between the pin and the D input) ensure you don't have a positive hold time requirement. For your application I would select the part based on your I/O requirements only. Almost any part should be adequate to meet the timing and hold your design size. You may find that your pin requirements force you to use a part that is significantly larger than you need. In that case you might consider breaking the design into two smaller parts to save money. HTH, Gabor -- Gabor |
|
|
|
感谢您的回复,我推进了您的建议..但是因为我是关于时钟的话题;
我想知道是否有人知道如果我需要一个时钟来配置FPGA。 我选择了Xilinx Spartan 3AN,因为它具有用于FPGA配置的内部闪存(不需要外部PROM来保持配置),我是否需要在上电序列期间提供时钟来配置Spartan 3AN FPGA? 以上来自于谷歌翻译 以下为原文 Thanks for the reply, I'm moving forward with your recommendation.. but since I'm on the topic of clock; I was wondering if anyone knows that if I need a clock to configure the FPGA. I chose the Xilinx Spartan 3AN since it has internal Flash for FPGA configuration (no external PROM needed to hold configuration), will I need to provide a clock during the power on sequence to configure the Spartan 3AN FPGA? |
|
|
|
所有Xilinx FPGA都具有专门用于配置的内部时钟振荡器。
对于 具有外部配置PROM的器件,这将在CCLK引脚上驱动。 对于Spartan 3AN,时钟将在自身的内部包装 从嵌入式闪存配置,但我相信它也可以编程 与其他Spartan 3A部件一样的外部PROM。 无论如何你不需要 用于“主”配置模式的任何板载时钟,或用于加载 通过JTAG实现FPGA或嵌入式闪存。 - Gabor 以上来自于谷歌翻译 以下为原文 All Xilinx FPGA's have internal clock oscillators specifically for configuration. For parts with external configuration PROM, this would be driven on the CCLK pin. For the Spartan 3AN, the clock would be internal to the package during self- config from the embedded flash, but I believe it can also be programmed from an external PROM like other Spartan 3A parts. In any case you don't need any on-board clock for the "master" configuration modes, or for loading the FPGA or embedded flash via JTAG. -- Gabor |
|
|
|
只有小组成员才能发言,加入小组>>
2384 浏览 7 评论
2800 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2264 浏览 9 评论
3336 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2431 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
757浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
547浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
369浏览 1评论
1965浏览 0评论
684浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 03:15 , Processed in 1.477448 second(s), Total 84, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号