Processor Instruction Compression via Bit Relationship Identification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Custom processors require significant memory resources to store instruction sequences due to the need for long instruction words, which can be inefficiently used in applications with predictable functionality.

Innovation Solution

The method involves identifying relationships between bit positions in instruction sequences to generate a compressed form, using a decoder with logic circuitry to convert compressed bits into uncompressed instructions, reducing memory requirements while allowing efficient decompression.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If instruction sequences are stored in uncompressed format, then the processor can execute instructions correctly, but significant memory resources are occupied

Engineering Contradiction:
Improveinstruction execution correctnessVSAvoidmemory resources occupied
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent uses template copying where common instruction patterns are stored as templates and replicated through substitution. Instead of storing full uncompressed instructions repeatedly, the system stores a template once and generates multiple copies by substituting specific parameters, significantly reducing memory usage while maintaining execution correctness

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the representation parameters of instructions by using compressed encoding schemes. Instructions are encoded with variable-length fields and parameter substitutions that reduce the average number of bits required to represent each instruction, thereby reducing memory resources while preserving the ability to correctly execute instructions

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If compression is applied to instruction sequences, then memory resources are reduced, but decompression complexity increases

Engineering Contradiction:
Improvememory resources requiredVSAvoiddecoder complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the decompression process into distinct stages: template matching, parameter extraction, and instruction reconstruction. The decoder is divided into multiple functional units that handle different aspects of decompression, making the overall complex process manageable and implementable with systematic logic circuitry

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary organization of compressed instruction data during the coding phase, structuring it in a way that facilitates efficient decoding. The compressed representation is designed with predetermined patterns and structures that allow the decoder to anticipate and prepare for specific decoding operations, reducing the complexity of real-time decompression

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If entropy coding is used based on instruction probabilities, then average code length is reduced, but coding complexity increases

Engineering Contradiction:
Improveaverage code lengthVSAvoidcoding complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent changes the approach from probability-based entropy coding to pattern-based template matching. Instead of requiring complex probability calculations and variable-length encoding tables, the system uses fixed patterns and parameter substitutions that achieve compression with simpler, more deterministic coding logic

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent discards redundant information in favor of essential parameters during compression, then recovers the full instruction information during decompression through template substitution. This approach achieves compression by eliminating repetitive patterns while preserving the ability to reconstruct complete instructions, balancing code length reduction with coding simplicity

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS7913065B1Compression of processor instructions
Publication Date: 2011.03.22 ALTERA CORP
  • US7913065B1 patent drawing
  • US7913065B1 patent drawing
  • US7913065B1 patent drawing

AI summary

A custom processor is adapted for performing at least one predetermined application. The instruction sequence for the custom processor is compressed by performing at least one identification process on the instructions of the instruction sequence, in order to identify relationships between the contents of the bit positions in the instructions. A compressed instruction sequence then includes one compressed instruction corresponding to each instruction of the predetermined instruction sequence, with each compressed instruction comprising a reduced number of bits, based on the identified relationships between the contents of said bit positions in said instructions of said predetermined instruction sequence.