JPS6238741B2 - - Google Patents

Info

Publication number
JPS6238741B2
JPS6238741B2 JP55063639A JP6363980A JPS6238741B2 JP S6238741 B2 JPS6238741 B2 JP S6238741B2 JP 55063639 A JP55063639 A JP 55063639A JP 6363980 A JP6363980 A JP 6363980A JP S6238741 B2 JPS6238741 B2 JP S6238741B2
Authority
JP
Japan
Prior art keywords
memory
refresh
gate
bus
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
Application number
JP55063639A
Other languages
Japanese (ja)
Other versions
JPS56159745A (en
Inventor
Shinji Nishibe
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP6363980A priority Critical patent/JPS56159745A/en
Publication of JPS56159745A publication Critical patent/JPS56159745A/en
Publication of JPS6238741B2 publication Critical patent/JPS6238741B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection 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/221Detection 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)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To diagnose a memory bus, etc., in a refresh operation period, by providing a CPU with a priority processing circuit. CONSTITUTION:A refresh control circuit 26 outputs a refresh operation request signal REF to a main memory 22, composed of elements DRAM, at constant intervals. This signal has higher priority than memory access request signals outputted from active modules 241-24n. Once the signal REF is accepted by a priority processing circuit 27, a memory access control circuit 28 outputs a refresh start signal to the main memory 22, which is returned by modules 241-24n via a refresh acceptance signal line 29. In a CPU21, on the other hand, the contents of an address register are held and also sent out to modules 241-24n via a memory bus 25 to be returned there. The CPU compares the returned contents with the previoulsy held contents of the register to diagnose a bus.

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に接続されるチヤネルなどのアクテイブモジユ
ール5〜5nからメモリアクセス要求信号
REQ1〜REQnが出力された場合、メモリアクセ
ス制御回路6によつてあらかじめ定められた優先
度に従つて要求の受付けが行なわれる。そして、
要求が受付けられたアクテイブモジユールから主
メモリ1に対し、メモリバス4を通してアドレス
情報等が転送される。この場合、アクテイブモジ
ユールからのアクセスに対する主メモリ1の応答
は、リフレツシユ制御回路2によるリフレツシユ
動作のために非同期となる。このため制御が複
雑、すなわちメモリアクセス制御回路6の構成が
複雑となる欠点があつた。なお、第1図の構成で
は、アクテイブモジユール5〜5nによるアク
セスがリフレツシユ動作と競合する場合、第3図
に示されるようにアクテイブモジユール(図では
アクテイブモジユール5)のメモリバス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に接続されるチヤネルなどのアクテイブ
モジユール14〜14nからの各メモリアクセ
ス要求信号REQ1〜REQnに基づき、あらかじめ
定められた優先度に従つてCPU15内のメモリ
アクセス制御回路16により要求の受付けが行な
われる。この場合、上述の如くリフレツシユ制御
回路11はアクテイブモジユール14〜14n
と同様のモジユールとみなされているため(ただ
し優先度は最も高い)、アクテイブモジユール1
〜14nからのアクセスに対する主メモリ1
2の応答は同期型となる。したがつて第2図の情
報処理装置では、メモリアクセス制御回路16の
構成が簡単になる利点があつた。しかしながら、
第2図の構成では、リフレツシユ制御回路11の
リフレツシユ要求に応じてリフレツシユ動作が行
なわれた場合、アクテイブモジユール14〜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. 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 - REQ 1 - from active modules 14 1 - 14 n such as channels connected to the memory bus 13 are transmitted. Based on REQn, 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 occupied 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 has been 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 released. The objective is to provide an information processing device that can

本発明の他の目的は、バス診断時におけるアド
レスレジスタもしくはデータレジスタの保持内容
を診断データとすることによつて、特別のハード
ウエアおよびソフトウエアなどを必要とせずにデ
ータのランダム性が確保でき、もつて効率のよい
バス診断を図ることにある。
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. The aim is to achieve efficient bus diagnosis.

以下、本発明の一実施例を図面を参照して説明
する。第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.

