Trace Logic Triggering via Software Instructions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing trace triggering techniques are expensive, inefficient, and require significant hardware resources, making them costly and space-intensive for debugging software applications.

Innovation Solution

A system and method that utilize a processor core with trace logic and a TRIG register to generate and control trace information streams based on conditions and status indicators, allowing for efficient activation and deactivation of tracing activities without the need for additional hardware, reducing hardware real estate and costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional trigger hardware is used to control trace activity, then trace triggering functionality is achieved, but hardware cost and hardware real estate consumption increase significantly

Engineering Contradiction:
Improvetrace triggering functionalityVSAvoidhardware real estate
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the triggering functionality from dedicated trigger hardware and relocates it to software-based mechanisms within the processor core. The trigger conditions are implemented as software instructions that can be executed by the existing processor, eliminating the need for separate hardware trigger units while maintaining the same functional capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent makes the processor core universal by enabling it to perform both execution of application code and evaluation of trace trigger conditions. The same processor resources that execute software instructions are also used to evaluate trigger conditions and control trace activity, thereby eliminating dedicated trigger hardware and reducing overall device complexity.

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

2Reliability

If traditional trigger hardware is used to control trace activity, then trace triggering functionality is achieved, but hardware cost increases

Engineering Contradiction:
Improvetrace triggering functionalityVSAvoidhardware cost
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The patent extracts the triggering functionality from dedicated trigger hardware and relocates it to software-based mechanisms within the processor core. The trigger conditions are implemented as software instructions that can be executed by the existing processor, eliminating the need for separate hardware trigger units while maintaining the same functional capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces expensive, complex hardware trigger units with inexpensive software instructions that reside in the processor's instruction stream. These software-based triggers are essentially disposable in the sense that they can be easily modified, updated, or replaced without hardware changes, significantly reducing manufacturing costs.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Device complexity

If software-based trace triggering is used, then hardware real estate is reduced, but trace control efficiency must be maintained

Engineering Contradiction:
Improvehardware real estateVSAvoidtrace control efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent implements preliminary action by pre-loading trigger conditions and parameters into register files before trace execution begins. The software instructions prepare all necessary trigger evaluation data in advance, allowing the processor to efficiently evaluate conditions during execution without requiring complex real-time hardware processing.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The processor core serves itself by using its own execution resources to evaluate trigger conditions and control trace activity. The same ALU and control units that execute application instructions also evaluate trigger conditions, eliminating the need for separate hardware services and improving overall efficiency by utilizing existing processor capabilities.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS7596725B2Efficient trace triggering
Publication Date: 2009.09.29 TEXAS INSTRUMENTS INC
  • US7596725B2 patent drawing
  • US7596725B2 patent drawing
  • US7596725B2 patent drawing

AI summary

A system comprising a processor core adapted to execute software code and a trace logic coupled to the processor core and comprising a storage. The storage comprises at least one bit that indicates a condition and status information. The trace logic generates a trace information stream associated with the processor core as the core executes the software code. If the condition is satisfied, the trace logic adjusts a status of the trace stream in accordance with the status information.