JPS6238742B2 - - Google Patents
Info
- Publication number
- JPS6238742B2 JPS6238742B2 JP55063640A JP6364080A JPS6238742B2 JP S6238742 B2 JPS6238742 B2 JP S6238742B2 JP 55063640 A JP55063640 A JP 55063640A JP 6364080 A JP6364080 A JP 6364080A JP S6238742 B2 JPS6238742 B2 JP S6238742B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- refresh
- bus
- gate
- control circuit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は効率的なバス診断が可能な情報処理装
置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device capable of efficient bus diagnosis.
一般に情報処理装置は各種プログラムおよびデ
ータが格納される主メモリを備えている。この主
メモリの主要部を成す記憶部は、価格、性能、お
よび消費電力等の点でダイナミツク・ランダム・
アクセス・メモリ(以下DRAMと称する)素子
で構成されることが多い。DRAM素子では、そ
のメモリセルがダイナミツク型であるため、周知
のようにデータを保持するために周期的にメモリ
リフレツシユ動作が行なわれる必要がある。 Information processing devices generally include a main memory in which various programs and data are stored. The storage section, which forms the main part of main memory, is dynamic, random, and
It is often composed of access memory (hereinafter referred to as DRAM) elements. In a DRAM element, since its memory cells are of a dynamic type, it is necessary to perform a memory refresh operation periodically in order to retain data, as is well known.
記憶部がDRAM素子で成る主メモリを情報処
理装置に導入する場合、リフレツシユ制御の仕方
によつて第1図および第2図に示されるように構
成が異なつてくる。第1図は主メモリ1内にリフ
レツシユ制御回路2が設けられている情報処理装
置の概略構成を示すものであり、リフレツシユ制
御回路2によつて主メモリ1の図示せぬDRAM
素子がリフレツシユされる。一方、中央処理装置
(以下CPUと称する)3にはメモリアクセス制御
回路6が設けられており、主メモリ1に対するア
クセス制御が行なわれる。すなわち、メモリバス
4に接続されるチヤネルなどのアクテイブモジユ
ール51〜5nからメモリアクセス要求信号
REQ1〜REQnが出力された場合、メモリアクセ
ス制御回路6によつてあらかじめ定められた優先
度に従つて要求の受付けが行なわれる。そして、
要求が受付けられたアクテイブモジユールから主
メモリ1に対し、メモリバス4を通してアドレス
情報等が転送される。この場合、アクテイブモジ
ユールからのアクセスに対する主メモリ1の応答
は、リフレツシユ制御回路2によるリフレツシユ
動作のために非同期となる。このため制御が複
雑、すなわちメモリアクセス制御回路6の構成が
複雑となる欠点があつた。なお、第1図の構成で
は、アクテイブモジユール51〜5nによるアク
セスがリフレツシユ動作と競合する場合、第3図
に示されるようにアクテイブモジユール(図では
アクテイブモジユール51)のメモリバス4の使
用時間は不定となる。 When a main memory whose storage section is a DRAM element is introduced into an information processing device, the configuration differs depending on the refresh control method as shown in FIGS. 1 and 2. FIG. 1 shows a schematic configuration of an information processing device in which a refresh control circuit 2 is provided in a main memory 1.
The element is refreshed. On the other hand, the central processing unit (hereinafter referred to as CPU) 3 is provided with a memory access control circuit 6, which controls access to the main memory 1. That is, a memory access request signal is sent from active modules 5 1 to 5n such as channels connected to the memory bus 4.
When REQ 1 to REQn are output, the memory access control circuit 6 accepts the requests according to predetermined priorities. and,
Address information and the like are transferred from the active module whose request has been accepted to the main memory 1 via the memory bus 4. In this case, the response of the main memory 1 to the access from the active module becomes asynchronous due to the refresh operation by the refresh control circuit 2. This has resulted in a drawback that the control is complicated, that is, the configuration of the memory access control circuit 6 is complicated. In the configuration shown in FIG. 1, when access by the active modules 5 1 to 5n conflicts with the refresh operation, the memory bus 4 of the active module (active module 5 1 in the figure) is The usage time is indefinite.
一方、第2図はリフレツシユ制御回路11が主
メモリ12から独立してCPU15内に設けられ
ている情報処理装置の概略構成を示すものであ
る。この例ではリフレツシユ制御回路11は一つ
のアクテイブモジユールとみなされる。すなわち
第2図の構成では、リフレツシユ制御回路11か
らのリフレツシユ動作要求信号REFと、メモリ
バス13に接続されるチヤネルなどのアクテイブ
モジユール141〜14nからの各メモリアクセ
ス要求信号REQ1〜REQnに基づき、あらかじめ
定められた優先度に従つてCPU15内のメモリ
アクセス制御回路16により要求の受付けが行な
われる。この場合、上述の如くリフレツシユ制御
回路11はアクテイブモジユール141〜14n
と同様のモジユールとみなされているため(ただ
し優先度は最も高い)、アクテイブモジユール1
41〜14nからのアクセスに対する主メモリ1
2の応答は同期型となる。したがつて第2図の情
報処理装置では、メモリアクセス制御回路16の
構成が簡単になる利点があつた。しかしながら、
第2図の構成では、リフレツシユ制御回路11の
リフレツシユ要求に応じてリフレツシユ動作が行
なわれた場合、アクテイブモジユール141〜1
4nはいずれも第3図に示されるようにリフレツ
シユ動作期間中メモリバス13を専有することは
できない。ところでリフレツシユアドレスは、メ
モリアクセス制御回路16からのリフレツシユス
タート信号によつて、主メモリ12内のリフレツ
シユアドレスカウンタ17がカウント更新される
ことにより生成される。したがつて、リフレツシ
ユ動作期間中でも、メモリバス13がリフレツシ
ユ制御回路11に専有されることはない。すなわ
ち、メモリバス13はリフレツシユ動作期間中、
完全に開放されている。いいかえれば第2図の構
成ではリフレツシユ動作期間中、メモリバス13
を有効に用いることができなかつた。 On the other hand, FIG. 2 shows a schematic configuration of an information processing apparatus in which a refresh control circuit 11 is provided in a CPU 15 independently of a main memory 12. In this example, the refresh control circuit 11 is regarded as one active module. That is, in the configuration shown in FIG. 2, the refresh operation request signal REF from the refresh control circuit 11 and each memory access request signal REQ 1 to REQn from the active modules 14 1 to 14 n connected to the memory bus 13 are Based on this, the request is accepted by the memory access control circuit 16 in the CPU 15 according to a predetermined priority. In this case, as described above, the refresh control circuit 11 is connected to the active modules 14 1 to 14n.
Active module 1 because it is considered a module similar to (but has the highest priority)
Main memory 1 for access from 4 1 to 14n
Response 2 is of the synchronous type. Therefore, the information processing apparatus shown in FIG. 2 has the advantage that the configuration of the memory access control circuit 16 is simplified. however,
In the configuration of FIG. 2, when a refresh operation is performed in response to a refresh request from the refresh control circuit 11, the active modules 14 1 to 1
4n cannot monopolize the memory bus 13 during the refresh operation period, as shown in FIG. Incidentally, the refresh address is generated by updating the refresh address counter 17 in the main memory 12 in response to a refresh start signal from the memory access control circuit 16. Therefore, even during the refresh operation period, the memory bus 13 is not exclusively used by the refresh control circuit 11. That is, during the refresh operation period, the memory bus 13
completely open. In other words, in the configuration shown in FIG. 2, during the refresh operation period, the memory bus 13
could not be used effectively.
本発明は上記事情に鑑みてなされたものでその
目的は、メモリバスが開放されているリフレツシ
ユ動作期間中にメモリバス等の診断を行なうこと
によつて、システム効率を低下することなく信頼
性向上が図れる情報処理装置を提供することにあ
る。 The present invention was made in view of the above circumstances, and its purpose is to improve reliability without reducing system efficiency by diagnosing the memory bus, etc. during the refresh operation period when the memory bus is open. An object of the present invention is to provide an information processing device that can achieve the following.
本発明の他の目的は、バス診断時におけるアド
レスレジスタもしくはデータレジスタの保持内容
を診断データとすることによつて、特別のハード
ウエアおよびソフトウエアなどを必要とせずにデ
ータのランダム性が確保でき、更にこの診断デー
タの一部もしくは全部をアクテイブモジユールに
対するモジユール番号情報とすることによつて、
特別のモジユール番号情報線を設けることなく、
診断対象となるアクテイブモジユールがランダム
に選択でき、もつて極めて簡単な構成でありなが
ら効率よくかつ確実にバスデータの完全性を調べ
ることができる情報処理装置を提供することにあ
る。 Another object of the present invention is to ensure data randomness without requiring special hardware or software by using the contents held in the address register or data register as diagnostic data during bus diagnosis. Furthermore, by using part or all of this diagnostic data as module number information for the active module,
without providing a special module number information line,
To provide an information processing device that can randomly select active modules to be diagnosed and can efficiently and reliably check the integrity of bus data despite having an extremely simple configuration.
以下、本発明の一実施例を図面を参照して説明
する。第5図は本発明の情報処理装置の概略構成
を示すブロツク図である。図中、21はCPU、
22は主メモリである。主メモリ22の図示せぬ
記憶部はDRAM素子で成り、したがつて主メモ
リ22はリフレツシユ動作が行なわれる必要があ
る。23は主メモリ22に内蔵されるリフレツシ
ユアドレスカウンタである。リフレツシユアドレ
スカウンタ23は、後述するメモリアクセス制御
回路28により出力されるメモリスタート信号に
応じてカウント更新される。そして、このリフレ
ツシユアドレスカウンタ23によつてリフレツシ
ユアドレスすなわち行アドレスが生成される。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 5 is a block diagram showing a schematic configuration of an information processing apparatus according to the present invention. In the figure, 21 is the CPU,
22 is a main memory. A storage section (not shown) of the main memory 22 is made up of a DRAM element, and therefore the main memory 22 needs to be refreshed. 23 is a refresh address counter built into the main memory 22. The refresh address counter 23 is updated in response to a memory start signal output from a memory access control circuit 28, which will be described later. The refresh address counter 23 generates a refresh address, that is, a row address.
241〜24nはたとえばチヤネルなどのアク
テイブモジユール、25はこのアクテイブモジユ
ール241〜24nと、CPU21と、主メモリ
22とを接続するためのメモリバスである。26
はリフレツシユ制御回路である。リフレツシユ制
御回路26は主メモリ22のデータ保持のために
一定期間内にリフレツシユ動作要求信号REFを
出力する。リフレツシユ制御回路26は主メモリ
22に対して周知のようにアクテイブモジユール
241〜24nと同レベルに位置付けられてい
る。すなわち、アクテイブモジユール241〜2
4n側からみて、すでに第4図で示されているよ
うにメモリアクセス要求が受付けられてからのメ
モリアクセスタイム(メモリバス25の専有時
間)は一定である。 24 1 to 24n are active modules such as channels, and 25 is a memory bus for connecting the active modules 24 1 to 24n, the CPU 21, and the main memory 22. 26
is a refresh control circuit. The refresh control circuit 26 outputs a refresh operation request signal REF within a certain period of time in order to retain data in the main memory 22. The refresh control circuit 26 is located at the same level as the active modules 24 1 -24n with respect to the main memory 22, as is well known. That is, the active modules 24 1 to 2
As seen from the 4n side, as already shown in FIG. 4, the memory access time (the exclusive time of the memory bus 25) after the memory access request is accepted is constant.
27は優先処理回路である。この優先処理回路
27はアクテイブモジユール241〜24nから
出力されるメモリアクセス要求信号REQ1〜
REQnと、リフレツシユ制御回路26から出力さ
れるリフレツシユ動作要求信号REFとに基づい
て、あらかじめ定められた優先度に従つて要求の
受付けを行なう。優先処理回路27は要求を受付
けた場合、たとえば第6図に示されるようにその
受付け先のモジユール番号情報を出力する一方、
受付け相手がリフレツシユ制御回路26である場
合、リフレツシユ受付け信号RACKを出力する。
なお、優先処理回路27において、リフレツシユ
制御回路26は一般にアクテイブモジユール24
1〜24nより優先度を高く設定されている。2
8はメモリアクセス制御回路である。メモリアク
セス制御回路28は優先処理回路27の出力に応
じてメモリスタート信号またはリフレツシユスタ
ート信号を主メモリ22へ出力し、主メモリ22
を制御する。 27 is a priority processing circuit. This priority processing circuit 27 receives memory access request signals REQ 1 to 24n outputted from active modules 24 1 to 24n.
Based on REQn and the refresh operation request signal REF output from the refresh control circuit 26, requests are accepted according to predetermined priorities. When the priority processing circuit 27 receives a request, it outputs the module number information of the receiving destination, for example, as shown in FIG.
If the recipient is the refresh control circuit 26, a refresh acceptance signal RACK is output.
Note that in the priority processing circuit 27, the refresh control circuit 26 is generally connected to the active module 24.
The priority is set higher than 1 to 24n. 2
8 is a memory access control circuit. The memory access control circuit 28 outputs a memory start signal or a refresh start signal to the main memory 22 in accordance with the output of the priority processing circuit 27.
control.
29はリフレツシユ受付け信号線である。この
リフレツシユ受付け信号線29を介してCPU2
1(内の優先処理回路27)から出力される上記
リフレツシユ受付け信号RACKが各アクテイブモ
ジユール241〜24nに共通に入力される。 29 is a refresh acceptance signal line. The CPU 2
The refresh acceptance signal RACK output from the priority processing circuit 27 of the active modules 24 1 to 24 n is commonly input to each of the active modules 24 1 to 24 n.
次に第7図を参照して本発明の情報処理装置の
要部の具体的構成を説明する。なお、各アクテイ
ブモジユール241〜24nの内部構成は基本的
に同一であるため、アクテイブモジユール24n
について図示し、他のモジユールについては図示
並びに説明を省略する。図中31はメモリアドレ
スバス、32はメモリデータバスである。メモリ
バス25はメモリアドレスバス31とメモリデー
タバス32とから成つている。33はCPU21
内に設けられ、メモリアドレスが保持されるアド
レスレジスタである。34はアドレスレジスタ3
3の保持内容をメモリアドレスバス31上へ出力
する出力ゲート、35は入力ゲートである。メモ
リアドレスバス31上の情報は入力ゲート35を
通してCPU21に取り込まれる。36は出力ゲ
ート、37は入力ゲートである。出力ゲート36
はCPU21内に設けられ、図示せぬデータレジ
スタの保持内容をメモリデータバス32上へ出力
する。また、メモリデータバス32上の情報は入
力ゲート37を通してCPU21に取り込まれ
る。 Next, referring to FIG. 7, the specific configuration of the main parts of the information processing apparatus of the present invention will be explained. Note that since the internal configuration of each active module 24 1 to 24n is basically the same, the active module 24n
1, and illustration and description of other modules will be omitted. In the figure, 31 is a memory address bus, and 32 is a memory data bus. Memory bus 25 consists of a memory address bus 31 and a memory data bus 32. 33 is CPU21
This is an address register that is provided within the memory and stores memory addresses. 34 is address register 3
3 is an output gate that outputs the held contents of 3 onto the memory address bus 31, and 35 is an input gate. Information on the memory address bus 31 is taken into the CPU 21 through the input gate 35. 36 is an output gate, and 37 is an input gate. Output gate 36
is provided in the CPU 21 and outputs the contents held in a data register (not shown) onto the memory data bus 32. Further, information on the memory data bus 32 is taken into the CPU 21 through the input gate 37.
38,39はアクテイブモジユール24n内に
設けられる出力ゲート、40,41は同じく入力
ゲートである。出力ゲート38はたとえば主メモ
リ22に対するメモリアドレスをメモリアドレス
バス31上へ出力し、出力ゲート39はたとえば
主メモリ22に対する書込み情報をメモリデータ
バス32上へ出力する。一方、メモリアドレスバ
ス31上の情報は入力ゲート40を通してアクテ
イブモジユール24nに取り込まれ、メモリデー
タバス32上の情報は入力ゲート41を通してア
クテイブモジユール24nに取り込まれる。 Reference numerals 38 and 39 are output gates provided within the active module 24n, and 40 and 41 are input gates. Output gate 38 outputs, for example, a memory address for main memory 22 onto memory address bus 31, and output gate 39 outputs, for example, write information for main memory 22 onto memory data bus 32. On the other hand, the information on the memory address bus 31 is taken into the active module 24n through the input gate 40, and the information on the memory data bus 32 is taken into the active module 24n through the input gate 41.
42は折り返しゲートである。折り返しゲート
42は入力ゲート40を通してアクテイブモジユ
ール24n内に取り込まれた情報を出力ゲート3
9に折り返す。 42 is a turning gate. The return gate 42 transfers the information taken into the active module 24n through the input gate 40 to the output gate 3.
Turn back to 9.
43,44はオアゲートである。オアゲート4
3はたとえば図示せぬ制御記憶部より取り出され
るマイクロ命令に基づいて得られるゲート信号
と、優先処理回路27より出力される前記リフレ
ツシユ受付け信号RACKとのオアをとり、出力ゲ
ート34の開制御のためのコントロール信号を出
力する。同じくオアゲート44は或るマイクロ命
令に基づいて得られるゲート信号と、リフレツシ
ユ受付け信号RACKとのオアをとり、入力ゲート
37の開制御のためのコントロール信号を出力す
る。 43 and 44 are or gates. or gate 4
3 takes an OR between a gate signal obtained based on a microinstruction retrieved from a control storage unit (not shown) and the refresh acceptance signal RACK output from the priority processing circuit 27, and controls the opening of the output gate 34. Outputs the control signal. Similarly, the OR gate 44 performs an OR operation between a gate signal obtained based on a certain microinstruction and the refresh acceptance signal RACK, and outputs a control signal for controlling the opening of the input gate 37.
45は比較器である。比較器45はメモリアド
レスバス31上の情報の一部または全部と自モジ
ユールに固有な固有モジユール番号とを比較す
る。そして、比較器45は一致検出時に自モジユ
ールが選択されたことを示す選択信号SELを出力
する。本実施例においてアクテイブモジユールの
台数nが2N-1<n≦2N(Nは正の整数)である
場合、メモリアドレスバス31上の情報のたとえ
ば下位Nビツトを比較器46の一方の入力とする
ことが好ましい。 45 is a comparator. Comparator 45 compares part or all of the information on memory address bus 31 with a unique module number unique to its own module. Then, the comparator 45 outputs a selection signal SEL indicating that its own module has been selected when a match is detected. In this embodiment, when the number n of active modules is 2 N-1 <n≦2 N (N is a positive integer), the lower N bits of the information on the memory address bus 31 are transferred to one side of the comparator 46. It is preferable to use it as an input.
46はアンドゲートである。アンドゲート46
は選択信号SELとリフレツシユ受付け信号RACK
とを入力とし、(アクテイブな)選択信号SELが
入力されている期間中リフレツシユ受付け信号
RACKをそのまま出力する。47,48はオアゲ
ートである。オアゲート47はたとえば或るマイ
クロ命令に基づいて得られるゲート信号とアンド
ゲート46の出力とのオアをとり、入力ゲート4
0の開制御のためのコントロール信号を出力す
る。同じくオアゲート48は或るマイクロ命令に
基づいて得られるゲート信号とアンドゲート46
の出力とのオアをとり、出力ゲート39の開制御
のためのコントロール信号を出力する。また、折
り返しゲート42はアンドゲート46の出力に応
じて開制御される。49は比較器である。比較器
49はアドレスレジスタ33の保持内容と入力ゲ
ート37を介して入力される情報とを比較して一
致検出を行なう。 46 is an AND gate. and gate 46
are selection signal SEL and refresh acceptance signal RACK
is input, and the refresh acceptance signal is input during the period when the (active) selection signal SEL is input.
Output RACK as is. 47 and 48 are or gates. The OR gate 47 takes an OR between a gate signal obtained based on a certain microinstruction and the output of the AND gate 46, and outputs the input gate 4.
Outputs a control signal for 0 open control. Similarly, the OR gate 48 is a gate signal obtained based on a certain microinstruction and the AND gate 46.
A control signal for controlling the opening of the output gate 39 is output. Further, the folding gate 42 is controlled to open according to the output of the AND gate 46. 49 is a comparator. Comparator 49 compares the contents held in address register 33 and information input via input gate 37 to detect a match.
次に第5図乃至第7図の構成の動作を説明す
る。たとえば今、リフレツシユ制御回路26より
リフレツシユ動作要求信号REFが出力され、優
先処理回路27によつて要求が受付けられたもの
とする。この結果、優先処理回路27からリフレ
ツシユ受付け信号RACKが出力される。そして、
メモリアクセス制御回路28からリフレツシユス
タート信号が主メモリ22に出力され、リフレツ
シユアドレスカウンタ23で示されるリフレツシ
ユアドレス(行アドレス)の領域がリフレツシユ
される。このリフレツシユ動作の期間、従来例で
も説明したようにアクテイブモジユール241〜
24nからのメモリアクセス要求は受付けられ
ず、メモリバス25は完全に開放される。 Next, the operation of the configuration shown in FIGS. 5 to 7 will be explained. For example, assume that the refresh control circuit 26 outputs the refresh operation request signal REF and the priority processing circuit 27 accepts the request. As a result, the priority processing circuit 27 outputs a refresh acceptance signal RACK. and,
A refresh start signal is output from the memory access control circuit 28 to the main memory 22, and the area of the refresh address (row address) indicated by the refresh address counter 23 is refreshed. During this refresh operation, as explained in the conventional example, the active modules 24 1 -
No memory access request from 24n is accepted, and the memory bus 25 is completely released.
優先処理回路27から出力されているリフレツ
シユ受付け信号RACKはオアゲート43を介して
出力ゲート34のゲート端子に入力される。これ
により出力ゲート34は開制御され、その時点に
おけるアドレスレジスタ33の保持内容が出力ゲ
ート34を介してメモリアドレスバス31上へ出
力される。アドレスレジスタ33の保持内容はリ
フレツシユ受付け信号RACK(リフレツシユ制御
回路26のリフレツシユ要求)とは全く無関係で
あり、明らかにランダムデータである。このメモ
リアドレスバス31上の情報の下位Nビツトはア
クテイブモジユール24n内の比較器45の一方
の入力端に入力される。この比較器45の他方の
入力端には自モジユールに固有な固有モジユール
番号が入力されている。そして、比較器45によ
つて上記Nビツトの情報と固有モジユール番号と
が比較される。同様に、上記Nビツトの情報は他
のアクテイブモジユールの図示せぬ比較器にも共
通に入力され、各比較器によつて自身の固有モジ
ユール番号と比較される。 The refresh acceptance signal RACK output from the priority processing circuit 27 is input to the gate terminal of the output gate 34 via the OR gate 43. As a result, the output gate 34 is controlled to open, and the contents held in the address register 33 at that time are outputted onto the memory address bus 31 via the output gate 34. The contents held in the address register 33 are completely unrelated to the refresh acceptance signal RACK (refresh request from the refresh control circuit 26) and are clearly random data. The lower N bits of the information on the memory address bus 31 are input to one input terminal of a comparator 45 in the active module 24n. The other input terminal of the comparator 45 receives a unique module number unique to the own module. Then, the comparator 45 compares the N-bit information with the unique module number. Similarly, the N-bit information is commonly input to comparators (not shown) of other active modules, and each comparator compares it with its own unique module number.
そして、アクテイブモジユール24nの比較器
45によつて一致が検出されたものとする。この
結果比較器45より選択信号SELが出力される。
すなわち、アドレスレジスタ33のランダムな保
持内容の下位Nビツトによつて、アクテイブモジ
ユール24nがランダムに選択されたことにな
る。 It is assumed that a match is detected by the comparator 45 of the active module 24n. As a result, the comparator 45 outputs a selection signal SEL.
In other words, the active module 24n is randomly selected based on the lower N bits of the randomly held contents of the address register 33.
比較器45より出力された選択信号SELはアン
ドゲート46の一方の入力端子に入力される。こ
のアンドゲート46の他方の入力端子には前記リ
フレツシユ受付け信号RACKが入力されている。
アンドゲート46は選択信号SELが入力されてい
る期間中開状態となり、この期間中入力されるリ
フレツシユ受付け信号RACKはそのまま出力され
る。アンドゲート46を通して出力されるリフレ
ツシユ受付け信号RACKはオアゲート47を介し
て入力ゲート40のゲート端子に入力される。こ
れにより入力ゲート40は開制御され、メモリア
ドレスバス31上の情報が入力ゲート40を介し
てアクテイブモジユール24n内に取り込まれ
る。また、アンドゲート46を通して出力される
リフレツシユ受付け信号RACKは折り返しゲート
42のゲート端子にも入力される。これにより折
り返しゲート42は開制御され、入力ゲート40
を介してアクテイブモジユール24n内に取り込
まれた情報は出力ゲート39に折り返される。 The selection signal SEL output from the comparator 45 is input to one input terminal of the AND gate 46. The other input terminal of the AND gate 46 receives the refresh acceptance signal RACK.
The AND gate 46 remains open during the period when the selection signal SEL is input, and the refresh acceptance signal RACK input during this period is output as is. The refresh acceptance signal RACK outputted through the AND gate 46 is inputted to the gate terminal of the input gate 40 via the OR gate 47. As a result, the input gate 40 is controlled to open, and the information on the memory address bus 31 is taken into the active module 24n via the input gate 40. Further, the refresh acceptance signal RACK outputted through the AND gate 46 is also inputted to the gate terminal of the return gate 42. As a result, the return gate 42 is controlled to open, and the input gate 40
Information taken into the active module 24n via the output gate 39 is returned to the output gate 39.
アンドゲート46を通して出力されるリフレツ
シユ受付け信号RACKはオアゲート48を介して
出力ゲート39のゲート端子にも入力される。こ
れにより出力ゲート39は開制御され、折り返し
ゲート42で折り返された情報は出力ゲート39
を介してメモリデータバス32上へ出力される。
また、優先処理回路27より出力されるリフレツ
シユ受付け信号RACKはオアゲート44を介して
入力ゲート37のゲート端子にも入力される。こ
れにより入力ゲート37は開制御され、メモリデ
ータバス32上の情報が入力ゲート37を介して
CPU21内に取り込まれる。そして、CPU21
内に取り込まれた情報と、アドレスレジスタ33
の保持内容とが比較器49によつて比較される。 The refresh acceptance signal RACK outputted through the AND gate 46 is also inputted to the gate terminal of the output gate 39 via the OR gate 48 . As a result, the output gate 39 is controlled to open, and the information returned by the return gate 42 is transmitted to the output gate 39.
The data is output onto the memory data bus 32 via the memory data bus 32.
Further, the refresh acceptance signal RACK output from the priority processing circuit 27 is also input to the gate terminal of the input gate 37 via the OR gate 44. As a result, the input gate 37 is controlled to be open, and the information on the memory data bus 32 is transmitted through the input gate 37.
It is taken into the CPU 21. And CPU21
The information captured in the address register 33
The comparator 49 compares the held contents with the held contents.
明らかなように、メモリバス25(メモリアド
レスバス31とメモリデータバス32)をはじ
め、各出力ゲート34,39および各入力ゲート
37,40などが正常であればCPU21内に取
り込まれた情報とアドレスレジスタ33の保持内
容とは一致するはずである。したがつて、比較器
49の比較結果によつてメモリバス25等の診断
を行なうことができる。しかも、メモリバス25
の診断は、上述の如くリフレツシユ動作期間中す
なわちメモリバス25が必然的に開放される期間
中に行なわれるため、メモリバス25の効率が低
下する恐れはない。いいかえれば、本実施例によ
ればメモリバス25が遊んでいる無駄時間を有効
に活用してバス診断を行なうことができる。 As is clear, if the memory bus 25 (memory address bus 31 and memory data bus 32), each output gate 34, 39, each input gate 37, 40, etc. are normal, the information and address taken into the CPU 21 The contents held in the register 33 should match. Therefore, the memory bus 25 and the like can be diagnosed based on the comparison result of the comparator 49. Moreover, memory bus 25
As described above, since the diagnosis is performed during the refresh operation period, that is, during the period when the memory bus 25 is inevitably released, there is no fear that the efficiency of the memory bus 25 will decrease. In other words, according to this embodiment, bus diagnosis can be performed by effectively utilizing the wasted time when the memory bus 25 is idle.
また、本実施例によれば、たとえばパリテイチ
エツク方式によるデータチエツクと異なり、デー
タの全ビツトが1対1で直接比較されるため、バ
スデータの完全性を確実に検出することができ
る。しかも、診断データとしてのアドレスレジス
タ33の保持内容は完全なランダムデータであ
り、極めて信頼性の高いバス診断(データの完全
性の検出)ができる。更にランダムデータ(診断
データ)が特別のハードウエアおよびソフトウエ
アなどを用いずに得ることができるため、極めて
安価にバス診断を行なうことができる。 Further, according to this embodiment, unlike a data check using a parity check method, for example, all bits of data are directly compared on a one-to-one basis, so that the integrity of bus data can be reliably detected. Furthermore, the content held in the address register 33 as diagnostic data is completely random data, allowing extremely reliable bus diagnosis (detection of data integrity). Furthermore, since random data (diagnosis data) can be obtained without using special hardware or software, bus diagnosis can be performed at extremely low cost.
更に本実施例によれば、上記ランダムデータ
(診断データ)の一部(もしくは全部)を診断対
象となるアクテイブモジユールを選択するための
情報(モジユール番号情報)としているので、特
別のモジユール番号情報発生手段およびモジユー
ル番号情報線などを必要とせず、より一層安価に
バス診断を行なうことができる。しかも前述した
ように診断データとしてのアドレスレジスタ33
の保持内容は完全なランダムデータであり、した
がつてモジユール選択が極めてランダムに行なう
ことができ、より信頼性の高いバス診断(データ
の完全性の検出)ができる。 Furthermore, according to this embodiment, a part (or all) of the random data (diagnosis data) is used as information (module number information) for selecting an active module to be diagnosed, so special module number information Bus diagnosis can be performed at a lower cost without requiring a generating means or a module number information line. Moreover, as mentioned above, the address register 33 serves as diagnostic data.
The contents held by the bus are completely random data, so module selection can be performed extremely randomly, and more reliable bus diagnosis (detection of data integrity) can be performed.
なお、前記実施例では、アドレスレジスタ33
の保持内容を診断データとした場合について説明
したが、図示せぬデータレジスタの保持内容を診
断データとして用いても同様の効果を得ることが
できる。この場合、データの動きは前記実施例と
逆になるため、折り返しゲート42の向きなどを
変える必要がある。また折り返しゲートとして双
方向性のゲートを用いるようにしてもよく、こう
することにより双方向のデータチエツクが可能と
なる。また、メモリバスがDMA(ダイレクト・
メモリ・アクセス)バスであつても同様に実施で
きる。更に、前記実施例では、バス診断タイミン
グを与えるものとして優先処理回路27から出力
されるリフレツシユ受付け信号RACKを用いた
が、これに限らずリフレツシユ動作期間中に出力
されるタイミング信号であればよい。 Note that in the above embodiment, the address register 33
Although the case has been described in which the contents held in a data register (not shown) are used as diagnostic data, the same effect can be obtained even if the contents held in a data register (not shown) are used as diagnostic data. In this case, since the movement of data is opposite to that of the previous embodiment, it is necessary to change the direction of the folding gate 42, etc. Furthermore, a bidirectional gate may be used as the folding gate, thereby enabling bidirectional data checking. Also, the memory bus is DMA (direct)
This can be similarly implemented using a memory access (memory access) bus. Further, in the embodiment described above, the refresh acceptance signal RACK outputted from the priority processing circuit 27 is used as the bus diagnostic timing, but the present invention is not limited to this, and any timing signal that is outputted during the refresh operation period may be used.
以上詳述したように本発明の情報処理装置によ
れば、極めて簡単な構成でかつシステム効率を低
下することなく信頼性の高いバス診断が行なえ
る。 As described in detail above, according to the information processing apparatus of the present invention, highly reliable bus diagnosis can be performed with an extremely simple configuration and without reducing system efficiency.
第1図および第2図は従来の情報処理装置の概
略構成を示すブロツク図、第3図および第4図は
それぞれ第1図および第2図の特徴を説明するた
めのタイミングチヤート、第5図は本発明の情報
処理装置の一実施例を示す概略構成図、第6図は
上記実施例における優先処理回路の機能説明図、
第7図は上記実施例の要部構成を具体的に示すブ
ロツク図である。
1,12,22……主メモリ、2,11,26
……リフレツシユ制御回路、3,15,21……
中央処理装置(CPU)、4,13,25……メモ
リバス、51〜5n,141〜14n,241〜
24n……アクテイブモジユール、6,16,2
8……メモリアクセス制御回路、29……リフレ
ツシユ受付け信号線、33……アドレスレジス
タ、34,36,38,39……出力ゲート、3
5,37,40,41……入力ゲート、42……
折り返しゲート、45,49……比較器。
1 and 2 are block diagrams showing a schematic configuration of a conventional information processing device, FIGS. 3 and 4 are timing charts for explaining the features of FIGS. 1 and 2, respectively, and FIG. 5 is a schematic configuration diagram showing one embodiment of the information processing device of the present invention, FIG. 6 is a functional explanatory diagram of the priority processing circuit in the above embodiment,
FIG. 7 is a block diagram specifically showing the main structure of the above embodiment. 1, 12, 22...Main memory, 2, 11, 26
...Refresh control circuit, 3, 15, 21...
Central processing unit (CPU), 4, 13, 25...Memory bus, 5 1 ~ 5n, 14 1 ~ 14n, 24 1 ~
24n...Active module, 6, 16, 2
8...Memory access control circuit, 29...Refresh acceptance signal line, 33...Address register, 34, 36, 38, 39...Output gate, 3
5, 37, 40, 41...input gate, 42...
Return gate, 45, 49... comparator.
Claims (1)
を備えた主メモリと、固有のモジユール番号が割
付けられ、この主メモリをアクセスする1台以上
のアクテイブモジユールと、このアクテイブモジ
ユールと同レベルに位置付けられているリフレツ
シユ制御回路および、このリフレツシユ制御回路
から出されるリフレツシユ要求と上記アクテイブ
モジユールから出されるメモリアクセス要求とに
基づいてあらかじめ定められた優先度に従つて上
記主メモリに対する要求の受付けを行なうメモリ
アクセス制御回路を備えた中央処理装置と、この
中央処理装置および上記アクテイブモジユールと
上記主メモリとを接続するためのメモリバスと、
上記リフレツシユ制御回路によつてリフレツシユ
要求が受付けられた場合に、その時点における上
記中央処理装置内のアドレスレジスタもしくはデ
ータレジスタの保持内容を上記メモリバス上に出
力する出力手段と、上記メモリバス上の情報の一
部もしくは全部と上記アクテイブモジユールのモ
ジユール番号とを比較し、一致がとれたアクテイ
ブモジユールを選択する選択手段と、上記リフレ
ツシユ制御回路によつてリフレツシユ要求が受付
けられた場合に、上記選択手段によつて選択され
たアクテイブモジユールで上記メモリバス上の情
報を折り返す折り返し手段と、この折り返された
情報を上記メモリバスを経由して上記中央処理装
置に転送する転送手段と、この転送された情報と
上記アドレスレジスタもしくは上記データレジス
タの保持内容との一致検出を行なう検出手段とを
具備することを特徴とする情報処理装置。1 A main memory with dynamic random access memory and one or more active modules that access this main memory, assigned a unique module number, and located at the same level as this active module. A refresh control circuit, and a memory access control for accepting requests to the main memory according to a predetermined priority based on a refresh request issued from the refresh control circuit and a memory access request issued from the active module. a central processing unit having a circuit; a memory bus for connecting the central processing unit, the active module, and the main memory;
an output means for outputting the contents held in an address register or a data register in the central processing unit at that time onto the memory bus when a refresh request is accepted by the refresh control circuit; a selection means for comparing part or all of the information with the module number of the active module and selecting an active module with a match; and when the refresh request is accepted by the refresh control circuit, the a return means for returning the information on the memory bus to the active module selected by the selection means; a transfer means for transferring the returned information to the central processing unit via the memory bus; 1. An information processing apparatus comprising: detecting means for detecting a match between the stored information and the contents held in the address register or the data register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6364080A JPS56159746A (en) | 1980-05-14 | 1980-05-14 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6364080A JPS56159746A (en) | 1980-05-14 | 1980-05-14 | Information processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56159746A JPS56159746A (en) | 1981-12-09 |
| JPS6238742B2 true JPS6238742B2 (en) | 1987-08-19 |
Family
ID=13235149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6364080A Granted JPS56159746A (en) | 1980-05-14 | 1980-05-14 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS56159746A (en) |
-
1980
- 1980-05-14 JP JP6364080A patent/JPS56159746A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56159746A (en) | 1981-12-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4449183A (en) | Arbitration scheme for a multiported shared functional device for use in multiprocessing systems | |
| US4172282A (en) | Processor controlled memory refresh | |
| US5265231A (en) | Refresh control arrangement and a method for refreshing a plurality of random access memory banks in a memory system | |
| US5201036A (en) | Data processor having wait state control unit | |
| JP2002366444A (en) | System and method for correcting soft errors in a random access memory device | |
| EP0321628B1 (en) | Shared memory interface for a data processing system | |
| US6272583B1 (en) | Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths | |
| JP3092566B2 (en) | Memory control method using pipelined bus | |
| JPS6027051B2 (en) | Access time reduction device for random access storage devices | |
| US6567908B1 (en) | Method of and apparatus for processing information, and providing medium | |
| JPS62120574A (en) | Vector processor | |
| US4040122A (en) | Method and apparatus for refreshing a dynamic memory by sequential transparent readings | |
| JPH0721114A (en) | Shared memory controller for multiprocessor system | |
| US5680591A (en) | Method and apparatus for monitoring a row address strobe signal in a graphics controller | |
| JPS6238742B2 (en) | ||
| JPH1091471A (en) | Integrated digital processing device and operation test method thereof | |
| JPS6238741B2 (en) | ||
| US6701398B1 (en) | Global bus synchronous transaction acknowledge with nonresponse detection | |
| JP3629056B2 (en) | Memory chip expansion control method and apparatus for random access memory | |
| US12224030B2 (en) | Memory system | |
| JP2913099B2 (en) | DRAM refresh device | |
| JPH0140432B2 (en) | ||
| JP2853555B2 (en) | Storage controller | |
| JPH06325570A (en) | Dynamic memory refresh circuit | |
| JP2628588B2 (en) | DRAM refresh circuit |