0% found this document useful (0 votes)
49 views18 pages

Best Design Practices For DFT - EDN

Uploaded by

6cc6nqjdzn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views18 pages

Best Design Practices For DFT - EDN

Uploaded by

6cc6nqjdzn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Best design practices for DFT - EDN 9/8/24, 6:09 PM

Advertisement


< https://www.edn.com/>

DESIGN < HTTPS://WWW.EDN.COM/CATEGORY/DESIGN/>

DESIGN HOW-TO < HTTPS://WWW.EDN.COM/CATEGORY/DESIGN/DESIGN-HOW-TO/>

Best design practices for DFT

OCTOBER 14, 2015 <  COMMENTS 0 <


HTTPS://WWW.EDN.COM/BEST-DESIGN- HTTPS://WWW.EDN.COM/BEST-
PRACTICES-FOR-DFT/> DESIGN-PRACTICES-FOR-
BY EDN < HTTPS://WWW.EDN.COM/AUTHOR/EDN/> DFT/#RESPOND>

Ad
Affordable 3D Design Software

ZW3D - ZWSOFT Open


Advertisement

1. Introduction

SoC sub-components (IPs) generally come from various sources – internal and external – and
with that it has become necessary that designers ensure the RTL is testable. If the RTL has
testability issues, test coverage goals can’t be met and the RTL needs to be modified, which

https://www.edn.com/best-design-practices-for-dft/ Page 1 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

means several iterations of synthesis, verification, and Automatic Test Pattern Generation
(ATPG).

Here we will discuss the basic design practices to ensure proper testability.

Advertisement

2. Clock Control

Advertisement

PARTNER CONTENT

Actively Exploring the FuriosaAI and


investing to Impact of GUC Partner on
< < <
establish a Trusted Time RNGD, the
https://www.eetimes.com/actively- https://www.eetimes.com/exploring-https://www.eetimes.com/furiosaai-
third pillar of on Network Most Efficient
08.07.2024
investing- 08.07.2024
the- 07.31.2024
and-guc-
revenues Security < AI Accelerator
to- impact-of- partner-
alongside op- https://www.eetimes.com/exploring-for LLMs <
establish- trusted- on-rngd-
amps and the-impact-of- https://www.eetimes.com/furiosaai-
For ATPG tool to generate patterns,
a-third- the clock and reset of a flopthe-most-
time-on- must be fully controllable; i.e.,
power ICs < trusted-time- and-guc-
the tool can trigger the clock whenever
pillar-of- network-required – it must not be efficient-
gated by any other
https://www.eetimes.com/actively- on-network- partner-on-
uncontrollable
revenues- signal. security/> ai-
investing-to- security/> rngd-the-most-
alongside- accelerator-
establish-a- efficient-ai-
op-amps-
2.1 Clocks gated by combinational logic for-llms/>
third-pillar-of- accelerator-for-
and-
revenues- llms/>
power-
alongside-op-
In case the clock is gated by a combinational logic then an override should be added using a
ics/>
amps-and-
shift/test mode signal for ensuring proper shift & capture clock propagation.
power-ics/>

Figure 1: SHIFT_MODE = 1 during shift

2.2 Internally generated clocks

https://www.edn.com/best-design-practices-for-dft/ Page 2 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

For all internally generated clocks a bypass should be provided. In case there is a requirement of
this clock, say we need PLL clock for at-speed testing, then a clock control logic should be added
on them.

Figure 2: Bypassing all internally generated clock

An example for this would be clock generated by sequential logic:

Here the clock is generated by the output of a flop, since this generated clock is not directly
controllable by the ATPG tool, we need to add clock control logic.

Figure 3: Bypass for clock generate from a flop

2.3 Test clock selection

It must be ensured that test clock frequency is always greater than or equal to the functional clock
frequency, so that we never end up under-testing a logic.

2.4 Using clock as data

When clock is used as data in a design, then it must always be ensured that we use test mode
signal to gate this data path (i.e., clock to the data cone). Otherwise a race condition may result
that produces an inaccurate simulation results.

https://www.edn.com/best-design-practices-for-dft/ Page 3 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Figure 4: Eliminating race condition

3. Un-clocked latches

Static Timing Analysis (STA) team closes timing only on those sequential elements which are
clocked. If the enable/clock of the latch comes from the output of a flop, STA team doesn’t check
it for timing, which may lead to erroneous latching of the data. It will be caught either in simulation
or on silicon. This can be prevented if the enable of the latch is a valid clock (gated or ungated).

Figure 5: Un-clocked latch

Zero Delay (ATPG/Idle):

ATPG tools while generating patterns works on a zero delay type simulation model. Data is
sampled just before the clock edge, so from tool’s perspective, the output is always high during
pattern generation in this case.

https://www.edn.com/best-design-practices-for-dft/ Page 4 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Figure 6(a): Zero Delay

Data Skewed with respect to clock (Simulation):

In simulation, due to skew in design between the data and clock we can have two scenarios, data
coming either early or late and in both such cases we will start getting fails.

Figure 6(b): Data Early

