Integrated Circuit Bus Hang Detection Using Command Timeout Counters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing chip systems face issues with bus hanging, where a command fails to release the bus properly, leading to a locked state and impaired data transmission, often resulting in performance degradation or system collapse due to untimely detection of bus occupation.

Innovation Solution

A method and apparatus for detecting bus access state by counting first commands using counters to determine the number and time-out duration, comparing against a preset threshold to identify bus occupation, and sending interrupt-based reports to handle hanging states.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If bus access is monitored without counters and time-out detection, then device complexity is reduced, but reliability deteriorates due to undetected bus hanging

Engineering Contradiction:
Improvebus access reliabilityVSAvoiddetection apparatus complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-configuring counter units and time-out detection mechanisms before bus operations begin. The counter units are预先 set to monitor specific bus channels, and time-out thresholds are predetermined, enabling automatic detection without requiring complex real-time analysis during bus operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The detection system is segmented into multiple independent counter units, each monitoring a specific bus channel. This segmentation allows the system to track multiple bus operations simultaneously using simple, modular components rather than a single complex detection mechanism.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If multiple counters are used to track command numbers and time-out durations, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improvebus occupation detection precisionVSAvoidcounter system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The counter units serve multiple functions: they count the number of commands on specific bus channels, track time-out durations, and provide data for bus hanging determination. This multi-functionality reduces the need for separate specialized components for each measurement task.

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

Solution Approach 2:

The patent uses simplified counter models that replicate the essential monitoring functionality without requiring complex measurement infrastructure. Each counter unit is a standardized, reusable component that can be instantiated multiple times for different bus channels.

Inventive Principle:
Principle #26Copying

3Loss of time

If bus hanging detection is implemented early through command counting, then loss of time is reduced by preventing system crashes, but device complexity increases

Engineering Contradiction:
Improvesystem crash prevention timeVSAvoiddetection mechanism complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The system implements continuous feedback by constantly monitoring command counts and time-out durations through the counter units. When a bus operation exceeds the predetermined time-out threshold, the feedback mechanism triggers a bus hanging determination, enabling early detection and prevention of system crashes before they occur.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250265165A1Method And Apparatus For Detecting Bus Access State In Integrated Circuit, Medium, And Device
Publication Date: 2025.08.21 XG TECHNOLOGIES PTE LTD
  • US20250265165A1 patent drawing
  • US20250265165A1 patent drawing
  • US20250265165A1 patent drawing

AI summary

The embodiments of the present disclosure disclose a method and apparatus for detecting a bus access state in an integrated circuit, medium, and a device, where the method includes: detecting first commands transmitted by a first channel of the bus in the integrated circuit; accumulating, by a first counter, a number of the first commands to obtain a first accumulated value; counting, based on the first accumulated value, a time-out duration for the first commands accumulated in the first counter by a second counter to obtain a second accumulated value; and determining, based on a relationship between the second accumulated value and a preset threshold, the access state of the bus.