BIST Based Test Applications Enhanced with Adaptive Low Power RTPG and LFSR Reseeding Techniques

DOI : 10.17577/IJERTV2IS100121

Download Full-Text PDF Cite this Publication

Text Only Version

BIST Based Test Applications Enhanced with Adaptive Low Power RTPG and LFSR Reseeding Techniques

Vasanthamani.M

PG Student

Kalaignar Karunanidhi Institute of Technology Coimbatore, TamilNadu, India

Abstract Power, area and time are the major milestones for VLSI circuits. Power consumed during the scan based test mode of a circuit is much more than that in the normal mode because of increased switching transitions. This work is aimed to reduce the power consumed during testing a circuit without affecting the test coverage, speed and memory requirements. The work can be applied to Built In Self Test (BIST) based test applications. To achieve all these objectives, a Low Power Random Test Pattern Generator (LPRTPG) along with partial LFSR reseeding is added to conventional BIST unit. The experimental results on ISCAS89 benchmark circuit shows efficiency of the work in terms of reduction in test power and memory requirements.

Keywords VLSI Testing, built-in self test, low power, test patterns, Transition controller, LFSR Reseeding, Encoding techniques.

1. INTRODUCTION

A Design For Testability (DFT) methodology in which the testing logic to detect faulty chips is built inside the chip itself is called Built In Self Test (BIST).

As the size and complexity of System On Chips (SOCs) continues to grow, testing them is becoming a difficult problem with increased power consumption and reduced test coverage. With the increasing scale of integration, test patterns required to test a chip is also increasing. It results in more number of transitions from 0 to 1 and vice versa. So Power dissipation during scan-based tests is higher than the normal operation of the circuit due to this increased switching activity.

BIST unit comprises of a Linear Feedback Shift Register (LFSR), phase shifter, scan cells from circuit under test (CUT) and a Multiple Input Signature Register (MISR).

Wide varieties of techniques are there to reduce the test mode power consumption in BIST. Many of

them insert an extra hardware to reduce switching between scan cells which in turn reduces speed [4]. A technique called selective triggering scan architecture

[5] reduces switching activity by utilizing an extra scan chain. Another method uses two LFSRs with different speeds [6] to make outputs of all scan cells constant during test mode. Many techniques such as transition monitoring unit [7], DS LFSR [8] etc., are also used to reduce the test power. All these methods are lacking one or two of our three objectives viz. speed, coverage and memory requirements.

Few techniques concentrate on LFSR which is used to generate random test patterns to be applied to the scan cells. The initial input given to LFSR is termed as its seed value. Reseeding LFSRs frequently will increase compression but does not have any impact on test power [9]. In our work partial LFSR reseeding with encoding algorithm [2] is used in conjunction with adaptive low power random test pattern generator (RTPG) [1] to reduce the test power Power, increase the test data compression and fault coverage and to enhance the test speed.

The rest of the paper is organized as follows; Conventional BIST is explained in section II. Proposed scheme is explained in section III, Partial LFSR Reseeding and Encoding techniques are explained in section IV, Simulation results using ISCAS 89 benchmark circuits are explained in section VI.

  1. CONVENTIONAL BIST

    The basic architecture of BIST is shown in Figure.1

    Figure 1.Conventional BIST architecture

    It is a combination of flip flops and an XOR gate. When initialized with a seed value, LFSR performs shift and XOR operations to generate different test patterns. Phase shifter is used to deliver the test vectors to the scan cells correctly. LFSR and phase shifter are the basic building blocks of RTPG. Scan cells are the flip flops from CUT. MISR compares the actual test response with precomputed response and indicate the faults if any.

    The test vectors generated are directly passed into the scan chain in normal RTPG. This increases the switching activity which results in large power dissipation. In our work a transition controller is inserted to reduce this switching activity. LFSR reseeding and encoding are used to achieve the remaining objectives.

  2. PROPOSED SCHEME

    The proposed scheme enhances the conventional BIST with three features namely transition controller, partial LFSR reseeding and an encoding algorithm. Proposed architecture is shown in Figure.2.

    Transition controller unit comprises of a multiplexer, XNOR gate and a D flip-flop. The values of last two scan cells are given as inputs to the XNOR gate. XNOR output is connected to multiplexer select input. For simplicity let us assume that the two scan cells have same values. XNOR output is 1 which enables the multiplexer and D flip flop will be updated by the phase shifter output. If the scan cells have different values, XNOR output will be zero and D flip flop holds the previous value. During scan mode, values of scan cells are given as feedback to the transition controller which reduces

    the switching activity by increasing the correlation between adjacent test vectors.

    Table 1 shows the comparison of BIST units with and without transition controller [1] with assumed test pattern as 001010. It is obvious that the number of transitions is reduced from sixty three to thirty three.

    Table.1 Comparison of BIST with and without transition controller

    Figure.2 Proposed BIST architecture

  3. PARTIAL LFSR RESEEDING AND ENCODING

