
When the first wafers reach the test floor, two things get tested at once: the chip and the test program. If the program has never run before, every failing die raises the same question. Is the silicon wrong, or is the pattern wrong? A team that has to answer that question die by die loses its first week to the tester instead of the chip.
This is Part 4 of First Silicon Back. Part 3 covered the bring-up board. Today: how to get production test patterns converted, loaded and debugged on the tester side before the wafers arrive, so that a fail on day one means something about the silicon.
Key takeaways
- Patterns from the design flow do not run on a tester as written. They must be converted, mapped to tester pins, given timing and levels, and debugged.
- Many pattern errors come from the conversion and the test bench, not from the chip. Find them in simulation before silicon, not on the first wafer.
- Order the program so that the cheapest, most basic tests run first: continuity, then power and leakage, then scan chains, then everything else.
- Run first silicon at relaxed settings, such as a slow scan shift clock, and tighten them once the basics pass.
- Know your test time per die before wafers arrive. It shapes how many parts you can sort in the first days.
In this post
- From design patterns to a tester program
- Where pattern errors come from
- The order of tests in a first program
- What you can debug before silicon
- Common traps
- Deep dive (optional)
- An illustrative pattern readiness tracker
- Worked example: test time per die
- Red flags table
- Test program readiness checklist
From design patterns to a tester program
Scan, memory BIST and functional patterns are written by the DFT and verification teams in tools that know nothing about a particular tester. They are usually handed over in STIL, the IEEE 1450 language, which the working group describes as a tester-neutral way to move digital test patterns between simulation, ATPG, BIST and ATE, including timing tables, waveforms and serial scan data (IEEE 1450 overview).
A tester program needs more than the patterns. It needs a pin map from chip signals to tester channels, timing sets that say where each edge and strobe sits in a cycle, levels for drive and compare voltages, power supply settings, the order of tests, limits and bins. Converting the patterns is one job; building and debugging everything around them is the larger one. In our Hub lifecycle this work belongs to the Packaging and Test stage, which the Hub describes as covering ATE test program development and execution, and it starts from the patterns signed off at the DFT insertion sign-off gate.
Where pattern errors come from
The problem is old and well documented. A 1998 Electronic Design article by Nat Reeves describes translated test vectors being checked for the first time on prototype silicon, with days or weeks then spent debugging the patterns. It sorts the errors it found into four groups: test bench omissions, timing errors, bus contention and nonfunctional patterns, and notes that some errors start in the designer's test bench rather than in translation (Using Virtual Testers for Test-Vector Verification).
Scripts are a second source. A 2013 Arm community guest post from TSSI describes teams editing STIL files with Perl before chip-level use, and warns that script upkeep can come to take more time than the conversion itself. It lists errors such as duplicate signal names and reserved words that may only show up once the patterns reach the ATE (Core Pattern Conversion for SoC Test).
Patterns also keep changing. A 2014 Silicon Semiconductor report on a Teradyne and Test Insight tie-up says test vectors can be fully regenerated 10 to 20 times during early ramp (Teradyne and Test Insight to quicken IC development). If each conversion is a manual job, that is 10 to 20 chances to get it wrong.
Finally, the tester tells you little. A 2022 Teradyne sponsor blog on Semiconductor Engineering points out that ATE reports pass or fail with no reason, so test engineers must turn data logs into a form designers can read, and says getting the right set of tests can take weeks or months (Simplifying The Path From Design To Test). It is a vendor piece, but the pain it describes is the one every first-silicon test team knows.
The order of tests in a first program
A production program is ordered for speed. A first-silicon program is ordered for diagnosis: each test assumes the ones before it passed.
- Continuity. Check that every pin is connected to the tester. Marvin Test describes the usual method: force a small current with the tester's parametric unit and measure the voltage across the pin's ESD diode. An open gives no normal diode drop, and a shorted diode reads near zero volts (Semiconductor Continuity Test).
- Power and leakage. Supply currents at power-up and pin leakage. A die that draws far too much current stops here.
- Scan chain test. Shift a simple pattern through each chain and check it comes out intact. If chains are broken, every ATPG pattern after this will fail for the same reason.
- ATPG patterns. Stuck-at first, then at-speed transition patterns.
- Memory BIST, then functional and analog tests.
Keep each group in its own test with its own bin, so a wafer map tells you at a glance where dies are failing.
What you can debug before silicon
- Simulate the converted patterns. Take the tester-format patterns back into a simulator against the gate-level netlist, with the tester's timing. Reeves's article shows the idea with a Verilog model of the tester; his team found pattern errors this way before parts existed.
- Check the program offline. Compile and check the program in the tester software with no device, if your tester allows it. Pin map, timing and level errors show up here.
- Check the hardware. Load board and probe card continuity, with no device, on the real tester.
- Agree the loop with design. Decide how a failing pattern goes back to the DFT team (which pattern, which cycle, which pin) and how a fixed pattern comes back.
Common traps
- Final patterns arrive the week wafers do. Ask for an early set to build the flow, then swap in final patterns.
- Production speed on day one. Start with relaxed timing and slower shift; speed up once chains pass.
- One big functional test. When it fails, you learn nothing. Split patterns into small, named tests.
- Nobody owns the conversion scripts. They break on the tenth regeneration.
Deep dive: the numbers and details
This part holds a sample tracker, the arithmetic for test time per die, the red flags and a checklist. Skip it if the overview is all you need.
An illustrative pattern readiness tracker
The tracker below is illustrative, for a small SoC two weeks before wafers are due. Every count is invented for this post. The useful habit is the columns: a pattern set is not "ready" until it has been converted, simulated in tester format and loaded into a program that compiles.
| Pattern set | Patterns | Converted | Passes tester-format simulation | In compiled program |
|---|---|---|---|---|
| Continuity and leakage (DC) | n/a | n/a | n/a | Yes |
| Scan chain test | 4 | 4 | 4 | Yes |
| Stuck-at ATPG | 4,000 | 4,000 | 3,996 | Yes |
| Transition ATPG | 6,000 | 6,000 | 5,880 | No |
| Memory BIST | 12 | 12 | 12 | Yes |
| JTAG IDCODE and boundary scan | 3 | 3 | 2 | No |
Reading it: 4 stuck-at patterns and 120 transition patterns (2 percent of 6,000) fail in simulation. That is a pattern or timing problem, found before silicon. The boundary scan pattern that fails is a classic test bench omission: a pin the test bench never drove.
Worked example: test time per die
Scan test time is mostly shift time. With the unload of one pattern overlapped with the load of the next, the cycle count is roughly:
cycles = N x (L + c) + L
where N is the number of patterns, L is the longest scan chain in flops and c is the capture cycles per pattern. Take illustrative values: L = 2,000, c = 4, shift clock 25 MHz.
- Stuck-at, N = 4,000: 4,000 x 2,004 + 2,000 = 8,018,000 cycles; at 25 MHz that is 8,018,000 / 25,000,000 = 0.321 s.
- Transition, N = 6,000: 6,000 x 2,004 + 2,000 = 12,026,000 cycles; 12,026,000 / 25,000,000 = 0.481 s.
| Test | Time per die at 25 MHz shift (s) |
|---|---|
| Continuity | 0.020 |
| Supply current and leakage | 0.150 |
| Scan chain test | 0.005 |
| Stuck-at ATPG | 0.321 |
| Transition ATPG | 0.481 |
| Memory BIST | 0.200 |
| Total | 1.177 |
Check the total: 0.020 + 0.150 + 0.005 + 0.321 + 0.481 + 0.200 = 1.177 s.
First silicon runs slower. Suppose you drop the shift clock to 10 MHz for the first wafers, to keep timing out of the question. The two ATPG rows grow by 25 / 10 = 2.5 times: (0.321 + 0.481) x 2.5 = 0.802 x 2.5 = 2.005 s. The other rows stay at 0.020 + 0.150 + 0.005 + 0.200 = 0.375 s, so a die now takes 0.375 + 2.005 = 2.380 s, about twice as long.
What that means for a wafer. With an illustrative 600 dies per wafer tested one at a time, 600 x 2.380 = 1,428 s, about 24 minutes of test time per wafer before stepping and indexing. That is fine for a few wafers. It is a number to know when someone asks for every wafer of every corner sorted by Friday. All values here are illustrative.
Red flags table
| What you see | Why it matters | What to ask |
|---|---|---|
| Patterns never simulated in tester format | Conversion and timing errors surface on silicon | Which pattern sets passed a tester-format simulation? |
| Conversion done by hand-edited scripts | Every regeneration is a new chance for error | Who owns the scripts, and how is a conversion checked? |
| Program never compiled or run on the tester | Pin map, timing and level errors wait for day one | When did the program last load on the real tester? |
| No continuity or scan chain test at the start | Contact faults and broken chains look like logic fails | What runs before the first ATPG pattern? |
| All patterns in one test and one bin | A wafer map cannot show where dies fail | Can each pattern group have its own test and bin? |
| No agreed fail data format for design | Fails wait days for translation | What does the DFT team receive for each failing pattern? |
| Test time per die unknown | Sort plans for the first days are guesses | What is the time per die at first-silicon settings? |
Test program readiness checklist
- Early pattern set received, flow built; final patterns swapped in and reconverted.
- Conversion scripted, versioned and owned; every conversion checked by tester-format simulation.
- Pin map, timing sets and levels reviewed against the pin list and I/O specs.
- Program compiles; offline checks clean; loads on the real tester.
- Test order: continuity, supply current and leakage, scan chain, ATPG, BIST, functional; each with its own bin.
- Relaxed first-silicon settings ready (slow shift, wide limits) alongside production settings.
- Load board and probe card continuity checked with no device.
- Fail data format and turnaround agreed with the DFT team; test time per die computed.
Further reading
- NI Semiconductor Test Library: Continuity Test step
- The Semiconductor Hub: SoC lifecycle, Full-Chip DFT stage
Next in the series: Corner Lots and Split Lots and Why You Asked the Fab for Skewed Wafers.


Your comments will be moderated before it appears here.