Total Negative Slack ( TNS ) Worst Negative Slack ( WNS )

本文揭示了WNS和TNS概念的误解,强调了在设计中处理大逻辑块和信号扇出对时延的影响。作者提出通过逻辑分割和寄存器来提高频率,降低总负时延。同时纠正了WHS和THS的命名误区。解决方法适用于复杂的逻辑设计和流水线优化。
摘要由CSDN通过智能技术生成

The “Worst Negative Slack (WNS)” reported by commands like report_timing_summary is actually the worst positive slack. If WNS is positive then it means that the path passes. If it is negative, then it means the path fails. So, this is really a misnomer.

The “Total Negative Slack (TNS)” is the sum of the (real) negative slack in your design. If 0, then the design meets timing. If it is a positive number, then it means that there is negative slack in the design (hence your design fails). It cannot be negative.

Going on, the “Worst Hold Slack (WHS)” is correct - it is the worst hold slack in the design. Like WNS if positive, it means the path passes, if negative it fails.

Conversely “Total Hold Slack (THS)” is also a misnomer. It is really the sum of the (real) negative hold slack. If zero, your design passes, if positive, your design fails.

出现这种问题可能原因是组合逻辑层次太多,逻辑块太大。或者是信号扇出太多造成布线延迟太大。
参考:https://blog.csdn.net/Blaze_Xu/article/details/110946029

较大的组合逻辑会造成很大的Tlogic。流水线设计就是将组合逻辑分割,并在各级间插入寄存器,并暂存中间数据的方法。

//大逻辑块:
r0 <= a + b + c;
//分割为两个小逻辑块:
rr <= a + b;
r0 <= rr + c;
//小逻辑块间通过寄存器 rr 连接

目的是将一个大操作分解成若干的小操作,每一步小操作的时间较小,所以能提高频率,各小操作能并行执行,能提高处理速度。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值