SlideShare a Scribd company logo
Natarajan Meghanathan, et al. (Eds): SIPM, FCST, ITCA, WSE, ACSIT, CS & IT 06, pp. 453–459, 2012.
© CS & IT-CSCP 2012 DOI : 10.5121/csit.2012.2344
SCAN CHAINS TESTING FOR LATCHES TO
REDUCE AREA AND THE POWER
CONSUMPTION
Anusuya Yuvaraj1
, R. C. Biradar2
1,2
Department of Electronics and Communication Engineering, Reva Institute of
Technology and Management, Bangalore, India
Email: 1
anu853@gmail.com,
2
raj.biradar@revainstitution.org
ABSTRACT
During the test mode of flip flop in a chip, a set of input vectors are sent through the flip-flop, it
consumes more power consumption than in the normal functional mode. In this paper, we
propose a latch with bi -stable element which reduces area as well as the power consumed. The
latch proposed consists of simple basic gates involving two inverters back to back which acts as
a bi-stable element and a transmission gate with the clock signal used to enable and disable the
rest of the circuit with impact on running the latch on Static Timing Analysis. The input test
vectors are either given by Automatic Test Pattern Generation (ATPG) or many other methods.
We model this using T-Simulation Program with Integrated Circuit Emphasis (T-SPICE) and
see the power consumed.
.
KEYWORDS
Scan Chain, Latch, Bi-stable element, ATPG, Flip-Flops
1. INTRODUCTION
As the scale of integration improves, more number of transistors, faster and smaller than their
predecessors are being packed into a chip. This leads to steady growth of the operating frequency
and processing capacity per chip, resulting in increased power dissipation. The power
consumption of a high performance Micro-processor is now approaching several dozen Watts.
Sequential circuits are usually designed with flip flops or latches. These are sometimes called
memory elements, used to store a single bit [1]. The applied test vectors can be applied either by
ATPG or even manually.
Power Dissipation can be Dynamic power dissipation and Static power dissipation. Static power
dissipation is related to the logical states of the circuits. Dynamic power dissipation is caused by
switching activities. Since dynamic power is major in CMOS design so we go for analysis and
reduction in number of gates.
2. Related Works
Proposed works which have already been done are using Gating [3] and holding the output values
of the element, works on scan architecture which divides the scan chain and activates only when
it is performed for that particular instance [4], modified scan flip flop which involves disabling
454 Computer Science & Information Technology ( CS & IT )
the slave latch [5] which reduces the power by disabling the slave when it is in the scan mode
without any extra circuitry.
Here we just propose a simple latch, that eliminates the power consumed and the number of gates
when compared to a normal flip flop, area during testing and also this reduces the gate delay. The
data which comes from a ATPG is given and the scan is got at the output with the switching
activity involved because of only inverters. This latch can also work on the operating frequency
of the chip or even lesser frequency.
2.1. Contribution of the Paper
The papers work is done as follows: (A)First we consider a normal D-flip flop and a D-Latch see
the gate area, the number of gates and the area consumed. (B) Then we consider the propsed latch
and run it at different frequency and see if the results are tallied. (C) Then we compare the two
results with respect to area and the power consumed and see which is the better among the three.
We discuss in section 3 the proposed model and the advantages over the existing designs. In
section 4 we discuss the results.
3. Proposed Model
A D-Latch which has an enable input as shown in Figure 1. When the Enable signal is set to 1,
the Q output is same as theD input. The latch is said to be “open” and the path from the input D to
the output Q is transparent. Hence the circuit is often referred to as a transparent latch. When E is
de-asserted , the latch is disabled or “closed”, and the Q output retains its last value
independent of the D input.
Figure 1. D-Latch Using NAND gates
A D-Flip-flop a positiveedge- triggered where two D latches are connected in series and a clock
signal Clk is connected to the E input of the latches, one directly, and one through an inverter.
The first latch is called the master latch. The master latch is enabled when Clk is 0 and follows
the primary input D. When Clk is a 1, the master latch is disabled but the second latch, called the
slave latch, is enabled so that the output from the master latch is transferred to the slave latch. The
slave latch is enabled all the while that Clk is high, but its content changes only at the beginning
of the cycle, that is, only at the rising edge of the signal because once Clk is high, the master latch
is disabled and so the input to the slave latch will not change. The circuit of Figure 2 is called a
positive edge-triggered flip-flop because the output Q on the slave latch changes only at the rising
edge of the clock. If the slave latch is enabled when the clock is low, then it is referred to as a
negative edge-triggered flip-flop. The circuit of Figure 2 is also referred to as a masterslave D
flip-flop because of the two latches used in the circuit.
Computer Science & Information Technology ( CS & IT ) 455
Figure 2 Master-slave positive-edge-triggered D flip-flop circuit using D latches;
A Bi-stable element, a simple sequential circuit or storage element which is constructed with two
inverters connected sequentially in a loop as shown in figure 3.
Figure 3. Two inverters back to back (Bistable element)
It has no inputs and two outputs labeled Q and Q’. Since the circuit has no inputs, we cannot
change the values of Q and Q’. However, Q will take on whatever value it happens to be when the
circuit is first powered up. Assume that Q = 0 when we switch on the power. Since Q is also the
input to the bottom inverter, Q’, therefore, is a 1. A 1 going to the input of the top inverter will
produce a 0 at the output Q, which is what we started off with. Similarly, if we start the circuit
with Q = 1, we will get Q’ = 0, and again we get a stable situation. A bi-stable element has
memory in the sense that it can remember the content (or state) of the circuit indefinitely. Using
the signal Q as the state variable to describe the state of the circuit, we can say that the circuit has
two stable states: Q = 0, and Q = 1; hence the name bi-stable. An analog analysis of a bi-stable
element, however, reveals that it has three equilibrium points and not two as found from the
digital analysis. Assuming again that Q = 1, and we plot the output voltage (Vout1) versus the
input voltage (Vin1) of the top inverter, we get the solid line as shown in Figure 4. The dotted line
shows the operation of the bottom inverter where Vout2 and Vin2 are the output and input
voltages respectively for that inverter. Figure 4 shows that there are three intersection points, two
of which corresponds to the two stable states of the circuit where Q is either 0 or 1. The third
intersection point labeled meta-stable, is at a voltage that is neither a logical 1 nor a logical 0
voltage. Nevertheless, if we can get the circuit to operate at this voltage, then it can stay at that
point indefinitely. Practically, however, we can never operate a circuit at precisely a certain
voltage. A slight deviation from the meta-stable point as cause by noise in the circuit or other
stimulants will cause the circuit to go to one of the two stable points. Once at the stable point, a
slight deviation, however, will not cause the circuit to go away from the stable point but rather
back towards the stable point because of the feedback effect of the circuit. In order for the
element to change state, we need to apply a strong enough pulse satisfying a given minimum
456 Computer Science & Information Technology ( CS & IT )
width requirement. Otherwise, the element will either remain at the current state or go into the
meta-stable state in which case unpredictable results can occur.
Figure 4. Analysis of bistable element
Figure 5. Proposed latch using lesser number of gates
The proposed latch is as shown in figure 5 and the working is as follows: when your select pin is
low the data in the logic is sent and the TG1 is on when the clock signal is low it passes and the
bi-stable inverter and acts as a storage and passes it to the next clock cycle, where as when your
clock goes low the clock signal is high, then the TG1 is open and TG2 is shorted and it retains its
previous value. This is again passed to the next latch. If your scan enable is high the output from
the combinational circuit is got and the scan out is passed to the combinational circuit and also the
circuit is tested.
The major advantage of using a latch is it uses minimum number of gates, so they consume less
chip area. The latches vary with variation with their outputs are constantly varying with respect to
the input as long as the enable signal is high. Since they are smaller in size they consume less
power. There are lesser number of gates there is less gate delay. They are level sensitive. Another
major advantage is when the technology is very low, as the frequency is increasing, the supply
voltage is less, then gate delay is increased.
Computer Science & Information Technology ( CS & IT ) 457
3. 1.Software Used
T-Simulation Program with Integrated Circuit Emphasis (T-SPICE), which is used for the
experimental results with maintaining accuracy for the results.
3.1.1 T-SPICE
Tanner tools comprise of L-edit, S-edit and LVS . S-Edit is for schematic capture. T-spice for
Simulation, L-Edit for physical layout,W-Edit for waveform analysis, Hiper verify, L-Edit
Standard DRC,L-Edit LVS for verification. T-Spice provides highly optimized code for
evaluating device models, formulating the system of linear equations, and solving that system. T-
spice uses advanced mathematical methods to achieve superior numerical stability. Hence large
circuits and feedback circuit can be analyzed. T-spice uses very accurate numerical methods and
change conservation to achieve superior simulation accuracy. T-Spice maintains compatibility
with traditional circuit simulation tools, while using the best available simulation technology to
deliver results as quickly and accurately as possible. It handles most complex full custom IC
schematic captures and also helps speed up design through tight iteration with simulation. It
offers easy interoperability with third party tools and legacy data. It Simplifies schematics capture
through a powerful ,easy to use interface and delivers an ideal performance to cost ratio easy to
mange.
4. Experimental Results
When considering the proposed latch with T-Spice and with 250µm technology and 100MHz and
500MHz the result after the simulation is as shown in the figure with the supply voltage at 1.2v
for an input bit as 0111101. The output at the W-Edit is shown for 100MHz in Figure 6 and the
same for 500MHz in figure 7.The proposed latch reduces the number of gates when compared to
a normal flip-flop and also the area is reduced. In a normal chip there will be lots of flip-flops that
will be added during the scan and this reduces the overall area and the power dissipation. The set
up time of a normal D-flip-flop is 65ps whereas for a latch it is 25ps and the clock to q delay are
almost the same in both and D-to-Q delay for latches is 40ps.
Figure 6. Post Simulation Result of Latch At 100mhz Using T-Spice
458 Computer Science & Information Technology ( CS & IT )
Figure 7. Post Simulation Result Of Latch At 500mhz Using T-Spice
5. CONCLUSIONS
The proposed latch consumes only 6 gates where as a normal d flip flop consists of 10 gates and
the most commonly used D-Latch also uses 5 gates which not only increases the area as well as
the gate delay but also the power consumed by these gates. The set up time of this latch is way
less than the D flip flop and this increases the performance of the proposed latchas well. The latch
has an issue that it changes with respect to the change with its input and not with respect to clock,
but this is solved by placing the transmission gate at the input. This has an issue with the static
timing analysis but still the overall area is reduced and the power consumption is reduced during
the test mode.
REFERENCES
[1] Neil H. E. Weste , David Harris, Ayan Banerjee “Cmos VlSI Design”
[2] Sharat Prasad, Kaushik Roy “Low Power VLSI Design”
[3] ElShoukry, M. Tehranipoor, and C.P. Ravikumar. Partial gating optimization for power reduction
during test application. In Test Symposium, 2005. Proceedings. 14th Asian, pages 242–247, Dec.
2005.
[4] L. Whetsel. Adapting scan architectures for low power operation. In Test Conference, 2000.
Proceedings. International, pages 863–872, 2000.
[5] Amit Mishra, Nidhi Sinha, Satdev, Virendra Singh, Sreejit Chakravarty and Adit D. Singhz
“Modified Scan Flip-Flop for Low Power Testing” , 2010 19th IEEE Asian Test Symposium.,
pages 367 - 370
Computer Science & Information Technology ( CS & IT ) 459
Author’s Biography
Dr. R. C. Biradar is working as Professor in ECE Department Reva Institute of
Technology and Management, Bangalore, India. He obtained his Ph. D from VTU
Belgaum, India. He has many publications in reputed national/international journals
and conferences. Some of the journals where his research articles published are
Elsevier, IET and Springer publications having very good impact factors. His
research interests include multicast routing in mobile ad hoc networks, wireless
Internet, group communication in MANETs, software agent technology, network
security, multimedia communication, VLSI design and FPGA, etc. He is a reviewer
of various reputed journals and conferences and chaired many conferences. He is a
member IETE (MIETE) India, member IE (MIE) India, member ISTE (MISTE) India and member of
IEEE (USA) and member of IACSIT. He has been listed in Marqui’s Who’s Who in the World (2012
Edition), USA and Top 100 Engineers by IBC, UK.
Anusuya Yuvaraj, is a post-graduate student, in Reva Institute of Technology and
Management, Bangalore, India. She has obtained her Post-Graduation from Reva
Institute of Technology and Management, Bangalore from VTU Belgaum, India.
She has research interest on RADAR and Scattering problems using Metamaterials
and Radar Absorbing Materials. She is also doing a research on placement of
decoupling-capacitors.

