US4792897A - Address translation unit for translation of virtual address to real address using translation tables of multi-level hierarchical structure - Google Patents

Address translation unit for translation of virtual address to real address using translation tables of multi-level hierarchical structure Download PDF

Info

Publication number
US4792897A
US4792897A US06/783,084 US78308485A US4792897A US 4792897 A US4792897 A US 4792897A US 78308485 A US78308485 A US 78308485A US 4792897 A US4792897 A US 4792897A
Authority
US
United States
Prior art keywords
address
translation
entry
level
parts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US06/783,084
Inventor
Shizuo Gotou
Toyohiko Kagimasa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Assigned to HITACHI, LTD., 6, KANDA SURUGADAI 4-CHOME, CHIYODA-KU, TOKYO, JAPAN A CORP OF JAPAN reassignment HITACHI, LTD., 6, KANDA SURUGADAI 4-CHOME, CHIYODA-KU, TOKYO, JAPAN A CORP OF JAPAN ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: GOTOU, SHIZUO, KAGIMASA, TOYOHIKO
Application granted granted Critical
Publication of US4792897A publication Critical patent/US4792897A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1009Address translation using page tables, e.g. page table structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/65Details of virtual memory and virtual address translation
    • G06F2212/651Multi-level translation tables

Definitions

  • the present invention relates to a translation lookaside buffer for translating a virtual address into a real address at a high speed and, particularly, to an address translation unit suitable for speeding up the translation process where multilevel address translation tables with extended virtual address are used.
  • Hierarchically structured address translation tables for translating a virtual address into a real address, there have been used tables of two-level structure as described in the IBM Manual: System 370 Principle of Operation (GA22-7000-8), Section: Dynamic Address Translation.
  • the two-level hierarchical structure is not sufficient, but it is natural to arrange a multi-level hierarchical structure as high as five levels. The reason is that, if the execution with the address extension is left at two-levels a large number of entries is necessary for the translation table, and a large continuous memory area for the translation table is required. By the arrangement of a multi-level hierarchical structure, the size of the continuous memory area can be reduced.
  • a deficiency resulting from the multi-level structure is the impairment of process performance when the entry does not exist in the translation buffer which is provided for the speed-up of translation.
  • a two-level structure causes a memory request to be initiated twice, while five-level structure requires a memory request to be initiated five times.
  • An object of the present invention is to provide an address translation unit which reduces the number of reference accesses to the multi-level address translation tables implemented when the entry consistent with the virtual address to be translated does not exist in the translation lookaside buffer provided for the speed-up of address translation, thereby minimizing the time needed for address translation.
  • the conventional translation lookaside buffer merely stores virtual addresses and real addresses in a pair, and therefore if address translation has failed, it must be restarted from the highest-order translation table.
  • the present invention has the feature that the address of translation table of each level is also recorded in each entry of the address translation buffer, thereby eliminating the need for accessing the translation table up to a portion consistant with the virtual address.
  • FIG. 1 is a block diagram of the information processing system to which the present invention is applied;
  • FIG. 2 is a diagram showing the extended virtual address to which the present invention is applied effectively, and the hierarchical structure of the virtual-to-real address translation table;
  • FIG. 3 is a flowchart showing the address translation process
  • FIG. 4 is a block diagram showing the overall arrangement of the address translation unit 230 that is the section to which the present invention is applied directly;
  • FIG. 5 is a block diagram showing the circuit for discriminating the effective level of the translation lookaside buffer
  • FIG. 6 is a schematic diagram of the circuit for selecting an entry which provides the longest coincidence of addresses.
  • FIG. 7 is a table explaining the operation of the decoder 16 shown in FIG. 5.
  • FIGS. 1 through 5 An embodiment of the present invention will be described with reference to FIGS. 1 through 5.
  • FIG. 1 shows the arrangement of the information processing system to which the present invention is applied.
  • the arrangement consists of the following units.
  • This unit decodes instructions and controls the operation of other units.
  • This unit implements the execution of instructions, and is the section of the system to which the present invention is applied.
  • This unit controls data transaction with the main storage (MS) 400
  • This unit calculates the virtual address.
  • This unit controls reading and writing of general-purpose registers 221.
  • This unit translates a virtual address provided by the address calculation unit 210 into a real address.
  • This unit controls reading and writing of control registers 241.
  • the first one (not shown) of the control registers 241 is used for address translation.
  • This unit stores the microprogram for controlling the execution of instructions, and the above units 210, 220, 230 and 240 operate under control of this microprogram control unit.
  • the operation code (OP) in an instruction word 101 fetched from the MS 400 is decoded to recognize the type of instruction, and the parts of the instruction word are extracted.
  • the address of the operand is calculated on the basis of parts B2, X2 and D2 of the instruction word.
  • the content of part B2 is fed to the general-purpose register control unit 220 so that the content of a general-purpose register specified by B2 is read and is set as B2 register data 211; (b) in the same way as (a), a value is set for X2 register data 212 in correspondence to part X2; (c) the content of part D2 of the instruction word is set in the D2 data register 213; (d) addition is carried out by the address adder 214 which has the inputs of the B2 register data 211, X2 register data 212 and D2 data register 213, and the result is set in the address register 215.
  • the content of the register 215 is called the "virtual address", and conversion of the virtual address into the actual address (real address) of the MS is the role of the address translation unit 230.
  • the resultant real address is set in the translation address register 232, as will be described in detail later.
  • the content of the translation address register 232 is fed to an MS address register 301 in the memory control unit 300, and is used for the fetching or storing operation for the MS 400.
  • Data fetched from the MS 400 is set in a register 302, and data to be stored in the MS 400 is set in a register 303.
  • FIG. 2 shows the arrangement of the address translation table for converting a virtual address into a corresponding real address.
  • the address translation tables are stored in MS 400 shown in FIG. 1.
  • the virtual address is made up of 64 bits, and it is segmented in six parts as follows.
  • Control register 1 is used to point to the starting address of the translation tables in a hierarchical structure.
  • the content of the control register 1 increased by the value of the virtual address part B1 becomes the address of the entry in table S corresponding to part B1, and the entry includes the starting address of the translation table 4 for part B2.
  • the starting address of the part B2 translation table increased by the value of part B2 in the virtual address becomes the address of the entry in table 4 corresponding to part B2, and the entry includes the starting address of the part B3 translation table 5.
  • the starting address of the part S translation table 6 and the starting address of the part P translation table 7 are obtained.
  • the entry corresponding to the value of part P in the part P translation table 7 includes the real page number (RPN).
  • the RPN linked with part D in the virtual address becomes the real address corresponding to that virtual address.
  • the low-order section of the entry of each translation table includes an invalid bit, and if it has a value of "1", the virtual address is assumed to be not assigned to a real address and a program interrupt of address translation exception will arise.
  • FIG. 3 shows the flow of the microprogram control
  • FIG. 4 shows the overall circuit arrangement for implementing the control.
  • (1) Data having a longest portion consistent with the virtual address from the high-order end thereof is detected in the translation lookaside buffer.
  • the translation lookaside buffer 20 is arranged to have multiple planes. Each plane stores a plurality of entries. Partial bits in the virtual address are selected by the bit compressor 40 and fed to each plane of the translation lookaside buffer 20. Then, the content of a position specified by the compressed bits 41 is outputted from each plane.
  • the bit compressor 40 is preferably arranged using, for example, a hash circuit (known).
  • a read control circuit for retrieving a plurality of outputs 10 for a single input is known in the art and detailed explanation thereof will be omitted. These outputs 10 are fed to the selection circuit 30, which selects one which has the longest portion consistent with the virtual address from the high order end thereof.
  • FIG. 5 shows the selection circuit which is the principal section for the address translation process using the translation lookaside buffer, the direct application subject of this invention.
  • Each entry 10 of the translation lookaside buffer contains ten kinds of information as follows.
  • FIG. 6 shows the arrangement of the minimum output level selection circuit 19.
  • the output level 18a is compared with constants "0" through "5", and the value of output information 18 is fed to the input of the selector 33 via the selector 32 in accordance with the comparison result signal line 31.
  • the OR circuits 36 have their output signal lines 35 indicating whether inputs equal to the output levels 0-5 have been detected.
  • the output signal lines 35 are dealt with by NOT circuits 39 and AND circuits 37, so that one of the selectors 33 has its selection signal line 38 placed in the on-state with the remainder being kept in the off-state. In this case, when a signal line with a lower output level turns on, selection signal lines 38 having higher output levels turns off. In this way, one of the selectors 33 is selected to provide output information 232 through the register 34.
  • the part selector 90 gets corresponding part information in the virtual address in response to the content of the register (i) 33, and sets it in the work register 35. For example, when the output level is "2", the value of part S in FIG. 5 is set in the register (k) 35.
  • the address calculator 81 adds the content of register (k) 35 to the content of register (j) to form an address, and reads out data 302 of 8B from the memory. This data is set in the register (j) 34, and is also inputted to the merging circuit 21 for setting a value in the write entry data register 22 to the translation lookaside buffer 20.
  • the merging circuit 21 sets the address section of a corresponding part in the enrry data register 22 in accordance with the content of register (i) 33.
  • address translation can be processed fast for the case in which a virtual address to be translated is not found in the translation lookaside buffer.
  • This embodiment enables the reduction in the number of memory references from five times to 1-5 times.
  • each entry of the translation lookaside buffer is made to include the starting address of each level of the translation tables in hierarchical structure, allowing the translation lookaside buffer to get an entry nearest to the virtual address to be translated, whereby the starting address of the translation table of each level recorded in the nearest entry can be used when the entry which is completely consistent with the positional address has not been found in the translation lookaside buffer.
  • the address translation process of the case where a relevant entry does not exist in the translation lookaside buffer effectively can be speeded up.

