230 likes | 413 Views
ELEN 468 Advanced Logic Design. Lecture 25 Built-in Self Test. BIST ( Built-in Self Test ). PRPG: Pseudo Random Pattern Generator ORA: Output Response Analyzer CUT: Circuit Under Test. PRPG. Start. CUT. PI. PO. ORA. Pass/fail. BIST Motivation.
E N D
ELEN 468Advanced Logic Design Lecture 25 Built-in Self Test ELEN 468 Lecture 25
BIST ( Built-in Self Test ) • PRPG: Pseudo Random Pattern Generator • ORA: Output Response Analyzer • CUT: Circuit Under Test PRPG Start CUT PI PO ORA Pass/fail ELEN 468 Lecture 25
BIST Motivation • Useful for field test and diagnosis (less expensive than a local automatic test equipment) ELEN 468 Lecture 25
Design and test + / - + / - + / - Diagnosis and repair - - Fabri- cation + + + Manuf. Test - - - Maintenance test - Service interruption - Level Chips Boards System Benefits and Costs of BIST + Cost increase - Cost saving +/- Cost increase may balance cost reduction ELEN 468 Lecture 25
Economics – BIST Costs • Chip area overhead for: • Test controller • Hardware pattern generator • Hardware response compacter • Testing of BIST hardware • Pin overhead – at least 1 pin needed to activate BIST operation • Performance overhead – extra path delays • Reliability reduction – due to increased area and complexity ELEN 468 Lecture 25
BIST Benefits • Reduced testing and maintenance cost • Lower test generation cost • Reduced storage / maintenance of test patterns • Simpler and less expensive ATE • Can test many units in parallel • Shorter test application times • Can test at functional system speed ELEN 468 Lecture 25
BIST Types • On-line BIST • Concurrent • Non-concurrent • Off-line BIST • Functional • Structural ELEN 468 Lecture 25
BIST Architecture ELEN 468 Lecture 25
Pseudo-Random Pattern Generation through LFSR • Linear Feedback Shift Register (LFSR) • Produces patterns algorithmically – repeatable • Has most of desirable random # properties • Long sequences needed for good fault coverage ELEN 468 Lecture 25
Response Compaction • Severe amounts of data in CUT response to LFSR patterns – example: • Generate 5 million random patterns • CUT has 200 outputs • 5 million x 200 = 1 billion bits response • Uneconomical to store and check all of these responses on chip • Responses must be compacted ELEN 468 Lecture 25
LFSR for Response Compacter ELEN 468 Lecture 25
Signature Analysis • Signature – any statistical circuit property distinguishing between bad and good circuits • Aliasing – due to information loss, signatures of good and some bad machines match • Signature analysis – compare good machine response into good machine signature. Actual signature generated during testing, and compared with good machine signature ELEN 468 Lecture 25
BILBO (Built-in Logic Block Observer) • Four modes: • Flip-flop • LFSR pattern generator • LFSR response compacter • Scan chain for flip-flops ELEN 468 Lecture 25
Example of BILBO • Combined functionality of D flip-flop, pattern generator, response compacter and scan chain ELEN 468 Lecture 25
BILBO Serial Scan Mode • B1 B2 = “00” • Dark lines show enabled data paths ELEN 468 Lecture 25
BILBO LFSR Pattern Generator Mode • B1 B2 = “01” ELEN 468 Lecture 25
BILBO in D-FF (Normal) Mode • B1 B2 = “10” ELEN 468 Lecture 25
BILBO in Response Compactor Mode • B1 B2 = “11” ELEN 468 Lecture 25
Exercises 7 ELEN 468 Lecture 25
always @ ( … ) begin for ( j = 0; j < n; j = j + 1 ) begin a[j] = 0; for ( k = 0; k < j; k = k + 1 ) @ ( posedge clock ) a[j] = a[j] + x[k]; end end always @ ( … ) begin … a[0] = 0; for ( j = 0; j < n; j = j + 1 ) begin @ ( posedge clock ) a[j] = a[j-1] + x[j-1]; end end Problem 1 ELEN 468 Lecture 25
Problem 2 clock x a Flip-flop y b Latch c z ELEN 468 Lecture 25
Reg b Reg a Reg c + + + Problem 3.1 ELEN 468 Lecture 25
+ + + Problem 3.2 Reg b Reg a Reg c ELEN 468 Lecture 25