Sum Address Compare Logic in Translation Lookaside Buffers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for sum address compare operations in translation lookaside buffers (TLBs) are hindered by dependencies on carry generation paths, leading to inefficiencies and increased power consumption in processor systems.

Innovation Solution

The implementation of a sum address compare function that generates logic gate circuits with single logic gate outputs and their inversions in each memory cell, allowing for partial lookup compare operations to reduce latency and resource usage, by combining address input signals with memory cell outputs and logical operations during read operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If an adder is utilized to generate the A+B value and then comparators are provided in a CAM to compare the A+B value with each of the CAM entries, then the sum address compare operation can be performed, but the operation is slowed by having dependencies on the carry generation path in the adder

Engineering Contradiction:
Improvesum address compare operation speedVSAvoidadder and comparator circuit complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent segments the sum address compare operation into two independent parts: (1) pre-computing partial sum values for each CAM entry during write operations, and (2) comparing these pre-computed values with the address inputs during read operations. This eliminates the need for a traditional adder with carry propagation, as each bit position can be computed independently using simple logic gates.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary computation of the sum values during the CAM write operation, storing these pre-computed values in the CAM alongside the address tags. During subsequent read operations, only a simple comparison is needed without any addition or carry generation, thus eliminating the speed bottleneck caused by carry propagation delays.

Inventive Principle:
Principle #10Preliminary action

2Use of energy by moving object

If traditional adder and comparator circuits are used for sum address compare operations, then the function can be implemented, but power consumption increases

Engineering Contradiction:
Improvepower consumptionVSAvoidaddress translation efficiency
Core Design Contradiction:
Use of energy by moving objectVSProductivity

Solution Approach 1:

The patent replaces the mechanical adder circuit with a logical computation system. Instead of using physical adders that require carry signal propagation through multiple stages, the invention uses logic gates to compute sum bits independently based on pre-stored partial values and input addresses, significantly reducing power consumption while maintaining or improving translation efficiency.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Measurement precision

If carry generation path dependencies are present in the adder, then accurate sum calculation is achieved, but latency increases

Engineering Contradiction:
Improvesum calculation accuracyVSAvoidaddress compare latency
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent computes and stores the partial sum values for each CAM entry during the write operation, so that during read operations, only a simple bitwise comparison is needed. This preliminary computation eliminates the need for real-time addition with carry propagation, reducing latency while maintaining calculation accuracy through the use of XOR gates that correctly compute sum bits without carry dependencies.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8369120B2Methods and apparatus for sum of address compare write recode and compare reduction
Publication Date: 2013.02.05 QUALCOMM INC
  • US8369120B2 patent drawing
  • US8369120B2 patent drawing
  • US8369120B2 patent drawing

AI summary

Techniques are described for sum address compare (A+B=K) operation for use in translation lookaside buffers and content addressable memory devices, for example. Address input signals A and B are supplied as input to the A+B=K operation and K is a previous value stored in a plurality of memory cells. In each memory cell, a single logic gate circuit output and its inversion are generated in response to updating the memory cells, wherein each single logic gate circuit has as input an associated memory cell output and a next lowest significant bit adjacent memory cell output. In each of the memory cells, a portion of the A+B=K operation associated with each memory cell is generated in a partial lookup compare circuit wherein the corresponding address input signals A and B are combined with the associated memory cell output and the generated single logic gate circuit output and its inversion during a read lookup compare operation.