Partial LFSR reseeding is done using the tester block in Figure.2. The test patterns produced by LFSR are linearly dependent and deterministic. With an initial seed, we can pre-compute all other test patterns generated by the LFSR. LFSR may be of any size as per our requirements say r bits. An r bit LFSR should be initialized with an r bit seed. This makes the LFSR to run for several clock cycles equal to the scan length.

During next phase, the seed value is reduced to n bits (n<r) so it is a partial reseeding. Fewer bits are needed in addition for next test which can be shifted in from the tester. This allows n (number of bits coming from tester) to be smaller than r (size of the LFSR). After the first n clock cycles, the tester stops shifting in data and the LFSR simply cycles through its normal sequence of states until the scan chains are full.

In our work an encoding scheme [3] is used with partial reseeding. Encoding technique reduces power consumption as well as the number of specified bits. It makes use of the fact that number of specified bits in a test cube is always greater than the number of transitions.

Table.2 Encoding of test data

BLOCK

1

2

3

4

ORIGINAL

1XX0

X000

OXOX

XXX X

ENCODED

01XXO

1—–

1—–

XXX XX

The proposed encoding algorithm divides the test cube into blocks and uses LFSR reseeding to produce only the blocks that contains transitions. LFSR reseeding is not used directly to encode the specified bits as in conventional LFSR.

For the blocks that do not contain transitions, the logic value fed into the scan chain is simply held constant. This approach reduces the number of transitions in the scan chains and in most cases also reduce the total number of specified bits that must be generated by the LFSR as compared with conventional LFSR reseeding.

  1. ENCODING METHOD

    The proposed encoding scheme encodes each test cube with two kinds of data: hold flags and data bits. Each test cube is divided into several blocks, and each block has a 1-bit hold flag. The hold flag indicates whether a transition occurs in a block. There are three types of blocks.

    1. Transition block (hold flag = 0). One or more transitions exist in the block. Either both 0 and 1 are present in the block (e.g, XX1X0X) or only 0 or 1 is present, but the last specified bit from a previous block was the opposite value.

    2. Non transition block (hold flag = 1). No transition occurs in the current block. Only 0 or 1 is present in the block, and the last specified bit from a previous block is same (e.g., X0XX0X).

    3. Dont care block (hold flag = X). No specified bits occur in the block all are dont cares.

      The data bits in a block with hold flag 1 are kept constant from the last data bit in the previous block. Data bits are obtained directly from LFSR if the hold flag is 0. For X hold flag, the block can be treated either as transitional or non transitional. An example is shown in table.2.

      Thus, the proposed encoding scheme reduces the number of specified bits that need to be generated using LFSR reseeding. In encoding test data the 1s in blocks 2 and 3 do not need to be generated directly by the LFSR but are rather generated as a by-product of the fact that the hold flags keep the input to the scan chain constant at 1.

      Thus, test data compression can be achieved in this way. Moreover, no transitions will occur when generating blocks 2 and 3 because the hold flags are 1, thus keeping all the bits in the blocks constant. This would not be the case in conventional LFSR reseeding, where the Xs in blocks 1 and 2 get filled with random data, which may result in many more transitions. Thus, a reduction in the number of transitions can be achieved in this way.

  2. CONVERSION PROCEDURE

It is possible to increase the number of non transition blocks by converting some transitions blocks into non transition blocks. There are two requirements that must be satisfied in order to convert a transition block into a non transition block. The first is that it cannot contain both specified 0s and specified 1s. The second is that the last bit of the previous block must be an X. Two examples of this are shown in table.3.

Table.3 Conversion example

BLOCK

1

2

3

4

ORIGINAL

X01X

X0X0

XXXX

111X

ENCODED

0X010

1—–

0XXX1

1—

Block 2 is initially a transition block even though it only contains specified 0s because the last specified bit in block 1 was a 1. However, the very last bit of block 1 is a dont care, so a conversion procedure can be used to specify that dont care as a 0 and thereby convert block 2 into a non transition block. Even though this conversion required adding an extra specified data bit, the net result is still a reduction in the total number of specified bits because now block 2 is a non transition block; thus, none of its data bits need to be generated by the LFSR. This same conversion procedure can also be used to convert block 4 in Figure.3, into a non transition block.

By increasing the number of non transition blocks, the conversion procedure can help to reduce both test storage (since it can reduce the total number of specified bits) and test power (since it can reduce the number of transitions by enabling all the Xs in the converted non transition block to be filled with the same logic value). (The last bit of blocks 1 and 3 are specified to convert blocks 2 and 4 into non transition blocks).

  1. RESULTS AND DISCUSSIONS

    The efficiency of the work is analyzed using S27 benchmark circuit of ISCAS89 family. Modelsim and Xilinx are the tools used for simulation and interpretation. Scan chain is formed with the flip-flops from S27 circuit.

    Transition controller and Partial reseeder with encoding algorithm are implemented in conventional BIST.

    Simulation results are shown below.

    Figure.3 Conventional BIST

    Figure.4 Partial LFSR reseeding

    Figure.5 Test cube Encoding

    Figure.6 Proposed LFSR Reseeding with Encoding Simulation analysis of BIST with transition

    controller and overall result is under progress.

  2. CONCLUSION