24〜24nはたとえばチヤネルなどのアク
テイブモジユール、25はこのアクテイブモジユ
ール24〜24nと、CPU21と、主メモリ
22とを接続するためのメモリバスである。26
はリフレツシユ制御回路である。リフレツシユ制
御回路26は主メモリ22のデータ保持のために
一定期間内にリフレツシユ動作要求信号REFを
出力する。リフレツシユ制御回路26は主メモリ
22に対して周知のようにアクテイブモジユール
24〜24nと同レベルに位置付けられてい
る。すなわち、アクテイブモジユール24〜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はアクテイブモジユール24〜24nから
出力されるメモリアクセス要求信号REQ1
REQnと、リフレツシユ制御回路26から出力さ
れるリフレツシユ動作要求信号REFとに基づい
て、あらかじめ定められた優先度に従つて要求の
受付けを行なう。優先処理回路27は要求を受付
けた場合、たとえば第6図に示されるようにその
受付け先のモジユール番号情報を出力する一方、
受付け相手がリフレツシユ制御回路26である場
合、リフレツシユ受付け信号RACKを出力する。
なお、優先処理回路27において、リフレツシユ
制御回路26は一般にアクテイブモジユール24
〜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が各アクテイブモ
ジユール24〜24nに共通に入力される。ま
た、30はモジユール番号線である。このモジユ
ール番号線30を介してCPU21の後述するモ
ジユール番号カウンタから出力されるモジユール
番号情報が各アクテイブモジユール24〜24
nに共通に入力される。
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. Further, 30 is a module number line. Module number information output from a module number counter (described later) of the CPU 21 via this module number line 30 is transmitted to each active module 24 1 to 24 .
Commonly input to n.

次に第7図を参照して本発明の情報処理装置の
要部の具体的構成を説明する。なお、各アクテイ
ブモジユール24〜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 in 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の内容によつてアクテイブモジユール
24〜24nを指定するモジユール番号が示さ
れる。このカウンタ45はたとえば優先処理回路
27から出力されるリフレツシユ受付け信号
RACKの後縁によつてカウント更新される。カウ
ンタ45の内容すなわちモジユール番号情報は、
モジユール番号線30を介して各アクテイブモジ
ユール24〜24nに共通に入力される。46
は比較器である。比較器46はモジユール番号線
30を介して入力される上記モジユール番号情報
と図示せぬレジスタに保持されている自モジユー
ルに固有な固有モジユール番号とを比較し、一致
検出時に自モジユールが選択されたことを示す選
択信号SELを出力する。
45 is a module number counter. The contents of this counter 45 indicate module numbers that designate the active modules 24 1 to 24 n. This counter 45 receives, for example, a refresh acceptance signal output from the priority processing circuit 27.
The count is updated by the trailing edge of RACK. The contents of the counter 45, that is, module number information, are as follows:
It is commonly input to each active module 24 1 to 24 n via a module number line 30 . 46
is a comparator. The comparator 46 compares the module number information inputted through the module number line 30 with a unique module number unique to the own module held in a register (not shown), and when a match is detected, the own module is selected. A selection signal SEL indicating this is output.

47はアンドゲートである。アンドゲート47
は選択信号SELとリフレツシユ受付け信号RACK
とを入力とし、(アクテイブな)選択信号SELが
入力されている期間中リフレツシユ受付け信号
RACKをそのまま出力する。48,49はオアゲ
ートである。オアゲート48はたとえば或るマイ
クロ命令に基づいて得られるゲート信号とアンド
ゲート47の出力とのオアをとり、入力ゲート4
0の開制御のためのコントロール信号を出力す
る。同じくオアゲート49は或るマイクロ命令に
基づいて得られるゲート信号とアンドゲート47
の出力とのオアをとり、出力ゲート39の開制御
のためのコントロール信号を出力する。また、折
り返しゲート42はアンドゲート47の出力に応
じて開制御される。50は比較器である。比較器
50はアドレスレジスタ33の保持内容と入力ゲ
ート37を介して入力される情報とを比較して一
致検出を行なう。
47 is an AND gate. and gate 47
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. 48 and 49 are or gates. The OR gate 48 takes an OR between a gate signal obtained based on a certain microinstruction and the output of the AND gate 47, and outputs the input gate 4.
Outputs a control signal for 0 open control. Similarly, the OR gate 49 is a gate signal obtained based on a certain microinstruction and the AND gate 47.
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 47. 50 is a comparator. The comparator 50 compares the contents held in the address register 33 and the information inputted through the input gate 37 to detect a match.