More Related Content

PDF
Modeling and Simulation Lab Manual ME PED
PPTX
FUZZY LOGIC CONTROLLER ON DC/DC BOOST CONVERTER
PDF
Design and Implementation of Schmitt Trigger using Operational Amplifier
PPT
4x4-bit 2PASCL Multiplier by Nazrul Anuar Nayan
PDF
A Novel Fuzzy Variable-Band Hysteresis Current Controller For Shunt Active Po...
PDF
Power Electronics
PDF
Chapter 02
PDF
Design and Simulation of Novel 11-level Inverter Scheme with Reduced Switches
Modeling and Simulation Lab Manual ME PED
FUZZY LOGIC CONTROLLER ON DC/DC BOOST CONVERTER
Design and Implementation of Schmitt Trigger using Operational Amplifier
4x4-bit 2PASCL Multiplier by Nazrul Anuar Nayan
A Novel Fuzzy Variable-Band Hysteresis Current Controller For Shunt Active Po...
Power Electronics
Chapter 02
Design and Simulation of Novel 11-level Inverter Scheme with Reduced Switches

What's hot (20)

PDF
STATE-SPACE AVERAGING METHOD
PDF
Chapter 20
PPTX
Flyback Converters v4
PDF
Chapter 01
PDF
Chapter 03
PDF
Chapter 14
PDF
250 MHz Multiphase Delay Locked Loop for Low Power Applications
PDF
G04515260
PDF
Clock Generator
PPTX
VLSI Design Sequential circuit design
PDF
Chapter 04a
PDF
Lec 07(sensors 2)
PDF
Transformer
DOCX
Final Report_Solar_Powered_Battery_Charger
PDF
Chapter 10
PPT
Logic families
PDF
A Low Cost Single-Switch Bridgeless Boost PFC Converter
PDF
Chapter 17
PDF
Simulation of AC-DC Converter for High Power Application
PPTX
Vlsi(140083112008,15,16)
STATE-SPACE AVERAGING METHOD
Chapter 20
Flyback Converters v4
Chapter 01
Chapter 03
Chapter 14
250 MHz Multiphase Delay Locked Loop for Low Power Applications
G04515260
Clock Generator
VLSI Design Sequential circuit design
Chapter 04a
Lec 07(sensors 2)
Transformer
Final Report_Solar_Powered_Battery_Charger
Chapter 10
Logic families
A Low Cost Single-Switch Bridgeless Boost PFC Converter
Chapter 17
Simulation of AC-DC Converter for High Power Application
Vlsi(140083112008,15,16)
Ad

