Sie sind auf Seite 1von 4

International Conference on Communication and Signal Processing, April 6-8, 2016, India

Performance of Low Power BISTArchitecture for


UART
V. Thirunavukkarasu, R.Saravanan and V.Saminadan

AbstractUniversal Asynchronous Receiver Transmitter To test a circuit, the circuit typically requires an additional
(UART) is used for exchanging data between computer and circuitry and some functionality that should be incorporated
peripherals at a very short distance. In this paper, Built in Self into the design of the circuit for smooth functioning. This
Test (BIST) architecture with Bit Swapping Linear Feedback additional functionality should be capable of generating test
Shift Register (BS-LFSR) is used for testing UART. Generally,
patterns as well as it should be able to provide a mechanism to
BIST for UART consists of test patterns obtained from
conventional LFSR. BS-LFSR consists of shift registers, determine whether the output response of the circuit under test
Multiplexers and a XOR logic gate. Pattern generation in BS- (CUT) have some fault or not. In this paper, UART is tested
LFSR is similar to the normal LFSR but the sequence of the test using BS-LFSR. The BS-LFSR consumes low power while
pattern will be different. This method reduces the power testing the circuits, because of the reduced transition activity
consumption during testing of circuits by reducing number of when compared to the conventional LFSR [2].
switching activities when compared to the conventional LFSR. In This paper is organized as follows, Section II Introduces
the Bit-swapping LFSR maintaining randomness in the test Built In Self Test, Section III describes about UART, Section
pattern generation is the most important factor. Because of this IV describes the working of BS-LFSR, section V describes the
randomness it gives high fault coverage. The main advantages of
implementation of BS-LFSR architecture for UART, Section
this work are better power reduction and less hardware
requirement. VI gives the simulated results of the BS-LFSR BIST and
Section VII is the conclusion of the paper and finally
KeywordsBIST, UART,BS-LFSR,Switching activities. references.

I. INTRODUCTION
II. SYSTEM MODEL
There are three phases in the life-cycle of a product in
which testing plays an important role. Many testing issues can
be addressed during the development and design of a product, A. BUILT IN SELF TEST
but the main aim is to give high quality standard testing at a
The BIST architecture is shown in Fig. 1. BIST consists of:
minimal cost. This criteria has become the most difficult task
to achieve because of increased component density in Very Circuit Under Test
Large Scale Integrated (VLSI) circuit. Many companies have Circuit under test is the portion of the circuit to be tested in
reported that cost of testing a circuit sometimes reaches to the BIST. It can be sequential circuits or combinational
about half of the total product cost. In such scenario, BIST circuits.
plays a vital role in the field of testing by reducing the cost of
testing without the need of external testing circuitry [1].The Test Pattern Generator
concept of BIST is to design a circuit to test itself and Test patterns are generated for Circuit under Test using the
determine whether the circuit has some fault or not. test pattern generator. The generated test patterns can be of
random type. Normally, test pattern generator generates
exhaustive type of test patterns for the Circuit under Test to
cover the maximum fault.
Output Response Analysis
The ORA reduces the output of the CUT from many
patterns to a single Pass or Fail indication. The ORA is also
known as an output data compaction (ODC) circuit.
V. Thirunavukkarasu is with the Electronics and Communication Engineering
Department, Pondicherry Engineering College, Puducherry, India (email:
thirunavukkarasu.ec@gmail.com).

R. Saravanan is with the Electronics and Communication Engineering


Department, Pondicherry Engineering College, Puducherry, India(email:
saravananneo@gmail.com).

V. Saminadan is with the Electronics and Communication Engineering


Department, Pondicherry Engineering College, Puducherry, India(email:
saminadan@pec.edu).

978-1-5090-0396-9/16/$31.00 2016 IEEE


2290
power BS-LFSR is used instead of conventional LFSR. Based
B. ARCHITECTURE
on the observations of transition produced by LFSR at the
output leads to the Bit-Swapping LFSR. In modified form of
normal LFSR, swapping of bits were used in between the pair
of adjacent cells.
After swapping of bits from two adjacent cells, the BS-
LFSR have same number of 0s and 1s at the output of the
multiplexers, hence the chance of having 0 or 1 before
applying the test vectors will be equal. Therefore this design
maintains an important features of random Test Patter
generation. Further, the multiplexer output depends on three
different cells of the LFSR, where each cell contains a random
value. Hence, the desired value at the output of BS-LFSR will
a random value. Swapping arrangement will save number of
transitions upto 25%.
Fig. 1. BIST Architecture IV. UARTARCHITECTURE
The test vectors are generated from the pattern generator Universal Asynchronous Receiver Transmitter (UART) is a
for the circuit under test [3]. The generated random test type of serial communication device which is used for short-
pattern were fed into the multiplexer unit as input .The BIST distance communication as shown in Fig.3. UART is used for
architecture consists of two modes former mode is Test mode communicating serially by converting data to serial from
and the latter mode is Normal mode. In the normal mode the parallel at the transmitter side and again to parallel from serial
primary inputs are given externally which is fed as the at the receiver side [4].
multiplexer unit input. BIST operation is controlled by the
controller, when the test signal is high the test mode is
activated. During the test mode the pattern is generated by
using TPG which are fed as inputs to the circuit under test. If
the test signal is low, normal mode. In normal mode the
primary inputs are fed to the CUT through multiplexer .The
multiplexer is used to select the test pattern either from the Fig. 3. UART Architecture
TPG or externally for the circuit under test. The expected
output response of the CUT is stored in the memory. In test V. BS-LFSR ARCHITECTURE FOR UART
mode the test patterns are generated from the TPG using
In this paper, Built In Self Test is implemented using Bit-
LFSR and it is applied as input to the CUT. The output from
swapping linear feedback shift register (BS-LFSR) for testing
the CUT is stored in the Output Response Analyzer.
UART as shown in Fig. 4. This work uses the test pattern
Comparator in the BIST compares the actual response and
obtained from BS-LFSR which can reduce switching activities
expected responses. If both the responses matches then the
when compared to traditional LFSR. The BS-LFSR consists of
status will become 0, which indicated that the circuit is fault
linear feedback shift register, counter and a gray code
free. If the output response and expected response mismatches
generator.
then the status will become 1, which indicates that the circuit
BS-LFSR shown in Fig. 4 generates a new seed when
under test has some fault. During the normal mode circuit
Clock1 is clocked for one time. The Johnson counter produces
under test (CUT) does its normal operation (i.e.) when an
a new test vector when clock2 is clocked. The step is repeated
input is forced to the CUT it produces an output but the status
until 2K Johnson vectors are generated [5]. The Output
will be always at 0 even though when there is any fault in the
Response Analyzer is used to compare the output data from
circuit. In this mode the circuit will not be tested.
the Circuit under test and the serial to parallel converter to
gives the BIST status.
III. BIT SWAPPINGLFSR
The Bit swapping LFSR is shown in Fig.2.

