Presentation is loading. Please wait.

Presentation is loading. Please wait.

A case study of test program generation

Similar presentations


Presentation on theme: "A case study of test program generation"— Presentation transcript:

1 A case study of test program generation
J. M. Martins Ferreira FEUP / DEEC - Rua Dr. Roberto Frias Porto - PORTUGAL Tel / Fax: /

2 Objectives To present practical BS test problems through a real case study To analyse the implementation of the test protocol using the test instruction set proposed earlier To enable the student to acquire the necessary experience to develop small test programs for specific test situations To enable hands-on sessions

3 Outline The demonstration board
The information required for test program generation The test vectors The test program

4 The demonstration board

5 BS infrastructure

6 Full-BS interconnects (1)
Number and identification of the BS chains Is the interconnect tied to GND or VCC? For output pins: Number of output pins and location of the output cell, the control cell (if any) and the tristate control value For input pins: Number of input pins and location of the input cell

7 Full-BS interconnects (2)
For bidirectional pins: Number of bidirectional pins and location of the output cell, the input cell, the control cell and the tristate control value For primary input pins: Number of primary inputs, identification and tristate control value For primary output pins: Number and identification of primary outputs

8 The IC1+IC2 non-BS cluster

9 Test of IC1+IC2 (1)

10 Test of IC1+IC2 (2) HILO generated 5 test vectors to provide 100% fault coverage of stuck-at pins in both components

11 The IC6 non-BS cluster

12 Test of IC6 (1)

13 Test of IC6 (2) HILO generated 5 test vectors to provide 100% fault coverage of stuck-at pins in IC6

14 The BS components

15 The test vectors A modified version of the self-diagnosis algorithm generated 6 test vectors for complete short-circuit fault detection in the 24 full-BS interconnects:

16 The serialised test vectors

17 The test program

18 Detection of open circuit X1
What are the conditions enabling the detection of open circuit X1?

19 JTAGer code (X1) start: seltap0; rst; state irshift;
ld cnt,16d; ! two IRs nshf 0h; ! EXTEST instruction state drshift; ld cnt,18d; ! length of the BSR (IC3) nshf 02000h; ! /1G=0,1Y1=0,1Y2=1,1Y4=0 (in IC3) ld cnt,18d; ! length of the BSRs ! Notice that we will shift only 18 bits, but: ! - the bitstream shifted in goes to the BSR of IC3 ! - the bitstream shifted out comes from the BSR of IC4 nshfcp 0h,00400h,00400h; ! check 2A3 when 1Y2=1; set 1Y2=0 jerr faulty; ld cnt,18d; ! length of the BSR (IC4) nshfcp 0h,0h,00400h; ! check 2A3 when 1Y2=0 state reset; halt; ! stop here if X1 not open faulty: halt; ! stop here if X1 open JTAGer code (X1)

20 Detection of open circuit X1

21 Detection of short circuit X9
What are the conditions enabling the detection of X9?

22 JTAGer code (X9) start: seltap0; ! the test vector is applied via TAP0
rst; state irshift; ld cnt,8d; ! length of the IR (IC3) nshf 0h; ! EXTEST instruction state drshift; ld cnt,18d; ! length of the BSR (IC3) nshf 40000h; ! /2G=0,2Y2=0,2Y3=1,2Y4=0 (in IC3) state drselect; ! test vector applied on passing UPD-DR seltap1; ! response capturing is via TAP1 ld cnt,8d; ! length of the IR (IC5) state drshift; ! test response captured on passing CAPT-DR ld cnt,18d; ! length of the BSR (IC5) nshfcp 0h,00400h,00400h; ! check if 2A2,2A3,2A4 are 0,1,0 jerr faulty; state reset; halt; ! stop here if X9 is not shorted faulty: halt; ! stop here if X9 is shorted

23 Detection of short circuit X9

24 Detection of short circuit X9

25 Detection of short circuit X16
What are the conditions enabling the detection of X16?

26 JTAGer code (X16) start: seltap0; rst; state irshift;
ld cnt,16d; ! length of the IRs (IC3,IC4) nshfcp h,8080h,8080h; jerr faulty; state reset; halt; ! stop here if X16 is not shorted faulty: halt; ! stop here if X16 is shorted

27 Detection of short circuit X16

28 Detection of short circuit X16
What would happen if only the first 8 bits were shifted out? (instead of 16) ld cnt,8d; ! length of the IR (IC4) nshfcp 0h,80h,80h;


Download ppt "A case study of test program generation"

Similar presentations


Ads by Google