次に第5図乃至第7図の構成の動作を説明す
る。たとえば今、カウンタ45の内容がアクテイ
ブモジユール24nのモジユール番号に一致して
いるものとする。この場合、アクテイブモジユー
ル24n内の比較器46では一致が検出され、比
較器46より選択信号SELが出力される。このよ
うな状態において、リフレツシユ制御回路26よ
りリフレツシユ動作要求信号REFが出力され、
優先処理回路27によつて要求が受付けられたも
のとする。この結果、優先処理回路27からリフ
レツシユ受付け信号RACKが出力される。そし
て、メモリアクセス制御回路28からリフレツシ
ユスタート信号が主メモリ22に出力され、リフ
レツシユアドレスカウンタ23で示されるリフレ
ツシユアドレス(行アドレス)の領域がリフレツ
シユされる。このリフレツシユ動作の期間、従来
例でも説明したようにアクテイブモジユール24
〜24nからのメモリアクセス要求は受付けら
れず、メモリバス25は完全に開放される。
Next, the operation of the configuration shown in FIGS. 5 to 7 will be explained. For example, assume that the contents of the counter 45 match the module number of the active module 24n. In this case, the comparator 46 in the active module 24n detects a match, and the comparator 46 outputs a selection signal SEL. In this state, the refresh operation request signal REF is output from the refresh control circuit 26,
It is assumed that the request is accepted by the priority processing circuit 27. As a result, the priority processing circuit 27 outputs a refresh acceptance signal RACK. Then, 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 module 24
Memory access requests from 1 to 24n are not accepted, and the memory bus 25 is completely released.

優先処理回路27から出力されているリフレツ
シユ受付け信号RACKはオアゲート43を介して
出力ゲート34のゲート端子に入力される。これ
により出力ゲート34は開制御され、その時点に
おけるアドレスレジスタ33の保持内容が出力ゲ
ート34を介してメモリアドレスバス31上へ出
力される。アドレスレジスタ33の保持内容はリ
フレツシユ受付け信号RACK(リフレツシユ制御
回路26のリフレツシユ要求)とは全く無関係で
あり、明らかにランダダムデータである。
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.

また、上記リフレツシユ受付け信号RACKはア
ンドゲート47の一方の入力端子にも入力され
る。このアンドゲート47の他方の入力端子には
比較器46より出力される選択信号SELが入力さ
れている。アンドゲート47は選択信号SELが入
力されている期間中開状態となり、この期間中入
力されるリフレツシユ受付け信号RACKはそのま
ま出力される。アンドゲート47を通して出力さ
れるリフレツシユ受付け信号RACKはオアゲート
48を介して入力ゲート40のゲート端子に入力
される。これにより入力ゲート40は開制御さ
れ、メモリアドレスバス31上の情報が入力ゲー
ト40を介してアクテイブモジユール24n内に
取り込まれる。また、アンドゲート47を通して
出力されるリフレツシユ受付け信号RACKは折り
返しゲート42のゲート端子にも入力される。こ
れにより折り返しゲート42は開制御され、入力
ゲート40を介してアクテイブモジユール24n
内に取り込まれた情報は出力ゲート39に折り返
される。
Further, the refresh acceptance signal RACK is also input to one input terminal of the AND gate 47. The selection signal SEL output from the comparator 46 is input to the other input terminal of the AND gate 47. The AND gate 47 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 47 is inputted to the gate terminal of the input gate 40 via the OR gate 48 . 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 47 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 active module 24n is connected via the input gate 40.
The information taken in is returned to the output gate 39.

アンドゲート47を通して出力されるリフレツ
シユ受付け信号RACKはオアゲート49を介して
出力ゲート39のゲート端子にも入力される。こ
れにより出力ゲート39は開制御され、折り返し
ゲート42で折り返された情報は出力ゲート39
を介してメモリデータバス32上へ出力される。
また、優先処理回路27より出力されるリフレツ
シユ受付け信号RACKはオアゲート44を介して
入力ゲート37のゲート端子にも入力される。こ
れにより入力ゲート37は開制御され、メモリデ
ータバス32上の情報が入力ゲート37を介して
CPU21内に取り込まれる。そして、CPU21
内に取り込まれた情報と、アドレスレジスタ33
の保持内容とが比較器50によつて比較される。
The refresh acceptance signal RACK outputted through the AND gate 47 is also inputted to the gate terminal of the output gate 39 via the OR gate 49. 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 50 compares the contents held by the comparator 50 with the held contents.