Fig. 2. Bit Swapping LFSR

Generally, BIST for UART consists of test patterns obtained


from conventional linear feedback shift register. Since the test
patterns are generated randomly it significantly increases the Fig. 4. UART testing using BS- LFSR.
power consumption and test storage during the testing of
circuit. In order to decrease the power consumption a low

2291
VI. SIMULATED RESULTS
A. TEST PATTERN GENERATION
The BS-LFSR generates a new seed when clock1 is
clocked for one time. The new vector is generated from
Johnson counter by clocking Clock2 one time. The step is
repeated until 2K Johnson vectors are generated.
B. TRANSMITTER BLOCK
The K_stx indicates the start bit and the k_xtx denotes the
stop bit. The data given to the UART from the BS-LFSR is
shown as data_uart in the Fig. 5.

Fig. 7. RTL View of BS-LFSR BIST

E. TECHNOLOGY SCHEMATIC OF BS-LFSR BIST


Technology schematic is generated after the
optimization and targeting phase of the synthesis process
which is shown in the Fig. 8. In this Technology
schematic the design is represented in terms of LUTs.
Technology schematic allows the designer to see a
Fig. 5.Transmitter block of BS-LFSR BIST technology level representation of HDL, which might
help the designer to discover any design issues.
C. RECEIVER BLOCK
Data_a and data_b are transmitted and received data
respectively which are equal to each other as shown in the
fig.6. So it is evident that circuit is a good Circuit.

Fig. 8. Technology Schematic BS-LFSR BIST

F. POWER ANALYSIS FOR BS-LFSR BIST


Fig. 6. Receiver block of BS-LFSR BIST
The power is estimated for the BIST with BS-LFSR. The
D. RTL VIEW OF BS-LFSR BIST BIST with BS-LFSR consumes 0.052 W during the testing of
The RTL view of BIST with BS-LFSR consists of a baud circuits as shown in Fig. 9 and in Table I.
clock generator, transmitter block, receiver block and a
comparator which is shown in the Fig. 7. The Baud Clock
Generator is the component which allows to vary the signaling
rate and communicate with a variety of devices. The
comparator in the BIST is used to compare the output from the
transmitter block and the receiver block. If both the data are
equal then the comparator output will be 0 otherwise the
output will be 1.
Fig. 9. Power Analysis of BS-LFSR BIST

2292
TABLE - 1 REFERENCES
[1] Charles E. Stroud, A Designer's Guide to Built-in Self-Test, Kluwer
POWER CONSUMPTION COMPARISON Academic Publisher, 2002, pp. 1-80.

[2] Abdallatif and S. Abu-Issa, Bit-Swapping LFSR and Scan-Chain


LFSR BS-LFSR Ordering: A Novel Technique for Peak- and Average-Power Reduction in
Parameter Scan-Based BIST, IEEE Transactions on Computer-Aided Design of
BIST BIST Integrated Circuits and Systems, vol. 28, pp. 755-759, April 2009.
Power Consumption 0.081 W 0.052 W [3] Nourani, M.; Tehranipoor, M.; Ahmed, N., "Low-Transition Test Pattern
Generation for BIST-Based Applications," IEEE Transactions on
Computers, vol.57, no.3, pp.303-315, March 2008

VII. CONCLUSION [4] Naresh Patel, Vatsal Patel, and Vikas Patel, VHDL Implementation of
UART with BIST Capability, IEEE conference on Computing,
Communications and Networking Technologies,vol.4, pp. 1450- 1454,
In this paper, the UART is tested using the BS-LFSR BIST. July 2013.
The BIST with BS-LFSR consumes 0.052 W during the
[5] Feng Liang, Luwen Zhang, Shaochong Lei, Guohe Zhang, KaileGao,
testing of circuits whereas the BIST with conventional LFSR And Bin Liang, Test Patterns of Multiple SIC Vectors: Theory and
consumes 0.081W [6] during the testing of circuits as given in application in BIST Schemes, IEEE Transactions on Very Large Scale
Table I. Integration Systems, vol. 21, no. 4, pp. 614-623, April 2013.
[6] V. Thirunavukkarasu, V. Saminadan and R.Saravanan, Performance
Evaluation of Testing Methodologies for Digital VLSI
Circuits,International Journal of Applied Engineering research (special
issue), Volume-10, No.20, pp.18822-18825, 2015

2293

Das könnte Ihnen auch gefallen