Chip Debug Function Using Port Sharing and Signal Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing number of circuits in chips often exceeds the number of output ports available for debug signal output, making chip testing more difficult due to insufficient ports for reading debug signals from multiple circuits.

Innovation Solution

A chip design incorporating functional circuitries, a selector circuitry, a data reconstruction circuitry, and a switching circuitry that allows selective output of debug signals using address signals, split signals, and switching signals to share output ports with normal signals, enabling debug data output without additional ports.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If the number of output ports is increased to output debug signals from more circuits, then the number of readable debug signals increases, but the device complexity and manufacturing cost increase

Engineering Contradiction:
Improvenumber of debug signalsVSAvoidnumber of output ports
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The output ports are designed to serve dual functions: normal signal output during regular operation and debug signal output during testing modes. The switching circuitry enables the same physical ports to be dynamically allocated between these two functions based on operational mode, eliminating the need for separate dedicated debug ports.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system dynamically reconfigures the output ports between normal operation mode and debug mode through switching circuitry controlled by mode signals. This dynamic allocation allows the fixed number of physical ports to adaptively serve different purposes, maximizing their utility without requiring additional hardware.

Inventive Principle:
Principle #15Dynamics

2Reliability

If the number of output ports is increased to output debug signals from more circuits, then chip testing capability improves, but manufacturing cost increases

Engineering Contradiction:
Improvechip testing capabilityVSAvoidmanufacturing cost
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The output ports perform multiple roles by switching between normal signal transmission and debug signal output. This multi-functionality eliminates the need for additional dedicated debug ports, reducing the total component count and associated manufacturing costs while maintaining comprehensive testing capability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The debug output functionality is merged with the normal output ports rather than being implemented as separate hardware. The switching circuitry combines the control logic for mode selection with the existing output infrastructure, creating an integrated solution that reduces manufacturing complexity and cost.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If debug signals from multiple circuits are output simultaneously through limited ports, then testing efficiency improves, but signal interference and loss of information occur

Engineering Contradiction:
Improvetesting efficiencyVSAvoiddebug signal integrity
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The system performs preliminary selection of which debug signals to output based on predetermined addressing schemes and signal priority rules. The selector circuitry pre-configures the mapping between circuits and output ports before actual debugging operations, ensuring that critical signals are allocated appropriately and preventing information loss through systematic signal management.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The debug signal output is segmented into multiple channels or time slots, with different circuits assigned to different output ports or time periods. This segmentation prevents signal interference by isolating multiple debug signals into separate transmission paths while maintaining the ability to access all necessary debugging information.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11942172B2Chip having debug function and chip debugging method
Publication Date: 2024.03.26 REALTEK SEMICON CORP
  • US11942172B2 patent drawing
  • US11942172B2 patent drawing
  • US11942172B2 patent drawing

AI summary

A chip having a debug function includes functional circuitries, a selector circuitry, a data reconstruction circuitry, and a switching circuitry. Each functional circuitry includes a decoder circuit that stores a corresponding set of debug signals and outputs a corresponding debug signal in the corresponding set of debug signals to be a corresponding signal in first signals according to a corresponding address signal in address signals. The selector circuitry selects second signals from the first signals according to the address signals. The data reconstruction circuitry selects first data from the second signals according to split signals and outputs the same to be debug data. Each first data is partial data of a corresponding signal in the second signals. The switching circuitry determines whether to output the debug data or at least one output signal associated with the functional circuitries via output ports according to switching signals.