TLB device supporting multiple data streams and updating method for TLB module
AssigneeCambricon Technologies Corporation Limited
InventorsTianshi Chen, Qi Guo, Yunji Chen
Life of this patent
Estimating the term…
Abstract
Aspects of managing Translation Lookaside Buffer (TLB) units are described herein. The aspects may include a memory management unit (MMU) that includes one or more TLB units and a control unit. The control unit may be configured to identify one from the one or more TLB units based on a stream identification (ID) included in a received virtual address and, further, to identify a frame number in the identified TLB unit. A physical address may be generated by the control unit based on the frame number and an offset included in the virtual address.
Claims20
A memory management unit, comprising:
- one or more Translation Lookaside Buffer (TLB) units,
- wherein each of the TLB units corresponds to one of multiple data types,
- wherein each of the TLB units includes a plurality of page numbers and a plurality of frame numbers that respectively correspond to the plurality of page numbers;
- and
- a control unit configured to:
- receive a virtual address that includes a stream identification (ID), a virtual page number, and an offset, wherein the stream ID identifies one of the multiple data types,
- identify one of the one or more TLB units that corresponds to the stream ID in the virtual address based on the data type indicated by the stream ID,
- determine a TLB hit when one of the plurality of page numbers in the identified TLB unit matches the virtual page number in the virtual address,
- based on the determination of the TLB hit, identify one of the plurality of page numbers that corresponds to the virtual page number in the virtual address,
- identify the frame number that corresponds to the identified page number, and
- generate a physical address that includes the frame number and the offset.
A method for managing TLB units, comprising:
- receiving, by a control unit, a virtual address that includes a stream ID, a virtual page number, and an offset, wherein the stream ID identifies one of multiple data types;
- identifying, by the control unit, one of one or more TLB units that corresponds to the stream ID in the virtual address,
- wherein each of the TLB units corresponds to one of the multiple data types,
- wherein each of the TLB units includes a plurality of page numbers and a plurality of frame numbers that respectively correspond to the plurality of page numbers;
- determining a TLB hit when one of the plurality of page numbers in the identified TLB unit matches the virtual page number;
- identifying, by the control unit based on the determination of the TLB hit, one of the plurality of page numbers that corresponds to the virtual page number in the virtual address;
- identifying, by the control unit, the frame number that corresponds to the identified page number;
- and
- generating, by the control unit, a physical address that includes the frame number and the offset.
Dependencies are inferred from the claim text.