Sunteți pe pagina 1din 3

DESIGN-FOR-TEST

DFT rule checkers glue


design together
By Rohit Kapur erate high-quality test patterns
Scientist for designs. This is done by using in1
design analysis and algorithms in2 U2 Q
U1
Chris Allsup application to generate test pat-
Marketing Manager for terns for hypothesized failures
Test Automation Products within reasonable computed
constraints. Known as ATPG, this Figure 2: Combinational feedback loop increases the difficulty of controlling
Synopsys Inc. capability is difficult to achieve values on paths.
without having to modify the
With increasing chip design com- design in various ways so that the U2
plexity, more cost-effective ways algorithms can achieve accept-
clk1 D Q OP1
to manage the challenges of able results. In fact, DFT modi-
high-quality test are being sought. fications, such as adding scan
clk2 CP
Firms have gradually shifted from chains to a design, are needed to
RST
high-maintenance in-house test overcome inherent limitations of
tools to commercial test automa- current ATPG technology. Thus,
tion solutions for test synthesis it can be argued that design rule Figure 3: A clock affects data input of a register.
and pattern generation. With such checks (DRCs) for DFT ensure
EDA products, developing and that the minimum conditions for can routinely achieve high fault the ATPG. A design house uses
maintaining specialized functions the ATPG tool are met to obtain coverage. They may extend the different commercial test-auto-
is not considered an organization’s quality results. scope of DRCs to check for good mation and in-house tools so that
core competency. Their function- However, design teams devel- (not necessarily essential) design a DFT rule checker used in earlier
ality tends to be generic to require op additional rules for their own practices for test. design phases is different from
a degree of customization for sup- requirements so that the evolved Consequently, the use of test the one used with the sign-off
porting a range of design styles design rule checks are not as rule checkers throughout the ATPG tool.
and test methodologies. Design- ATPG-focused as described. De- design flow has expanded to While the outcome of simple
for-test (DFT) rule checkers, it turns signers adopt test methodologies meet all desired constraints be- rule checking correlates across
out, “glue” everything together. and determine design restrictions fore running DRCs on the design tools, it gets complex when
Test automation aims to gen- so that commercial ATPG tools netlist to extract information for specialized testing functions are
incorporated into designs. Under
such conditions, it is important
that the same rule checker be
used across all phases of the
design flow. Using different tools
for DFT implementations can
increase the unpredictability of
the test creation process and
even lead to overcorrection of
the design.

Types of checks
A large amount of engineering
time and effort is spent on debug-
ging DFT rule check violations.
Commercial DFT rule checkers do
not get the respect they deserve
despite their high return-on-
investment in design organiza-
tions. These tools routinely check
DFT rule violations and automati-
cally fix them.
Generally, DFT rule check-
ers should confirm that proper
logic structures exist in designs,
Figure 1: The GUI-enabled test rule checker integrates RTL test DRC violations and schematics. alerting the designer to any vio-

Electronic Engineering Times-Asia | October 16-31, 2006 | eetasia.com 


message for it.
U4 If this condition occurs for
D_1 A D Q OP multiple flip-flops with different
U2 clocks, no timing relationship
my_clock1 B would allow the ATPG to cap-
A Z
U1 G ture all possible clock-as-data
B pulses. The safest approach is to
D_2 A configure the logic feeding the
U3
my_clock2 register’s data input to eliminate
B
clock-dependency.

