quan228228的个人空间 https://blog.eetop.cn/zhangquan [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

Trip points for IC-timing analysis

已有 2033 次阅读| 2008-10-7 09:25 |个人分类:ASIC Basic

If you are a budding timing-analysis engineer or even a veteran, understanding trip points, which all major timing-analysis tools incorporate, is essential. Engineers use trip points in timing-analysis tools to calculate delay and transition values on the various nodes of a design. Timing-analysis engineers must become familiar with the proper use of trip points, as there are many nuances to using them. If engineers overlook them, these nuances can cause problems late in the SOC (system-on-chip)-design cycle, when they need to address timing. A quick tutorial and a bit of timing tool-script. work can make their job easier.

Defining and determining trip points

A trip point is the percentage of logic-high levels engineers use a as reference to measure slew and delay values. Figure 1a illustrates the slew trip points, and Figure 1b illustrates delay trip points.

 

Engineers use trip points to characterize the delay and transition values of the pins of a standard-cell or hard-block-IP (intellectual property), when checking the timing of an SOC. Typically, engineers can find trip-point values in the timing models, most commonly in Liberty (.lib format). Timing-analysis tools in turn use these values to calculate delays and slews.

Engineers set trip points for a particular technology node while characterizing the libraries for standard cells or hard-IP blocks. The aim of setting a trip point is to ensure that the measured delays and slews are closer to actual Spice waveforms. As Figure 2 shows, slew values are more accurate when a trip point lies in the linear region of 20 to 80% of the switching waveform. than when it lies in the nonlinear region of 10 to 90%. Typically, cell delays that timing tools calculate are closer to Spice results when transition trip points are in the linear region.

Also, the threshold-voltage characteristic for transistors plays an important role in determining a trip point, because the output waveform. linearizes after the input voltage crosses the threshold-voltage value for the transistor.

Delay thresholds are fixed in the linear region of the input and output waveforms. It does not matter whether the delay trip points are in the 20 to 80% region or at 50%, as long as they lie in the linear part of the waveform. Listing 1 is a snapshot of a typical timing model (in .lib) to indicate the trip points under use.

 

Timing tools calculate delays

Timing tools calculate delays using trip points in many ways. When both the driver and the load have the same delay thresholds, timing tools calculate the time difference between the driver reaching 50% of its logic-high value and the load reaching 50% of its logic-high value after taking into account slew degradation, which the net causes (Figure 3). Similar explanations hold true for falling signals and delays from the input to the output of a cell. Timing tools then calculate slew values from a number of variables outlined in .lib. files. When an interface has different trip points, however, things get a bit more interesting.

Figure 4a depicts a situation in which a driver’s delay trip point is 20% and the load-cell trip point is 50%. In such a case, a signal could quickly reach the driver at its delay-trip-point value and arrive slowly at the trip point for the load signal. Hence, the net delay for such an interface can be more than in a situation when the driver is also 50%. Timing tools calculate this extra delay using linear or nonlinear scaling (see sidebar “Types of scaling”).

Conversely, when a driver’s trip point is 50% and its load cell trip point is 20%, the loading signal reaches its delay-trip-point value much sooner than it reaches the trip point for the driver signal (Figure 4b). This situation can result in a “negative delay” due to timing tools’ linear and nonlinear scaling features. Although you cannot move backward in a time domain, the timing tool must take this delay into account so that the overall path delay from the signal’s starting point—in this case, the input pin of the driver cell—to the endpoint—in this case, the output pin of the load cell—is close to the real-world delay, which you can determine using Spice.

Users must also take into account several miscellaneous issues associated with trip points. First, if timing tools encounter negative delays, it is likely that those same negative delays will make their way into the SDF (standard-delay-format) file engineers use for gate-level simulations. Gate-level simulators can’t handle negative delays. They either flag an error message or annotate a zero delay for such cases. To work around the problem, designers can write a script. to adjust the load- or driver-cell delay in accordance with the calculated negative net delay. Listing 2 contains this script.

 

Another issue involves calculating the delay between the port and the bidirectional pad pin of I/O cell. Because the net running from the port to the pad pin of the I/O cell is typically outside the chip because the net is a bond wire, a timing tool must still take the delay of the net into account. This approach is complicated, because there is no accurate physical information for the net. Without a timing model available for the ports, users must manually define a default trip point and voltage level to help the tool calculate the delays (Figure 5). To manually define a default trip point and voltage level, users should first define the operation conditions for ports that are the same as that of I/O cells and then write a script. to annotate zero delay for such nets.

It is common to find that libraries are missing trip points. A timing model that does not contain trip-point-threshold or voltage-level values, may have incorrect delays for interfaces to and from them. Because timing tools need at least default values of trip points and voltage levels for analyzing such paths, engineers should consult with their library teams to define the missing trip points.

Timing-tool quirks

A timing tool may fail to perform. scaling, resulting in silicon failures because the calculated delays do not match the Spice results. This problem has no easy solution, but it is good practice is to perform. Spice analyses for all interfaces that have different trip points. Another method is to use the same trip points for all the modules (hard blocks) in an SOC.

A Spice analysis for multithreshold paths is always a good idea to garner more confidence while cleaning up timing issues. Although thresholds do not exist in the Spice world, the timing models mention them to facilitate the use of timing-analysis tools.

Timing tools typically include a feature that allows users to dump timing paths in the form. of a Spice netlist into a Spice tool. To complete this task, users must also provide the Spice tool with a stimulus file containing the input vectors. Spice-simulation tools can read the dumped Spice netlist and the Spice netlists of the standard cells and hard blocks and then source the stimulus file to simulate the critical paths. Engineers need to analyze the generated waveforms to determine whether the path meets timing. One thing to keep in mind while measuring the delay and transition values of such paths in Spice is to use the same trip points that the timing models mention. This approach ensures accuracy.

To properly perform. IC-timing analysis, engineers must become familiar with trip points, their nuances, and how timing tools handle them. Failing to properly understand trip points can mean big headaches for a design team and even cause silicon failures. By better studying what they are and how timing tools use them and with a bit of creative script. writing, engineers can use trip points to get the most out of their timing methodologies.

 

Types of scaling

Most of the industry-standard timing tools use either linear or nonlinear scaling as their modus operandi. In linear scaling, the tool assumes a linear ramp at both thresholds. This method uses the concept of similar triangles to scale the delay from driver to load cell. In nonlinear scaling, tools use current-source models to define the ramps. Calculating the delays requires complex mathematical equations.

 

 

 

 



点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 3

    粉丝
  • 0

    好友
  • 0

    获赞
  • 2

    评论
  • 286

    访问数
关闭

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


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

GMT+8, 2024-12-23 09:00 , Processed in 0.015211 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部