Home / Learn / Chip Design / What Is BIST?

On this pageWhy a chip would test itselfThe parts of a BIST systemMemory BISTMemory repairLogic BISTMemory BIST and logic BIST comparedOther formsWhere BIST is usedAdvantagesDisadvantagesBIST alongside ATPGCommon questionsRelated guides

What Is BIST?

BIST, or built-in self-test, is circuitry inside a chip that lets it test itself. The chip generates its own test patterns, applies them to part of its own logic or memory and checks the results, reporting a pass or fail. It reduces dependence on external test equipment and makes it possible to test a chip after it has left the factory, including at every power-up.

Why a chip would test itself

Conventional testing relies on expensive external equipment that applies patterns and reads results through the chip’s pins. That works at the factory, with limits.

  • Access. Some structures, especially embedded memories, are hard to reach thoroughly from the pins.
  • Speed. External testers may not be able to run at the chip’s full operating frequency.
  • Cost. Time on a tester is expensive.
  • The field. Once a chip is installed in a product, there is no tester.

Putting the test capability on the chip addresses all four.

The parts of a BIST system

  • A pattern generator that produces the test inputs.
  • The circuit under test.
  • A response analyzer that checks the outputs.
  • A controller that sequences the test and reports the outcome.

Memory BIST

Memories occupy a large share of the area of most chips and are packed more densely than logic, which makes them the most likely place for defects. They are also impractical to test thoroughly from outside.

Memory BIST places a small controller next to the memories. It writes patterns into every location and reads them back in defined sequences, called march algorithms, that move through the addresses in ascending and descending order. These sequences are designed to expose particular kinds of fault.

  • A cell stuck at one value
  • A cell that fails to change
  • A cell disturbed by its neighbor
  • A fault in the address decoding
  • A cell that loses its contents over time

Memory BIST is used on virtually every chip that contains embedded memory.

Memory repair

Memories are usually built with spare rows and columns. When BIST finds a faulty cell, further logic works out which spare can replace it. The repair information is stored permanently, typically in electrically programmable fuses, and applied each time the chip starts.

Repair turns chips that would have been discarded into good ones, which improves manufacturing yield substantially on memory-heavy designs.

Logic BIST

Logic BIST tests ordinary digital logic. It builds on scan chains.

  • A simple circuit called a linear feedback shift register generates pseudo-random patterns.
  • The patterns are shifted into the scan chains.
  • The logic runs for a cycle and the results are captured.
  • The results are shifted out into a second circuit that compresses them into a single short value called a signature.
  • At the end, the signature is compared with the value a good chip would produce.

Some logic resists random patterns: faults that are only exposed by very specific input combinations. Test points are inserted to make such logic easier to test, and unpredictable signals have to be blocked so they do not corrupt the signature.

Memory BIST and logic BIST compared

Memory BISTLogic BIST
TestsEmbedded memoriesDigital logic
PatternsDeterministic march algorithmsPseudo-random
ResultPass or fail, with fault locations for repairA signature compared with the expected value
UseNearly universalMainly safety-critical and high-reliability chips
CoverageVery high for memory faultsGood, usually supplemented by ATPG patterns

Other forms

  • Analog and mixed-signal BIST for circuits such as data converters and clock generators.
  • Interface loopback tests, where a high-speed transmitter is connected back to its own receiver.
  • Software-based self-test, where a processor runs test programs on itself.

Where BIST is used

Automotive and safety-critical systems. Functional safety standards require electronics to detect faults that develop during use. Chips run self-tests when the vehicle starts and, in some cases, periodically while it is running.

Data centers. Operators run in-system tests to find chips that have degraded and begun to produce rare, undetected errors.

Aerospace and industrial equipment, where products operate for many years.

Any chip with embedded memory, for manufacturing test and repair.

Advantages

  • Less reliance on external testers, which lowers test cost
  • Testing at full operating speed
  • Testing in the field, at power-up or during operation
  • Thorough memory testing that would be impractical from outside
  • Simpler test access, since only a start signal and a result are needed

Disadvantages

  • Area. The test circuitry takes space on the chip.
  • Timing impact. Added logic can affect performance.
  • Limited diagnosis. A signature says the chip failed but not exactly where.
  • Coverage limits for logic BIST. Pseudo-random patterns miss some faults.
  • Design effort. The test logic has to be planned, inserted and verified.
  • Test power. Self-test can draw more power than normal operation.

BIST alongside ATPG

BIST and ATPG are complementary. A typical chip uses memory BIST for its memories and scan with ATPG for its logic. Where in-field testing is required, logic BIST is added, and deterministic ATPG patterns are often used at the factory to pick up the faults that random patterns miss.

Some approaches blend the two, storing or generating a limited set of deterministic patterns on the chip.

and What Is Design for Testability (DFT)?.

Common questions

What does BIST stand for?

Built-in self-test. It refers to test circuitry included within the chip itself.

Is BIST only run at the factory?

No. One of its main benefits is that it can be run in the finished product, at power-up or during operation, to detect faults that develop over time.

Does BIST replace scan testing?

Not usually. Memory BIST handles memories, and scan with ATPG handles most logic testing at the factory. Logic BIST is added where self-test in the field is needed.

Related guides