首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Vivado: TCL命令,将clock1和clock2之间的计时路径设置为假路径(计时-6和计时-7)

Vivado: TCL命令,将clock1和clock2之间的计时路径设置为假路径(计时-6和计时-7)
EN

Stack Overflow用户
提问于 2019-08-20 03:43:45
回答 1查看 780关注 0票数 0

假设我有一个FPGA/VHDL设计,它有两个时钟域,一个时钟域到另一个时钟域之间的每个路径都有用VHDL编写的CDC同步代码,以确保在跨越时钟边界之间传递信息时不存在亚稳定。

在这种情况下,将clock1和clock2之间的定时路径设置为clock1和clock2之间的每个定时路径的假路径的Vivado TCL命令是什么?

示例编译器警告:

代码语言:javascript
复制
WARNING: [TIMING-6] The clocks clk_1 and clk_2 are related (timed together) but they have no common primary clock. The design could fail in hardware. To find a timing path between these clocks, run the following command: report_timing -from [get_clocks clk_fpga_0] -to [get_clocks clk_out1_design_zynq_zyboz720_clk_wiz_0_0] 

WARNING: [TIMING-7] The clocks clk_1 and clk_2 are related (timed together) but they have no common node. The design could fail in hardware. To find a timing path between these clocks, run the following command: report_timing -from [get_clocks clk_1] -to [get_clocks clk_2]
EN

回答 1

Stack Overflow用户

发布于 2019-08-20 15:50:43

代码语言:javascript
复制
set_false_path -from [get_clocks clk_1] -to [get_clocks clk_2]

此命令将删除与此CDC相关的警告和预期的关键警告“时间未满足”,但这不能确保您的设计将正常工作。

我建议您在重新同步信号上也添加属性ASYNC_REG,以确保合成器会将2个CDC FF放在非常接近的位置(如果可能,在同一个切片中):

代码语言:javascript
复制
attribute ASYNC_REG : string;
attribute ASYNC_REG of a_r_clk_2  : signal is "TRUE"; -- Output of the first resync FF in clk_2
attribute ASYNC_REG of a_rr_clk_2 : signal is "TRUE"; -- Output of the second resync FF in clk_2
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57563017

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档