完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我使用Xilinx SP 601 spartan - 6评估套件。 我有两个疑问 1.我对我的设计进行了模拟(大小为40%的斯巴达-6),并在套件中对设计进行了编程。 只有输入是用于数据,时钟和复位的DIP开关。 硬件输出与模拟完全不同。 在验证设计时我缺少什么? 2. DCM_SP组件在我的设计中使用简单的PISO(PISO的输入来自DIP开关)进行整合。当我模拟代码时,它给出了正确的结果。 但是当它在硬件中实现时,输出不会到来。 我是否应该应用任何约束? DCM实例化: DCM_SP_inst:DCM_SP通用映射(CLKDV_DIVIDE => 16.0, - CLKDV除值 - (1.5,2,2.5,3,3.5,4,4,5,5,5.5,6,6.5,7,7.5,8,9,10 ,11,12,13,14,15,16).CLKFX_DIVIDE => 32, - CLKFX输出的分频值 - D - (1-32)CLKFX_MULtiPLY => 2, - CLKFX输出的乘法值 - M - ( 2-32)CLKIN_DIVIDE_BY_2 => FALSE, - CLKIN除以2(TRUE / FALSE)CLKIN_PERIOD => 10.0, - 在nS中指定的输入时钟周期CLKOUT_PHASE_SHIFT =>“NONE”, - 输出相移(NONE,FIXED, VARIABLE)CLK_FEEDBACK =>“1X”, - 反馈源(NONE,1X,2X)DESKEW_ADJUST =>“SYSTEM_SYNCHRONOUS”, - SYSTEM_SYNCHRNOUS或SOURCE_SYNCHRONOUS DFS_FREQUENCY_MODE =>“LOW”, - 不支持 - 不要更改值DLL_FREQUENCY_MODE => “LOW”, - 不支持 - 不要更改值DSS_MODE =>“NONE”, - 不支持 - 不要更改值DUTY_CYCLE_CORRECTION => TRUE, - 不支持 - 不要更改值FACTORY_JF => X“c080”, - 不支持 - 不要更改值PHASE_SHIFT => 0, - 固定相移量(-255到255) )STARTUP_WAIT => FALSE - 延迟配置DONE直到DCM_SP LOCKED(TRUE / FALSE))端口映射(CLK0 =>开路, - 1位0度时钟输出CLK180 =>开路, - 1位180度时钟输出 CLK270 =>开路, - 1位270度时钟输出CLK2X =>开路, - 1位2X时钟频率时钟输出CLK2X180 =>开路, - 1位2倍时钟频率,180度时钟输出CLK90 => 开路, - 1位90度时钟输出CLKDV => clk, - 1位分频时钟输出CLKFX =>开路, - 1位数字频率合成器输出(DFS)CLKFX180 =>开路, - 1- 位180度CLKFX输出LOCKED =>开路, - 1位DCM_SP锁定输出PSDONE =>开路, - 1位相移完成输出STATUS =>开路, - 8位DCM_SP状态输出CLKFB =>开路, - 1位时钟反馈输入CLKIN => MCLK, - 1位时钟输入DSSEN =>开路, - 1位不支持,指定为GND。 PSCLK =>开路, - 1位移相时钟输入PSEN =>开路, - 1位相移使能PSINCDEC =>开路, - 1位相移增量/减量输入RST => RST - 1 位有效高电平复位输入); 实施过程中的警告信息是 警告:ConstraintSystem:4 - 约束16 HIGH 50%>:此约束将被忽略,因为相对时钟链包含循环引用。 警告:ConstraintSystem:65 - 约束* 16 HIGH 50%>覆盖约束ns HIGH 50%;> [communicationsystem.ucf(48)]。 警告:NgdBuild:1345 - 约束ns HIGH 50%;> [communicationsystem.ucf(48)]被约束覆盖。 覆盖约束通常来自输入网表或ncf文件。 请设置XIL_NGDBUILD_CONSTR_OVERRIDE_ERROR以将此消息提升为错误。 FPGA怪胎 以上来自于谷歌翻译 以下为原文 Hi all, I use Xilinx SP 601 spartan - 6 evaluation kit. I have two doubts 1. I had run a simulation of my design (size of 40% of spartan-6) and programmed the design in the kit. Only inputs are DIP switch for data ,clock and reset. The outputs in hardware is completely different from simulation. What am I missing in verifying the design? 2. DCM_SP component is being integerated with a simple PISO ( input of PISO is from DIP switch) in my design. When I simulate the code, it is giving the correct results. But when it is implemented in the hardware, output is not coming. Should I have to apply any constraint? DCM instantiation: DCM_SP_inst : DCM_SP generic map ( CLKDV_DIVIDE => 16.0, -- CLKDV divide value -- (1.5,2,2.5,3,3.5,4,4.5,5,5.5,6,6.5,7,7.5,8,9,10,11,12,13,14,15,16). CLKFX_DIVIDE =>32, -- Divide value on CLKFX outputs - D - (1-32) CLKFX_MULTIPLY => 2, -- Multiply value on CLKFX outputs - M - (2-32) CLKIN_DIVIDE_BY_2 => FALSE, -- CLKIN divide by two (TRUE/FALSE) CLKIN_PERIOD => 10.0, -- Input clock period specified in nS CLKOUT_PHASE_SHIFT => "NONE", -- Output phase shift (NONE, FIXED, VARIABLE) CLK_FEEDBACK => "1X", -- Feedback source (NONE, 1X, 2X) DESKEW_ADJUST => "SYSTEM_SYNCHRONOUS", -- SYSTEM_SYNCHRNOUS or SOURCE_SYNCHRONOUS DFS_FREQUENCY_MODE => "LOW", -- Unsupported - Do not change value DLL_FREQUENCY_MODE => "LOW", -- Unsupported - Do not change value DSS_MODE => "NONE", -- Unsupported - Do not change value DUTY_CYCLE_CORRECTION => TRUE, -- Unsupported - Do not change value FACTORY_JF => X"c080", -- Unsupported - Do not change value PHASE_SHIFT => 0, -- Amount of fixed phase shift (-255 to 255) STARTUP_WAIT => FALSE -- Delay config DONE until DCM_SP LOCKED (TRUE/FALSE) ) port map ( CLK0 => open, -- 1-bit 0 degree clock output CLK180 => open, -- 1-bit 180 degree clock output CLK270 => open, -- 1-bit 270 degree clock output CLK2X => open, -- 1-bit 2X clock frequency clock output CLK2X180 => open, -- 1-bit 2X clock frequency, 180 degree clock output CLK90 => open, -- 1-bit 90 degree clock output CLKDV => clk, -- 1-bit Divided clock output CLKFX => open, -- 1-bit Digital Frequency Synthesizer output (DFS) CLKFX180 => open, -- 1-bit 180 degree CLKFX output LOCKED => open, -- 1-bit DCM_SP Lock Output PSDONE => open, -- 1-bit Phase shift done output STATUS => open, -- 8-bit DCM_SP status output CLKFB => open, -- 1-bit Clock feedback input CLKIN => MCLK, -- 1-bit Clock input DSSEN => open, -- 1-bit Unsupported, specify to GND. PSCLK => open, -- 1-bit Phase shift clock input PSEN => open, -- 1-bit Phase shift enable PSINCDEC => open, -- 1-bit Phase shift increment/decrement input RST => RST -- 1-bit Active high reset input ); The warning messages during implementation are WARNING:ConstraintSystem:4 - Constraint chain contains a circular reference. WARNING:ConstraintSystem:65 - Constraint WARNING:NgdBuild:1345 - The constraint constraint usually comes from the input netlist or ncf files. Please set XIL_NGDBUILD_CONSTR_OVERRIDE_ERROR to promote this message to an error. FPGA freak |
|
相关推荐
4个回答
|
|
唯一显而易见的是你使用CLKDV输出但没有反馈连接
在您的DCM上。 您指定了“1X”,这通常意味着您需要路由CLK0输出 回到CLKFB输入。 您是否尝试使用CoreGen架构向导进行准备 一个DCM给你? 当端口太多时,这通常是一个很好的起点 不要跟丢。 它会生成一个源文件,以便您在了解其工作原理时进行编辑。 问候, 的Gabor - Gabor 以上来自于谷歌翻译 以下为原文 The only obvious thing is that you're using the CLKDV output but have no feedback connections on your DCM. You specified "1X" which normally means you need to route the CLK0 output back to the CLKFB input. Did you try using the CoreGen architecture wizard to prepare a DCM for you? This is usually a good place to start when there are too many ports to keep track of. It generates a source file that you can later edit when you understand how it works. Regards, Gabor -- Gabor |
|
|
|
不需要在反馈路径中放置缓冲区,但它确实允许
你要擦除全局缓冲区中的时间延迟。 因为你没有使用CLK0 在您的设计输出中,您可能不关心时钟的相对相位 到输入时钟。 但是,如果你想让你的时钟与你的时钟同步 时钟输入你应该将缓冲区放在反馈路径中。 无论哪种方式 从CLK0到CLKFB或需要某种连接 DCM无法锁定。 您不需要“频率”的反馈 合成“模式,其中仅使用CLKFX输出,但CLKDV 输出基于主DLL,因此在您的情况下需要它。 问候, 的Gabor - Gabor 以上来自于谷歌翻译 以下为原文 Placing a buffer in the feedback path isn't necessary, but it does allow you to erase the time delay in the global buffers. Since you're not using the CLK0 output in your design, you may not care about the relative phase of your clock to the input clock. If however, you want to have your clock in phase with the clock input you should place the buffer in the feedback path. Either way there needs to be some sort of connection from CLK0 to CLKFB or the DCM has no way to lock. You don't need the feedback for "frequency synthesis" mode, where only the CLKFX outputs are used, but the CLKDV output is based on the main DLL, so you need it in your case. Regards, Gabor -- Gabor |
|
|
|
另请注意,引用的timespec可能是由使用的工具生成的
DCM的参数(“派生”规范),因此您可能无法找到此行 .ucf,但是你的设计中必须有两个名为TS_clk的不同规格。 问候, 的Gabor - Gabor 以上来自于谷歌翻译 以下为原文 Also note that the quoted timespec is probably generated by the tools using the parameters of the DCM (a "derived" spec), so you might not find this line in your .ucf, however you must have two different specs named TS_clk in your design. Regards, Gabor -- Gabor |
|
|
|
您可能应该将DCM的“锁定”输出运行到LED以查看是否
DCM正在锁定。 DCM未锁定时不会输出CLKDV。 也 因此,您无法使用DCM的输出为任何逻辑提供时钟 生成DCM的重置信号。 HTH, 的Gabor - Gabor 以上来自于谷歌翻译 以下为原文 You should probably run the "locked" output of the DCM to an LED to see if the DCM is locking. The DCM will not put out a CLKDV while it is not locked. Also because of this, you cannot use the outputs of the DCM to clock any logic that generates the DCM's reset signal. HTH, Gabor -- Gabor |
|
|
|
只有小组成员才能发言,加入小组>>
2379 浏览 7 评论
2794 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2261 浏览 9 评论
3335 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2427 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
755浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
543浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
364浏览 1评论
1960浏览 0评论
681浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 08:09 , Processed in 1.397436 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号