Abstract

An extended address translation equipment wherein an address translation buffer has entries each provided with a record of translation table addresses of each level, thereby eliminating the need for accessing the translation table up to a portion consistent with the virtual address.

Description

BACKGROUND OF THE INVENTION
The present invention relates to a translation lookaside buffer for translating a virtual address into a real address at a high speed and, particularly, to an address translation unit suitable for speeding up the translation process where multilevel address translation tables with extended virtual address are used.
Among hierarchically structured address translation tables for translating a virtual address into a real address, there have been used tables of two-level structure as described in the IBM Manual: System 370 Principle of Operation (GA22-7000-8), Section: Dynamic Address Translation.
However, when the virtual address is extended significantly from 31 bits to 64 bits, for example, the two-level hierarchical structure is not sufficient, but it is natural to arrange a multi-level hierarchical structure as high as five levels. The reason is that, if the execution with the address extension is left at two-levels a large number of entries is necessary for the translation table, and a large continuous memory area for the translation table is required. By the arrangement of a multi-level hierarchical structure, the size of the continuous memory area can be reduced.
A deficiency resulting from the multi-level structure is the impairment of process performance when the entry does not exist in the translation buffer which is provided for the speed-up of translation. A two-level structure causes a memory request to be initiated twice, while five-level structure requires a memory request to be initiated five times.
SUMMARY OF THE INVENTION
An object of the present invention is to provide an address translation unit which reduces the number of reference accesses to the multi-level address translation tables implemented when the entry consistent with the virtual address to be translated does not exist in the translation lookaside buffer provided for the speed-up of address translation, thereby minimizing the time needed for address translation.
The conventional translation lookaside buffer merely stores virtual addresses and real addresses in a pair, and therefore if address translation has failed, it must be restarted from the highest-order translation table. The present invention has the feature that the address of translation table of each level is also recorded in each entry of the address translation buffer, thereby eliminating the need for accessing the translation table up to a portion consistant with the virtual address.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of the information processing system to which the present invention is applied;
FIG. 2 is a diagram showing the extended virtual address to which the present invention is applied effectively, and the hierarchical structure of the virtual-to-real address translation table;
FIG. 3 is a flowchart showing the address translation process;
FIG. 4 is a block diagram showing the overall arrangement of the address translation unit 230 that is the section to which the present invention is applied directly;
FIG. 5 is a block diagram showing the circuit for discriminating the effective level of the translation lookaside buffer;
FIG. 6 is a schematic diagram of the circuit for selecting an entry which provides the longest coincidence of addresses; and
FIG. 7 is a table explaining the operation of the decoder 16 shown in FIG. 5.
DESCRIPTION OF THE PREFERRED EMBODIMENT
An embodiment of the present invention will be described with reference to FIGS. 1 through 5.
FIG. 1 shows the arrangement of the information processing system to which the present invention is applied. The arrangement consists of the following units.
(1) Instruction analysis/control unit, 100
This unit decodes instructions and controls the operation of other units.
(2) Instruction execution unit, 200
This unit implements the execution of instructions, and is the section of the system to which the present invention is applied.
(3) Memory control unit, 300
This unit controls data transaction with the main storage (MS) 400
The above is a general system arrangement.
Next, the arrangement of the instruction execution unit 200, to which the present invention is applied, is as follows.
(1) Address calculation unit, 210
This unit calculates the virtual address.
(2) General-purpose register control unit, 220
This unit controls reading and writing of general-purpose registers 221.
(3) Address translation unit, 230
This unit translates a virtual address provided by the address calculation unit 210 into a real address.
(4) Control register control unit, 240
This unit controls reading and writing of control registers 241. In this embodiment, the first one (not shown) of the control registers 241 is used for address translation.
(5) Microprogram control unit, 250
This unit stores the microprogram for controlling the execution of instructions, and the above units 210, 220, 230 and 240 operate under control of this microprogram control unit.
Since the above arrangement is quite general, detailed explanation will be omitted. The following describes the role of address translation through the explanation of the process flow for instruction words in connection with FIG. 1.
The operation code (OP) in an instruction word 101 fetched from the MS 400 is decoded to recognize the type of instruction, and the parts of the instruction word are extracted. The address of the operand is calculated on the basis of parts B2, X2 and D2 of the instruction word. In practice, (a) the content of part B2 is fed to the general-purpose register control unit 220 so that the content of a general-purpose register specified by B2 is read and is set as B2 register data 211; (b) in the same way as (a), a value is set for X2 register data 212 in correspondence to part X2; (c) the content of part D2 of the instruction word is set in the D2 data register 213; (d) addition is carried out by the address adder 214 which has the inputs of the B2 register data 211, X2 register data 212 and D2 data register 213, and the result is set in the address register 215. The content of the register 215 is called the "virtual address", and conversion of the virtual address into the actual address (real address) of the MS is the role of the address translation unit 230. The resultant real address is set in the translation address register 232, as will be described in detail later. The content of the translation address register 232 is fed to an MS address register 301 in the memory control unit 300, and is used for the fetching or storing operation for the MS 400. Data fetched from the MS 400 is set in a register 302, and data to be stored in the MS 400 is set in a register 303. These are the process flow operations for an instruction word and the role of the address translation unit 230 in the process.
FIG. 2 shows the arrangement of the address translation table for converting a virtual address into a corresponding real address. The address translation tables are stored in MS 400 shown in FIG. 1. In this embodiment, the virtual address is made up of 64 bits, and it is segmented in six parts as follows.
(1) Part B1
(2) Part B2
(3) Part B3
(4) Part S
(5) Part P
(6) Part D
Control register 1 is used to point to the starting address of the translation tables in a hierarchical structure. The content of the control register 1 increased by the value of the virtual address part B1 becomes the address of the entry in table S corresponding to part B1, and the entry includes the starting address of the translation table 4 for part B2. The starting address of the part B2 translation table increased by the value of part B2 in the virtual address becomes the address of the entry in table 4 corresponding to part B2, and the entry includes the starting address of the part B3 translation table 5. In the same way, the starting address of the part S translation table 6 and the starting address of the part P translation table 7 are obtained. The entry corresponding to the value of part P in the part P translation table 7 includes the real page number (RPN). The RPN linked with part D in the virtual address becomes the real address corresponding to that virtual address.
In the above process, the low-order section of the entry of each translation table includes an invalid bit, and if it has a value of "1", the virtual address is assumed to be not assigned to a real address and a program interrupt of address translation exception will arise.
Next, the address translation process in accordance with the present invention will be described in connection with FIGS. 3 and 4. FIG. 3 shows the flow of the microprogram control, and FIG. 4 shows the overall circuit arrangement for implementing the control.
(1) Data having a longest portion consistent with the virtual address from the high-order end thereof is detected in the translation lookaside buffer. In FIG. 4, the translation lookaside buffer 20 is arranged to have multiple planes. Each plane stores a plurality of entries. Partial bits in the virtual address are selected by the bit compressor 40 and fed to each plane of the translation lookaside buffer 20. Then, the content of a position specified by the compressed bits 41 is outputted from each plane. The bit compressor 40 is preferably arranged using, for example, a hash circuit (known). A read control circuit for retrieving a plurality of outputs 10 for a single input is known in the art and detailed explanation thereof will be omitted. These outputs 10 are fed to the selection circuit 30, which selects one which has the longest portion consistent with the virtual address from the high order end thereof.
FIG. 5 shows the selection circuit which is the principal section for the address translation process using the translation lookaside buffer, the direct application subject of this invention. Each entry 10 of the translation lookaside buffer contains ten kinds of information as follows.
(a) Part B1 of virtual address
(b) Part B2 of virtual address
(c) Part B3 of virtual address
(d) Part S of virtual address
(e) Part P of virtual address
(f) Starting address of B2T table
(g) Starting address of B3T table
(h) Starting address of ST table
(i) Starting address of PT table
(j) Real page number (RPN) for virtual address
Comparison between the virtual address to be translated and the translation lookaside buffer entry takes place a follows. Five parts of the virtual address are compared with those in the translation lookaside buffer entry using comparators C1 11, C 2 12, C 3 13, C 4 14 and C 5 15, respectively. Each comparator provides an on-output or off-output in response to the consistent or inconsistent comparison result. Five output signal lines are connected to the inputs of the decoder (DEC) 16. The decoder 16 provides one output used as a selection information for the selector (SEL) 17 and another output used as code information of the output level. The correlation between the values on the five input lines of the decoder 16 and its output information 18 is as shown in FIG. 7.
Output information 18 on each plane of the translation lookaside buffer is inputted to the minimum output level selection circuit 19, and consequently an entry having a minimum output level is selected. FIG. 6 shows the arrangement of the minimum output level selection circuit 19. In the figure, the output level 18a is compared with constants "0" through "5", and the value of output information 18 is fed to the input of the selector 33 via the selector 32 in accordance with the comparison result signal line 31. The OR circuits 36 have their output signal lines 35 indicating whether inputs equal to the output levels 0-5 have been detected. The output signal lines 35 are dealt with by NOT circuits 39 and AND circuits 37, so that one of the selectors 33 has its selection signal line 38 placed in the on-state with the remainder being kept in the off-state. In this case, when a signal line with a lower output level turns on, selection signal lines 38 having higher output levels turns off. In this way, one of the selectors 33 is selected to provide output information 232 through the register 34.
(2) It is tested by the comparator 80 whether the selected entry has a "0" output level. If the output level is "0", indicating that a relevant entry has been found, address translation is completed succesfully.
(3) If the output level is not "0", the output level 31 and output address 32 are set in the work registers (i, j) 33 and 34, respectively, and the following processing steps (4) through (8) are performed.
(4) The part selector 90 gets corresponding part information in the virtual address in response to the content of the register (i) 33, and sets it in the work register 35. For example, when the output level is "2", the value of part S in FIG. 5 is set in the register (k) 35.
(5) The address calculator 81 adds the content of register (k) 35 to the content of register (j) to form an address, and reads out data 302 of 8B from the memory. This data is set in the register (j) 34, and is also inputted to the merging circuit 21 for setting a value in the write entry data register 22 to the translation lookaside buffer 20. The merging circuit 21 sets the address section of a corresponding part in the enrry data register 22 in accordance with the content of register (i) 33.
(6) It is tested as to whether the invalid bit in the read-out data is "1". If it is detected to be "1", control is transferred to the program interrupt process, and processing is ended.
(7) If the invalid bit is not "1", the register (i) 33 (containing the output level) is reduced by one.
(8) If the content of register (i) 33 does not become zero, the sequence proceeds to processing step (4).
(9) If the content of register (i) 33 becomes zero, it means that address translation has been done successfully, and in this case registration in the translation lookaside buffer takes place. Namely, the conventionally known replacement algorithm is used to determine the entry position for registration.
(10) The content of entry data register 22 is written in the determined entry position, and the address translation process is ended. Information written in the entry position includes the following.
(a) Parts B1, B2, B3, S and P of the virtual address
(b) Starting addresses of the B2T table, B3T table, ST table and PT table The above information is the one up to the effective level among the information included in the entry selected in (1), and the one that is read out sequentially in (5).
An embodiment of this invention has been described. This embodiment exemplifies the case where the 64-bit virtual address is segmented into six parts, however, it will be appreciated that the present invention is readily applicable to other cases of the virtual address with a different length or different manner of segmentation.
According to this embodiment, address translation can be processed fast for the case in which a virtual address to be translated is not found in the translation lookaside buffer. This embodiment enables the reduction in the number of memory references from five times to 1-5 times.
According to the present invention, each entry of the translation lookaside buffer is made to include the starting address of each level of the translation tables in hierarchical structure, allowing the translation lookaside buffer to get an entry nearest to the virtual address to be translated, whereby the starting address of the translation table of each level recorded in the nearest entry can be used when the entry which is completely consistent with the positional address has not been found in the translation lookaside buffer. As a result, the address translation process of the case where a relevant entry does not exist in the translation lookaside buffer effectively can be speeded up.

