Virtual memory management method and processor

US11567661B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11567661-B2
Application numberUS-202117231133-A
CountryUS
Kind codeB2
Filing dateApr 15, 2021
Priority dateSep 4, 2020
Publication dateJan 31, 2023
Grant dateJan 31, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A virtual memory management method applied to an intelligent processor including an operation accelerator includes: determining m storage units from a physical memory, the m storage units forming a virtual memory; dividing the m storage units into n storage groups; determining an address mapping relationship for each storage group to obtain n address mapping relationships, the n address mapping relationship being correspondence of between n virtual addresses of the virtual memory and physical addresses of the m storage units, where m and n are dynamically updated according to requirements of the operation accelerator. In the method, the number of the storage units in each storage group can be configured according to requirements of the operation accelerator, and a data storage bit width and a data storage depth of the virtual memory are dynamically updated to thereby improve data access efficiency.

First claim

Opening claim text (preview).

What is claimed is: 1. A virtual memory management method, applied to an intelligent processor, the intelligent processor comprising an operation accelerator, the virtual memory management method comprising: selecting m storage units from a physical memory, the m storage units forming a virtual memory, each of the storage units having a predetermined data width and a predetermined data depth; dividing the m storage units into n storage groups; and determining an address mapping relationship of each of the storage groups to obtain n address mapping relationships, the n address mapping relationships being correspondence between n virtual memory addresses of the virtual memory and physical addresses of the m storage units; wherein, m and n are positive integers, m is greater than or equal to n, and m and n are dynamically updated according to requirements of the operation accelerator, and wherein each of the n virtual memory addresses corresponds to one of the n storage groups. 2. The virtual memory management method according to claim 1 , wherein the physical memory comprises a plurality of banks, each of the banks comprises the plurality of storage units, and the determining the address mapping relationship of each of the storage groups comprises: determining a bank to which all storage units in each of the storage groups belong, and acquiring a first address tag of the bank; acquiring a second address tag according to each storage unit in each of the storage groups; and determining the address mapping relationship of each of the storage groups according to the first address tag and the second address tag of the storage group. 3. The virtual memory management method according to claim 2 , wherein the acquiring the first address tag of the bank comprises: acquiring a bank serial number of the bank; and using the bank serial number as the first address tag of the bank. 4. The virtual memory management method according to claim 2 , wherein acquiring the second address tag according to each storage unit in each of the storage groups comprises: acquiring a storage unit serial number of each storage unit in each of the storage groups; and determining the second address tag of the each of the storage groups according to the storage unit serial numbers of the plurality of storage units in the storage group. 5. The virtual memory management method according to claim 1 , further comprising: cascading the n storage groups. 6. The virtual memory management method according to claim 1 , further comprising: generating an address mapping table according to the n address mapping relationships. 7. The virtual memory management method according to claim 6 , further comprising: allocating a virtual memory identifier to the virtual memory; and establishing correspondence between the virtual memory identifier and the address mapping table. 8. The virtual memory management method according to claim 7 , further comprising: acquiring the virtual memory identifier; acquiring the address mapping table of the virtual memory according to the virtual memory identifier; and accessing the physical memory according to the address mapping table. 9. A processor, configured to execute a program code to implement a virtual memory management method, the virtual memory management method being applied to an intelligent processor, the intelligent processor comprising an operation accelerator, the virtual memory management method comprising: selecting m storage units from a physical memory, the m storage units forming a virtual memory, each of the storage units having a predetermined data width and a predetermined data depth; dividing the m storage units into n storage groups; and determining an address mapping relationship of each of the storage groups to obtain n address mapping relationships, the n address mapping relationships being correspondence between n virtual memory addresses of the virtual memory and physical addresses of the m storage units; wherein, m and n are positive integers, m is greater than or equal to n, and m and n are dynamically updated according to requirements of the operation accelerator, and wherein each of the n virtual memory addresses corresponds to one of the n storage groups. 10. A virtual memory management method, applied to an intelligent processor, the intelligent processor comprising a first operation accelerator and a second operation accelerator, the virtual memory management method comprising: selecting m storage units from a physical memory, the m storage units forming a first virtual memory, each of the storage units having a predetermined data width and a predetermined data depth; dividing the m storage units into n storage groups; determining a first address mapping table corresponding to the first virtual memory, the first address mapping table comprising correspondence between n virtual addresses of the first virtual memory and physical addresses of the m storage units; selecting i storage units from the physical memory, the i storage units forming a second virtual memory; dividing the i storage units into j storage groups; and determining a second address mapping table corresponding to the second virtual memory, the second address mapping table comprising correspondence between j virtual addresses of the second virtual memory and physical addresses of the i storage units; wherein, the first virtual memory is for storing data of the first operation accelerator, the second virtual memory is for storing data of the second operation accelerator, m, n, i, and j are positive integers, m is greater than or equal to n, i is greater than or equal to j, and m is not equal to i, and wherein each of the n virtual addresses corresponds to one of then storage groups. 11. The virtual memory management method according to claim 10 , further comprising: allocating a first virtual memory identifier to the first virtual memory; and establishing correspondence between the first virtual memory identifier and the first address mapping table. 12. The virtual memory management method according to claim 11 , further comprising: acquiring the first virtual memory identifier; acquiring the first address mapping table corresponding to the first virtual memory according to the first virtual memory identifier; and accessing the physical memory according to the first address mapping table.

Assignees

Inventors

Classifications

  • Configuration or reconfiguration of storage systems · CPC title

  • Single storage device · CPC title

  • G06F3/0604Primary

    Improving or facilitating administration, e.g. storage management · CPC title

  • for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence) · CPC title

  • Virtual address space management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11567661B2 cover?
A virtual memory management method applied to an intelligent processor including an operation accelerator includes: determining m storage units from a physical memory, the m storage units forming a virtual memory; dividing the m storage units into n storage groups; determining an address mapping relationship for each storage group to obtain n address mapping relationships, the n address mapping…
Who is the assignee on this patent?
Xiamen Sigmastar Tech Ltd, Sigmastar Technology Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/0604. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 31 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).