【问题标题】:Vivado: TCL command to set timing paths between clock1 and clock2 as false path (TIMING-6 and TIMING-7)Vivado:TCL 命令将时钟 1 和时钟 2 之间的时序路径设置为假路径(TIMING-6 和 TIMING-7)
【发布时间】:2019-08-19 19:43:45
【问题描述】:

假设我有一个具有两个时钟域的 FPGA/VHDL 设计,并且一个时钟域到另一个时钟域之间的每条路径都有用 VHDL 编写的 CDC 同步代码,以确保在交叉点之间传递信息时没有亚稳定性时钟边界。

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

示例编译器警告:

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]

【问题讨论】:

标签: fpga vivado


【解决方案1】:
set_false_path -from [get_clocks clk_1] -to [get_clocks clk_2]

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

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多