Configurable MMU Modes for Direct TLB Update Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current memory management systems face inefficiencies in address translation between virtual and physical addresses, particularly due to the consumption of processing and memory resources, and lack granular control over memory management, especially in software-managed modes.

Innovation Solution

A memory management unit (MMU) with a translation lookaside buffer (TLB) and a configuration register that operates in either software-managed or hardware-managed modes, allowing direct modification of TLB entries based on configuration register values, optimizing address translation by either granting or denying requests accordingly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If address translation is performed to translate virtual addresses into physical addresses, then memory management capability is improved, but processing and memory resources are consumed

Engineering Contradiction:
Improvememory management capabilityVSAvoidprocessing and memory resources
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The translation lookaside buffer (TLB) pre-stores frequently used virtual-to-physical address translations, allowing the system to retrieve translations from the buffer rather than performing full address translation operations. This preliminary caching action reduces the frequency of resource-intensive translation operations while maintaining memory management capability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a configuration register that can change the operational parameters of the MMU between software-managed and hardware-managed modes. This parameter change allows the system to adapt resource consumption based on specific operational requirements, optimizing the balance between memory management capability and resource usage.

Inventive Principle:
Principle #35Parameter changes

2Speed

If a translation lookaside buffer is used to improve address translation performance, then translation speed is improved, but device complexity increases

Engineering Contradiction:
Improveaddress translation performanceVSAvoidmemory management unit structure
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The memory management unit is segmented into distinct functional components: the translation lookaside buffer for caching translations, the configuration register for mode control, and the MMU logic for address translation. This segmentation allows each component to be optimized independently while working together to improve translation speed without proportionally increasing overall complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The configuration register provides multi-functionality by controlling both the operational mode (software-managed vs. hardware-managed) and enabling direct TLB modification capabilities. This universal control mechanism reduces the need for separate control structures, thereby improving translation performance without proportionally increasing device complexity.

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

3Reliability

If the MMU operates in hardware-managed mode to ensure security and stability, then system reliability is improved, but flexibility and performance are reduced

Engineering Contradiction:
Improvememory management stabilityVSAvoidsoftware control flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic mode switching capability through the configuration register, allowing the MMU to transition between hardware-managed and software-managed modes. This dynamic adaptability enables the system to prioritize reliability when stability is critical while allowing flexibility when performance and software control are more important, resolving the contradiction between these opposing requirements.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

By changing the operational parameter (mode) of the MMU through the configuration register, the system can adjust its behavior to match different operational contexts. This parameter change mechanism allows the same hardware to provide both high reliability in hardware-managed mode and high flexibility in software-managed mode, eliminating the need to choose one approach permanently.

Inventive Principle:
Principle #35Parameter changes

4Productivity

If direct TLB modification is allowed in software-managed mode to improve performance, then address translation efficiency is improved, but risk of unauthorized access increases

Engineering Contradiction:
Improveaddress translation efficiencyVSAvoidunauthorized access risk
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The configuration register acts as an intermediary control mechanism that mediates between software applications and the TLB. By controlling the enablement of direct TLB modification through this intermediate register, the system allows efficient direct modification when authorized while preventing unauthorized access, thus resolving the contradiction between productivity and security.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent applies different access control qualities to different parts of the memory management system. Direct TLB modification is enabled in the software-managed mode for performance-critical operations while the configuration register maintains security control. This localized quality approach allows high efficiency where needed while maintaining security where required, resolving the contradiction between productivity and access control.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11853225B2Software-hardware memory management modes
Publication Date: 2023.12.26 TEXAS INSTRUMENTS INC
  • US11853225B2 patent drawing
  • US11853225B2 patent drawing
  • US11853225B2 patent drawing

AI summary

A method includes receiving, by a memory management unit (MMU) comprising a translation lookaside buffer (TLB) and a configuration register, a request from a processor core to directly modify an entry in the TLB. The method also includes, responsive to the configuration register having a first value, operating the MMU in a software-managed mode by modifying the entry in the TLB according to the request. The method further includes, responsive to the configuration register having a second value, operating the MMU in a hardware-managed mode by denying the request.