在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4498|回复: 9

[求助] soc 中关于create_generated_clock引起的error求助?

[复制链接]
发表于 2015-4-3 13:27:23 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
SOC Encounter中碰到的error,导致SOC Encounter不能routing,place倒是没问题。但是开始place的时候也会弹出类似的error。

**ERROR: (TA-152):      A latency path from the 'Rise' edge of the master clock 'FR2' at source pin 'display/fr2_reg/Q' to the 'Rise' edge of generated clock 'FR4' at pin 'display/fr4_reg/Q' cannot be found. You must modify your create_generated_clock constraint to be consistent with the network topology. The analysis will continue using 0ns source latency for generated clock 'FR4'. For backward compatibility with earlier releases or to remove the edge-to-edge sufficiency checking, you should set the global 'timing_enable_genclk_edge_based_source_latency' to false
**ERROR: (TA-152):      A latency path from the 'Rise' edge of the master clock 'FR2' at source pin 'display/fr2_reg/Q' to the 'Fall' edge of generated clock 'FR4' at pin 'display/fr4_reg/Q' cannot be found. You must modify your create_generated_clock constraint to be consistent with the network topology. The analysis will continue using 0ns source latency for generated clock 'FR4'. For backward compatibility with earlier releases or to remove the edge-to-edge sufficiency checking, you should set the global 'timing_enable_genclk_edge_based_source_latency' to false
**ERROR: (TA-152):      A latency path from the 'Rise' edge of the master clock 'FR4' at source pin 'display/fr4_reg/Q' to the 'Rise' edge of generated clock 'FR8' at pin 'display/fr8_reg/Q' cannot be found. You must modify your create_generated_clock constraint to be consistent with the network topology. The analysis will continue using 0ns source latency for generated clock 'FR8'. For backward compatibility with earlier releases or to remove the edge-to-edge sufficiency checking, you should set the global 'timing_enable_genclk_edge_based_source_latency' to false
**ERROR: (TA-152):      A latency path from the 'Rise' edge of the master clock 'FR4' at source pin 'display/fr4_reg/Q' to the 'Fall' edge of generated clock 'FR8' at pin 'display/fr8_reg/Q' cannot be found. You must modify your create_generated_clock constraint to be consistent with the network topology. The analysis will continue using 0ns source latency for generated clock 'FR8'. For backward compatibility with earlier releases or to remove the edge-to-edge sufficiency checking, you should set the global 'timing_enable_genclk_edge_based_source_latency' to false

Gatelevel 网表是这样的:
  DFFRBX1 fr2_reg ( .D(n198), .CKB(fr), .RB(n255), .Q(fr2) );
  DFFRBX1 fr4_reg ( .D(n199), .CKB(fr2), .RB(n255), .Q(fr4) );
  DFFRBX1 fr8_reg ( .D(n200), .CKB(fr4), .RB(n255), .Q(fr8) );

SDC中FR4和FR8的设置:
create_generated_clock -name FR4 -source [get_pins {display/fr2_reg/Q}]  \
-divide_by 2  -add -master_clock [get_clocks {FR2}] [get_pins \
{display/fr4_reg/Q}]

create_generated_clock -name FR8 -source [get_pins {display/fr4_reg/Q}]  \
-divide_by 2  -add -master_clock [get_clocks {FR4}] [get_pins \
{display/fr8_reg/Q}]
set_clock_uncertainty  2 [get_clocks {FR8}]


有谁知道怎么处理吗?PT没有报任何错误啊!
发表于 2015-4-3 15:11:42 | 显示全部楼层
edi和pt 的理解不一样

edi不是告诉你了么 把 'timing_enable_genclk_edge_based_source_latency' 设成false即可
set_global
 楼主| 发表于 2015-4-3 16:58:00 | 显示全部楼层
回复 2# icfbicfb


    这样做的意义是什么?为什么要这么设置啊?不懂,求教!
发表于 2015-4-4 13:58:10 | 显示全部楼层
试试不用"-divide_by 2", 用“-edges {1 3 5}”
 楼主| 发表于 2015-4-16 08:54:18 | 显示全部楼层
回复 4# RNA2012

有什么区别吗?
发表于 2015-4-16 10:41:32 | 显示全部楼层
有些generated clock的edge没法从master clock的定义里面找到或者derive出来

建议看看generated clock的定义问题,
发表于 2018-12-14 13:23:47 | 显示全部楼层
发表于 2024-10-31 13:38:22 | 显示全部楼层
大佬,解决了吗??可以分析一下思路吗?
发表于 2024-11-4 16:59:33 | 显示全部楼层
CKB是不是负沿触发器啊
发表于 2024-11-4 17:01:45 | 显示全部楼层


lolina 发表于 2024-11-4 16:59
CKB是不是负沿触发器啊


感觉像是代码用的是FR4的负沿negedge

如果是这样的话,约束不能这样约了,divide by2 默认是Master正沿产生generate的正负沿
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-18 07:30 , Processed in 0.031729 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表