BIST with transition controller and partial LFSR reseeding with encoding algorithm is a good solution for test power reduction, test data compression, speed enhancement and test coverage enhancement. The architecture improves the trade-off between test coverage and shift power. Shift power is reduced considerably with a negligible test coverage loss so that the high power dissipation effects in CUT can be reduced. Since the transition controller and

tester cover a negligible portion of chip area, the burden of area overhead can be avoided.

REFERENCES

  1. S Sivanantham, Renju Thomas John and Sreekanth K. D, Adaptive low power RTPG for BIST based test applications, in 2013 International Conference on Computer Communication and Informatics (ICCCI -2013), Jan. 09 11, 2013.

  2. M. Kalaiselvi, K.S.Neelukumari, "LFSR reseeding scheme for achieving test coverage, in IEEE Transactions 2013.

  3. Jinkyu Lee and Nur A. Touba, LFSR- Reseeding Scheme Achieving Low-Power Dissipation During Test, , IEEE Trans. Comput., vol.26, no. 2, Feb. 2007.

  4. A. Hertwig and H.-J. Wunderlich, Low Power Serial Built-In Self-Test, in Proc. of European Test Workshop, pp. 49-53, 1998.

  5. G. Sudhagar, Dr.S. Senthil Kumar, G. Ramesh and G. Sathish Kumar, Implementation of novel architecture for VLSI testing, in IEEE Transactions 2013.

  6. S. Wang and S. K. Gupta, DS-LFSR: A New BIST TPG for Low Heat Dissipation, in Int. Test Conf., 1997, pp. 848-857.

  7. P. Girard, L. Guiller, C. Landrault, S. Pravossoudovitch, H.-J. Wunderlich, A Modified Clock Scheme for a Low Power BIST Pattern Generation, in VLSI Test Symp., 2000, pp. 23-28.

  8. D. Satya Valibaba, S. Sivanantham, P. S. Mallick, and J. R. P. Perinbam, Reduction of testing power with pulsed scan flip-flop for scan based testing, in 2011 – International Conference on Signal Processing, Communication, Computing and Networking Technologies, ICSCCN-2011, 2011, pp. 526531.

  9. B. Koenemann, LFSR-coded test patterns for scan designs, in Proc. Eur. Test Conf., 1991, pp. 237242.

  10. Xijiang Lin, Janusz Rajski, Adaptive Low Shift Power Test Pattern generator for Logic BIST, in Asian Test Symp.,2010, pp.355-360. power in test applications, in 3rd International symposium on Electronics System Design (ISED- 2013), Dec. 19- 21, 2012.

  11. S. Hellebrand, S. Tarnick, J. Rajski, and B. Courtois, Generation of vector patterns through reseeding of multiple polynomial linear feedback shift register, in Proc. Int. Test Conf., 1992, pp. 120129.

  12. S. Hellebrand, J. Rajski, S. Tarnick, S. Venkataraman, and B.Courtois, Built-in test for circuits with scan based on reseeding of multiple

    polynomial linear feedback shift registers, IEEE Trans. Comput., vol. 44, no. 2, pp. 223 233, Feb.

    1995.

  13. N. Zacharia, J. Rasjski, and J. Tyszer, Decompression of test data using variable-length seed LFSRs, in Proc. VLSI Test Symp., 1995, pp. 426433.

  14. C. V. Krishna, A. Jas, and N. A. Touba, Test vector encoding using partial LFSR reseeding, in Proc. Int. Test Conf., 2001, pp. 885893.

  15. P. Girard, Survey of low-power testing of VLSI circuits, IEEEDes. Test Comput., vol. 19, no. 3, pp. 8292, May/Jun. 2002.

  16. R. Sankaralingam, R. R. Oruganti, and N.

    A. Touba, Static compaction techniques to control scan vector power dissipation, in Proc. VLSI Test Symp., 2000, pp. 3540.

  17. A. Chandra and K. Chakrabarty, Combining low-power scan testing and test data compression for system-on-a-chip, in Proc. Des. Autom. Conf., 2001, pp. 166169.

  18. Reduction of SOC test data volume, scan power and testing time using alternating run-length codes, in Proc. Des. Autom. Conf., 2002, pp. 673 678.

  19. P.M. Rosinger, B. M. Al-Hashimi, and N. Nicolici, Low power mixed mode BIST based on mask pattern generation using dual LFSR reseeding, in Proc. Int. Conf. Comput. Des., 2002, pp. 474479.

  20. J. Lee and N. A. Touba, Low power test data compression based on LFSR reseeding, in Proc Int. Conf. Comput. Des., 2004, pp. 180185.

  21. S. Samaranayake, N. Sitchinava, R. Kapur,

M. B. Amin, and T.W.Williams, Dynamic scan: Driving down the cost of test, Computer, vol. 35, no. 10, pp. 63 68, Oct. 2002.

Leave a Reply