Similar to SCAN CHAINS TESTING FOR LATCHES TO REDUCE AREA AND THE POWER CONSUMPTION (20)

PDF
Promo book2 ch1_feb23_11
PPT
FLIP FLOP (1).ppt
PDF
Flip Flops DLD
PDF
Latches_and_Flip_flops.pdf1234567890123445566789890009999
PPTX
Sequential cmos logic circuits
PPT
Unit IV version I.ppt
PDF
Design and Analysis of Sequential Circuit for Leakage Power Reduction using S...
PDF
Low power 6 transistor latch design for portable devices
PDF
DESIGN AND IMPLEMENTATION OF AREA AND POWER OPTIMISED NOVEL SCANFLOP
PPTX
Sequential Logic Circuit Design Unit-4 VLSI.pptx
DOCX
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
PDF
Area Efficient Pulsed Clocks & Pulsed Latches on Shift Register Tanner
PDF
Area Efficient Pulsed Clock Generator Using Pulsed Latch Shift Register
PPTX
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
PPT
Sequential Logic Circuit
DOCX
Introduction to Sequential DevicesChapter 66.1 M.docx
PPTX
Flipflop & Latches, RS Flipflop, NOR and NAND Gate Circuits
PDF
Digital alarm clock- Digital design- Design assignment
PPTX
VLSI - UNIT III (1)(1).pptxyujh vlsi nodes
DOCX
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
Promo book2 ch1_feb23_11
FLIP FLOP (1).ppt
Flip Flops DLD
Latches_and_Flip_flops.pdf1234567890123445566789890009999
Sequential cmos logic circuits
Unit IV version I.ppt
Design and Analysis of Sequential Circuit for Leakage Power Reduction using S...
Low power 6 transistor latch design for portable devices
DESIGN AND IMPLEMENTATION OF AREA AND POWER OPTIMISED NOVEL SCANFLOP
Sequential Logic Circuit Design Unit-4 VLSI.pptx
Lab 12 – Latches and Flip-Flops Mugisha OmaryLab 12 .docx
Area Efficient Pulsed Clocks & Pulsed Latches on Shift Register Tanner
Area Efficient Pulsed Clock Generator Using Pulsed Latch Shift Register
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Sequential Logic Circuit
Introduction to Sequential DevicesChapter 66.1 M.docx
Flipflop & Latches, RS Flipflop, NOR and NAND Gate Circuits
Digital alarm clock- Digital design- Design assignment
VLSI - UNIT III (1)(1).pptxyujh vlsi nodes
Introduction to Bipolar Junction Transistors (BJTs)Mugisha Oma.docx
Ad