Figure 4: A valid latch clock-gating must contain an AND gate with one clock input and one or more data input, and Example 3: Multiple clocks—A latch
an OR gate with clock or gated clock input. can be used as part of a scan chain,
if one clock or a clock ANDed
lations. It should also assign data ter limitations are considered message is prompted containing enables it, with data derived from
constructs, which the ATPG tool beforehand to make sure that information about the violation. sources other than the clock.
will use later. For example, it tells the test pattern works well. Multiple and gated clocks must
the ATPG tool that a flip-flop’s Example 1: Feedback loops—An be ORed together so that any
state after scan shifting is un- All DFT rules are not created active or sensitizable feedback clock can capture data. Since ATPG
known if not properly controlled. equal. Some are more critical loop reduces the fault coverage tools force all but one clock off
Moreover, it should optionally to the IC creation process than that ATPG can achieve because it at any time, latches that capture
correct certain DFT violations others, so a severity level is as- increases the difficulty of control- data from more than one clock
automatically. sociated with each. Designers ling values on paths that make up must capture data with only one
Meanwhile, DFT rules have may overlook non-showstopper the loop (Figure 2). An oscillating clock active.
several distinct categories: violations without fear of ad- loop, for example, causes severe For example, if a design has
• Test pattern generation- verse effects on the design’s test problems for both ATPG and fault an AND gate with more than
oriented rules—ATPG tools operations or functionality. Thus, simulation. one clock input, the AND gate
make assumptions about zero- DFT rule checkers are used in Designers break these loops output will not generate a clock
delay combinational designs.
Thus, many design constraints my_bb1 my_bb2
are needed for predictable,
high-quality results. In1 In Out In Out OP1
• Fault coverage-oriented
rules—These basic rules guar-
antee both controllability
and observability of all logic
portions. These are developed
to test the final IC with highest
possible coverage. Unobservable logic Uncontrollable logic
• Test methodology-oriented
rules—Based on the type of Figure 5: Logic surrounding the clock box is non-observable or uncontrollable.
test methodology, such as
scan, logic BIST, IDDQ testing, most design-flow stages. In fact, by placing test constraints on pulse if ATPG activates only one
boundary scan or compres- earlier DRCs identify problems, the design, which deactivate the clock per unit time. For an OR
sion, several checks are run and the earlier such problems feedback loop. DFT rule checkers gate with clock and data input,
to ensure successful imple- are resolved, the less impact they should not report violations on the output clock of the OR gate
mentation or reuse of the test have on project schedules. loops broken by setting con- will have extra pulses based on
method. straints. If feedback loops are the data input. Both cases are po-
• SoC reuse rules—Designs Rule-check samples used as latches, designers must tential violations. To create valid
built on smaller modules The following examples represent convert the combinational ele- clock-gating logic for latches, the
demand DFT rigidity and DFT rule checks available with ments of the loop into its ASIC- circuitry must contain an AND
discipline, which are not man- Synopsys’ Galaxy Design Platform based equivalent latch. gate with only one clock input
datory for complete chips. For for Test, which includes RTL and and one or more data input, and
example, bounding I/Os of a gate-level DFT rule checking along Example 2: Clocks on the input—A an OR gate with clock or gated
hierarchical block isolates the with automatic repair of test DRC clock that affects the register’s clock input.
hierarchy from the embedded violations. The rule checker uses data input can reduce fault cov-
environment and successfully the same TetraMAX ATPG engine erage, as some ATPG tools pulse Example 4: Black boxes—Logic that
creates a more predictable used for chip-level ATPG sign-off. only one clock at a time, keeping drives or is driven by black boxes
test-pattern set. In addition to generating batch all other clocks off. Without this drastically reduces fault coverage
• Test environment-oriented reports, the test rule checker in- restriction, timing hazards can oc- (Figure 5). This violation cannot
rules—Test patterns created tegrates DRC analysis inside the cur unless clocks are properly con- be tested because the logic that
by ATPG tools are applied on Design Vision GUI (Figure 1). Note strained for ATPG. In such cases, surrounds the black box is unob-
testers (ATE equipment). Tes- that in case of such violations, a the rule checker will generate a servable or uncontrollable.

 Electronic Engineering Times-Asia | October 16-31, 2006 | eetasia.com


Key benefits of DRC test check- on other phases of the DFT pro-
ing come from identifying DFT cess. More sophisticated design
issues earlier in the design flow rule checkers help to quickly
so that its impact is minimized. isolate and correct root causes
The scope of test-rule checking of DFT problems, which create
has expanded and now includes project bottlenecks. For ex-
comprehensive DRCs for all as- ample, Synopsys’ Design Vision
pects of testing a design. Such GUI, includes a simulation wave-
include compliance checking for form viewer that helps designers
DFT methodologies to achieve more easily debug complex
consistent and predictable high test protocols and initialization
fault coverage. With more com- sequences (Figure 6). Advances
plex DFT methodologies being in DFT rule checking will likely
implemented, unified test-rule continue as more designs de-
checking throughout the IC de- pend on increasingly complex
sign flow becomes mandatory. testing protocols. Test-automa-
There is greater pressure now tion tools will meet these with
on rule checkers because more more specialized DFT rule sets,
Figure 6: Synopsys’ test-rule checker shows the simulation waveform resources are being devoted to and with even higher degrees of
viewer for debug of complex test protocols. debugging DRC violations than interactivity and customization.

Electronic Engineering Times-Asia | October 16-31, 2006 | eetasia.com 

S-ar putea să vă placă și