hottub.patents
US 12,360,929 B2#3494991 Most CitedActiveUnited States (USPTO)Utility

Memory management device and method applied to intelligence processing unit

0Forward Citations (#3494991 Global)
0.0/yrCitation Velocity (#3494991 Global)
0.00Citation PageRank (#3494991 Global)
7Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A memory management device includes a pre-fetch circuit, a setting circuit and a mapping circuit. The pre-fetch circuit acquires original data via a direct memory access (DMA) circuit, wherein the original data indicates a mapping relation between a first virtual address and multiple physical addresses. The setting circuit analyzes the original data to sequentially map the physical addresses to multiple second virtual addresses including the first virtual address and issues a write request. The mapping circuit stores a mapping relation between the physical addresses and the second virtual addresses as a first mapping table according the write request, and utilizes the first mapping table according to at least one read request corresponding to at least one channel of the DMA circuit to access the memory.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A memory management device, applied to an intelligent processing unit, the memory management device comprising: a pre-fetch circuit, acquiring original data via a direct memory access (DMA) circuit, wherein the original data indicates a mapping relation between a first virtual address and a plurality of physical addresses of a memory; a setting circuit, analyzing the original data to sequentially map the physical addresses to a plurality of second virtual addresses comprising the first virtual address and issuing a write request; and a mapping circuit, storing a mapping relation between the physical addresses and the second virtual addresses as a first mapping table according the write request, and utilizing the first mapping table according to at least one read request corresponding to at least one channel of the DMA circuit to access the memory.

  2. Claim 2Depends on #1

    The memory management device according to claim 1, wherein the pre-fetch circuit comprises: a buffer circuit; and a pre-fetch control circuit, determining whether a current remaining data capacity of the buffer circuit is greater than or equal to a data amount of a part of data of the original data, so as to selectively control the buffer circuit to store the part of data.

  3. Claim 3Depends on #1

    The memory management device according to claim 1, wherein the original data comprises first number information, second number information, tag information, information of the first virtual address and information of the physical addresses, wherein the first number information indicates the number of the physical addresses, and the second number information indicates the number of the second virtual addresses.

  4. Claim 4Depends on #3

    The memory management device according to claim 3, wherein the setting circuit determines, according to the first number information and the tag information, whether the original data has been correctly pre-fetched, and sequentially maps the physical addresses to the second virtual addresses according to the information of the first virtual address, the second number information and the information of the second virtual addresses.

  5. Claim 5Depends on #4

    The memory management device according to claim 4, wherein the setting circuit sequentially increments the first virtual address according to the information of the first virtual address and the second number information to generate the second virtual addresses.

  6. Claim 6Depends on #1

    The memory management device according to claim 1, wherein the mapping circuit further performs arbitration on the write request and the at least one read request to determine an order for accessing a storage space for storing the first mapping table for each of the write request and the at least one read request.

  7. Claim 7Depends on #1

    The memory management device according to claim 1, wherein when the mapping circuit is to store the first mapping table to a first storage space in the mapping circuit and the at least one read request is to read a second storage space in the mapping circuit, a period in which the first mapping table is stored to the first storage space at least partially overlaps a period in which the second storage space is read in response to the at least one read request.

  8. Claim 8Depends on #1

    The memory management device according to claim 1, wherein the mapping circuit comprises: a memory, comprising a plurality of storage spaces; and an arbitration circuit, temporarily storing the at least one read request and the write request, and determining orders for writing the write request and the at least one read request to the storage spaces; wherein, the arbitration stores the first mapping table to a corresponding storage space of the storage spaces in response to the write request, so as to replace a second mapping table previously stored in the corresponding storage space.

Technical Overview & Description

This application claims the benefit of China application Serial No. CN202310116238.X, filed on Feb. 14, 2023, the subject matter of which is incorporated herein by reference. BACKGROUND OF THE INVENTION Field of the Invention The resent application relates to a memory management method and device, and more particularly to a memory management device and method capable of improving memory management efficiency of an intelligence processing unit. Description of the Related Art Application scenarios of intelligence processing units are becoming more diversified along with the development of the artificial intelligence (AI) technology. In the prior art, an internal storage space of an intelligence processing unit can be increased to meet memory bandwidth access requirements needed in these scenarios for the intelligence processing unit. In the prior art, memory management of an intelligence processing unit may produce fragmented data access (usually involving multiple discontinuous physical addresses), or may need to completely search a buffer area in order to obtain physical addresses of a memory. As a result, memory management efficiency is degraded, further undesirably affecting instruction processing efficiency. SUMMARY OF THE INVENTION In some embodiments, it is an object of the present application to provide a memory management device and method so as to improve the drawbacks of the prior art. In some embodiments, a memory management device applied to an intelligence processing unit includes a pre-fetch circuit, a setting circuit and a mapping circuit. The pre-fetch circuit acquires original data via a direct memory access (DMA) circuit, wherein the original data indicates a mapping relation between a first virtual address and multiple physical addresses of an external memory. The setting circuit analyzes the original data to sequentially map the physical addresses to multiple second virtual addresses including the first virtual address and issues a write request.

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (7)

PatentTitleYearCitations