Figure 6(c): Data Delayed

https://www.edn.com/best-design-practices-for-dft/ Page 5 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

4. Reset Control

As discussed previously, clock and reset of a flop must be fully controllable. To achieve this, a
multiplexer is placed in the reset path as shown below. The first input of the multiplexer is the
functional reset as before. The second input is the DFT (test) controlled RESET and the select
line (test mode) is used by DFT to switch to the controlled reset in test mode.

Figure 7: Reset control using mux

4.1 Cascading of switching logic in the reset path

The select signal (Reset Override) is not timed by the timing team, so any random skew in this
signal must not affect the state of any of the flops. If two or more such switching logics are
cascaded as shown, this may result in a glitch to the RESET pin of the flop which will corrupt its
state.

Figure 8(a): Cascaded reset control logic

Zero Delay (ATPG):

https://www.edn.com/best-design-practices-for-dft/ Page 6 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Due to zero delay in ATPG, the select line M1 & M2 will toggle at the same time so the reset RST
is always high.

Figure 8(b): Zero Delay ATPG

Delay between M1 & M2 (simulation)

Due to interconnect delay, M2 makes a late transition than M1 resulting in a glitch at reset
resetting the flop.

https://www.edn.com/best-design-practices-for-dft/ Page 7 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Figure 8(c): Real simulation Scenario

In order to solve the problem, only a single multiplexer should be used in the reset path.

4.2 Synthesis of switching logic for controlling reset

As mentioned above, a multiplexer is added before the reset of a flop. During synthesis, this
multiplexer may be converted to complex gates (AOI – AND OR INVERT) as shown in figure 9(a).

Figure 9(a): Synthesized mux

https://www.edn.com/best-design-practices-for-dft/ Page 8 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

This scenario may result in a glitch at the reset of the flop leading to the false output.

Figure 9(b): A failing scenario

To prevent the glitch, this multiplexer should be preserved using pragma in RTL so that the logic
is synthesized as a glitch-free multiplexer instead of any random AOI combination working as a
multiplexer.

5. Common source of inputs of combinational logic

A combinational logic (for example 2-input AND gate or a 2-input OR gate) having both its inputs
driven from same source with one being inverted will maintain the same constant output value
regardless of the state of the driving node, but the output will probably contain a glitch when the
driving node changes state.

Figure 10: Two input AND gate with common input sources

6. Combinational Loops

https://www.edn.com/best-design-practices-for-dft/ Page 9 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

When the output of a combination logic is fed back to one of its input, a combination loop is
formed. ATPG tool simulates the design assuming zero delay in combinational elements which
may result in undetermined output for one or more input combinations.

Figure 11: Combinational Loops

As shown above, the input combination (A, B, C) = (1, 0, 0) will create oscillations in the circuit.
To prevent this, the tool breaks the loop and models it as a TIEX block in the feedback path which
results in coverage loss. Therefore such loops should be avoided.

7. Analog Blocks

Special handling is required for all analog blocks during testing when working with ATPG tools.
Many analog blocks can have embedded digital logic and we should ensure that all this logic is
testable. The digital inputs/outputs of the analog block interface needs to fully controllable and
observable. At the same time analog inputs/outputs should be wrapped or safe-stated. There can
be requirements based on test cases to keep analog portion of the block in a low power state
(power down or sleep), along with its analog outputs either in high impedance state or driving a
constant value, so special care needs to be taken care in such cases via safe stating of the block.

8. Voltage and Temperature Triggers Masking

SOC has voltage and temperature detection circuits built in them, to generate interrupts in case
either goes beyond the defined specification. During testing these signals need to be disabled or
masked, since there are multiple tests like Very Low Voltage (VLV) Test, High Voltage Stress Test,
etc., which will start showing fails if these interrupt signals are not masked.

https://www.edn.com/best-design-practices-for-dft/ Page 10 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Figure 12: Analog Wrapper

9. Conclusion

It is very important to make our designs DFT-friendly. The simple practices above can save much
design time, effort, and frustration. Hence, it is recommended that designers ensure that all of the
above design practices are followed.

Also see :

– Design planning for large SoC implementation at 40nm: Guaranteeing


predictable schedule and first-pass silicon success <
http://www.edn.com/design/integrated-circuit-design/4413580/design-planning-
for-large-soc-implementation-at-40nm--guaranteeing-predictable-schedule-
and-first-pass-silicon-success>
– Product How To: DFT strategy for ARM processor-based designs <
http://www.edn.com/design/test-and-measurement/4405452/product-how-to--
dft-strategy-for-arm-processor-based-designs>
– SOC DFT verification with static analysis and formal methods <
http://www.edn.com/design/test-and-measurement/4388547/soc-dft-
verification-with-static-analysis-and-formal-methods>

https://www.edn.com/best-design-practices-for-dft/ Page 11 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

0 COMMENTS ON “BEST DESIGN PRACTICES FOR DFT”

LEAVE A REPLY

You must Sign in <