明らかなように、メモリバス25(メモリアド
レスバス31とメモリデータバス32)をはじ
め、各出力ゲート34,39および各入力ゲート
37,40などが正常であればCPU21内に取
り込まれた情報とアドレスレジスタ33の保持内
容とは一致するはずである。したがつて、比較器
50の比較結果によつてメモリバス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 50. 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 based on a validity 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
の保持内容を診断データとした場合について説明
したが、図示せぬデータレジスタの保持内容を診
断データとして用いても同様の効果を得ることが
できる。この場合、データの動きは前記実施例と
逆になり、折り返しゲート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, the data movement will be opposite to that of the previous embodiment, and the direction of the folding gate 42 will need to be changed. Further, a bidirectional gate may be used as the return gate, thereby enabling bidirectional data checking. Furthermore, the same implementation is possible even if the memory bus is a DMA (direct memory access) bus. Furthermore, in the embodiment described above, the refresh acceptance signal RACK outputted from the priority processing circuit 27 is used as the bus diagnosis timing.
The timing signal is not limited to this, and any timing signal that is output 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.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図および第2図は従来の情報処理装置の概
略構成を示すブロツク図、第3図および第4図は
それぞれ第1図および第2図の特徴を説明するた
めのタイミングチヤート、第5図は本発明の情報
処理装置の一実施例を示す概略構成図、第6図は
上記実施例における優先処理回路の機能説明図、
第7図は上記実施例の要部構成を具体的に示すブ
ロツク図である。 1,12,22……主メモリ、2,11,26
……リフレツシユ制御回路、3,15,21……
中央処理装置(CPU)、4,13,25……メモ
リバス、5〜5n,14〜14n,24
24n……アクテイブモジユール、6,16,2
8……メモリアクセス制御回路、29……リフレ
ツシユ受付け信号線、30……モジユール番号
線、33……アドレスレジスタ、34,36,3
8,39……出力ゲート、35,37,40,4
1……入力ゲート、42……折り返しゲート、4
6,50……比較器。
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, 30...Module number line, 33...Address register, 34, 36, 3
8, 39...Output gate, 35, 37, 40, 4
1...Input gate, 42...Return gate, 4
6,50... Comparator.

Claims (1)

【特許請求の範囲】[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;
output means for outputting the content held in the address register or 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; selection means for selecting one of the memory buses; and return means for returning the information on the memory bus to the active module selected by the selection means when a refresh request is accepted by the refresh control circuit; a transfer means for transferring the returned information to the central processing unit via the memory bus; and a detection means for detecting a match between the transferred information and the contents held in the address register or the data register. An information processing device comprising:
JP6363980A 1980-05-14 1980-05-14 Information processor Granted JPS56159745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6363980A JPS56159745A (en) 1980-05-14 1980-05-14 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6363980A JPS56159745A (en) 1980-05-14 1980-05-14 Information processor

Publications (2)

Publication Number Publication Date
JPS56159745A JPS56159745A (en) 1981-12-09
JPS6238741B2 true JPS6238741B2 (en) 1987-08-19

Family

ID=13235120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6363980A Granted JPS56159745A (en) 1980-05-14 1980-05-14 Information processor

Country Status (1)

Country Link
JP (1) JPS56159745A (en)

Also Published As

Publication number Publication date
JPS56159745A (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
US4591977A (en) Plurality of processors where access to the common memory requires only a single clock interval
US4030075A (en) Data processing system having distributed priority network
US3995258A (en) Data processing system having a data integrity technique
US5201036A (en) Data processor having wait state control unit
US20020019911A1 (en) Distributed high-speed memory controller
JP3092566B2 (en) Memory control method using pipelined bus
JPH0721114A (en) Shared memory controller for multiprocessor system
US6529981B1 (en) Bus arbiter
GB1595471A (en) Computer system
JPS6238741B2 (en)
US6701398B1 (en) Global bus synchronous transaction acknowledge with nonresponse detection
JPH1091471A (en) Integrated digital processing device and operation test method thereof
JPS6238742B2 (en)
US12224030B2 (en) Memory system
JPH0140432B2 (en)
JPH09311812A (en) Microcomputer
US20010005870A1 (en) External bus control system
JPH09213072A (en) Dram refresh control system
KR950009071B1 (en) HiPi Bus Data Transfer Control
JP3145765B2 (en) Information processing device
JP3063501B2 (en) Memory access control method
JP2628588B2 (en) DRAM refresh circuit
JPH0440549A (en) Information processor
JPS598184A (en) Memory