Core System Debugging via Path Identifier Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current debugging methods in core systems require extensive log information storage, leading to high memory usage and inefficiencies when attempting to trace function paths and errors during instruction execution.

Innovation Solution

A method and device that store and manage a path identifier including return addresses of called functions, allowing for efficient debugging by storing only necessary path information in non-volatile memory, reducing memory usage and enhancing debugging operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If extensive log information is stored for debugging, then debugging capability is improved, but memory usage increases

Engineering Contradiction:
Improvedebugging capabilityVSAvoidmemory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential path information (return addresses of called functions) from the complete log data, storing only this critical subset in non-volatile memory. This selective extraction maintains debugging capability while dramatically reducing memory consumption by eliminating redundant or non-essential log entries.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates a simplified copy of the full execution path by storing only return addresses in a compressed format. Instead of preserving complete function call logs with all details, it maintains a representative copy that suffices for debugging purposes, thereby reducing storage requirements while preserving essential diagnostic information.

Inventive Principle:
Principle #26Copying

2Measurement precision

If complete function path information is stored, then error analysis precision is improved, but device complexity increases

Engineering Contradiction:
Improveerror analysis precisionVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts only the critical path information needed for error analysis - specifically the return addresses of called functions - and stores this minimal set in non-volatile memory. This extraction approach maintains sufficient precision for debugging while avoiding the complexity of managing complete execution logs.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the representation parameters of function path information by storing only return addresses rather than complete function call details. This parameter transformation reduces the data structure complexity while preserving the essential information needed for error analysis and debugging operations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10747644B2Method of executing instructions of core, method of debugging core system, and core system
Publication Date: 2020.08.18 SAMSUNG ELECTRONICS CO LTD
  • US10747644B2 patent drawing
  • US10747644B2 patent drawing
  • US10747644B2 patent drawing

AI summary

A method of executing an instruction of a core includes calling a first function; calling a second function in the first function; and updating a path identifier including path information of called functions based on a second function return address corresponding to where the second function ends and returns to.