Claims (4)

We claim:
1. An address translation unit for use in a system having means translating a virtual address to a real address by using a group of address translation tables having a hierarchical structure, wherein entries of each address translation table except that of a highest level each indicate a start address of an address translation table of a next adjacent level, wherein entries of each address translation table of the highest level indicate a real address and wherein each virtual address has plural address parts coresponding to different levels of said group of address translation tables and each indicating a location of an entry within one of said address translation tables of a corresponding level, said address translation unit comprising:
a translation look-aside buffer for holding entries each comprised of (1) an address pair consisting of a virtual address and a corresponding real address, and (2) a group of start addresses for the address translation tables required to be accessed for translation of the virtual address of that entry to the corresponding real address;
select means connected to said translation look-aside buffer and responsive to an applied virtual address for searching the entries of said translation look-aside buffer for an entry which has a virtual address having the largest number of consecutive address parts, starting from an address part corresponding to the lowest level, which coincide with corresponding address parts of the applied virtual address, including means for providing a real address within the entry when all of the address parts of the entry coincide with the address parts of the applied virtual address and for providing, from said entry having the largest number of coinciding address parts, that one of the group of start addresses within the entry which is the start address of an address translation table having the higher level next to a highest level among levels corresponding to consecutive coincident address parts, when all address parts of the entry and the applied virtual address do not coincide; and
translation means responsive to the applied virtual address and said one start address from said select means for translating the applied virtual address by accessing said address translation tables, starting from that one having said one start address and based upon address parts of the applied virtual address corresponding to a level equal to or larger than the next level.
2. An address translation unit according to claim 1, wherein said select means includes comparison means for comparing the respective address parts of each entry of the translation look-aside buffer to the corresponding address parts of the applied virtual address, decoder means responsive to said comparison means for producing for each entry for which a comparing operation is performed by said comparison means an output level signal indicating a level corresponding to the number of consecutive address parts for which coincidence is detected and an output address selection signal designating said one start address, and selection means responsive to said selection signal for reading out said one start address from the entry.
3. An address translation unit according to claim 2, wherein said select means further includes means for holding as data pairs for each entry for which a comparing operation is performed by said comparison means said output level signal and said read-out one start address.
4. An address translation unit according to claim 3, wherein said select means further includes minimum output level selection means for selecting from said holding means a start address in a data pair having the highest level indicating output level signal.
US06/783,084 1984-10-03 1985-10-02 Address translation unit for translation of virtual address to real address using translation tables of multi-level hierarchical structure Expired - Lifetime US4792897A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP59206219A JPS6184754A (en) 1984-10-03 1984-10-03 Extension address converter
JP59-206219 1984-10-03

