RAM Access Device with Attribute Matching for CPU Efficiency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current communication devices face low access efficiency to Random-Access Memory (RAM) due to narrow bandwidth interfaces and time-consuming processes, requiring the Central Processing Unit (CPU) to traverse all data to find specific information, which is inefficient.
Innovation Solution
A method and device for accessing RAM, comprising a register module, a searching and matching module, and a RAM interface module, which acquires attribute information, searches the RAM based on address range information, and matches data according to attribute parameters, allowing direct access and storage of matched data in a register for the CPU to read, without needing to traverse all data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the CPU accesses RAM through the existing interface and process, then data can be retrieved from RAM, but the access time is long (at least ten or more ASIC clock cycles per data item) and efficiency is low
Solution Approach 1:
The patent extracts the attribute matching function from the CPU and implements it in dedicated hardware (comparing unit) within the access device. This allows the CPU to directly read matched data from registers without traversing all RAM data, significantly reducing access time and improving efficiency.
Solution Approach 2:
The patent introduces an access device as an intermediary between the CPU and RAM. This access device includes a comparing unit that matches attribute information against RAM data and a register that stores matched results, enabling the CPU to access only relevant data rather than traversing the entire RAM.
2Reliability
If all RAM addresses are traversed to find information with specific attributes, then the required information can be obtained, but more time is consumed and efficiency is reduced
Solution Approach 1:
The patent extracts the attribute matching function from the CPU and implements it in dedicated hardware (comparing unit) within the access device. This allows the CPU to directly read matched data from registers without traversing all RAM data, significantly reducing access time and improving efficiency.
Solution Approach 2:
The access device performs preliminary attribute matching in hardware before data is presented to the CPU. The comparing unit pre-filters RAM data based on attribute information, so the CPU receives only matched results rather than all RAM contents, saving significant time.
3Device complexity
If a narrow bandwidth interface (10M-200M) is used between CPU and ASIC, then the existing hardware structure is maintained, but RAM access speed is limited
Solution Approach 1:
The patent extracts the attribute matching function from the CPU and implements it in dedicated hardware (comparing unit) within the access device. This allows the CPU to directly read matched data from registers without traversing all RAM data, significantly reducing access time and improving efficiency.
Solution Approach 2:
The access device performs self-service by autonomously matching attribute information against RAM data using the comparing unit and storing results in registers. This eliminates the need for the CPU to traverse and filter data manually, compensating for the narrow interface bandwidth through intelligent pre-processing.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Disclosed are a device and method for accessing to a RAM and a control chip. The device includes a register module configured to acquire attribute information and startup information configured by a CPU and send the startup information to a searching and matching module, and also configured to store data information successfully matched by the searching and matching module and instruct the CPU to read the data information. The searching and matching module is configured to send address information to an RAM interface module according to the startup information, and also configured to acquire the data information sent by the RAM interface module, match the data information based on the attribute information in the register module and send the data information to the register module after matching is successful. The RAM interface module is configured to read the data information from the RAM based on the address information sent by the searching and matching module and send the data information to the searching and matching module.