DFT - 5 TH Batch Interview Questions
DFT - 5 TH Batch Interview Questions
In the scan insertion we add extra circuitry to providing controllability and observability.
Scan insertion is nothing but control the inputs of gates and observe the output of the pins .
Occ is on chip clock controller it controls the switching between ATE low frequency and functional
frequency.
Transition faults occur when gate delay is larger than the expected delay.
Step-2: launching the second vector(V2) means forcing the opposite value to vector2
4. Once we got 100% scan? Why we are facing again DRC’S in ATPG?
In scan insertion we check the clock and reset is properly connected or not.
In ATPG we check the C6- data considered as the clock, C2-set/reset considered as the clock.
6. DFT violations
1. clock rule violations: means the clock is not controllable from the primary inputs.
2.Reset rule violations: means these type of violations occur when the reset signal is not controllable
from the primary pins.
3.combinational feedback violations: means in which the faulty values is again going to the inputs .
because of this coverage is less. So control and observe the values . we can break the loops by applying
fault free value.
7. Why DFT is required?
In dft we test circuit to detect the manufacturer the faults. And also provides a controllability and
observability. Dft is the process of testing the each and every node of internal circuit before going to
production.
Yes .we can test the chip it takes much time and it generates more test patterns. Functional testing(PI
and PO)
The main objective of compression is to reduce the test cost and test data volume and also reduces the
test patterns .
In compression ratio is mainly depands on no of internal scan chains. Y means we can not change the
external pins of chip.
11. What are the inputs for scan compression? And which technique is used and Why?
Scan inputs are the inputs to the scan compression. We are using EDT (embedded deterministic test) for
compression.
Clock skew occurs when we work on multi/lsingle clock domain. lsClock occurs in during shifting. During
shifting if we work only one clock domain we control. Another method is adding a lackup latch in scan
path it can avoid the clock skew permanently.
During capture apply one clock pulse per one pattern we can
18. What is the difference between synchronous reset and asynchronous reset d-flip flop
Step-2:fault propagation
Here we are adding some extra logic to control and observe the nodes in the circuit. it provides
controllability and observability.
25. What is scan design? Which design have you used? And Why ?
We r using muxed scan design to controllability and observability. becoz there is no additional clock
routing.
Testable design
2)scan replacement
3)scan reordering
4)scan stiching
Scan design
Scan verification<<-------------------------------------------------- |
27. How can you solve the clock skew problem while shIfting?
In two ways 1)using same clock domain for all scan cells
ATPG-----automatic test pattern generation means it generates a test pattern for given fault.
Flow
1)build-model
5)test generation
6)write vectors
29. Explain build model, build test mode, verIfy test structures and build fault model?
Build model: In the build model it gives the statistics of how many of blocks are following hierarchical
model and how many of you following flattened model.it also consists of how many cells are connected
to tied and how many are dotted nets.
Build test mode: this s known as a configurational mode y means it includes how many external pins as a
inputs and how many are outputs and how many scan chains and clock definition and reset clock
definition.
Build fault model: it provides a statistics like these much faults are stuck at , these much faults are
transition like that only.
30. What are the issues you faced in scan insertion and ATPG?
SCAN : Clock violations, reset violations , combinational feedback loops ---------------like that.
ATPG: any clocking issues and scan chain issues and reset issues.
31. Initially If you have 30% fault coverage, How you will improve for 99%
Los:in the los both shift-in and shift-out can be done lower frequencis at SE=1 at the last shift
Launching the value. and capturing is done At higher frequencies and here the SE is routed as the
CLK to capturing and it takes very less time to Capturing the data
Loc: here the both shift-in and shift-out can be done at lower frequency and launching and capturing
Done at high speed frequencies. Here two high speed frequencies are needed one for launching the
Stuck-at fault are related to functionality where as transition faults are related to timing
3)These vectors are occur when one of its ip/op connected to stuck at0 or 1, these faults are occur
4) in the single stuck at we will have either stuck at zero or stuckat one, but in the transition fault
It will mention total number of test patterns and it will give how many are matched and how many are
mismatched. It will also give the where the mis-compare occurs.
To load the data in flip flops. after loading the values it will capture tha all data and then shift out.
39. at What stage the loaded values will go to the combinational logic?
capturing
Both latch and flip flops are the memory elements these are mainly used to store the one bit data
Latch: latch is a sequential circuit y means output is not only depands on present input it also depands
upon the previous outputs
Flip flop: is a sequential circuit y means output is not only depands on present input it also depands
upon the previous outputs
Flop is a edge triggered means , output is high one positive clk (negative) to another positive clk.
Clock latency is the amout of clock that can measured from source of the clock to sink
Scan balancing Is nothing but divide the equal no of scan chains based on the number of input and
output pins . Tool will automatically divides the number of scan chains in that.
Scan stiching is nothing but Connect all the scan cells after placement and routing.
51. How the lockup latch are connected in the scan chain?
Lockup latch is inserted positive flop and latch in connected to one clock domain, second positive flop is
connected to another another clock domain
If we use multiple/single clock domains in the design there may be a chance occurring clock skew. Clock
skew can be avoid permanently by adding lokup latch.
Setup time: setup time is the amount of time , how much the data signal is stable before the rising edge
of the clock. y means the propagation delay of the data signal is greater than the propagation delay of
the clock.
Hold time: hold time is the amount of time , how much the data signal is stable after the rising edge of
clock. Y means propagation delay of data signal is less than the propagation delay of the clock signal
Hold violations are avoided by the adding buffers and lockup latch.
Glitch is nothing but small output clock is produced in the output signal. Adding latch we can overcome
the glitch.
Setup time: setup time is the amount of time , how much the data signal is stable before the rising edge
of the clock.y means the propagation delay of the data signal is greater than the propagation delay of
the clock.
Hold time: hold time is the amount of time , how much the data signal is stable after the rising edge of
clock. Y means propagation delay of data signal is less than the propagation delay of the clock signal
Hold violations are avoided by the adding buffers and lockup latch.
Clock gaters are mainly used in the design is to reduce the power consumption which occurs due to
switching. For eg. Shifting should be activated only during SE=1 and at remaining times it is disabled
through this clock gaters.
57. What is the purpose of compression? Explain its use? Dat avolume
It follows a standard architecture , that can be be helpful to test the device easily.
It is having
1)TAP
2)TAP controller
3)registers
4)instruction set
Boundary scan cell-1: normal boundary scan cell what we wer used in the jtag.
Bounadary scan cell-2: output is connected to the input as the data path to capturing the faulty value.
Occ is mainly used to control the switching between ATE low frequency and functional frequency of the
pll.
Because of high test cost only ATE limited to the higher frequencies.
62. Explain D- algorithm with example?
D-algoritham is mainly used to generate test patterns for given faults. D-algorithamd having 3 steps
Step-1:singular cover means(generate the excitation table to determine the non-controlling value)
S-0 repredented as D
Step3:propagation of d cubes
Scan operation is nothing but serial connection of the scan cells . it can be done in 3 steps 1)shift-in
2)capture 3)shift-out
Deterministic test patterns. Y means it generates test pattens for intended design. Where we want
patterns for requiring.
Scan inputs are inputs to the scan compression and outputs of scan compression is nothing but scan
outputs
Yes.
Delays are occurs when it is fails to operate within the specified time limit
these faults are occurs when the gate delay is is larger than the expected delay. At each node it will have
both slow-rise and slow-fall.
70. Why stuck at fault coverage is more than transition faut coverage?
In every circuit has more than 95% fault coverage is achieved by stuck at faults y means stuck faults are
placed a major role getting more coverage .means first we will go to testing the stuck-at faults. Every
have more stuck-at faults.
It is a storage element. It has input, output and gate or enable signal. When enable is high,
output transparently follows the input. When enable is low, output freezes.
Sequential atpg has 2 pulses and in loc after the last shift it has to store the state of the circuit
and the first clock pulse of the capture in order to know what is expected after the second
capture pulse.
Whereas in combinational atpg it has one pulse in capture and it does not have to store as to
how it will react after the second clock pulse.
1. Idea(need)
2. Specification
3. Design architecture(circuit diagram)
4. RTL (dia is converted into coding using Verilog)
5. Simulation (verification using testbench)
6. Synthesis (RTL is converted to netlist)
7. DFT (boundary scan, scan insertion)
8. Floor planning, placement and routing, STA
9. DFT – ATPG (test pattern generation)
10. Fabrication
75. Are the faults on the resets of the flops are detected? How?
Yes.
76. What is full scan design and partial scan design? And their difference?
If scan enable is tied to x or 1 or 0, scan chain pattern fails. It fails to get the manufacturing
defect.
It is a 16 state finite state machine which works under the control of TCK and TMS. The
transition from one state to another state occurs under the positive edge of TCK with the help
of TMS and during negative edge it is updated in the TDO.
But if it wakes up in some other state, then by giving continuous 5 ones it will go to the
test_logic_reset state and it is initialized properly.
1. Boundary scan
2. Bypass register
3. Identification register
The two signals are connected when they are not supposed to be. Depending on the logic
employed, they are divided into
1. Wired and/or
2. Dominant
3. Dominant and/or
Measuring the supply current (Idd) in the quiescent state (hibernate state).
Quiescent- when the circuit is not switching and the inputs are held at a static state.
Test patterns are used to place the DUT under different selected states. By performing current
measurements at each of these static states, the presence of defect that draws excess current
can be detected.
Adv:
Disadv:
Controllability: Ability to place the node, net, gate with a known logic value.
Observability: Ability to observe the node, net, gate after they have been driven to a known
value.
85. How can you convert rtl file to gate level netlist?
RTL is converted into gate level netlist through Xilinx by using testbench. It is nothing but the
conversion of Verilog or VHDL to gate level.
86. How can you convert normal flop to scan flop? Why is it necessary?
1. Normal flop is converted into scan flop by adding mux in front of normal flop.
2. The output of one flop is connected to the input of next flop forming a shift register.
3. It is necessary because it provides controllability and observability to each and every
node in the logic
Reset is used to initialize the hardware. In simulation, it is used in the beginning. In hardware, it
is used to power up the circuit.
If reset acts as clock, then it is nothing but similar to asynchronous reset ff (it does not depend
on clock) which is not recommended as it may produce glitch and metastability.
To understand the metastability issues consider that the clock rising edge comes right after the
reset edge. The d ff must have certain minimum time between reset edge and clock edge,
called reset recovery time. If this time duration is violated, the output is not guaranteed.
DFT engineers are responsible for converting flop to scan flop in order to make each and every
node controllable and observable.
(Scan chain based testing is a standard DfT (Design for Testability) due to its simple design and low cost.
But this method can act as back door, through which the hacker can retrieve the sensitive information
through side channel attack. Therefore we developed an efficient and inexpensive LFSR (linear feedback
shift register) based secured architecture through which it provides predominant security without
effecting testability. The experimental result leads to a low area and power overhead with a secure
methodology.)
It is used to check the violation in the design which prevents design from working properly.
1. Stuck at fault
2. Transition fault
3. Other faults
92. Why cant we use functional patterns as test patterns to detect the faults?
Eg. For 2 input nand gate, possible combinations are 4. So all 4 patterns will be provided to test.
As number of pins increases, the number of patterns will increase dramatically. So using atpg, in
structural testing the number of patterns are reduced using DTPG method.
By providing mux in the feedback loop in order provide controllability and observability.
1. If TM=0, it selects the functional mode, so the ouput of comb logic is connected to the
feedbck.
2. If TM=1, it selects scan mode, so ouput of scan mode is connected to the mux input (it
maybe either capture or shifted value based on SE)
If two bus drivers force opposite logic values onto a tristate bus, bus contention occurs.
It should be made in such a way that only one driver should be connected to bus at a time.
So when SE=1, the enable of intended tristate is connected to OR gate whereas others are all
connected to AND gate via inverter which makes them in off state.
And also bus keeper is included to preserve the value prior to floating.
When TM=0, the output of flop is connected to the reset enable, so depending on that it resets.
When TM=1, logic 1 is connected to the enable signal which disables the reset during scan
mode.
97. can we fix the asynchronous rule violation without using mux ?
98. can we fix the asynchronous rule violation for active high reset ?
Yes. The same way but if mux is used during TM=1, logic 0 is given as input to enable.
It lets the device to check the interconnection without using physical probe.
Minitiaturisation of device
16 state synchronous fsm is used in tap which is controlled by TCK and TMS
103. What is scan chain shIfting? Why we need to shIft and Why we need to capture? What
do you do in capture?
Scan_in, capture and scan_out are the three main operations of scan chain.
The process of shifting will cover all parts of device and test coverage will be more
(Typical scan frequency is the frequency that most of the ATE's use when scaning in the data to
the scan flops. it is typically around 1-10 Mhz.)
104. states in tap controller? Why data registers come before instruction register?
16 states are in TAP controller. To flush out some patters which are already present in it.
The ratio of num of detected faults to the total num of faults is called fault coverage.
The ratio of num of detected faults to the total num detectable faults is called test coverage.
Test coverage is mostly considered as it excludes the undetectable faults and its coverage is
higher.
107. How did you increase your test coverage in ATPG and What are the dIfferent violations?
It is nothing but transition test. This test model uses test pattern that creates a transition
stimulus to change from logic value from either 0 to 1 or 1 to 0. The time allowed for transition
is specified. If it doesn’t happen, then ffault occurred.
Based on the transition technique selected by the engg, the number of at_speed clock pulse is
generated.
111. What is launch and capture? What do you do during launch and capture?
Launch - The value or pattern which makes transition at the particular node.
Capture – The value which is captured after the transition is made.
During launching, the value or pattern which makes transition at the node will be provided to
the flop and during capturing, the value produced after transition will be captured by the
output flop. They happen at functional speed.
113. What is undetectable faults. How to detect faults and is test point insertion is enough
to make it controllable?
DFT approach
The test point insertion is used where there is more difficulty in testing.
116. How you can reduce the test time using DFT?
Without DFT, it ll take more time. For eg , if there are 1 million pins, testing will take 10s for
each pin. In such way, it ll take 3 and half months to finish testing for all pins without using DFT.
Whereas by using DFT this test time is reduced by 3 and half days as we are using compression
technique, atpg .
For scan, the scan out which is nothing but the manufacturing defects are output. It is stored in
GDS or SDF file.
For atpg, the effective test pattern is the output. It is stored in ATE in the form of STIL or WGL
file.
Sdc files.
The test procedure file contains all the scan information of your test ready netlist.
5. Any test setup procedure required before starting the test pattern generation
7. The time for forcing the Primary input , bidi inputs , scan inputs etc
9. The pins which have to be held at some state in the different procedure as load_unload, shift
etc ..
Serial simulation – It takes the clock pulse equal to the num of ff for loading and it is used for
loading value from ATPG to ICs input and output pins.
Parallel simulation – It takes only one clock pulse for loading and so it is preferred as it takes
less time.
123. What are the inputs for serial and parallel simulation?
testpatterns
125. What are the issues you faced when your design is not controllable and observable?
Test mode is the control pin and which selects mode of operation between functional mode and test
mode.
10 to 50mhz
32gb.
300 flops.
133. What if I cannot able to provide capture pulse? What are the issues?
Faults will not be detected if we don’t provide capture pulse. And location of faults in the design cant be
happen.
135. Why scan chain contain first negedge scan flop then posedge scan flop?
To avoid hold time violation. And to get output at the 2 nd active edge of pulse.
No.
Refer notes.
138. How many test patterns you have generated in your project?
30 patterns
Stuck at
Bridging , transition, delay, transistor stuck open \short faults, iddq faults, memory faults.
140. How can you decide the number of test patterns in your design?
Based upon inputs, if n no of inputs there will be 2^n test patterns (exhaustive)
141. Why DFT require? Can we achieve DFT goals by any other method?
Requirement of dft in design to enhance the testability by introducing the controllability and
observability of each node, wires, sequential and combo logic in the design. we can’t achieve dft goals
by other method.
Fault excitation
145. What could be the possible reasons for scan chain failures during gate level simulation?
Improper stitching of scan flops, that is configuration –ve followed by +ve flops may not be used.
No proper initialization of input sequence that may fail to put scan chain into test mode
Hold time violation within clock domain between the flops bcz of improper cts.
no
Sequential depth is an phenomena to increase test coverage of design by generating test patterns for
the non- scanned flops. We will assign seq depth to non- scan flop, by default it has range of 0 to 255. So
that atpg will recognize the those flops and generate test patterns .
148. How do you test at-speed faults for inter clock domains?
Scan chain pattern is flush pattern used to verify scan chain during shift operation. The pattern is 110011
,contains all the combinations of 0’s and 1’s.
1.Redundant faults.
Li vedio.
Sequential depth invokes non scanned flops in the combo logic for atpg to generate the test patterns. To
increase the test and fault coverage of the design.
Shift cycles: based upon the length of the scan chain, no. of flops on scan chains. Based upon the test
patterns length.
Capture cycle: usually we one pulse for stuck at faults and for transition faults 2 pulses required.
Transition faults are related to timing behavior of the design. so we want to check the failure of the
timing behavior of each component and each node at at-speed only to ensure the correct operation the
design.
164. What is terminal lockup latch?
Lock up latch is level sensitive device ,used in scan design where hold timing violations are occur in the
design , which provide half time delay for capture flop so that data can be arrives after the 2 nd pulse.
A combo logic ckt contains an undetectable stuck at fault is said to be redundant Faults. It can be
simplified by removing at least gate or gate input.
166. What is compression ratio? where do compressed scan chains come from?
167. What is the difference between LOC and LOS? Which is mostly used?
During capture, single at speed clock pulse required to capture the faults to flops.
Scan enable can routed as a scan clock so there will routing problem at the design implementation.
Scan enable will not be routed at scan clock so there is not problem at design side during routing.
168. Is there any need of pll when functional frequency equals to scan frequency?
No need
170. Why scan clock is slow frequency? What if we give high frequency for scan chains?
We need to shift scan data at slower freq bcz to avoid higher dynamic switching activities which intern
reduces power dissipation.
During shift mode, there is toggling at the output of the each flop, also within the combo logic, which is
more than functional mode. Usage of high freq cause the following problems
Volage drooping
It is the logic to increase testability of the logic around the modules for which the atpg can’t generate
test patterns. This adds the ability to observe the data on the nets connected to inputs of the untestable
logic.
And control the nets connected to the output of the untestable logic
172. Why multi clock domains is used? Does it have any problem in design?
Ip reuse
Ability to reduce functional power by turning off clocks for unused blocks at any time
Difficulties in clock tree synthesis for a single clock domain in a large soc
Problem with having multi clock domains is that skew problem. Hold time violation.
These are behavioral modules. Provides relationships between the internal and external clocks when we
used on chip clock generation systems.
175. How iddq test vectors are different from stuck at test?
Refer notes.
Designed is made in such a way that there is consecutive ones on TMS on rising edge of clock resets the
jtag. Hence reset pin optional from external.
178. Explain architecture for compression?
Refer notes.
2bits. 01
183. What are the tools used for scan, ATPG, simulation? What is the library file name?
184. What did you do in simulation? Explain the procedure? Difference between serial and parallel
loading?
Procedure:
Differences.
Parallel loading is to capturing the fault effects from combo to flops concurrently.
185. Difference between normal mode, functional mode and scan enable?
187. what is the difference between gate level faults and transistion level faults?
Gate level faults such as sa1 and sa0 faults. which are not delay constrained and timing constraints
faults.
Transition faults faults are slow to rise and slow to fall faults, which are delay and timing constrained
faults.
Burn in test determines the maximum temperature the device can sustain and also checks the product
reliability.
Transistor level atpg based test methodology that achives significant quality and efficiency
improvements by directly targeting specific shorts, opens and transistor defects internal to each
standard cell.
We have to test the critical path to ensure that its under timing constraints or not.