TL;DR
This survey paper tackles the critical challenge of testing complex System-on-a-Chip (SoC) designs, which are increasingly built using pre-designed "cores." It provides a comprehensive overview of the latest strategies and algorithms for optimizing test architectures, scheduling tests, and partitioning test resources under tight constraints on testing time, tester memory, and on-chip area.
What Problem Does This Paper Address?
Modern System-on-a-Chip (SoC) designs are characterized by the integration of numerous pre-designed, reusable intellectual property (IP) blocks, known as "cores." While this design reuse philosophy accelerates development, it introduces significant challenges for manufacturing test. Unlike traditional chip testing where each component is tested before board assembly, cores within an SoC are tested after the entire chip is manufactured. This "black box" nature of cores, coupled with the sheer number of cores and limited external test access (I/O pins), creates a resource-constrained testing problem. Designers must ensure high product quality and yield learning while managing test costs, which are heavily influenced by test time, tester equipment, and on-chip test logic. The paper addresses the need for efficient test strategies that can handle these constraints, covering test access mechanisms, test architecture design and optimization, test scheduling, and test resource partitioning.
Methods
The paper surveys various approaches to address the resource-constrained SoC testing problem, broadly categorized into:
- Test Access Mechanisms (TAM): This section explores how test data is transported to and from embedded cores. Methods discussed include:
- Direct Access: Multiplexing core terminals directly to chip I/O pins.
- Isolation Ring Access: Utilizing boundary scan-like architectures to serially access cores.
- Functional Access: Leveraging existing functional paths within the SoC for test data transfer.
- Dedicated Bus-Based Access: Employing specific test buses (e.g., Test Bus, TestRail) for structured test access.
- Test Architecture Design and Optimization: This covers techniques for designing efficient test structures, including:
- Wrapper Design: Creating a "thin shell" around cores (IEEE P1500 standard) to manage test access and isolation.
- TAM Optimization: Optimizing the width and configuration of test buses, considering fixed-width and flexible-width architectures. This often involves integer linear programming (ILP), graph-based heuristics, and bin-packing algorithms.
- Test Scheduling: This focuses on allocating test resources (TAM wires) to cores over time to minimize overall test application time while respecting constraints like test power and concurrency. Techniques range from session-based to preemptive scheduling.
- Test Resource Partitioning: This area explores shifting test resources from expensive off-chip Automatic Test Equipment (ATE) to on-chip solutions. Key techniques include:
- Test Stimuli Compression (TDC): Reducing the volume of test data sent from the ATE to the SoC using methods like LFSR-reseeding, statistical coding (e.g., Huffman, Golomb), and dictionary-based methods (e.g., LZ77, LZW).
- Test Response Compaction: Reducing the volume of test data sent from the SoC back to the ATE, often using lossy techniques like MISRs, cellular automata, or XOR networks, while managing "unknown" states.
Datasets
The paper references several benchmark SOCs for evaluation, primarily from the ITC'02 SOC Test Benchmarks [92]. These include:
- Hypothetical SOCs built from ISCAS benchmark circuits (d695, g1023).
- Industrial SOCs (p22810, p34392, p93791).
The paper does not introduce new datasets but uses these existing ones to compare the performance of various test architecture optimization techniques.
Key Insights and Ideas
- The "Black Box" Core Challenge: Testing embedded cores as black boxes is a fundamental hurdle, necessitating sophisticated test access and wrapper designs.
- Resource Constraints Drive Innovation: The limited number of I/O pins, tester memory, and on-chip area are the primary drivers for developing specialized test strategies.
- Trade-offs are Ubiquitous: Every approach involves trade-offs. For instance, direct access simplifies test reuse but incurs high routing overhead, while isolation rings reduce routing overhead but increase test application time.
- Co-optimization is Crucial: Test architecture design, test scheduling, and test resource partitioning are highly interrelated. Optimizing them in isolation often leads to suboptimal overall results.
- On-Chip Compression is Key: Test data compression (both stimuli and response) is essential for reducing ATE costs and test application time, especially for large SoCs.
- IEEE P1500 Standard: The P1500 standard provides a framework for core test knowledge transfer and test access, promoting modularity and reusability.
Key Results
The paper presents a comparative analysis of various test architecture optimization techniques in Table 2, evaluating them on different benchmark SOCs. While specific quantitative results vary by technique and benchmark, the table demonstrates that:
- Different optimization techniques yield varying test application times (TAT) for the same SOC and TAM width.
- Flexible-width TAM architectures generally show competitive or better results compared to fixed-width architectures, though the latter can sometimes offer advantages in test control pin usage.
- The performance of techniques is highly dependent on the specific SOC characteristics and the constraints applied (e.g., TAM width, power, concurrency).
- The paper highlights that many techniques achieve results close to a proposed lower bound for test application time.
Limitations and Future Work
- Simplifying Assumptions: Many presented techniques rely on simplifying assumptions, such as fixed-length scan chains, no power/concurrency/precedence constraints, and single ATE source/sink. Relaxing these assumptions can significantly impact the effectiveness of certain methods.
- Multi-frequency TAM Design: The paper notes that most prior research assumes ATE and internal scan chain frequencies are synchronized. Future work should explore multi-frequency TAM design where TAM width and frequency are co-optimized.
- Integrated TDC and TAM Design: Combining test data compression (TDC) techniques with TAM design in a unified manner is an open research area. The paper discusses different ways to integrate TDC logic (per-SOC, per-TAM, per-core) but emphasizes the need for further investigation into optimal integration strategies.
- Delay Fault Testing: Current techniques are often geared towards single-pattern tests. Future work is needed to address the increasing demand for high-quality delay testing, which requires at-speed testing of sequential circuits.
- Hierarchical TAM Design: Extending TAM design to handle hierarchical SOC structures is an ongoing challenge.
- Multiple Test Sources/Sinks: Optimizing test architectures with multiple test sources and sinks is another area for future research.
- Network-on-Chip (NoC) Designs: Adapting test architecture optimization for NoC-based designs presents new challenges.
Summary updated