JPH0612529B2 - Address translator test method - Google Patents
Address translator test methodInfo
- Publication number
- JPH0612529B2 JPH0612529B2 JP60182786A JP18278685A JPH0612529B2 JP H0612529 B2 JPH0612529 B2 JP H0612529B2 JP 60182786 A JP60182786 A JP 60182786A JP 18278685 A JP18278685 A JP 18278685A JP H0612529 B2 JPH0612529 B2 JP H0612529B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- page
- address translation
- test
- registration
- 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
Links
- 238000010998 test method Methods 0.000 title description 2
- 238000013519 translation Methods 0.000 claims description 75
- 239000000872 buffer Substances 0.000 claims description 49
- 238000006243 chemical reaction Methods 0.000 claims description 32
- 238000012360 testing method Methods 0.000 claims description 27
- 238000012790 confirmation Methods 0.000 claims description 16
- 238000000034 method Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 12
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は論理アドレスを実アドレスに変換するアドレス
変換装置に関し、特にそのアドレス変換バツフアの試験
方式に関する。Description: TECHNICAL FIELD The present invention relates to an address translation device that translates a logical address into a real address, and more particularly to a test system for the address translation buffer.
(従来の技術) 論理アドレスから実アドレスに変換する仮想記憶をサポ
ートしているシステムでは、アドレス変換装置を備えて
いる。アドレス変換装置は通常、オペテーティングシス
テムによつて用意されたアドレス変換テーブルにもとづ
いてアドレス変換を実施し、アドレス変換を高速に実行
することができるように変換情報を貯えておくためのア
ドレス変換バツフアを備えている。通常、アドレス変換
にはページングを伴うため、斯かる変換は論理ページか
ら実ページへの変換となる。(Prior Art) A system that supports virtual memory for converting a logical address to a real address includes an address conversion device. The address translation device normally performs the address translation based on the address translation table prepared by the operating system, and stores the translation information so that the address translation can be executed at high speed. It has a buffer. Since address translation is usually accompanied by paging, such translation is conversion from a logical page to a real page.
アドレス変換装置、特にアドレス変換バツフアの試験は
試験プログラムによつて行われる方式がある。試験プロ
グラムによる方式は試験用アドレス変換テーブル群を準
備しておき、上記テーブル群にもとづいてアドレス変換
バツフアへのデータの登録と確認とを行うものである。There is a method in which the test of the address translation device, especially the address translation buffer is performed by a test program. The test program system prepares a test address translation table group and registers and confirms data in the address translation buffer based on the table group.
アドレス変換バツフアは複数のエントリで構成され、セ
ツトアソシアティブ法により索引される場合が多い。こ
の場合、アドレス変換バツフアは論理のアドレスの一部
により索引され、論理アドレスの残りの部分は上記アド
レス変換バツフアに登録される。通常、前者はセツトア
ドレス、後者はキーアドレスと呼ばれる。すなわち、ア
ドレス変換バツフアは、セツトアドレスで索引され、キ
ーアドレスと比較される。比較の結果、上記一致するエ
ントリが存在する場合には、索引した論理アドレスから
実アドレスへの変換情報が登録されて実アドレスが得ら
れる。比較の結果、上記不一致の場合にば変換情報が未
登録である。The address translation buffer consists of multiple entries and is often indexed by the set associative method. In this case, the address translation buffer is indexed by a part of the logical address, and the rest of the logical address is registered in the address translation buffer. Usually, the former is called a set address and the latter is called a key address. That is, the address translation buffer is indexed by the set address and compared with the key address. As a result of the comparison, when there is the matching entry, the conversion information from the indexed logical address to the real address is registered and the real address is obtained. As a result of the comparison, in the case of the above disagreement, the conversion information is not registered.
以上のアドレス変換バツフアに対して、登録用アドレス
変換テーブルが用意される。アドレス変換バツフアの全
エントリに変換情報を登録するにはセツトアドレスを全
ケースに尽したテーブルが必要であるが、誤つたエント
リ索引やエントリ間の干渉を検出するためには、キーア
ドレスがアドレス変換バツフアのエントリ単位にユニー
クである必要がある。A registration address conversion table is prepared for the above address conversion buffers. In order to register the translation information in all the entries of the address translation buffer, a table that uses all the set addresses in all cases is required. It must be unique for each buffer entry.
キーアドレスが論理アドレスの上位部分を占めると仮定
すると、上記条件を満たす登録用アドレス変換テーブル
は巨大なものとなる。Assuming that the key address occupies the upper part of the logical address, the registration address conversion table that satisfies the above condition becomes huge.
さらに、変換後の実アドレスもメモリエリアを削減する
ため同一のページ内に存在する。Further, the converted real address also exists in the same page to reduce the memory area.
(発明が解決しようとする問題点) 従つて、キーアドレスはほゞ固定値に近く、アドレス変
換バツフアを誤つて索引した場合やエントリが干渉した
場合には、これらを検出することは不可能である。(Problems to be solved by the invention) Therefore, the key address is almost a fixed value, and it is impossible to detect these when the address translation buffer is mistakenly indexed or the entries interfere. is there.
本発明の目的は、試験用アドレス変換テーブルを使用し
て変換情報をアドレス変換バツフアへ登録し、試験用の
アドレス変換テーブルを用いて登録内容を確認し、論理
アドレス空間に実ページ群を巡回して対応させることに
より上記欠点を除去し、アドレス変換バツフアを誤つて
索引した場合やエントリが干渉した場合にも変換情報を
与えることができるように構成したアドレス変換装置試
験方式を提供することにある。The object of the present invention is to register the translation information in the address translation buffer using the test address translation table, confirm the registered contents using the test address translation table, and circulate the real page group in the logical address space. The above problem is eliminated by providing the address translation device test method configured so that the translation information can be provided even when the address translation buffer is erroneously indexed or the entries interfere. .
(問題点を解決するための手段) 本発明によるアドレス変換装置試験方式はアドレス変換
テーブルと、アドレス変換手段と、アドレス変換バツフ
アと、アドレス読出し手段とを具備し、アドレス変換テ
ーブルに含まれた第1の試験用アドレス変換テーブルを
用いてアドレス変換バツフアへの登録を行い、アドレス
変換テーブルに含まれた第2の試験用のアドレス変換テ
ーブルを用いて確認を行い、試験用アドレス変換テーブ
ルは論理アドレス空間に実ページ群を巡回して対応させ
ることができるように構成したものである。(Means for Solving Problems) The address translator testing method according to the present invention comprises an address translation table, an address translation means, an address translation buffer, and an address reading means, and includes the address translation table The test address translation table is used to register to the address translation buffer, the second test address translation table included in the address translation table is used for confirmation, and the test address translation table is a logical address. It is configured so that a real page group can be patrolled in the space and made to correspond.
アドレス変換テーブルは2n−1(n2:正の整数)
の実ページ群を対応づける第1の試験用アドレス変換テ
ーブル、ならびに第1の試験用アドレス変換テーブル内
容を書換えて作成した第2の試験用アドレス変換テーブ
ルを含むものである。The address conversion table is 2 n -1 (n2: positive integer)
It includes a first test address translation table for associating the real page group with the above, and a second test address translation table created by rewriting the contents of the first test address translation table.
アドレス変換手段はアドレス変換テーブルにもとづき、
論理アドレス空間の論理ページアドレスを実アドレス空
間のページアドレスに変換するためのものである。The address conversion means is based on the address conversion table,
This is for converting a logical page address in the logical address space into a page address in the real address space.
アドレス変換バツフアは、実ページアドレスを含むアド
レス変換情報を登録しておくためのものである。The address translation buffer is for registering address translation information including the real page address.
アドレス読出し手段はアドレス変換バツフアを索引して
登録の有無を調べ、実ページアドレスを読出すためのも
のである。The address reading means is for indexing the address conversion buffer to check whether it is registered or not, and for reading the real page address.
(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be described in detail with reference to the drawings.
第1図は、本発明によるアドレス変換装置試験方式の一
実施例に関する概要を示すブロツク図である。第2図は
論理アドレスの形式を示す説明図である。第3図は、セ
グメントテーブルおよびページテーブルの形式を示す説
明図である。第4図は、アドレス変換過程を示すブロツ
ク図である。第5図は、アドレス変換バツフアの登録形
式を示す説明図である。第6図は、アクセスエリアを示
す説明図である。第7図は、アドレス変換バツフアへの
登録を示すフローチヤートである。第8図は、アドレス
変換バツフアの登録と確認を示すフローチヤートであ
る。FIG. 1 is a block diagram showing the outline of an embodiment of the address translator testing method according to the present invention. FIG. 2 is an explanatory diagram showing the format of the logical address. FIG. 3 is an explanatory diagram showing formats of the segment table and the page table. FIG. 4 is a block diagram showing the address conversion process. FIG. 5 is an explanatory diagram showing the registration format of the address translation buffer. FIG. 6 is an explanatory diagram showing an access area. FIG. 7 is a flow chart showing registration in the address translation buffer. FIG. 8 is a flow chart showing the registration and confirmation of the address translation buffer.
第9図は、登録と確認における異常終了時の解析を示す
フローチヤートである。FIG. 9 is a flow chart showing an analysis at the time of abnormal termination in registration and confirmation.
第1図において、1は論理アドレスレジスタ、2は実ア
ドレスレジスタ、3はアドレス変換バツフア、4は比較
器、5はセグメントテーブル領域、6は登録用ページテ
ーブル、7は確認用ページテーブルである。第4図にお
いて、41は制御レジスタ、42はセグメントテーブル領
域、43はページテーブル、44,45はそれぞれ加算器であ
る。第6図において、61〜63はそれぞれ登録用ページテ
ーブル領域6のアクセスページ、64は確認用ページテー
ブル領域7のアクセスページである。In FIG. 1, 1 is a logical address register, 2 is a real address register, 3 is an address conversion buffer, 4 is a comparator, 5 is a segment table area, 6 is a registration page table, and 7 is a confirmation page table. In FIG. 4, 41 is a control register, 42 is a segment table area, 43 is a page table, and 44 and 45 are adders. In FIG. 6, 61 to 63 are access pages of the registration page table area 6 and 64 is an access page of the confirmation page table area 7.
第1図において、論理アドレス、実行アドレスともアド
レスは4バイト幅で記述、ともにビツト8からビツト31
までを有効ビツトとし、最下位ビツトをバイト境界とす
る。論理アドレスの形式は第2図に示すようにセグメン
トS、ページP、ならびにページ内アドレスLに分割さ
れ、セグメントSはビツト8〜11、ページPはビツト12
〜19、ページ内アドレスLはビツト20〜31とし、ビツト
0〜7は0に固定する。これにより、1ページは4キロ
バイトである。In FIG. 1, both logical addresses and execution addresses are described in 4-byte width.
Up to are valid bits, and the lowest bit is a byte boundary. The format of the logical address is divided into a segment S, a page P, and an in-page address L as shown in FIG. 2. The segment S is bits 8 to 11 and the page P is bit 12.
.About.19, in-page address L is set to bits 20 to 31, and bits 0 to 7 are fixed to 0. Therefore, one page is 4 kilobytes.
次に、セグメントテーブルおよびページテーブルのエン
トリの形式をそれぞれ第3図(a),(b)に示す。第3図
(a)のセグメントテーブルのエントリは4バイト幅であ
り、ビツト0は有効性を示すVビツトであつて論理値が
1のときに有効である。ビツト8〜31はページテーブル
の先頭アドレスを示しビツト1〜7は0に固定される。
第3図(b)ページテーブルのエントリは4バイト幅であ
り、ビツト0は有効性を示すVビツトであつて論理値が
1のときに有効である。ビツト8〜19は実ページアドレ
スを示し、ビツト1〜7は0に固定されるが、ビツト20
〜31は任意とする。ビツト8〜19の実ページアドレス
は、第1図に示すアドレス変換バツフア3の登録情報で
ある。Next, the formats of the entries in the segment table and the page table are shown in FIGS. 3 (a) and 3 (b), respectively. Fig. 3
The entry of the segment table of (a) is 4 bytes wide, and bit 0 is a V bit indicating validity and is valid when the logical value is 1. Bits 8 to 31 indicate the start address of the page table, and bits 1 to 7 are fixed at 0.
The entry of the page table in FIG. 3 (b) has a width of 4 bytes, and bit 0 is a V bit indicating validity, and is valid when the logical value is 1. Bits 8 to 19 indicate the real page address, and Bits 1 to 7 are fixed at 0, but Bit 20
~ 31 is optional. The real page addresses of bits 8 to 19 are the registration information of the address conversion buffer 3 shown in FIG.
アドレス変換バツフア3への登録時には、登録情報は第
4図に示すアドレス変換過程を経由して登録される。第
4図を参照すれば、セグメントテーブルの先頭アドレス
を格納している制御レジスタ41の内容と、セグメントフ
イールドSの4倍とを加算器44で加算し、セグメントテ
ーブル領域42から索引エントリを読出す。そこで、Vビ
ツトが1であることを確認し、ページテーブルの先頭ア
ドレスを得る。ページテーブルの先頭アドレスとページ
フイールドPの4倍とを加算器45で加算し、ページテー
ブル領域43から索引エントリを読出し、Vビツトが1で
あることを確認し、実ページアドレスを求める。When registering in the address conversion buffer 3, the registration information is registered through the address conversion process shown in FIG. Referring to FIG. 4, the contents of the control register 41 storing the start address of the segment table and four times the segment field S are added by the adder 44, and the index entry is read from the segment table area 42. . Therefore, it is confirmed that the V bit is 1, and the top address of the page table is obtained. The start address of the page table and four times the page field P are added by the adder 45, the index entry is read from the page table area 43, it is confirmed that the V bit is 1, and the actual page address is obtained.
第1図に戻つて、論理アドレスは論理アドレスレジスタ
1にセツトされる。次に、アドレス変換バツフア3を索
引して登録の有無を比較器4によつて調べる。論理アド
レスのビツト14〜19はアドレス変換バツフア3の索引ア
ドレス、すなわちセツトアドレスであり、信号線8上に
送出される。ビツト8〜13はキーアドレスであつて、信
号線9上に送出され、索引時には比較アドレス、登録時
には登録アドレスとなる。Returning to FIG. 1, the logical address is set in the logical address register 1. Next, the address translation buffer 3 is indexed and the presence or absence of registration is checked by the comparator 4. Bits 14 to 19 of the logical address are index addresses of the address conversion buffer 3, that is, set addresses, and are sent out on the signal line 8. Bits 8 to 13 are key addresses, which are sent out on the signal line 9 and serve as comparison addresses at the time of indexing and registration addresses at the time of registration.
登録が確認された場合にはヒツトと呼び、登録が未確認
の場合にはミスヒツトと呼ぶ。ミスヒツトの場合、アド
レス変換過程により実ページアドレスを得て、信号線10
上のページ内アドレスと合せて実アドレスレジスタ2に
実アドレスがセットされ、実ページアドレスはアドレス
変換バツフア3から送出されて登録に使用される。If the registration is confirmed, it is called a hit, and if the registration is not confirmed, it is called a miss. In the case of mishisto, the real page address is obtained by the address conversion process and the signal line 10
The real address is set in the real address register 2 together with the above-mentioned in-page address, and the real page address is sent from the address translation buffer 3 and used for registration.
本実施例ではアドレス変換バツフアの容量を64エントリ
とし、エントリは第5図に示すような形式を有する。第
5図から明らかであるが、各エントリは登録内容が有効
であることを示すVビツトと、キーアドレスである論理
アドレスビツト(ビツト8〜13)と、実ページアドレス
ビツト(ビツト8〜19)とから成る。In this embodiment, the capacity of the address translation buffer is 64 entries, and the entries have the format shown in FIG. As is clear from FIG. 5, each entry has a V bit indicating that the registered contents are valid, a logical address bit (bit 8 to 13) which is a key address, and a real page address bit (bit 8 to 19). It consists of and.
次に、アドレス変換バツフア3および比較器4を試験す
るためのセグメントテーブル領域、ページテーブル領
域、およびアクセスエリアについて説明する。まず、試
験用セグメント値をS1とし、セグメントテーブル5に
エントリS1を確保する。続いて、請求範囲に規定され
た第1の試験用アドレス変換テーブルを格納するための
登録用ページテーブル領域6、および第2の試験用アド
レス変換テーブル2を格納するための確認用ページテー
ブル領域7を用意し、第6図に示すように4つの実ペー
ジを割付ける。すわわち、登録用ページテーブル領域6
にはページ61からページ63を巡回して割付け、確認用ペ
ージテーブル領域7には全エントリページ64を割付け
る。第6図に示す4つの実ページに対してページ61はP
0、ページ62はP1、ページ63はP2、ページ64はm0
を実ページアドレスとする。ページ61からページ64の4
つのページには、4バイト単位のデータがページの先頭
から少なくとも64単位用意される。アドレス変換バツフ
ア3の64エントリへの登録・確認時の論理アドレスをa
0からa63とし、ai(i=0〜63)の先頭の1バイ
トは16進表現で“00”である。xi,yi,zi,b
iは4バイトのデータであつて、先頭の1バイトはそれ
ぞれ16進表現で“OF”,“OE”,“OD”,“FO
“であるとし、残りの3バイトはaiと同様であるとす
る。Next, the segment table area, page table area, and access area for testing the address translation buffer 3 and the comparator 4 will be described. First, the test segment value is set to S 1, and the entry S 1 is secured in the segment table 5. Next, a registration page table area 6 for storing the first test address conversion table defined in the claims and a confirmation page table area 7 for storing the second test address conversion table 2. And prepare four real pages as shown in FIG. That is, registration page table area 6
Pages 61 to 63 are circulated and allocated, and all entry pages 64 are allocated to the confirmation page table area 7. Page 61 is P for the four real pages shown in FIG.
0 , page 62 is P 1 , page 63 is P 2 , page 64 is m 0
Is the real page address. Page 61 to Page 64 of 4
At least 64 units of 4-byte data are prepared for one page from the beginning of the page. The logical address at the time of registration / confirmation in 64 entries of the address translation buffer 3 is a
From 0 to a 63 , the first 1 byte of ai (i = 0 to 63) is “00” in hexadecimal notation. xi, yi, zi, b
i is 4-byte data, and the first 1 byte is hexadecimal notation "OF", "OE", "OD", "FO".
", And the remaining 3 bytes are the same as ai.
まず、アドレス変換バツフア3への変換情報の登録を第
7図に従つて説明する。セグメントテーブル領域5のエ
ントリS1に登録用ページテーブル領域の6の先頭アド
レスを格納してテーブルを連結し、アドレス変換バツフ
ア3の内容をすべてクリアする。次に論理アドレスを初
期化し、初期値をa0とする。a0においてセグメント
フイールドS1、ペーイフイールドを0、ページ内アド
レスを0として、論理アドレスai(i=0〜63)によ
つてメモリアクセスを行う。このメモリアクセスに対し
てアドレス変換バツフア3はミスヒツトになり、登録が
行われて読み出しデータがaiに一致することが確認さ
れる。不一致の場合には、アドレス変換バツフア3のク
リア不良、またはアドレス変換過程の不良によりエラー
メツセージを出力して異常終了させる。一致が確認され
ると論理アドレスが更新され、ページフイールドを1だ
け増分させ、ページ内アドレスを4だけ増分させる。以
後、上記動作を64回繰返して実行したならば全エントリ
の登録を終了する。First, registration of translation information in the address translation buffer 3 will be described with reference to FIG. The first address of the registration page table area 6 is stored in the entry S 1 of the segment table area 5, the tables are linked, and the contents of the address conversion buffer 3 are all cleared. Next, the logical address is initialized and the initial value is set to a 0 . At a 0 , the segment field S 1 and the page field are 0 and the in-page address is 0, and the memory access is performed by the logical address ai (i = 0 to 63). In response to this memory access, the address translation buffer 3 becomes a mishit, and it is confirmed that the registration is performed and the read data matches with ai. If they do not match, an error message is output and the processing ends abnormally due to a defective clearing of the address translation buffer 3 or a defective address translation process. If a match is confirmed, the logical address is updated, incrementing the page field by one and the in-page address by four. After that, if the above operation is repeated 64 times, the registration of all entries is completed.
次に、アドレス変換バツフア3へのアドレス変換情報の
登録とその確認とを第8図、および第9図を参照して説
明する。セグメントテーブル領域5のエントリS1に確
認用ページテーブル領域7の先頭アドレスを格納してテ
ーブルを連結し、論理アドレスを初期化して初期値をa
0とする。Next, registration and confirmation of the address translation information in the address translation buffer 3 will be described with reference to FIGS. 8 and 9. The start address of the confirmation page table area 7 is stored in the entry S 1 of the segment table area 5, the tables are linked, the logical address is initialized, and the initial value is set to a.
Set to 0 .
確認は登録と同順、または逆順で行いうるが、簡単のた
めに同順とする。a0においてはセグメントフイールド
S1、ページフイールドを0、ページ内アドレスを0と
して、論理アドレスai(i=0〜63)でメモリアクセ
スを行う。次に、読出しデータが期待値aiと一致する
か否かを調べる。アドレス変換バツフア3へ正しく登録
され、索引によりヒツトすれば読出しデータはaiであ
る。一致を確認した後、論理アドレスを更新し、ページ
フイールドを1だけ増分させ、ページ内アドレスを4だ
け増分させる。以後、上記動作を64回繰返すと、全エン
トリの登録・確認を終了する。不一致が発見されれば第
9図の解析ルーチンに進む。Confirmation can be done in the same order as registration or in reverse order, but for the sake of simplicity, use the same order. In a 0 , the segment field S 1 is set , the page field is set to 0, and the in-page address is set to 0, and memory access is performed at the logical address ai (i = 0 to 63). Next, it is checked whether the read data matches the expected value ai. If it is correctly registered in the address translation buffer 3 and is hit by the index, the read data is ai. After confirming the match, the logical address is updated, the page field is incremented by 1, and the in-page address is incremented by 4. After that, when the above operation is repeated 64 times, the registration / confirmation of all entries is completed. If a discrepancy is found, the process proceeds to the analysis routine of FIG.
アドレス変換バツフア3に登録情報が未登録状態であれ
ばセグメントテーブル領域5と確認用ページテーブル領
域7を参照し、第6図のページ64からbιを読出す。従
つて、biを読出したことにより、未登録状態または比
較器4の故障であるため一致出力の得られないことが判
明する。これを未登録エラーメッセージとして表示す
る。If the registration information is not registered in the address translation buffer 3, the segment table area 5 and the confirmation page table area 7 are referred to, and bi is read from page 64 in FIG. Therefore, by reading out bi, it becomes clear that the coincidence output cannot be obtained because of the unregistered state or the failure of the comparator 4. Display this as an unregistered error message.
次に、アドレス変換バツフア3の他のエントリからの干
渉によりエントリの内容が乱されたり、あるいは誤索引
されたとしても、登録情報のうちでキーアドレスは固定
されているためヒツト/ミスヒツトには反映せず、ヒツ
トしたか否かにより真偽が判別できない。例えば、誤索
引については、信号線8上のセツトアドレスの故障に起
因して或るエントリに2度登録が行われる場合がある。
しかし、登録時に登録用ページテーブル6の実ページア
ドレスをP0,P1,P2とワルツイングしているの
で、期待するページ以外から読出した場合にはxi,y
iまたはziとなつて判別することが可能である。いず
れも該当しない場合には、誤アクセスとして処理され
る。Next, even if the contents of the entry are disturbed or misindexed due to interference from other entries of the address translation buffer 3, the key address is fixed in the registered information and is reflected in the hit / miss hit. Without it, the truth cannot be discriminated by whether or not a hit has occurred. For example, with respect to the erroneous index, a certain address may be registered twice due to a failure of the set address on the signal line 8.
However, since the real page address of the registration page table 6 is walted as P 0 , P 1 , P 2 at the time of registration, xi, y is read when the page other than the expected page is read.
It is possible to distinguish by i or zi. If none of these apply, it is processed as an erroneous access.
最後に、エントリの誤索引またはエントリの干渉につい
て説明する。アドレス変換バツフア3への登録内容とし
てエントリ順に3、または2n−1(n3:正の整
数)の周期を有するワルツパターンを与えておく。アド
レス変換バツフア3は通常、メモリ素子を含むハードウ
エア構成である。エントリαを索引する予定であつたが
エントリβが索引されたか、あるいはエントリβに影響
を与えたとする。Finally, the false index of entries or the interference of entries will be described. As the contents registered in the address translation buffer 3, a waltz pattern having a cycle of 3 or 2 n -1 (n3: a positive integer) is given in order of entry. The address translation buffer 3 is usually a hardware configuration including a memory device. It is supposed that the entry α is to be indexed, but the entry β is indexed or the entry β is affected.
メモリ素子は通常、2のべき乗の容量を有し、マトリク
ス構成のセル配置が採用されているとする。この場合、
アドレスデコードの方法にもよるが、エントリαとエン
トリβとの間の距離が上記3、または2n−1(n
3)の周期、またはその倍数になつていることはまれで
ある。従つて、3または2n−1(n3)のワルツイ
ングでも完壁ではないが、十分強力である。ワルツの周
期は大きいほど強力であると考えられるが、本実施例で
は3を採用している。It is assumed that a memory element normally has a power of 2 and employs a cell arrangement in a matrix configuration. in this case,
Depending on the method of address decoding, the distance between the entry α and the entry β is 3 or 2 n −1 (n
It is rare that the period is 3) or a multiple thereof. Therefore, walting of 3 or 2 n -1 (n3) is not perfect, but is sufficiently strong. It is considered that the larger the waltz cycle is, the stronger the waltz cycle is, but in this embodiment, 3 is adopted.
(発明の効果) 以上説明したように本発明では、試験用アドレス変換テ
ーブルを用いて変換情報をアドレス変換バツフアへ登録
し、試験用アドレス変換テーブルを用いて登録内容を確
認し、論理アドレス空間に実ページ群を巡回して対応さ
せることにより、容易にアドレス変換バツフアの誤索引
やエントリの干渉を検出することが可能であると云う効
果がある。(Effect of the Invention) As described above, according to the present invention, the translation information is registered in the address translation buffer using the test address translation table, the registered contents are confirmed using the test address translation table, and the logical address space is stored. It is possible to easily detect an erroneous index in the address translation buffer and interference of entries by circulating the real page groups and making them correspond.
第1図は、本発明によるアドレス変換装置試験方式の一
実施例を示すブロツク図である。 第2図は、論理アドレスの形式を示す説明図である。 第3図は、セグメントテーブルおよびページテーブルの
形式を示す説明図である。 第4図は、アドレス変換過程を示すブロツク図である。 第5図は、アドレス変換バツフアの登録形式を示す説明
図である。 第6図は、アクセスエリアを示す説明図である。 第7図は、アドレス変換バツフアの登録を示すフローチ
ヤートである。 第8図は、アドレス変換バツフアの登録と確認を示すフ
ローチヤートである。 第9図は、登録と確認における異常終了時の解析を示す
フローチヤートである。 1……論理アドレスレジスタ 2……実アドレスレジスタ 3……アドレス変換バツフア、4……比較器 5,42……セグメントテーブル領域 6,7,43……ページテーブル領域 41……制御レジスタ、44,45……加算器 61〜64……アクセスページ、8〜10……信号線FIG. 1 is a block diagram showing an embodiment of the address translator testing method according to the present invention. FIG. 2 is an explanatory diagram showing the format of the logical address. FIG. 3 is an explanatory diagram showing formats of the segment table and the page table. FIG. 4 is a block diagram showing the address conversion process. FIG. 5 is an explanatory diagram showing the registration format of the address translation buffer. FIG. 6 is an explanatory diagram showing an access area. FIG. 7 is a flow chart showing registration of the address translation buffer. FIG. 8 is a flow chart showing the registration and confirmation of the address translation buffer. FIG. 9 is a flow chart showing an analysis at the time of abnormal termination in registration and confirmation. 1 ... Logical address register 2 ... Real address register 3 ... Address conversion buffer, 4 ... Comparator 5, 42 ... Segment table area 6, 7, 43 ... Page table area 41 ... Control register, 44, 45 …… Adder 61 ~ 64 …… Access page, 8 ~ 10 …… Signal line
Claims (1)
群を対応づける第1の試験用アドレス変換テーブル、な
らびに前記第1の試験用アドレス変換テーブルの内容を
書換えて作成した第2の試験用アドレス変換テーブルを
含むアドレス変換テーブルと、前記アドレス変換テーブ
ルにもとづいて論理アドレス空間の論理ページアドレス
を実アドレス空間の実ページアドレスに変換するための
アドレス変換手段と、前記実ページアドレスを含むアド
レス変換情報を登録しておくためのアドレス変換バツフ
アと、前記アドレス変換バツフアを索引して登録の有無
を調べて前記実ページアドレスを読出すためのアドレス
読出し手段とを具備し、前記第1の試験用アドレス変換
テーブルを用いて前記アドレス変換バツフアへの登録を
行い、前記第2の試験用アドレス変換テーブルを用いて
確認を行い、前記試験用アドレス変換テーブルは前記論
理アドレス空間に前記実ページ群を巡回して対応させる
ことができるように構成したことを特徴とするアドレス
変換装置試験方式。1. A first test address conversion table for associating 2 n -1 (n2: positive integer) real page groups, and a first test address conversion table created by rewriting the contents of the first test address conversion table. 2, an address conversion table including a test address conversion table, address conversion means for converting a logical page address of a logical address space into a real page address of a real address space based on the address conversion table, and the real page address. An address translation buffer for registering address translation information including the address translation information, and address reading means for indexing the address translation buffer to check whether the address is registered and reading the real page address. Using the test address translation table No. 1 for registration to the address translation buffer, the second address Confirmation is performed by using a test address conversion table, and the test address conversion table is configured so that the actual page group can be circulated and corresponded to the logical address space. method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60182786A JPH0612529B2 (en) | 1985-08-20 | 1985-08-20 | Address translator test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60182786A JPH0612529B2 (en) | 1985-08-20 | 1985-08-20 | Address translator test method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6242249A JPS6242249A (en) | 1987-02-24 |
JPH0612529B2 true JPH0612529B2 (en) | 1994-02-16 |
Family
ID=16124392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60182786A Expired - Lifetime JPH0612529B2 (en) | 1985-08-20 | 1985-08-20 | Address translator test method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0612529B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001338497A (en) * | 2000-05-24 | 2001-12-07 | Fujitsu Ltd | Memory test method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2676269B2 (en) * | 1990-06-30 | 1997-11-12 | 富士通株式会社 | Logical address test control method |
JPH055627U (en) * | 1991-07-10 | 1993-01-26 | 日野自動車工業株式会社 | Automotive defroster |
JP2023070696A (en) * | 2021-11-10 | 2023-05-22 | ルネサスエレクトロニクス株式会社 | semiconductor equipment |
-
1985
- 1985-08-20 JP JP60182786A patent/JPH0612529B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001338497A (en) * | 2000-05-24 | 2001-12-07 | Fujitsu Ltd | Memory test method |
Also Published As
Publication number | Publication date |
---|---|
JPS6242249A (en) | 1987-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0149389B1 (en) | Address translation control system | |
EP0180821B1 (en) | A method of detecting addressing errors in a catalogued memory, and catalogued memory using same | |
US4604688A (en) | Address translation buffer control system | |
JPS63231550A (en) | Multiple virtual space control method | |
JPH0137773B2 (en) | ||
JPH11513823A (en) | Data error detection and correction for shared SRAM | |
EP0313857B1 (en) | Buffer memory control apparatus | |
JPH0612529B2 (en) | Address translator test method | |
JP3190700B2 (en) | Address translator | |
JP2570466B2 (en) | Information processing device | |
JPH0695967A (en) | Data processor | |
US5907866A (en) | Block address translation circuit using two-bit to four-bit encoder | |
CA1328026C (en) | Apparatus and method for enhanced virtual to real address translation for accessing a cache memory unit | |
JPS62115554A (en) | Storage protection system in multi-processor system | |
JPH03110648A (en) | Data processing system | |
CA1219375A (en) | Main storage failure address control system in a data processing system | |
JPH09223070A (en) | Data conversion circuit | |
JPH06309196A (en) | Information processor with trace function | |
JPS61112259A (en) | Control system for cache memory device | |
JPH04133147A (en) | Address conversion buffer clear system | |
JPS63189955A (en) | Data transferring and processing system in virtual computer system | |
JPH04101252A (en) | Address conversion buffer clearing system | |
JPS62197846A (en) | Address converting device | |
JPS62174851A (en) | Buffer describing control system | |
JPS60169957A (en) | Address translation buffer storage device |