More from cscpconf (20)

PDF
ANALYSIS OF LAND SURFACE DEFORMATION GRADIENT BY DINSAR
PDF
4D AUTOMATIC LIP-READING FOR SPEAKER'S FACE IDENTIFCATION
PDF
MOVING FROM WATERFALL TO AGILE PROCESS IN SOFTWARE ENGINEERING CAPSTONE PROJE...
PDF
PROMOTING STUDENT ENGAGEMENT USING SOCIAL MEDIA TECHNOLOGIES
PDF
A SURVEY ON QUESTION ANSWERING SYSTEMS: THE ADVANCES OF FUZZY LOGIC
PDF
DYNAMIC PHONE WARPING – A METHOD TO MEASURE THE DISTANCE BETWEEN PRONUNCIATIONS
PDF
INTELLIGENT ELECTRONIC ASSESSMENT FOR SUBJECTIVE EXAMS
PDF
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
PDF
DETECTION OF ALGORITHMICALLY GENERATED MALICIOUS DOMAIN
PDF
GLOBAL MUSIC ASSET ASSURANCE DIGITAL CURRENCY: A DRM SOLUTION FOR STREAMING C...
PDF
IMPORTANCE OF VERB SUFFIX MAPPING IN DISCOURSE TRANSLATION SYSTEM
PDF
EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
PDF
AUTOMATED PENETRATION TESTING: AN OVERVIEW
PDF
CLASSIFICATION OF ALZHEIMER USING fMRI DATA AND BRAIN NETWORK
PDF
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
PDF
PROBABILITY BASED CLUSTER EXPANSION OVERSAMPLING TECHNIQUE FOR IMBALANCED DATA
PDF
CHARACTER AND IMAGE RECOGNITION FOR DATA CATALOGING IN ECOLOGICAL RESEARCH
PDF
SOCIAL MEDIA ANALYTICS FOR SENTIMENT ANALYSIS AND EVENT DETECTION IN SMART CI...
PDF
SOCIAL NETWORK HATE SPEECH DETECTION FOR AMHARIC LANGUAGE
PDF
GENERAL REGRESSION NEURAL NETWORK BASED POS TAGGING FOR NEPALI TEXT
ANALYSIS OF LAND SURFACE DEFORMATION GRADIENT BY DINSAR
4D AUTOMATIC LIP-READING FOR SPEAKER'S FACE IDENTIFCATION
MOVING FROM WATERFALL TO AGILE PROCESS IN SOFTWARE ENGINEERING CAPSTONE PROJE...
PROMOTING STUDENT ENGAGEMENT USING SOCIAL MEDIA TECHNOLOGIES
A SURVEY ON QUESTION ANSWERING SYSTEMS: THE ADVANCES OF FUZZY LOGIC
DYNAMIC PHONE WARPING – A METHOD TO MEASURE THE DISTANCE BETWEEN PRONUNCIATIONS
INTELLIGENT ELECTRONIC ASSESSMENT FOR SUBJECTIVE EXAMS
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
DETECTION OF ALGORITHMICALLY GENERATED MALICIOUS DOMAIN
GLOBAL MUSIC ASSET ASSURANCE DIGITAL CURRENCY: A DRM SOLUTION FOR STREAMING C...
IMPORTANCE OF VERB SUFFIX MAPPING IN DISCOURSE TRANSLATION SYSTEM
EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
AUTOMATED PENETRATION TESTING: AN OVERVIEW
CLASSIFICATION OF ALZHEIMER USING fMRI DATA AND BRAIN NETWORK
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
PROBABILITY BASED CLUSTER EXPANSION OVERSAMPLING TECHNIQUE FOR IMBALANCED DATA
CHARACTER AND IMAGE RECOGNITION FOR DATA CATALOGING IN ECOLOGICAL RESEARCH
SOCIAL MEDIA ANALYTICS FOR SENTIMENT ANALYSIS AND EVENT DETECTION IN SMART CI...
SOCIAL NETWORK HATE SPEECH DETECTION FOR AMHARIC LANGUAGE
GENERAL REGRESSION NEURAL NETWORK BASED POS TAGGING FOR NEPALI TEXT

