At - Speed Testing
At - Speed Testing
Vlado Vorisek, Thomas Koch, Hermann Fischer Multimedia Design Center, Semiconductor Products Sector Motorola Munich, Germany
Abstract
This paper discusses the aspects and associated requirements of design and implementation of at-speed scan testing. It also demonstrates some important vector generation and implementation procedures based on a real design. An innovative method of scan pattern timing creation based on the results from Static Timing Analysis is presented. The paper also describes the usage of a clock control module on J750 tester, which creates fast clock by combining two tester channels with high edge placement accuracy. These methods allow a short test pattern preparation time and the use of low-cost test equipment, while providing the high quality at-speed testing.
architecture is described there as well. Section 4 focuses on the most challenging tasks of pattern creation process, namely pattern timing creation, pattern verication and debug. Finally, Section 5 shows how low cost tester equipment can be used to implement the proposed at-speed test method. At the end, Section 6 draws some conclusions. The case design is a real production audio processor supporting MP3 playback. The architecture is centralized around a Motorola 32-bit RISC ColdFire V2 processor, which has the following attributes: Fabricated in 0.18m CMOS technology Maximum application frequency is 140MHz 96kB of memory + 8kB of instruction cache RAM 5 clocks (2 uses posedge and negedge) + PLL
1. Introduction
High application frequencies, automated timing closure, new deep submicron (DSM) effects (dominance of wire delay, crosstalk, etc.), and nally the decrease of the absolute slack on the critical paths require testing of the IC at application frequency. On the other hand, the test cost must be kept on a minimum involving low cost tester solutions. Additionally, due to the short time-to-market window, all the tasks must be fullled just or even before the rst prototypes arrive from the wafer fab. This paper presents a possible solution to this challenge: scan based ATPG testing at application speed (at-speed). The rst part of the paper (Section 2-3) contains a methodology tutorial which summarizes state-of-the-art of at-speed scan. The second part (Section 4-6) presents the authors contribution based on a real case design. Particular sections are organized in the following way: Section 2 discusses scan test and associated fault models. It denes the at-speed test as it is understood in this case. Section 3 presents the requirements that need to be met in order to implement proposed test method. Special scan hardware
source as well as sink. An ATPG tool provides methods to detect different manufacturing defects. Fig. 1 gives an example of possible device defect classes. In DSM technologies, there is an increasing number of faults related to speed defects. One contributor to the increasing number of speed defects is the decreasing margin between inaccuracy of timing calculation and minimum gate delay.
Fig. 2 Transition delay waveform (generic) Initialization cycle sets the initial value for the fault. Transition (launch) cycle triggers the transition to be veried. Capture cycle is identical to the stuck-at fault pattern, receives the nal transitioning value from the source to the sink.
The simplest way is to ensure that all outputs of such blocks drive a known value during scan test by just adding an AND or OR gate to the output and control this gate by the scan mode signal. Another method is to bypass the block. This means that the inputs are connected to the outputs via a bypass multiplexor controlled by the scan mode signal. This method is often selected for RAMs, where the data input is connected to the data output. A third possibility (for RAM/ROM) is write through. If used, the ATPG tool must support clock sequential test pattern generation. It is good practice to modify the RAM/ ROM interface to support this feature. The RAM/ROM itself should be veried by Build in Self Test (BIST) to detect manufacturing defects within the structure.
pads, due to the tester environment, also requires the masking of fault in the pad output logic for at-speed transition delay testing.
logic 0 scan chain head register Clock at-speed SE BSE functional OE tail register 1
Due to the fact that the separate scan domains are not evenly distributed around the chip, it is good practice to use a separate signal called BSE. This signal is used to control logic for the scan inputs and scan outputs instead of using the individual scan enables for this task. Having this BSE signal is helpful in meeting timing constraints for the at-speed scan enables. For at-speed scan testing the BSE signal is forced to 1. While running special BSE vectors covering faults in the IO logic, the BSE signal is forced to 0 during the capture cycle. Such vectors usually do not run at-speed. To cope with the input delay of the scan enable through the pad cells, a head register is added to the scan chains which allows to switch the scan enable during the last shift cycle without losing any fault coverage (head register contains the value from the rst scan register). To deal with the slow output pads, a tail register is added to the scan chains with a hold function which ensures that the output pad will not change its value during the capture cycle as long as the BSE signal is 1.
CLK
time window for SI
SI
skew insertion delay
Fig. 4 Time window for Scan Input signals right side. The strobe time limits this window because ATPG tools usually require a force-strobe-pulse event order, which means that the strobe time must occur before the clock pulse. SI arrival time can be set by adjusting the force time in the ATPG protocol le. The insertion delay and skew of the worst SI path must be considered here as well.
insertion delay
CLK
time window for SE
SE
insertion delay
skew
Fig. 5 Time window for Scan Enable signal To be able to properly switch all the ipops into the capture mode, SE signal need to arrive within the time window shown in Fig. 5. This can be set by adjusting SE waveform in the ATPG protocol le. The insertion delay and skew of SE signal must be considered as well. To avoid these kinds of problems earlier in the design, the time window for SE can be partially relaxed by separating the posedge and negedge ipops into two separate scan domains. The posedge and negedge scan domains then need to have independent scan enable signals, so they can both have unique waveforms. Using last shift launch ATPG mode can relax the time window for SE signal as well. Described pattern timing creation ow minimizes required ATPG iterations and debugging activities, which saves a lot of time and effort during the design process.
read post layout netlist run build set options read pattern write-out failing vector run serial simulation VCD analyze failures run DRC on modied SPF write sub-pattern adjust timing
Shift Period
Application Period
Launch Capture
Clock
Strobe Strobe Strobe Strobe
SE
Shift(n-2) Shift(n-1) Shift(n) capture
two parts at a time. On the loadboard, two Teradyne 200 MHz Clock Modules, which work on the described principle and mainly consist of an ECL-XOR gate, a high-speed driver, glue components, and drop-in calibration software modules, have been integrated. For debugging of the loadboard, the calibration software and the postprocessing script, a 200MHz test sequence was used. Prototypes could be veried at-speed within a few days, loadboard and test program are successfully running in a production test environment.
Fig. 7 Slow-Fast-Slow timing diagram In the at-speed scan pattern, a postprocessing script subdivides the clock signal into two independent signals, ClockA and ClockB. These are generated with two separate digital tester channels, fed onto the tester loadboard, and combined with a XOR gate in order to regenerate the original clock shape. This signal is then fed to a bipolar pin driver device with exceptional slew rate and propagation delay specications, and a variable output voltage range (Fig. 8). The desire to eliminate propagation delays is to minimize the offset that must be applied to the tester values.
6. Conclusions
The at-speed scan test motivation, background and main implementation guidelines have been presented in this paper. The innovative way of scan pattern timing creation based on the results from Static Timing Analysis was presented. This new approach saves a lot of time and effort during the design phase. The paper also describes the usage of the clock control module of the J750 tester as an example that high quality at-speed test can be implemented using available commercial tools and a low cost tester. The proposed at-speed technique has been very successfully implemented into real production design. All at-speed patterns were successfully running on the tester on time.
ClockA
7. References
100101000101011 001011010101101 .... .... 101011011010010
ClockB
XOR
PIN DRIVER
Clock
Vre, Vrefh 2
Test vectors
IN
[1] V. Vorisek, T. Koch, At-Speed ATPG for SOC-Designs, SNUG Europe, Paris, France 7-8 March 2002 [2] T. Chakraborty, V. Agrawal and M. Bushnell, Delay Fault Models and Test Generation of Random Logic Sequential Circuits in Proceedings of Design Automation Conf., pp. 453-457, 1993. [3] H. Fischer, Delay-Fault-Test, Test Kompendium 2003, publish-industry Verlag GmbH, 2003
Tester
Loadboard
IC
Fig. 8 Tester environment Two advantages of this method are the larger pulse widths of the two individual signals which get less degradated than a single narrow pulse, and the possibility to refresh the clock edge rates close to the DUT. For Vih and Vil level control, and for calibration purposes, three more tester channels are needed. The calibration routine measures the path lengths and skews of ClockA and ClockB and applies them to the calibration and deskew registers for best accuracy. Testing multiple devices in parallel increases throughput, which contributes to the reduction in testing costs. Therefore a dual-site test methodology was used to test