Scan Chain Flip-Flop Ordering Optimization for IC Design

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In IC design, non-ideal ordering of flip-flops in scan chains leads to routing issues, timing violations, increased area costs, and prolonged timing closure schedules due to on-chip variations, which are exacerbated by suboptimal clock tree structures and scan chain configurations.

Innovation Solution

An IC design method that retrieves a clock tree structure with flip-flops and clock units, calculates branch levels, determines wire distances and clock skews, and updates the scan chain connection order to minimize costs by identifying a path with the lowest cost from an initial to a terminal point, optimizing the flip-flop arrangement in the scan chain.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If the scan chain connection order is not optimized, then the design process is simpler, but the area cost increases and timing violations occur

Engineering Contradiction:
Improvedesign process simplicityVSAvoidarea cost
Core Design Contradiction:
Ease of manufactureVSArea of stationary object

Solution Approach 1:

The patent changes the ordering parameter of flip-flops in the scan chain from arbitrary or default sequence to an optimized sequence determined by clock skew and wire distance calculations. This parameter optimization reduces area cost while maintaining design process automation, resolving the contradiction between simplicity and area efficiency.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If the scan chain connection order is not optimized, then the implementation is faster, but timing violations and routing issues occur

Engineering Contradiction:
Improveimplementation speedVSAvoidtiming compliance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent performs preliminary calculations of clock skew and wire distance for all flip-flop pairs before determining the optimal scan chain ordering. This advance preparation ensures timing compliance is built into the design from the start, preventing timing violations while maintaining implementation speed through automated optimization.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If on-chip variation effects are not considered, then the design process is simpler, but hold time violations become severe

Engineering Contradiction:
Improvedesign process complexityVSAvoidhold time compliance
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent applies local quality optimization by considering on-chip variation effects specifically in the hold time analysis for each flip-flop pair. The cost function incorporates local variation characteristics to determine optimal scan chain ordering, ensuring hold time compliance without requiring complex global redesign.

Inventive Principle:
Principle #3Local quality

4Area of stationary object

If the scan chain ordering is optimized, then area cost and timing closure duration are reduced, but the design process becomes more complex

Engineering Contradiction:
Improvearea costVSAvoiddesign process complexity
Core Design Contradiction:
Area of stationary objectVSDevice complexity

Solution Approach 1:

The patent implements self-service automation where the design tool automatically performs clock skew calculation, wire distance measurement, cost function evaluation, and scan chain reordering without manual intervention. This automation handles the increased design process complexity internally while delivering optimized results that reduce area cost.

Inventive Principle:
Principle #25Self-service

5Loss of time

If the scan chain ordering is optimized, then timing closure duration is reduced, but the design process becomes more complex

Engineering Contradiction:
Improvetiming closure durationVSAvoiddesign process complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent replaces manual or iterative mechanical optimization processes with an automated computational system that calculates optimal scan chain ordering based on clock skew and wire distance metrics. This substitution eliminates time-consuming manual adjustments while managing design process complexity through systematic automation.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS10997353B2Integrated circuit design method and non-transitory computer readable medium thereof
Publication Date: 2021.05.04 REALTEK SEMICON CORP
  • US10997353B2 patent drawing
  • US10997353B2 patent drawing
  • US10997353B2 patent drawing

AI summary

An IC design method is provided that includes steps outlined below. A clock tree structure is retrieved from an IC design file. A branch level number of a branch that each of clock units in the clock tree structure locates is determined. A common branch level number of a common branch that closest to each two of the flip-flops is determined. A scan chain structure is retrieved from the IC design file. A wire distance and a clock skew of each two of the flip-flops are determined. A cost is calculated according to the common branch number, the wire distance and the clock skew. An initial point and a terminal point of the flip-flops in the scan chain structure are determined to further calculate a path having a minimum cost. The order of the scan chain structure of the IC design file is updated.