Recently uploaded (20)

PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
01-Introduction-to-Information-Management.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Lesson notes of climatology university.
PPTX
Pharma ospi slides which help in ospi learning
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Institutional Correction lecture only . . .
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Final Presentation General Medicine 03-08-2024.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Computing-Curriculum for Schools in Ghana
01-Introduction-to-Information-Management.pdf
Microbial disease of the cardiovascular and lymphatic systems
Pharmacology of Heart Failure /Pharmacotherapy of CHF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Lesson notes of climatology university.
Pharma ospi slides which help in ospi learning
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Final Presentation General Medicine 03-08-2024.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial diseases, their pathogenesis and prophylaxis

SCAN CHAINS TESTING FOR LATCHES TO REDUCE AREA AND THE POWER CONSUMPTION

  • 1. Natarajan Meghanathan, et al. (Eds): SIPM, FCST, ITCA, WSE, ACSIT, CS & IT 06, pp. 453–459, 2012. © CS & IT-CSCP 2012 DOI : 10.5121/csit.2012.2344 SCAN CHAINS TESTING FOR LATCHES TO REDUCE AREA AND THE POWER CONSUMPTION Anusuya Yuvaraj1 , R. C. Biradar2 1,2 Department of Electronics and Communication Engineering, Reva Institute of Technology and Management, Bangalore, India Email: 1 anu853@gmail.com, 2 raj.biradar@revainstitution.org ABSTRACT During the test mode of flip flop in a chip, a set of input vectors are sent through the flip-flop, it consumes more power consumption than in the normal functional mode. In this paper, we propose a latch with bi -stable element which reduces area as well as the power consumed. The latch proposed consists of simple basic gates involving two inverters back to back which acts as a bi-stable element and a transmission gate with the clock signal used to enable and disable the rest of the circuit with impact on running the latch on Static Timing Analysis. The input test vectors are either given by Automatic Test Pattern Generation (ATPG) or many other methods. We model this using T-Simulation Program with Integrated Circuit Emphasis (T-SPICE) and see the power consumed. . KEYWORDS Scan Chain, Latch, Bi-stable element, ATPG, Flip-Flops 1. INTRODUCTION As the scale of integration improves, more number of transistors, faster and smaller than their predecessors are being packed into a chip. This leads to steady growth of the operating frequency and processing capacity per chip, resulting in increased power dissipation. The power consumption of a high performance Micro-processor is now approaching several dozen Watts. Sequential circuits are usually designed with flip flops or latches. These are sometimes called memory elements, used to store a single bit [1]. The applied test vectors can be applied either by ATPG or even manually. Power Dissipation can be Dynamic power dissipation and Static power dissipation. Static power dissipation is related to the logical states of the circuits. Dynamic power dissipation is caused by switching activities. Since dynamic power is major in CMOS design so we go for analysis and reduction in number of gates. 2. Related Works Proposed works which have already been done are using Gating [3] and holding the output values of the element, works on scan architecture which divides the scan chain and activates only when it is performed for that particular instance [4], modified scan flip flop which involves disabling
  • 2. 454 Computer Science & Information Technology ( CS & IT ) the slave latch [5] which reduces the power by disabling the slave when it is in the scan mode without any extra circuitry. Here we just propose a simple latch, that eliminates the power consumed and the number of gates when compared to a normal flip flop, area during testing and also this reduces the gate delay. The data which comes from a ATPG is given and the scan is got at the output with the switching activity involved because of only inverters. This latch can also work on the operating frequency of the chip or even lesser frequency. 2.1. Contribution of the Paper The papers work is done as follows: (A)First we consider a normal D-flip flop and a D-Latch see the gate area, the number of gates and the area consumed. (B) Then we consider the propsed latch and run it at different frequency and see if the results are tallied. (C) Then we compare the two results with respect to area and the power consumed and see which is the better among the three. We discuss in section 3 the proposed model and the advantages over the existing designs. In section 4 we discuss the results. 3. Proposed Model A D-Latch which has an enable input as shown in Figure 1. When the Enable signal is set to 1, the Q output is same as theD input. The latch is said to be “open” and the path from the input D to the output Q is transparent. Hence the circuit is often referred to as a transparent latch. When E is de-asserted , the latch is disabled or “closed”, and the Q output retains its last value independent of the D input. Figure 1. D-Latch Using NAND gates A D-Flip-flop a positiveedge- triggered where two D latches are connected in series and a clock signal Clk is connected to the E input of the latches, one directly, and one through an inverter. The first latch is called the master latch. The master latch is enabled when Clk is 0 and follows the primary input D. When Clk is a 1, the master latch is disabled but the second latch, called the slave latch, is enabled so that the output from the master latch is transferred to the slave latch. The slave latch is enabled all the while that Clk is high, but its content changes only at the beginning of the cycle, that is, only at the rising edge of the signal because once Clk is high, the master latch is disabled and so the input to the slave latch will not change. The circuit of Figure 2 is called a positive edge-triggered flip-flop because the output Q on the slave latch changes only at the rising edge of the clock. If the slave latch is enabled when the clock is low, then it is referred to as a negative edge-triggered flip-flop. The circuit of Figure 2 is also referred to as a masterslave D flip-flop because of the two latches used in the circuit.
  • 3. Computer Science & Information Technology ( CS & IT ) 455 Figure 2 Master-slave positive-edge-triggered D flip-flop circuit using D latches; A Bi-stable element, a simple sequential circuit or storage element which is constructed with two inverters connected sequentially in a loop as shown in figure 3. Figure 3. Two inverters back to back (Bistable element) It has no inputs and two outputs labeled Q and Q’. Since the circuit has no inputs, we cannot change the values of Q and Q’. However, Q will take on whatever value it happens to be when the circuit is first powered up. Assume that Q = 0 when we switch on the power. Since Q is also the input to the bottom inverter, Q’, therefore, is a 1. A 1 going to the input of the top inverter will produce a 0 at the output Q, which is what we started off with. Similarly, if we start the circuit with Q = 1, we will get Q’ = 0, and again we get a stable situation. A bi-stable element has memory in the sense that it can remember the content (or state) of the circuit indefinitely. Using the signal Q as the state variable to describe the state of the circuit, we can say that the circuit has two stable states: Q = 0, and Q = 1; hence the name bi-stable. An analog analysis of a bi-stable element, however, reveals that it has three equilibrium points and not two as found from the digital analysis. Assuming again that Q = 1, and we plot the output voltage (Vout1) versus the input voltage (Vin1) of the top inverter, we get the solid line as shown in Figure 4. The dotted line shows the operation of the bottom inverter where Vout2 and Vin2 are the output and input voltages respectively for that inverter. Figure 4 shows that there are three intersection points, two of which corresponds to the two stable states of the circuit where Q is either 0 or 1. The third intersection point labeled meta-stable, is at a voltage that is neither a logical 1 nor a logical 0 voltage. Nevertheless, if we can get the circuit to operate at this voltage, then it can stay at that point indefinitely. Practically, however, we can never operate a circuit at precisely a certain voltage. A slight deviation from the meta-stable point as cause by noise in the circuit or other stimulants will cause the circuit to go to one of the two stable points. Once at the stable point, a slight deviation, however, will not cause the circuit to go away from the stable point but rather back towards the stable point because of the feedback effect of the circuit. In order for the element to change state, we need to apply a strong enough pulse satisfying a given minimum
  • 4. 456 Computer Science & Information Technology ( CS & IT ) width requirement. Otherwise, the element will either remain at the current state or go into the meta-stable state in which case unpredictable results can occur. Figure 4. Analysis of bistable element Figure 5. Proposed latch using lesser number of gates The proposed latch is as shown in figure 5 and the working is as follows: when your select pin is low the data in the logic is sent and the TG1 is on when the clock signal is low it passes and the bi-stable inverter and acts as a storage and passes it to the next clock cycle, where as when your clock goes low the clock signal is high, then the TG1 is open and TG2 is shorted and it retains its previous value. This is again passed to the next latch. If your scan enable is high the output from the combinational circuit is got and the scan out is passed to the combinational circuit and also the circuit is tested. The major advantage of using a latch is it uses minimum number of gates, so they consume less chip area. The latches vary with variation with their outputs are constantly varying with respect to the input as long as the enable signal is high. Since they are smaller in size they consume less power. There are lesser number of gates there is less gate delay. They are level sensitive. Another major advantage is when the technology is very low, as the frequency is increasing, the supply voltage is less, then gate delay is increased.
  • 5. Computer Science & Information Technology ( CS & IT ) 457 3. 1.Software Used T-Simulation Program with Integrated Circuit Emphasis (T-SPICE), which is used for the experimental results with maintaining accuracy for the results. 3.1.1 T-SPICE Tanner tools comprise of L-edit, S-edit and LVS . S-Edit is for schematic capture. T-spice for Simulation, L-Edit for physical layout,W-Edit for waveform analysis, Hiper verify, L-Edit Standard DRC,L-Edit LVS for verification. T-Spice provides highly optimized code for evaluating device models, formulating the system of linear equations, and solving that system. T- spice uses advanced mathematical methods to achieve superior numerical stability. Hence large circuits and feedback circuit can be analyzed. T-spice uses very accurate numerical methods and change conservation to achieve superior simulation accuracy. T-Spice maintains compatibility with traditional circuit simulation tools, while using the best available simulation technology to deliver results as quickly and accurately as possible. It handles most complex full custom IC schematic captures and also helps speed up design through tight iteration with simulation. It offers easy interoperability with third party tools and legacy data. It Simplifies schematics capture through a powerful ,easy to use interface and delivers an ideal performance to cost ratio easy to mange. 4. Experimental Results When considering the proposed latch with T-Spice and with 250µm technology and 100MHz and 500MHz the result after the simulation is as shown in the figure with the supply voltage at 1.2v for an input bit as 0111101. The output at the W-Edit is shown for 100MHz in Figure 6 and the same for 500MHz in figure 7.The proposed latch reduces the number of gates when compared to a normal flip-flop and also the area is reduced. In a normal chip there will be lots of flip-flops that will be added during the scan and this reduces the overall area and the power dissipation. The set up time of a normal D-flip-flop is 65ps whereas for a latch it is 25ps and the clock to q delay are almost the same in both and D-to-Q delay for latches is 40ps. Figure 6. Post Simulation Result of Latch At 100mhz Using T-Spice
  • 6. 458 Computer Science & Information Technology ( CS & IT ) Figure 7. Post Simulation Result Of Latch At 500mhz Using T-Spice 5. CONCLUSIONS The proposed latch consumes only 6 gates where as a normal d flip flop consists of 10 gates and the most commonly used D-Latch also uses 5 gates which not only increases the area as well as the gate delay but also the power consumed by these gates. The set up time of this latch is way less than the D flip flop and this increases the performance of the proposed latchas well. The latch has an issue that it changes with respect to the change with its input and not with respect to clock, but this is solved by placing the transmission gate at the input. This has an issue with the static timing analysis but still the overall area is reduced and the power consumption is reduced during the test mode. REFERENCES [1] Neil H. E. Weste , David Harris, Ayan Banerjee “Cmos VlSI Design” [2] Sharat Prasad, Kaushik Roy “Low Power VLSI Design” [3] ElShoukry, M. Tehranipoor, and C.P. Ravikumar. Partial gating optimization for power reduction during test application. In Test Symposium, 2005. Proceedings. 14th Asian, pages 242–247, Dec. 2005. [4] L. Whetsel. Adapting scan architectures for low power operation. In Test Conference, 2000. Proceedings. International, pages 863–872, 2000. [5] Amit Mishra, Nidhi Sinha, Satdev, Virendra Singh, Sreejit Chakravarty and Adit D. Singhz “Modified Scan Flip-Flop for Low Power Testing” , 2010 19th IEEE Asian Test Symposium., pages 367 - 370
  • 7. Computer Science & Information Technology ( CS & IT ) 459 Author’s Biography Dr. R. C. Biradar is working as Professor in ECE Department Reva Institute of Technology and Management, Bangalore, India. He obtained his Ph. D from VTU Belgaum, India. He has many publications in reputed national/international journals and conferences. Some of the journals where his research articles published are Elsevier, IET and Springer publications having very good impact factors. His research interests include multicast routing in mobile ad hoc networks, wireless Internet, group communication in MANETs, software agent technology, network security, multimedia communication, VLSI design and FPGA, etc. He is a reviewer of various reputed journals and conferences and chaired many conferences. He is a member IETE (MIETE) India, member IE (MIE) India, member ISTE (MISTE) India and member of IEEE (USA) and member of IACSIT. He has been listed in Marqui’s Who’s Who in the World (2012 Edition), USA and Top 100 Engineers by IBC, UK. Anusuya Yuvaraj, is a post-graduate student, in Reva Institute of Technology and Management, Bangalore, India. She has obtained her Post-Graduation from Reva Institute of Technology and Management, Bangalore from VTU Belgaum, India. She has research interest on RADAR and Scattering problems using Metamaterials and Radar Absorbing Materials. She is also doing a research on placement of decoupling-capacitors.