https://aspencoreb2cprod.b2clogin.com/aspencoreb2cprod.onmicrosoft.com/B2C_1_Aspencore_Sites_Signin_
response_type=code&scope=openid%20offline_access&client_id=606ea8b3-c451-47e5-8db8-
1aeb49207408&state=882f3dfc3c6911eefd5594c3f957cffd&redirect_uri=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fwww.edn.com%2Fope
connect-authorize> or Register <
https://aspencoreb2cprod.b2clogin.com/aspencoreb2cprod.onmicrosoft.com/B2C_1_Aspencore_Sites_Signin_
response_type=code&scope=openid%20offline_access&client_id=606ea8b3-c451-47e5-8db8-
1aeb49207408&state=ac499f61dc13f89d7ac5e543d9c63cb4&redirect_uri=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fwww.edn.com%2Fo
connect-authorize> to post a comment.

P R E V I O U S P O S T < H T T P S : / / W W W. E D N . C O M / H O W- P R E VA L E N T- A R E - A U TO M O T I V E -
S E N S O R - FA I L U R E S / >
N E X T P O S T < H T T P S : / / W W W. E D N . C O M / C I N E M A R T I N - TO - J O I N - N V I D I A - 2 X -
R E A LT I M E - 4 K - H E V C - H - 2 6 5 - E N C O D E R - W I T H - 1 0 0 X - FA S T E R - C O N V E R S I O N S / >

PARTNER CONTENT

Actively investing to establish a third pillar of revenues


alongside op-amps and power ICs
<
https://www.eetimes.com/actively-
investing-
to-
establish-
a-third-
pillar-of-
revenues-
alongside-
op-amps-
and-
power-
ics/>
08.07.2024

Exploring the Impact of Trusted Time on Network


https://www.edn.com/best-design-practices-for-dft/ Page 12 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Exploring the Impact of Trusted Time on Network


Security
<
https://www.eetimes.com/exploring-
the-
impact-
of-
trusted-
time-on-
network-
security/>
08.07.2024

FuriosaAI and GUC Partner on RNGD, the Most


Efficient AI Accelerator for LLMs
<
https://www.eetimes.com/furiosaai-
and-guc-
partner-
on-rngd-
the-most-
efficient-
ai-
accelerator-
for-llms/>
07.31.2024

https://www.edn.com/best-design-practices-for-dft/ Page 13 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

Affordable 3D Design Software

ZW3D - ZWSOFT Open


Advertisement

Ad

Affordable 3D Design Software


Speed Up Your Workflow And Save Your Money

ZW3D - ZWSOFT Open

Advertisement

Recent Posts

Client DIMM chipset reaches 7200 MT/s < https://www.edn.com/client-dimm-chipset-reaches-7200-

https://www.edn.com/best-design-practices-for-dft/ Page 14 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

mt-s/> / Reference design trio covers EV chargers < https://www.edn.com/reference-design-trio-


covers-ev-chargers/> / Infineon expands GaN transistor portfolio < https://www.edn.com/infineon-
expands-gan-transistor-portfolio/> / 5G-enabled SBC packs AI accelerator <
https://www.edn.com/5g-enabled-sbc-packs-ai-accelerator/> / AI tweaks presence sensor accuracy <
https://www.edn.com/ai-tweaks-presence-sensor-accuracy/>

Archives

Select Month

Categories

Select Category

https://www.edn.com/best-design-practices-for-dft/ Page 15 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

PODCAST

13:01

Leveraging Safety
Processor Expertise to
Develop RISC-V Based
Automotive
Implementations

The podcast interview explores


the role of RISC-V in the
automotive sector. It begins
with a brief introduction to
VIEW ALL EPISODES
RISC-V, explaining it as an open
standard instruction set

Search …

SEARCH

Recent Comments

WSWoodward on An accurate resettable fuse < https://www.edn.com/an-accurate-resettable-


fuse/#comment-31962>

bdipert on SLA batteries: More system form factors and lithium-based successors <

https://www.edn.com/best-design-practices-for-dft/ Page 16 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

https://www.edn.com/sla-batteries-more-system-form-factors-and-lithium-based-
successors/#comment-31961>

WSWoodward on Synthesize precision Dpot resistances that aren’t in the catalog <
https://www.edn.com/synthesize-precision-dpot-resistances-that-arent-in-the-catalog/#comment-
31960>

David Bell on Synthesize precision Dpot resistances that aren’t in the catalog <
https://www.edn.com/synthesize-precision-dpot-resistances-that-arent-in-the-catalog/#comment-
31959>

brett.duane on Dissecting a feature-enhanced digital bathroom scale <


https://www.edn.com/dissecting-a-feature-enhanced-digital-bathroom-scale/#comment-31958>

https://www.edn.com/best-design-practices-for-dft/ Page 17 of 18
Best design practices for DFT - EDN 9/8/24, 6:09 PM

A!ordable 3D
Design So"ware

Speed Up Your Work#ow


And Save Your Money

ZW3D - ZWSOFT

Open

Advertisement

https://www.edn.com/best-design-practices-for-dft/ Page 18 of 18

You might also like