Waveform File Serialization and Compression for Faster Debugging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current waveform tools face challenges with large waveform files, including high storage and copy requirements, low loading speed, and lack of real-time debugging capabilities, especially as SoC scales increase, leading to increased debugging costs and inefficiencies.

Innovation Solution

A waveform file processing method that uses variable-length encoding and compression to store waveform files in a resolvable serialized structure, allowing for efficient storage, reading, and debugging, with features like caching and remote storage to improve access efficiency and reduce file size by over 10 times.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If waveform files are stored using traditional methods, then the waveform data can be preserved, but the file size becomes extremely large (hundreds of GB or TB), requiring extra storage capacity and copy time

Engineering Contradiction:
Improvewaveform data storage capacityVSAvoidwaveform file size
Core Design Contradiction:
Quantity of substanceVSVolume of stationary object

Solution Approach 1:

The patent applies parameter changes by transforming waveform data from time-domain representation to frequency-domain representation using Fourier transform. This changes the fundamental parameters of the data, allowing for significant compression while preserving essential signal characteristics. The transformed data can be stored more efficiently with reduced file size.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts and stores only the essential features of waveform data rather than the complete raw data. By identifying and retaining key characteristics (such as frequency components, amplitude variations, and temporal patterns) while discarding redundant information, the system achieves substantial file size reduction while maintaining debugging capability.

Inventive Principle:
Principle #2Taking out (Extraction)

2Quantity of substance

If traditional waveform storage methods are used, then all waveform data is preserved, but the loading speed becomes rather low due to the large file size

Engineering Contradiction:
Improvewaveform data completenessVSAvoidloading speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent extracts and stores only the essential features of waveform data rather than the complete raw data. By identifying and retaining key characteristics (such as frequency components, amplitude variations, and temporal patterns) while discarding redundant information, the system achieves substantial file size reduction while maintaining debugging capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies parameter changes by transforming waveform data from time-domain representation to frequency-domain representation using Fourier transform. This changes the fundamental parameters of the data, allowing for significant compression while preserving essential signal characteristics. The transformed data can be stored more efficiently with reduced file size.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If traditional waveform debugging methods are used, then post-simulation debugging is possible, but real-time viewing of waveform content during simulation is not supported

Engineering Contradiction:
Improvedebugging capabilityVSAvoiddebugging time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-processing waveform data during the simulation process itself, transforming and compressing the data as it is generated. This preliminary processing enables real-time analysis and debugging capabilities without requiring post-simulation processing, allowing developers to view and analyze waveform content during the simulation execution.

Inventive Principle:
Principle #10Preliminary action

4Ease of operation

If waveform files are stored locally with traditional methods, then data access is straightforward, but extra storage capacity and copy time are needed, increasing debugging cost

Engineering Contradiction:
Improvedata access simplicityVSAvoiddebugging cost
Core Design Contradiction:
Ease of operationVSEase of manufacture

Solution Approach 1:

The patent applies parameter changes by transforming waveform data from time-domain representation to frequency-domain representation using Fourier transform. This changes the fundamental parameters of the data, allowing for significant compression while preserving essential signal characteristics. The transformed data can be stored more efficiently with reduced file size.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts and stores only the essential features of waveform data rather than the complete raw data. By identifying and retaining key characteristics (such as frequency components, amplitude variations, and temporal patterns) while discarding redundant information, the system achieves substantial file size reduction while maintaining debugging capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12068762B2Waveform file processing method, storage medium, and device
Publication Date: 2024.08.20 ARCAS METECH LTD
  • US12068762B2 patent drawing
  • US12068762B2 patent drawing
  • US12068762B2 patent drawing

AI summary

The present invention discloses a waveform file processing method, storage medium, and device, wherein the method comprises a storage step, and such storage step comprises the following sub-steps: obtain a waveform file that comprises at least one waveform signal; assign a basic index value based on the waveform signal, and adopt the variable-length encoding method to, in a memory, encode the said waveform file as a resolvable serialized structure; when the memory consumed by the serialized structure reaches the threshold, trigger the compression and persistence for the current serialized structure, and obtain the waveform processing file. The present invention uses a unique organization mode to locally or remotely generate a waveform file of a specific format so that the efficiency of subsequent storage, reading, and debugging based on the waveform database file of the said format is significantly improved.