Publications (1)

Publication Number Publication Date
US4792897A true US4792897A (en) 1988-12-20

Family

ID=16519736

Family Applications (1)

Application Number Title Priority Date Filing Date
US06/783,084 Expired - Lifetime US4792897A (en) 1984-10-03 1985-10-02 Address translation unit for translation of virtual address to real address using translation tables of multi-level hierarchical structure

Country Status (2)

Country Link
US (1) US4792897A (en)
JP (1) JPS6184754A (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4922415A (en) * 1984-03-02 1990-05-01 Hemdal Goran A H Data processing system for converting virtual to real addresses without requiring instruction from the central processing unit
EP0381245A2 (en) * 1989-02-03 1990-08-08 Nec Corporation Address translation system
US5077654A (en) * 1987-12-11 1991-12-31 Hitachi, Ltd. Virtual machine system which translates virtual address from a selected virtual machine into real address of main storage
GB2251102A (en) * 1990-12-21 1992-06-24 Sun Microsystems Inc Translation lookaside buffer
US5287475A (en) * 1987-10-05 1994-02-15 Hitachi, Ltd. Data processing apparatus operable in extended or unextended virtual address spaces without software modification
US5317705A (en) * 1990-10-24 1994-05-31 International Business Machines Corporation Apparatus and method for TLB purge reduction in a multi-level machine system
US5375213A (en) * 1989-08-29 1994-12-20 Hitachi, Ltd. Address translation device and method for managing address information using the device
US5381537A (en) * 1991-12-06 1995-01-10 International Business Machines Corporation Large logical addressing method and means
US5446854A (en) * 1993-10-20 1995-08-29 Sun Microsystems, Inc. Virtual memory computer apparatus and address translation mechanism employing hashing scheme and page frame descriptor that support multiple page sizes
US5574923A (en) * 1993-05-10 1996-11-12 Intel Corporation Method and apparatus for performing bi-endian byte and short accesses in a single-endian microprocessor
US5617554A (en) * 1992-02-10 1997-04-01 Intel Corporation Physical address size selection and page size selection in an address translator
US5680566A (en) * 1995-03-03 1997-10-21 Hal Computer Systems, Inc. Lookaside buffer for inputting multiple address translations in a computer system
US5752275A (en) * 1995-03-31 1998-05-12 Intel Corporation Translation look-aside buffer including a single page size translation unit
US5835962A (en) * 1995-03-03 1998-11-10 Fujitsu Limited Parallel access micro-TLB to speed up address translation
US6981125B2 (en) 2003-04-22 2005-12-27 International Business Machines Corporation Method and apparatus for managing shared virtual storage in an information handling system
US20080183955A1 (en) * 2007-01-25 2008-07-31 Genesys Logic, Inc. Flash translation layer apparatus
US20090013149A1 (en) * 2007-07-05 2009-01-08 Volkmar Uhlig Method and apparatus for caching of page translations for virtual machines
EP2275932A1 (en) * 2005-01-14 2011-01-19 Intel Corporation Virtualizing physical memory in a virtual machine system
US8296546B2 (en) 2006-08-15 2012-10-23 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US20190018785A1 (en) * 2017-07-14 2019-01-17 Arm Limited Memory system for a data processing network
US10353826B2 (en) 2017-07-14 2019-07-16 Arm Limited Method and apparatus for fast context cloning in a data processing system
US10467159B2 (en) * 2017-07-14 2019-11-05 Arm Limited Memory node controller
US10489304B2 (en) 2017-07-14 2019-11-26 Arm Limited Memory address translation
US10565126B2 (en) 2017-07-14 2020-02-18 Arm Limited Method and apparatus for two-layer copy-on-write
US10592424B2 (en) 2017-07-14 2020-03-17 Arm Limited Range-based memory system
US10613989B2 (en) 2017-07-14 2020-04-07 Arm Limited Fast address translation for virtual machines
US10884850B2 (en) 2018-07-24 2021-01-05 Arm Limited Fault tolerant memory system
WO2021111217A1 (en) * 2019-12-03 2021-06-10 International Business Machines Corporation Methods and systems for translating virtual addresses in a virtual memory based system
US11461237B2 (en) 2019-12-03 2022-10-04 International Business Machines Corporation Methods and systems for translating virtual addresses in a virtual memory based system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4215402A (en) * 1978-10-23 1980-07-29 International Business Machines Corporation Hash index table hash generator apparatus
US4356549A (en) * 1980-04-02 1982-10-26 Control Data Corporation System page table apparatus
US4376297A (en) * 1978-04-10 1983-03-08 Signetics Corporation Virtual memory addressing device
US4521846A (en) * 1981-02-20 1985-06-04 International Business Machines Corporation Mechanism for accessing multiple virtual address spaces

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4376297A (en) * 1978-04-10 1983-03-08 Signetics Corporation Virtual memory addressing device
US4215402A (en) * 1978-10-23 1980-07-29 International Business Machines Corporation Hash index table hash generator apparatus
US4356549A (en) * 1980-04-02 1982-10-26 Control Data Corporation System page table apparatus
US4521846A (en) * 1981-02-20 1985-06-04 International Business Machines Corporation Mechanism for accessing multiple virtual address spaces

Cited By (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4922415A (en) * 1984-03-02 1990-05-01 Hemdal Goran A H Data processing system for converting virtual to real addresses without requiring instruction from the central processing unit
US5426751A (en) * 1987-10-05 1995-06-20 Hitachi, Ltd. Information processing apparatus with address extension function
US5287475A (en) * 1987-10-05 1994-02-15 Hitachi, Ltd. Data processing apparatus operable in extended or unextended virtual address spaces without software modification
US5077654A (en) * 1987-12-11 1991-12-31 Hitachi, Ltd. Virtual machine system which translates virtual address from a selected virtual machine into real address of main storage
EP0381245A2 (en) * 1989-02-03 1990-08-08 Nec Corporation Address translation system
EP0381245A3 (en) * 1989-02-03 1992-01-15 Nec Corporation Address translation system
US5193160A (en) * 1989-02-03 1993-03-09 Nec Corporation Address translation system with register storing section and area numbers
US5375213A (en) * 1989-08-29 1994-12-20 Hitachi, Ltd. Address translation device and method for managing address information using the device
US5317705A (en) * 1990-10-24 1994-05-31 International Business Machines Corporation Apparatus and method for TLB purge reduction in a multi-level machine system
US5426750A (en) * 1990-12-21 1995-06-20 Sun Microsystems, Inc. Translation lookaside buffer apparatus and method with input/output entries, page table entries and page table pointers
GB2251102B (en) * 1990-12-21 1995-03-15 Sun Microsystems Inc Translation lookaside buffer
EP0492859A2 (en) * 1990-12-21 1992-07-01 Sun Microsystems, Inc. Translation lookaside buffer
GB2251102A (en) * 1990-12-21 1992-06-24 Sun Microsystems Inc Translation lookaside buffer
EP0492859A3 (en) * 1990-12-21 1993-01-13 Sun Microsystems, Inc. Translation lookaside buffer
US5381537A (en) * 1991-12-06 1995-01-10 International Business Machines Corporation Large logical addressing method and means
US5802605A (en) * 1992-02-10 1998-09-01 Intel Corporation Physical address size selection and page size selection in an address translator
US5617554A (en) * 1992-02-10 1997-04-01 Intel Corporation Physical address size selection and page size selection in an address translator
US5574923A (en) * 1993-05-10 1996-11-12 Intel Corporation Method and apparatus for performing bi-endian byte and short accesses in a single-endian microprocessor
US5446854A (en) * 1993-10-20 1995-08-29 Sun Microsystems, Inc. Virtual memory computer apparatus and address translation mechanism employing hashing scheme and page frame descriptor that support multiple page sizes
US5893931A (en) * 1995-03-03 1999-04-13 Fujitsu Limited Lookaside buffer for address translation in a computer system
US5835962A (en) * 1995-03-03 1998-11-10 Fujitsu Limited Parallel access micro-TLB to speed up address translation
US5680566A (en) * 1995-03-03 1997-10-21 Hal Computer Systems, Inc. Lookaside buffer for inputting multiple address translations in a computer system
US5752275A (en) * 1995-03-31 1998-05-12 Intel Corporation Translation look-aside buffer including a single page size translation unit
US6981125B2 (en) 2003-04-22 2005-12-27 International Business Machines Corporation Method and apparatus for managing shared virtual storage in an information handling system
US10114767B2 (en) 2005-01-14 2018-10-30 Intel Corporation Virtualizing physical memory in a virtual machine system using a hierarchy of extended page tables to translate guest-physical addresses to host-physical addresses
US9164920B2 (en) 2005-01-14 2015-10-20 Intel Corporation Using permission bits in translating guests virtual addresses to guest physical addresses to host physical addresses
EP2275932A1 (en) * 2005-01-14 2011-01-19 Intel Corporation Virtualizing physical memory in a virtual machine system
US8533428B2 (en) 2005-01-14 2013-09-10 Intel Corporation Translating a guest virtual address to a host physical address as guest software executes on a virtual machine
US20110087822A1 (en) * 2005-01-14 2011-04-14 Bennett Steven M Virtualizing physical memory in a virtual machine system
US8601233B2 (en) 2006-08-15 2013-12-03 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US20180196758A1 (en) * 2006-08-15 2018-07-12 Steven M. Bennett Synchronizing a translation lookaside buffer with an extended paging table
US10747682B2 (en) * 2006-08-15 2020-08-18 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US10180911B2 (en) * 2006-08-15 2019-01-15 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US8949571B2 (en) 2006-08-15 2015-02-03 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US20150205723A1 (en) * 2006-08-15 2015-07-23 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9122624B2 (en) 2006-08-15 2015-09-01 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9141555B2 (en) * 2006-08-15 2015-09-22 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US20180196759A1 (en) * 2006-08-15 2018-07-12 Steven M. Bennett Synchronizing a translation lookaside buffer with an extended paging table
US9251094B2 (en) 2006-08-15 2016-02-02 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9262338B1 (en) 2006-08-15 2016-02-16 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9298640B2 (en) 2006-08-15 2016-03-29 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9298641B2 (en) 2006-08-15 2016-03-29 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9330021B2 (en) 2006-08-15 2016-05-03 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9372807B2 (en) 2006-08-15 2016-06-21 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9372806B2 (en) 2006-08-15 2016-06-21 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US9678890B2 (en) 2006-08-15 2017-06-13 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US8296546B2 (en) 2006-08-15 2012-10-23 Intel Corporation Synchronizing a translation lookaside buffer with an extended paging table
US20080183955A1 (en) * 2007-01-25 2008-07-31 Genesys Logic, Inc. Flash translation layer apparatus
US7890693B2 (en) 2007-01-25 2011-02-15 Genesys Logic, Inc. Flash translation layer apparatus
US20090013149A1 (en) * 2007-07-05 2009-01-08 Volkmar Uhlig Method and apparatus for caching of page translations for virtual machines
US8078827B2 (en) 2007-07-05 2011-12-13 International Business Machines Corporation Method and apparatus for caching of page translations for virtual machines
US10565126B2 (en) 2017-07-14 2020-02-18 Arm Limited Method and apparatus for two-layer copy-on-write
US20190018785A1 (en) * 2017-07-14 2019-01-17 Arm Limited Memory system for a data processing network
US10489304B2 (en) 2017-07-14 2019-11-26 Arm Limited Memory address translation
US10534719B2 (en) * 2017-07-14 2020-01-14 Arm Limited Memory system for a data processing network
US10353826B2 (en) 2017-07-14 2019-07-16 Arm Limited Method and apparatus for fast context cloning in a data processing system
US10592424B2 (en) 2017-07-14 2020-03-17 Arm Limited Range-based memory system
US10613989B2 (en) 2017-07-14 2020-04-07 Arm Limited Fast address translation for virtual machines
US10467159B2 (en) * 2017-07-14 2019-11-05 Arm Limited Memory node controller
US10884850B2 (en) 2018-07-24 2021-01-05 Arm Limited Fault tolerant memory system
WO2021111217A1 (en) * 2019-12-03 2021-06-10 International Business Machines Corporation Methods and systems for translating virtual addresses in a virtual memory based system
US11163695B2 (en) 2019-12-03 2021-11-02 International Business Machines Corporation Methods and systems for translating virtual addresses in a virtual memory based system
US11461237B2 (en) 2019-12-03 2022-10-04 International Business Machines Corporation Methods and systems for translating virtual addresses in a virtual memory based system
GB2606906A (en) * 2019-12-03 2022-11-23 Ibm Methods and systems for translating virtual addresses in a virtual memory based system
US11636045B2 (en) 2019-12-03 2023-04-25 International Business Machines Corporation Translating virtual addresses in a virtual memory based system

Also Published As

Publication number Publication date
JPS6184754A (en) 1986-04-30

Similar Documents

Publication Publication Date Title
US4792897A (en) Address translation unit for translation of virtual address to real address using translation tables of multi-level hierarchical structure
US4495575A (en) Information processing apparatus for virtual storage control system
US4616311A (en) Data processing system
US4654777A (en) Segmented one and two level paging address translation system
US4628451A (en) Data processing apparatus for virtual memory system
US4386402A (en) Computer with dual vat buffers for accessing a common memory shared by a cache and a processor interrupt stack
US4769770A (en) Address conversion for a multiprocessor system having scalar and vector processors
US5018061A (en) Microprocessor with on-chip cache memory with lower power consumption
EP0506236A1 (en) Address translation mechanism
US5497469A (en) Dynamic address translation allowing quick update of the change bit
KR960008320B1 (en) System equipped with processor and method of converting addresses in the said system
US5544293A (en) Buffer storage system and method using page designating address and intra-page address and detecting valid data
US5510973A (en) Buffer storage control system
JPH07248974A (en) Information processor
US6226731B1 (en) Method and system for accessing a cache memory within a data-processing system utilizing a pre-calculated comparison array
CA2078635A1 (en) Data processing system
JP2507785B2 (en) Pageable entry invalidation device
JPH01149153A (en) Address converting index mechanism invalidating device
JPH0812637B2 (en) Address translation method
EP0484008A2 (en) Information processing unit having translation buffer
JPS62208147A (en) Expansion address converter
JPH01199250A (en) Data processor
JPS59218692A (en) Control system of logical buffer memory
JPH0883213A (en) Storage device including cache memory
JPS589452B2 (en) Firmware broom

Legal Events

Date Code Title Description
AS Assignment

Owner name: HITACHI, LTD., 6, KANDA SURUGADAI 4-CHOME, CHIYODA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNORS:GOTOU, SHIZUO;KAGIMASA, TOYOHIKO;REEL/FRAME:004465/0563

Effective date: 19850920

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12