TL;DR
This paper introduces a novel test scheduling algorithm for System-on-Chips (SoCs) that significantly reduces overall testing time by intelligently balancing the usage of shared testing resources. It achieves this by selecting optimal test sets for each embedded core and then scheduling them to avoid resource contention, a crucial step for efficient SoC manufacturing.
What Problem Does This Paper Address?
Modern System-on-Chips (SoCs) are complex integrated circuits built from pre-designed, reusable blocks called "embedded cores." While this approach speeds up design and reduces time-to-market, it creates a significant challenge in testing. System integrators often have limited knowledge of these proprietary cores (due to IP protection) and face a multitude of testing options provided by different vendors. The core problem is efficiently scheduling tests for these numerous cores, using a limited set of shared testing resources, to minimize the total test application time. This is critical because longer test times translate directly to higher manufacturing costs and longer product release cycles. Existing methods often struggle with the flexibility of choosing from multiple test sets for a single core or efficiently balancing resource utilization.
Methods
The paper proposes a novel test scheduling algorithm that focuses on resource balancing. The core idea is to treat each shared testing resource as a queue and schedule tests in a way that keeps these queues as evenly filled as possible. This prevents one resource from becoming a bottleneck, which would dictate the overall test time.
Key techniques include:
- Resource Queue Management: Each testing resource is modeled as a queue. The algorithm aims to distribute the total test time across these queues evenly.
- Test Set Selection: For each core, the algorithm considers a set of alternative test sets, each with a different test time and requiring a specific resource. It selects the test set that, when added to its corresponding resource queue, results in the shortest overall queue length. This is a heuristic approach to minimize the maximum queue length.
- Grouping Strategy: To further improve balancing, the paper introduces a grouping mechanism. Cores are grouped based on the number of alternative test sets they offer. Cores with fewer options are prioritized, and then the algorithm uses the flexibility of cores with more options to balance the resource queues.
- Multiple Test Set Extension: The algorithm is extended to handle scenarios where a core might require multiple test sets to achieve the desired fault coverage (e.g., for different fault models in embedded memory). This is addressed by creating "virtual cores" for each fault model and applying the single test set selection logic.
Datasets
Not discussed in the paper. The authors mention using simulations with randomly generated test sets for evaluation.
Key Insights and Ideas
- Resource Balancing is Key: The most significant insight is that evenly distributing the workload across shared testing resources is a highly effective strategy for minimizing overall test time. This is because the longest-running resource queue determines the total test duration.
- Grouping Improves Efficiency: Prioritizing cores with fewer test set options and then leveraging the flexibility of cores with more options for balancing leads to a substantial reduction in test time. This "grouping" strategy is more effective than simply scheduling without considering core characteristics.
- No "Explicit Dead Time": The proposed resource balancing approach inherently avoids "explicit dead time" (idle periods caused by resource conflicts or waiting for other tests). This is achieved by ensuring tests are scheduled sequentially on a resource and that only one test for a given core is active at a time.
- Implicit Dead Time Reduction: While explicit dead time is eliminated, the algorithm focuses on reducing "implicit dead time" (idle time at the end of resource queues due to uneven loading).
Key Results
The paper demonstrates the effectiveness of its proposed algorithms through simulations.
- Grouping Reduces Test Time: The grouping strategy consistently reduced total test time compared to scheduling without grouping. For the example system, grouping reduced the test time from 14 to 9.
- Balance Ratio (G): A "balance ratio" (G) was introduced to quantify the improvement from grouping. Simulations showed G to be consistently positive, indicating that grouping always helps reduce test time. G increased significantly with the number of cores, peaking at 10.52% for 25 cores.
- Flexibility Matters: The balance ratio also increased with the number of available resources and the maximum number of resources per core, highlighting the importance of flexibility in test set selection and resource assignment.
- Worst-Case Scheduling: The paper also addresses worst-case scenarios where a single long test might dominate the schedule, suggesting a rescheduling approach to mitigate this.
Limitations and Future Work
The authors acknowledge several areas for future research:
- Power Dissipation: The current algorithm does not explicitly consider power dissipation constraints, which are crucial in SoC testing. Future work will incorporate this.
- Benchmark Verification: Performance verification using industry benchmarks is planned.
- Mixed-Signal SoCs: Extending the algorithm to handle mixed-signal SoCs (which include analog and digital components) is a significant future direction. This would involve developing new modeling and scheduling techniques for these more complex systems.
- Testability Analysis and Diagnosis: Integrating test scheduling with testability analysis and diagnosis for mixed-signal SoCs is also proposed.
Summary updated