Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5939052B2 - Information processing device and method - Google Patents
[go: Go Back, main page]

JPS5939052B2 - Information processing device and method - Google Patents

Information processing device and method

Info

Publication number
JPS5939052B2
JPS5939052B2 JP52028432A JP2843277A JPS5939052B2 JP S5939052 B2 JPS5939052 B2 JP S5939052B2 JP 52028432 A JP52028432 A JP 52028432A JP 2843277 A JP2843277 A JP 2843277A JP S5939052 B2 JPS5939052 B2 JP S5939052B2
Authority
JP
Japan
Prior art keywords
data
main memory
test
register
read
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
JP52028432A
Other languages
Japanese (ja)
Other versions
JPS53113446A (en
Inventor
文孝 佐藤
雅彦 岩根
正樹 村山
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 JP52028432A priority Critical patent/JPS5939052B2/en
Publication of JPS53113446A publication Critical patent/JPS53113446A/en
Priority to US06/115,368 priority patent/US4355389A/en
Publication of JPS5939052B2 publication Critical patent/JPS5939052B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は情報処理装置及び方法、具体的にはアドレス縮
退機能を有す故障検出及び方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing apparatus and method, and specifically to a failure detection and method having an address degeneration function.

近年、情報処理装置を利用したシステムがますます高度
化するにつれて、情報処理装置が万一故障した場合に及
ぼす影響はほとんど大きくなり、情報処理装置の高信頼
化が要求され、それが実現されてきている。しかし、高
信頼化がどれだけ進んでも故障の発生する確率を完全に
ゼロにするのは不可能であり、特に高い信頼度を必要と
する場合は処理装置を二重化して同じ仕事をさせ、それ
らの出力を比較するというようにして、システム稼動中
に万一故障が発生したら直ちにその故障を検出し、その
故障に対応する処理をとる等の対策を講じていた。そう
したシステム稼動中の故障検出法の1つとして、より安
価に実現されるものとしてテストプログラムの実行があ
る。
In recent years, as systems using information processing equipment have become more and more sophisticated, the impact of the failure of information processing equipment has become almost greater, and higher reliability of information processing equipment has been required, and this has not been achieved. ing. However, no matter how high reliability advances, it is impossible to completely reduce the probability of failure to zero. In cases where particularly high reliability is required, processing units may be duplicated to perform the same work. By comparing the outputs of the systems, if a failure should occur during system operation, the failure would be immediately detected and measures taken to deal with the failure. One of the methods for detecting failures during system operation that can be realized at a lower cost is the execution of a test program.

その中にもそのテストプログラムの格納場所として主記
憶装置を利用してテストプログラムを1つのジヨブとし
て実行するものとか、主記憶装置以外の記憶装置にテス
トプログラムを格納しておき、一定の時間毎に命令の処
理の切れ目にそのテストプログラムを割込ませて実行さ
せるもの等があつた。しかしながら主記憶装置にテスト
プログラムを格納する方式の欠点の1つはテストプログ
ラムがその情報処理装置のユーザの利用できる記憶容量
を一時的に減少させることであり、これを避ける為、又
テストをきめ細かく行える様にするためにマイクロプロ
グラムによるテストがよく行われる。
Among them, there are those that use the main memory as a storage location for the test program and execute the test program as one job, and those that store the test program in a storage device other than the main memory and run it at regular intervals. In some cases, the test program was executed by interrupting the processing of instructions. However, one of the disadvantages of storing test programs in the main memory is that the test programs temporarily reduce the storage capacity available to the user of the information processing device. Testing using microprograms is often performed to ensure that the program works properly.

又、これらのテストプログラムによる方式はテストプロ
グラムを実行するためにユーザのプログラム処理を一時
申断させる等の欠点を持つていた。これらの欠点を解決
するため、情報処理装置の遊休状態(アイドル)を利用
してマイクロプログラムによりテストを行なう方法、即
ち、ユーザが利用すべき情報処理資料をテストのために
消費せずに故障検出のためのテストを実行できる方法を
特願昭52−28433号(特開昭53一113447
号)として出願している。
Furthermore, these methods using test programs have drawbacks such as requiring the user to temporarily suspend program processing in order to execute the test program. In order to solve these shortcomings, we have developed a method that uses microprograms to perform tests using the idle state of information processing equipment. In other words, it is possible to detect failures without consuming information processing materials that should be used by users for testing. Japanese Patent Application No. 52-28433 (JP 53-113447
No.).

本願はそうしたマイクロプログラムによるテストの実行
法の改良に関するものであり、本願の目的から明らかに
していく。ここで、従来のテストプログラムによる検査
方法について簡単に述べる。
This application relates to an improvement in the test execution method using such a microprogram, and will be clarified based on the purpose of this application. Here, an inspection method using a conventional test program will be briefly described.

まず、テストの対象となるレジスタ・メモリを退避させ
る。この退避領域として主メモリが利用できるが、主記
憶装置以外の記憶装置にテストプログラムを入れて、マ
イクロ命令レベルでテストを実行する場合には、この退
避領域としてスクラツチパツドメモリがよく使われる。
そして後者の場合には1つの命令の処理を終えて次の命
令の処理を始める前の時点を選んでテストを実行する様
にして退避すべきレジスタ・メモリの数を減らしている
。(命令と命令との間ではいわゆるソフトウエアビジブ
ルレジスタのみが情報処理装置内部の状態を決める。他
の制御フリツプフロツプとかワーキングレジスタとかの
内容はその時点では常に一定の値をとつているかあるい
は、それらの内容がその後の情報処理装置の動作に何の
影響をも及ぼさない。)しかしながらスクラツチパツド
メモリの語数には制限があるので、主記憶の内容は当然
退避できず、主記憶の中の特定の1語乃至数語をテスト
対象として予め選定しておき、その1語乃至数語のみを
退避するか、又は主記憶に関係する部分は対象からはず
すとかテスト中はハードウエア的に主記憶インターフエ
ースが動かない様にして主記憶の記憶内容を?護する等
の手段をとつていた。
First, save the register memory to be tested. Main memory can be used as this save area, but when a test program is stored in a storage device other than main memory and tests are executed at the microinstruction level, scratchpad memory is often used as this save area. .
In the latter case, the number of registers and memories to be saved is reduced by selecting a point in time to execute the test after completing the processing of one instruction and before starting the processing of the next instruction. (Between instructions, only the so-called software visible registers determine the internal state of the information processing device.The contents of other control flip-flops and working registers always take a constant value at that point, or they (The contents have no effect on the subsequent operation of the information processing device.) However, since there is a limit to the number of words in scratchpad memory, the contents of main memory cannot be saved; Select one or several words as the test target in advance, and save only that one or several words, or exclude parts related to main memory from the test, or use hardware to interface with the main memory during the test. What about the contents of main memory so that Ace doesn't move? He took measures to protect them.

この主記憶の記憶内容を保護する様にした場合に主記憶
を読もうとするとその記憶保護の実現の方法によつて、
イ.エラーとなるもの 口.固定値(例えばゼロ)が読み出されたかの如くする
ものハ.最後に読出し又は書込みを行つた内容が読み出
されるもの等があつた。
If the contents of the main memory are protected, when you try to read the main memory, depending on the method of memory protection,
stomach. Something that causes an error. Something that makes it appear as if a fixed value (for example, zero) has been read.c. In some cases, the last read or written content was read out.

しかしながら前記主記憶の中の特定の1語乃至数語を退
避しておく方法の欠点としては、アドレスを自由に設定
してテストすることが出来ないので、テストを十分に行
えないという点にある。
However, the disadvantage of the above-mentioned method of saving one or more specific words in the main memory is that it is not possible to test by setting the address freely, so it is not possible to perform tests sufficiently. .

主記憶を使用しない様にしてテストしようとすると、主
記憶のまわりにテストできない部分が残つてしまう。回
路の細部までマイクロプログラムで制御する情報処理装
置の場合は、このテストできない部分はかなり小さくで
きるのであまり問題はないが、大きな単位の仕事をマイ
クロ命令で指示し、あとはハードワイアード制御として
主記憶装置へアクセスする様な場合には、この方法では
大きな部分がテストできないで残ることになりがちで問
題である。更に、前記インターフエースを動かない様に
した場合の問題点としては、「情報処理装置内の各部分
のテストをするために、主記憶装置が正常に動作して任
意のデータの読出し又は書込みをしている状態」を自由
にシユミレートできない点にある。
If you try to test without using the main memory, parts of the main memory that cannot be tested will remain. In the case of information processing equipment where every detail of the circuit is controlled by microprograms, this untestable part can be made quite small, so there is not much of a problem. When accessing a device, this method tends to leave a large portion untested, which is a problem. Furthermore, the problem with disabling the interface is that ``In order to test each part within the information processing device, it is necessary to ensure that the main memory is operating normally and reading or writing any data is not possible. The problem lies in the fact that it is not possible to freely simulate the state in which one is doing something.

次にテストに先立つてテストデータの設定をする必要が
ある。
Next, it is necessary to set the test data before testing.

[あるレジスタと主記憶装置100番地の内容とを加え
る」という動作を実行させてその結果を調べることによ
つて、加算器、オペランドレジスメ及びその周辺回路が
正しく動作するのを確認することを目的とするテストを
例にとり考えると、そのレジスタ及び主記憶装置の10
0番地の内容はテストに先立つてある予じめ決められた
値に設定されていなければならない。
By executing the operation ``adding the contents of a certain register and the contents of address 100 in main memory'' and examining the results, it is possible to confirm that the adder, operand register, and their peripheral circuits operate correctly. Taking the target test as an example, the registers and main memory 10
The contents of address 0 must be set to some predetermined value prior to testing.

従来はこうした番地にはその内容を退避した後テストプ
ログラムの中でテストに先立つてテストデータを書込ん
でいたものである。一方、バツフアメモリの如く主記憶
の記憶内容の写しを持つているメモリはテストにあたつ
てその内容をこわしてしまつて、記憶内容が空である状
態にしておけば論理的には正しく動作する。
Conventionally, test data was written to such addresses prior to testing in the test program after the contents were saved. On the other hand, a memory such as a buffer memory which has a copy of the contents of the main memory will logically operate correctly if its contents are destroyed during the test and the memory contents are left empty.

しかしながらそれはテストの後に実行されるユーザの情
報処理の効率を落すことになるので好ましくはなく、従
来は主記憶と共に退避させていたものである。本発明は
上記欠点に鑑みてなされたものであり、システム稼動中
に行う故障検出のテストのために要する各種メモリの記
憶容量を減らし且つテストに要する時間を短縮した情報
処理装置を提供することを目的とする。
However, this is not preferable because it reduces the efficiency of the user's information processing performed after the test, and conventionally, the data has been saved together with the main memory. The present invention has been made in view of the above drawbacks, and it is an object of the present invention to provide an information processing device that reduces the storage capacity of various memories required for failure detection tests performed during system operation and shortens the time required for testing. purpose.

即ち、故障検出の前後において、ユーザからみえる装置
内部の状態の連続性を惺ち、且つテストのために必要と
される装置内部の状態の初期化(テストデータの設定)
を行う改良された手段を提供するものである。又他の目
的としてはシステム稼動中のテストのために必要とされ
る主記憶装置のデータ保護、及びテストのために用いる
主記憶装置内へのテストデータの設定という2つの機能
を効率よく果す手段を提供することである。
That is, before and after failure detection, the continuity of the internal state of the device visible to the user is maintained, and the internal state of the device required for testing is initialized (setting of test data).
The present invention provides an improved means for performing the following steps. Another purpose is to efficiently fulfill the two functions of protecting data in the main memory required for testing during system operation and setting test data in the main memory used for testing. The goal is to provide the following.

又、更に他の目的は、バツフアメモリとか、ページング
用連想メモリ等主記憶上の情報の一部の写しをもつてい
る場合のそれらのテスト中の扱いを統一的簡明にし、且
つ情報処理能力の低下を併わない改良された手段を提供
することにある。又、上記に関連して異常時動作用処理
回路のテストを簡単にした手段を提供することも目的と
する。以下、図面を用いて本発明に関し詳細に説明する
Another purpose is to unify and simplify the handling of buffer memory, paging associative memory, etc. during testing when a copy of part of the information in main memory is available, and to prevent a decline in information processing ability. The objective is to provide an improved means that does not involve In connection with the above, another object of the present invention is to provide means for simplifying testing of a processing circuit for abnormal operation. Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明において用いる中央処理装置(以下CP
Uという)の主要部のみを示した概略構成図である。
Figure 1 shows the central processing unit (hereinafter referred to as CP) used in the present invention.
FIG.

図において、命令語処理ユニツト1は実行すべき命令語
を逐次とり出して解読し、アドレス計算ユニツト2にオ
ペランドアドレスを計算させるものである。
In the figure, an instruction processing unit 1 sequentially extracts and decodes instructions to be executed, and causes an address calculation unit 2 to calculate operand addresses.

そのオペランドアドレスは主記憶インターフエースユニ
ツト3に与えられ、オペランドが読み出されて、演算ユ
ニツト4内のオペランドレジスタRDに入れられる。演
算ユニツト4の内部構成は本発明とは直接関係しないた
め図示しない。但し、演算ユニツト4の重要なデータ入
力、出力の様子を象徴的に表わすため、前記オペランド
レジスタRDと演算論理ユニツトALUだけは示されて
いる。一方、主記憶インターフエースユニツト3内には
バツフアメモリ11を持つ場合と持たない場合とがある
The operand address is given to the main memory interface unit 3, and the operand is read and placed in the operand register RD in the arithmetic unit 4. The internal structure of the arithmetic unit 4 is not shown because it is not directly related to the present invention. However, in order to symbolically represent important data input and output of the arithmetic unit 4, only the operand register RD and the arithmetic logic unit ALU are shown. On the other hand, the main memory interface unit 3 may or may not have a buffer memory 11.

又、主記憶インターフエースユニツト3内には主記憶装
置5と接続されるためのポート12と呼ぶ部分を持つて
いる。ポート12は主記憶装置5に対して1個ずつ存在
し、2つに限定されない。又、実際にはチヤネル装置と
か、マルチプロセツサ構成システムで他のCPU等から
の主記憶アクセス要求もあるので、ポート12と主記憶
装置5との間にはシステムコントロールユニツトを置い
て各装置からの主記憶アクセス要求のマルチプレクシン
グをさせている。そしてボート12は実際にはシステム
コントロールユニツトに対応して存在している。但し、
これは本発明とは直接的に関係を持たない為、システム
コントロールユニツトは図示されていない。第1図に示
されているCPUはマイクロプログラム制御方式をとつ
ている為、制御記憶ユニツト6からマイクロ命令語を受
けとるマイクロ命令レジスタ7があり、それがCPU内
各ユニツトを制御している。
The main memory interface unit 3 also has a portion called a port 12 for connection to the main memory device 5. There is one port 12 for each main storage device 5, and the number is not limited to two. In addition, in reality, there are main memory access requests from other CPUs in channel devices and multiprocessor configuration systems, so a system control unit is placed between the port 12 and the main memory device 5 to handle requests from each device. multiplexing of main memory access requests. The boat 12 actually exists in correspondence with the system control unit. however,
The system control unit is not shown since it is not directly relevant to the present invention. Since the CPU shown in FIG. 1 uses a microprogram control system, there is a microinstruction register 7 that receives microinstructions from the control storage unit 6, which controls each unit in the CPU.

ただ、命令語処理ユニツ口、アドレス計算ユニツト2、
主記憶インターフエースユニツト3等は定形的処理をす
ることが多いので、例外的処理を要求する場合を除いて
マイクロプログラムからは大きな単位としての仕事の始
動指令を与え、その後は各ユニツトのハードワイアード
制御ロジツクに従つて動作する様になつている。制鋪山
障ユニツト6の読み出しアドレスはシーケンス制御ユニ
ツト8から与えられる。該シーケンス制御ユニツト8に
はマイクロ命令や演算結果が与えられ、マイクロプログ
ラムが正しく予定された通りに実行される様制御記憶ユ
ニツト6の読出しアドレスを逐次制御記憶ユニツト6に
与えていく機能を有す。又、シーケンス制御ユニツト8
には命令語ユニツト1から次に実行すべき命令の命令コ
ードが与えられ、現在の命令処理のマイクロプログラム
が実行終了したら、次にはその命令コードに対応するマ
イクロプログラムを実行開始させる機能を持つ。システ
ム稼動中に行うテストもこのシーケンス制御ユニツトに
よつて実行開始させられる。第2図は、前記第1図にお
ける主記憶インターフエースュニツト3内のポート0の
部分を詳細に示したものであり、コマンド・アドレス・
データのそれぞれのレジスタ21,22,23が示され
ている。
However, the instruction word processing unit, address calculation unit 2,
Main memory interface unit 3 and other units often perform routine processing, so unless exceptional processing is requested, the microprogram gives a command to start work as a large unit, and then the hardware of each unit is It is designed to operate according to control logic. The read address of the mountain control unit 6 is given from the sequence control unit 8. The sequence control unit 8 is given micro-instructions and operation results, and has a function of sequentially giving the read address of the control memory unit 6 to the control memory unit 6 so that the microprogram is executed correctly and as scheduled. . In addition, the sequence control unit 8
is given the instruction code of the next instruction to be executed from instruction unit 1, and when the microprogram for processing the current instruction has finished executing, it has the function of starting execution of the microprogram corresponding to that instruction code. . Tests carried out during system operation are also started by this sequence control unit. FIG. 2 shows in detail the portion of port 0 in the main memory interface unit 3 in FIG.
Respective registers 21, 22, 23 of data are shown.

図において、コマンドとアドレスは一方向の転送のみし
か行なわれず、データに関してのみ両方向転送が可能で
ある。又、ポート12と主記憶装置5との間は両方向伝
送路で接続されている。主記憶装置5への書込みの際は
演算ユニツト4から送られて来たデータをデータレジス
タ23に入れ、又主記憶装置5の読出しの時には前記両
方向伝送路を介して主記憶装置5から送られてきたデー
タをデータレジスタ23へ設定する様データレジスタ2
3の前にはセレクタ24が置かれており、主記憶インタ
ーフエースユニツト3内のポート制御回路(後述する)
によつて他のポート内のレジスタと共に制御されている
。又、主記憶装置5に対する動作指令及びそれに対する
主記憶装置5の応答信号がポート12を介して送受され
ている。ここで動作指令とは、全ての主記憶装置5への
コマンド転送に必要とされる制御信号であり、この信号
がないと主記憶装置は動作不可能である。
In the figure, commands and addresses can only be transferred in one direction, and only data can be transferred in both directions. Further, the port 12 and the main storage device 5 are connected by a bidirectional transmission path. When writing to the main memory 5, the data sent from the arithmetic unit 4 is put into the data register 23, and when reading from the main memory 5, the data is sent from the main memory 5 via the bidirectional transmission path. Data register 2 sets the received data to data register 23.
A selector 24 is placed in front of the main memory interface unit 3, and a port control circuit (described later) in the main memory interface unit 3.
along with registers in other ports. Further, operation commands to the main memory device 5 and response signals from the main memory device 5 to the commands are sent and received via the port 12. Here, the operation command is a control signal required for transferring commands to all main storage devices 5, and without this signal, the main storage device cannot operate.

尚、24,25,26,27はドライバで、28はレシ
ーバであり、ポート1は図示されていないが、ポート0
と全く同一である。第3図は主記憶インタフエースユニ
ツト3内の一般的な構成を示すプロツク図である。
Note that 24, 25, 26, and 27 are drivers, 28 is a receiver, and port 1 is not shown, but port 0
is exactly the same. FIG. 3 is a block diagram showing the general configuration inside the main memory interface unit 3.

オペランド読出しのメモリアクセス指令が与えられると
、該当するアドレスがバツフアメモリ11に写しをとら
れているか否かアドレス比較回路(図示せず)によつて
調べられる。そしてアドレスが二致すれば、バッフアメ
モリ11VC蓄えられている該当アドレスの内容の写し
がオペランドとして直ちに演算ユニツト4に送られる訳
であり、バツフアメモリ制御回路32はポート制御回路
31へ何の指令も送らない。アドレスが不一致の場合に
はアドレス比較回路から一致信号が送られてこないので
、バッフアメモリ匍脚回路32ばミスヒットH信号をポ
ート制御回路31へ送る。主記憶装置5の該当アドレス
を読み出し、そのデータ読み出しが終るとポート制御回
路31はプロツクロード信号をバツフアメモリ制御回路
32に与える。バツフアメモリ制御回路32はその読み
出されたデータをオペランドとして演算ユニツト4へ渡
すと共にそのデータをバツフアメモリ11にも書込む。
又、ミスヒツトHの場合はオペランドが実際に得られる
までに時間がかかるので、ポート制御回路31から外部
(クロツクユニツト)へ停止信号を送り、その間CPU
の残りの部分の動作を止め、オペランドが主記憶装置5
から読み出されるのを持ちあわせている。一方、バツフ
アメモリ制御装置32にはモードレジスタ(図示してい
ないが、CPUの動作モードを決めるレジスタで、機械
語命令によつて読み書きできる。
When a memory access command for reading an operand is given, an address comparison circuit (not shown) checks whether the corresponding address has been copied to the buffer memory 11 or not. If the addresses match, a copy of the contents of the corresponding address stored in the buffer memory 11VC is immediately sent to the arithmetic unit 4 as an operand, and the buffer memory control circuit 32 does not send any command to the port control circuit 31. . If the addresses do not match, no match signal is sent from the address comparison circuit, so the buffer memory leg circuit 32 sends a miss-hit H signal to the port control circuit 31. The corresponding address of the main memory device 5 is read, and when the data reading is completed, the port control circuit 31 provides a block load signal to the buffer memory control circuit 32. The buffer memory control circuit 32 passes the read data to the arithmetic unit 4 as an operand, and also writes the data to the buffer memory 11.
In addition, in the case of a mishit H, it takes time until the operand is actually obtained, so a stop signal is sent from the port control circuit 31 to the outside (clock unit), and during that time the CPU
The operation of the remaining part of the operand is stopped, and the operand is stored in main memory 5.
It has the ability to be read from. On the other hand, the buffer memory control device 32 has a mode register (not shown, but this register determines the operating mode of the CPU, and can be read and written by machine language instructions).

)からバツフアメモリ使用禁止信号(使用禁止モード)
が送られるようになつており、この信号が出ているとバ
ツフアメモリ制御回路32はバツフアメモリ11の内部
状態を一切変化させず、且つ、バツフアメモリ11のバ
イパス信号をポート制御回路31へ送り、バツフアメモ
リが存在しない場合と全く同様にポート制御回路31が
動作する様にしている。尚、ポート制御回路31と各ポ
ート12の間では制御信号が各ポート毎に送受されてい
るものである。
) to buffer memory use prohibition signal (use prohibition mode)
is sent, and when this signal is output, the buffer memory control circuit 32 does not change the internal state of the buffer memory 11 at all, and sends a bypass signal of the buffer memory 11 to the port control circuit 31, indicating that the buffer memory is present. The port control circuit 31 is made to operate in exactly the same way as when it is not used. Note that control signals are transmitted and received between the port control circuit 31 and each port 12 for each port.

以上で本発明実施例において用いられるCpUの概略説
明を終り、以下本発明における実施例について述べる。
This concludes the general description of the CPU used in the embodiments of the present invention, and the embodiments of the present invention will be described below.

まず概略から述べる。本発明は主記憶装置の全番地がポ
ート内のデータレジスタに縮退してしまつたかの如く動
作させることによつて、主記憶装置の中の記憶内容をハ
ードウエア的に保護すること及び一連のテストを実施す
る為に事前に必要とされるテストデータの設定は上記デ
ータレジスタに1回行うだけで自由に任意の番地をアク
セスしたかの如く動作させてテストできる様にすること
を骨子としている。正確にはポートnを介してアクセス
される主記憶装置の全番地をそのポートnの中のデータ
レジスタに縮退させる様にしている。
First, I will give an overview. The present invention is to protect the contents of the main memory by hardware by operating as if all addresses in the main memory had been degenerated into data registers in the port, and to carry out a series of tests. The main idea is to set the test data required in advance in order to perform the test just once in the data register, and the test data can be operated and tested as if any address was freely accessed. More precisely, all addresses of the main memory device accessed through port n are degenerated into data registers within that port n.

主記憶装置のうちの現在よくアクセスされている部分の
写しをとつておき、以降のその部分へのアクセスは高速
に処理できる様にしようとして設けられているバツフア
メモリも主記憶と同じ様にその中のデータは保護されな
ければならない。
Buffer memory, which is provided to keep a copy of the currently frequently accessed part of the main memory so that subsequent accesses to that part can be processed at high speed, is similar to main memory. data must be protected.

これはバツフアメモリ使用禁止モードであるかの如く強
制することによつてバツフアメモリ内のデータの株護は
容易にできる。バツフアメモリ使用禁止モードにするこ
とによつてバツフアメモリ自体のテストが出来なくなつ
てしまうわけであるが、バツフアメモリ全体の中で大部
分を占めるメモリ素子(公知の如くディレクトリイ部分
、データ部分及びコントロールクラブ部分からなる。)
はパリテイチエツクされているので、メモリ素子部分は
本発明実施例においてはこのテストの故障検出対象とは
なつていない。残るバツフアメモリ関係のロジツクは比
較的少量であるので、従来通りの技法で、たまたま既に
バツフアメモリに入つている番地を読んで一致を確める
という手段、及び実行しようとする命令は本発明実施例
では必ずバツフアメモリに入ることになつていることを
利用して該当するバツフアメモリデイレクトリイを調べ
、その番号がデイレクトリイに入つていることを確認す
る手段によつてテストすることにより、要求される故障
検出率を得ている。要求される故障検出率の程度によつ
てはもつと簡単にすますこともできるし、制御関係ロジ
ツクの二重化を要することになる場合もある。次に第4
図を用いて本発明実施例につき詳細に説明する。
By forcing this mode as if it were a buffer memory use prohibition mode, the data in the buffer memory can be easily protected. By setting the buffer memory to disable mode, it becomes impossible to test the buffer memory itself, but the memory elements that occupy the majority of the entire buffer memory (as is well known, the directory area, data area, and control club area) )
Since the parity has been checked, the memory element portion is not subject to failure detection in this test in the embodiment of the present invention. Since the remaining buffer memory-related logic is relatively small, the method of reading an address that happens to already be in the buffer memory to confirm a match using the conventional technique and the instruction to be executed are not required in the embodiment of the present invention. The required failure can be detected by checking the corresponding buffer memory directory using the fact that the number is always stored in the buffer memory, and by testing by means of confirming that the number is in the directory. We are getting a detection rate. Depending on the degree of failure coverage required, this may be simple, or may require duplication of control-related logic. Then the fourth
Embodiments of the present invention will be described in detail with reference to the drawings.

まずアドレス縮退フリツプフロツプ41が設けられ、テ
ストプログラムの中で自由にセツト/りセツトできる様
にするため、アドレス縮限フリツプフロツプ41はマイ
クロ命令の制御でセツト/りセツトする様にしてある。
First, an address reduction flip-flop 41 is provided, and in order to be able to set/reset freely in a test program, the address reduction flip-flop 41 is set/reset under the control of a microinstruction.

又はテストプログラム開始に伴いセツトし、テストプロ
グラム実行終了に伴いりセツトする様にしてもよい。該
アドレス縮退フリツプフロップ41の出力は、バッフア
メモリ使用禁止モード信号と論理和をとるオアゲート4
2、及びインバータ43へ供給される。そしてそのオア
ゲート42の出力がバツフアメモリ使用禁止モード信号
の代りにバツフアメモリ制御回路44へ加えられる。ポ
ート制御回路45からクロツクユニツトへ行く停止信号
、及びポートO、ポート1へ行く動作指令信号のそれぞ
れにアンドゲート46,47,48が挿入され、それら
のアンドゲート46,47,48の他の入力には前記イ
ンバータ43の出力が印加される。以下、本発明実施例
の動作につき詳細に説明する。
Alternatively, it may be set at the start of the test program and set at the end of the test program execution. The output of the address degeneracy flip-flop 41 is connected to an OR gate 4 which is logically ORed with the buffer memory use prohibition mode signal.
2 and the inverter 43. The output of the OR gate 42 is then applied to the buffer memory control circuit 44 in place of the buffer memory use prohibition mode signal. AND gates 46, 47, and 48 are inserted into each of the stop signal going from the port control circuit 45 to the clock unit and the operation command signal going to port O and port 1. The output of the inverter 43 is applied to the input. Hereinafter, the operation of the embodiment of the present invention will be explained in detail.

まず、アドレス縮退フリツプフロツプ41がりセツトし
ている時、第4図の回路は第3図の回路と全く同様に働
くことは明らかである。
First, it is clear that the circuit of FIG. 4 works exactly the same as the circuit of FIG. 3 when address degeneration flip-flop 41 is reset.

次にアドレス縮退フリツプフロツプ41がセツトした場
合の動作につき説明する。
Next, the operation when the address degeneration flip-flop 41 is set will be explained.

まず、オアゲート42の働きにより、バツフアメモリ使
用禁止モード信号が゛1゛となつたかの如くバツフア制
御回路44が動作することになるので、前述の如くバツ
フアメモリ11の内容を一切変更しない様になり、バイ
パス信号がポート制御回路45へ送られる。従つてメモ
リアクセス指令が出るたびにあたかもバツフアメモリ1
1が存在しない場合であるかの如くポート制御回路45
は動作する。いま、メモリアクセス指令が主記憶装置5
のA番地へのデータ書込みを指示するものであつたとす
れば、与えられたアドレスの一部のビツトを見てポート
制御回路45はポートの選択を行う。仮にポート0が選
ばれたとする。ポート制御回路45から送られるポート
レジスタ制御信号の働きでポート0のコマンドレジスタ
21、アドレスレジスタ22、データレジスタ23にそ
れぞれコマンド、アドレス、データがロードされる。続
いてポート制御回路45はポート012を介して主記憶
装置5へ動作指令を送ろうとする。しかしながらインバ
ータ43の出力が゛O゛となつている為、アンドゲート
47,48の働きで、動作指令はポート12へ送られな
い。即ち、アドレス縮退フリツプフロツプ41がセツト
していることにより、主記憶装置5への書込み指令が出
ても実際に書込みは行われないことになり、アドレス縮
退フリツプフロツプ41がセツトすると主記憶装置5の
記憶内容が保護されることを意味する。前記A番地へ書
込むべく送られてきたデータはポート012のデータレ
ジスタ23内に残つている。次にB番地からのオペラン
ド読出しのメモリアクセス指令が与えられ、このB番地
もA番地同様にポート012を介してアクセスされるべ
き番地であるとする。
First, due to the action of the OR gate 42, the buffer control circuit 44 operates as if the buffer memory use prohibition mode signal had become "1", so that the contents of the buffer memory 11 are not changed at all as described above, and the bypass signal is sent to the port control circuit 45. Therefore, every time a memory access command is issued, it is as if the buffer memory 1
Port control circuit 45 as if 1 were not present.
works. Now, the memory access command is sent to main memory 5.
If the instruction is to write data to address A, the port control circuit 45 selects a port by looking at some bits of the given address. Assume that port 0 is selected. A command, address, and data are loaded into the command register 21, address register 22, and data register 23 of port 0, respectively, by the function of a port register control signal sent from the port control circuit 45. Subsequently, the port control circuit 45 attempts to send an operation command to the main storage device 5 via the port 012. However, since the output of the inverter 43 is "O", the operation command is not sent to the port 12 due to the action of the AND gates 47 and 48. That is, since the address degeneration flip-flop 41 is set, even if a write command to the main storage device 5 is issued, writing will not actually be performed. means that the content is protected. The data sent to be written to address A remains in the data register 23 of port 012. Next, it is assumed that a memory access command for reading an operand from address B is given, and that address B is also an address to be accessed via port 012 like address A.

バツフアメモリ制御回路44からはバイパス信号が送ら
れて来ているので、ポート制御回路45はポート012
のコマンドレジスタ21、アドレスレジスタ22にそれ
ぞれコマンドとアドレスをロードする。そして、主記憶
装置5へ動作指令を送り、且つクロックユニツト(図示
せず)へ停止信号を送ろうとする。しかしながらインバ
ータ43の出力が゛0”゜となつているので実際には停
止信号も動作指令も送られない。正常時、即ちアドレス
縮退フリツプフロツプ41がセツトしていない場合であ
れば、この後「主記憶装置5が動作してB番地の内容を
読み出しデータラインに乗せてポート12へ送り、且つ
応答信号を送つてそのデータをポート内データレジスタ
23にセツトし、それまで出していた停止信号を出さな
くする。」という一連の動作が続くわけであるが、アド
レス縮退フリツプフロツプ41がセツトしていることに
より、その一連の動作は行わないままCPUは次の動作
へ進んでしまうことになる。これは与えられた読出し指
令が時間ゼロ(クロツクユニツトへ停止信号を送つてい
る時間がゼロ)で実行され、読み出されたデータは実際
にはもともとポート12内のデータレジスタ23に入つ
ていたものである様に動作したことを意味する。即ち、
この例でいうなら、B番地から読み出されたデータは実
はその前にA番地に書込んでおいたデータであるという
ことになる。
Since the bypass signal is sent from the buffer memory control circuit 44, the port control circuit 45
The command and address are respectively loaded into the command register 21 and address register 22 of. It then attempts to send an operation command to the main memory device 5 and a stop signal to a clock unit (not shown). However, since the output of the inverter 43 is ``0'', neither a stop signal nor an operation command is actually sent.In normal conditions, that is, when the address degeneration flip-flop 41 is not set, the The storage device 5 operates, reads out the contents of address B, puts it on the data line, and sends it to the port 12, sends a response signal, sets the data in the data register 23 in the port, and issues the stop signal that had been issued until then. This series of operations continues, but since the address degeneration flip-flop 41 is set, the CPU proceeds to the next operation without performing this series of operations. This means that the given read command is executed at time zero (the time during which the stop signal is sent to the clock unit is zero), and the read data is actually originally stored in the data register 23 in port 12. It means that it operated as if it were That is,
In this example, the data read from address B is actually the data previously written to address A.

従つてアドレスは無意味となつて全ての番地がポート1
2内のデータレジスタ23に縮退してしまつたかの如く
動作する。以上で本発明の概略説明を終り、次に本発明
を有効に利用したテストプログラムの作成方法について
言及する。
Therefore, addresses become meaningless and all addresses are port 1.
The data register 23 operates as if it had been degenerated into the data register 23 in the data register 23. This concludes the general description of the present invention, and next, a method for creating a test program that effectively utilizes the present invention will be described.

本発明はシステム稼動中に故障検出の目的で実行される
テストプログラムで利用され、テストフログラムの使用
するスクラツチパツドメモリの容量を減らし、テストプ
ログラム実行に要する時間を短縮することを主な目的と
する。
The present invention is used in a test program executed for the purpose of fault detection during system operation, and its main purpose is to reduce the capacity of the scratchpad memory used by the test program and shorten the time required to execute the test program. shall be.

又、主記憶アクセス関係のロジツクがハードワイアード
制御となつている情報処理装置にも有効に利用できる様
にすることを目的としている。その様な目的に照らして
本発明を利用して主記憶装置のデータはハードウエア的
に保護しておき、テストに必要とされる既知のデータと
しては、一連のテストの一番最初だけはテストプログラ
ムの中で既知のデータを主記憶装置へ書込む様にして前
記のデータレジスタ23を初期化し、それ以後は努めて
前のテストの結果書込まれたデータをそのまま次のテス
トのデータとして利用する様にするとよい。
It is also an object of the present invention to enable effective use in information processing apparatuses in which main memory access-related logic is hard-wired controlled. In light of such a purpose, the data in the main memory device is protected by hardware using the present invention, and the known data required for testing is limited to only the first of a series of tests. Initialize the data register 23 by writing known data to the main memory in the program, and after that, try to use the data written as a result of the previous test as data for the next test. It is best to do so.

前のテストで動かした部分にもしも故障があつたとする
と、そのテストの結果として主記憶装置へ(実際はポー
ト内のデータレジスタへ)書込まれるデータは誤つたも
のとなる場合が多い。
If there is a failure in the part operated during the previous test, the data written to the main memory (actually to the data register in the port) as a result of that test will often be incorrect.

そしてその結果が次のテストのデータとして用いられる
ので、次のテストは誤つたデータに基いてでたらめな処
理をすることになる。しかし、テストの目的が故障の存
在の有無を知ることのみであり、且つソフトウエアビジ
ブルレジスタの退避領域が確実に保護されている限り、
この゛でたらめ”な処理は実質的に何ら影響を及ぼさな
いしテストの目的も達せられる。
The results are then used as data for the next test, resulting in the next test performing haphazard processing based on incorrect data. However, as long as the purpose of the test is only to know whether a fault exists, and the save area of the software visible register is reliably protected,
This "random" processing has virtually no effect and the purpose of the test is achieved.

なお、この実施例では周辺装置に対する指令も、ポート
12を通じてCPUから送り出され、実際にはポート1
2と主記憶装置5との間に存在するシステムコントロー
ルユニツト(図示せず)からチヤネル装置を介して周辺
装置へと指令が送られるようになつている。
Note that in this embodiment, commands for peripheral devices are also sent from the CPU through port 12, and actually
Commands are sent from a system control unit (not shown) located between the main storage device 2 and the main storage device 5 to peripheral devices via a channel device.

従つて、第4図のアンドゲート47,48により動作指
令を出さないようにしたことによつて、主記憶装置へ指
令が送られない様になると共に、周辺装置へも指令が送
られないようになつている。周辺装置へ指令を送る回路
が独立に存在するような構造をもつ計算機に本発明を適
用する場合には、その回路にも、前記アンドゲート47
,48に相当する回路を設けなければならない。尚、本
発明実施例ではマイクロプログラムからその情報処理装
置自体を止めてしまう様なことは出来ないようになつて
いるし、後述する如く異常検出に伴う例外処理シーケン
スも一定の引き返し可能な点以上にほ進まない様に処置
をしている。
Therefore, by preventing the operation command from being issued using the AND gates 47 and 48 in FIG. 4, it is possible to prevent the command from being sent to the main storage device, and also prevent the command from being sent to the peripheral devices. It's getting old. When the present invention is applied to a computer having a structure in which a circuit that sends commands to peripheral devices exists independently, the AND gate 47 is also applied to that circuit.
, 48 must be provided. In addition, in the embodiment of the present invention, it is impossible to stop the information processing device itself from the microprogram, and as will be described later, the exception handling sequence associated with abnormality detection is beyond a certain point where it can be turned back. We are taking measures to prevent it from progressing.

但し、上記にかかわらず必要であれば各テスト開始前に
、データレジスタに既知のテストデータを入れておく様
にテストプログラムを作ることは容易である。ただ1つ
のそれ以上に分解できないテストの中で複数個のオペラ
ンドを要する場合には各オペランドを個々に自由に予め
設定しておくことはできなくて、そのテストを例えば単
一ステツプモードで実行させつつ、テストの進行状況に
応じて逐次その次に読出されるべきテストデータをデー
タレジスタに書込んでやる必要がある。前のテストの結
果を次のテストのデータとして利用することの他の欠点
は、各テストが独立にならないのでテストの?t/)く
困難であること、及びテストプログラムやテストの対象
となるハードウエアの変更があつた時に1つの変更の影
響が広範囲にわたることの2点である。これら欠点のた
め従来はテストプログラムの作成にあたつて前のテスト
と次のテストとは極力独立となる様に設計してきたわけ
である。しかし、システム稼動中に行うテストの場合は
テストプログラムを格納する記憶容量を極力小さくする
必要があり、その為の手段としてはテスト用のデータ記
憶領域を減らして前のテストの結果を次のテストで利用
するのが有効な手段である。そして近年発達した故障シ
ミユレーシヨンの手法をテストプログラム設計時に採用
することにより上記2つの欠点は克服することができる
。次の様にしてテストプログラムの設計・変更を行う様
にするとよい。
However, regardless of the above, if necessary, it is easy to create a test program that stores known test data in the data register before starting each test. When multiple operands are required in a single, indivisible test, it is not possible to freely preset each operand individually, and the test can be run, for example, in single-step mode. At the same time, it is necessary to sequentially write the test data to be read next into the data register according to the progress of the test. Another disadvantage of using the results of a previous test as data for the next test is that each test is not independent, so the test results are not independent. The two points are that it is extremely difficult, and that when a test program or the hardware to be tested is changed, a single change has a wide-ranging effect. Because of these shortcomings, conventional test programs have been designed so that the previous test and the next test are as independent as possible. However, in the case of tests performed while the system is running, it is necessary to minimize the storage capacity for storing the test program, and one way to do this is to reduce the data storage area for the test and transfer the results of the previous test to the next test. It is an effective method to use it. The above two drawbacks can be overcome by employing recently developed failure simulation techniques when designing test programs. It is recommended that you design and change the test program as follows.

まず、前のテストの結果を次のテストのデータとして利
用することとして、各テストのテスト対象、テスト入力
データの備えねばならぬ条件の概略を明確にして、テス
ト全体の基本的つながりを人間が設計し、第1のテスト
のテスト入力データも併せて作成する。それを故障シミ
ュレータにかけることにより、どのテストではどんな故
障が検出されたか、各テストの結果としてどの様なデー
タがレジスタ、メモリ等へ書込まれ、次のテストへ渡さ
れることになつたか、どれだけの故障が検出されずに在
つたかが明確になる。設計者はそれに基いてテストとテ
ストとの間で少数のレジスタ、メモリの内容を書き直す
様フにテストプログラムを変更して、以降のテストが本
来予定していた様なテストとなる様に手直しするとか、
更にテストを追加するとかして検出故障の割合が要求水
準以上となる様にする。
First, in order to use the results of the previous test as data for the next test, it is necessary to clarify the test target for each test and the conditions that the test input data must have, so that humans can understand the basic connections of the entire test. design, and also create test input data for the first test. By running it through a fault simulator, you can find out which faults were detected in which tests, what data was written to registers, memory, etc. as a result of each test, and was passed on to the next test. It becomes clear how many failures have gone undetected. Based on this, the designer changes the test program to rewrite the contents of a small number of registers and memory between tests, and then reworks the test program so that subsequent tests are as originally planned. And,
Further tests are added to ensure that the detected failure rate exceeds the required level.

この様に故障シミユレータの力を借りてテストプログラ
ムの設計ができる。テストプログラムやハードウエアに
変更があつた場合も、まずその変更を故障シミユレータ
上でやつてみて、その影響がどのテストにどの様に現れ
、どんな故障が検出できなくなるかを故障シミユレータ
の出力を見て知つたうえで設計者が上記テストプログラ
ム設計時点での改善と同様にして処理すればよくなる。
In this way, test programs can be designed with the help of a failure simulator. When changes are made to the test program or hardware, first try making the changes on a fault simulator, and then look at the output of the fault simulator to see how the changes affect which tests and which faults become undetectable. After knowing this, the designer can process the improvements in the same way as the improvements made at the time of designing the test program.

前のテストの結果を後のテストでデータとして使うこと
の欠点は故障シミユレータを使つてテストプログラムの
設計・保守をすることによつてあまり問題ではなくなる
The disadvantages of using the results of previous tests as data for subsequent tests become less of a problem by using a failure simulator to design and maintain test programs.

又、本発明では結果的にアドレス情報が無視されてしま
う(ポート選択のために使われるビツトは無視されない
)のでテストプログラム作成にあたつては従来通りの方
法でアドレス情報のデータパスをテストしておく必要が
ある。
Furthermore, in the present invention, address information is ignored as a result (bits used for port selection are not ignored), so when creating a test program, test the data path of address information using the conventional method. It is necessary to keep it.

次に情報処理装置が仮想アドレツシング機能を持ち、ア
ドレス計算ユニツトの中に仮想アドレス−実アドレス変
換用の連想メモリを持つ場合について説明する。
Next, a case where the information processing apparatus has a virtual addressing function and an address calculation unit includes an associative memory for converting virtual addresses to real addresses will be described.

この連想メモリも本質的には主記憶装置内に格納されて
いる仮想アドレス一実アドレス変換テーブルの写しであ
る。
This associative memory is also essentially a copy of the virtual address to real address conversion table stored in the main memory.

高速アクセス可能な様に連想メモリ方式のハードウエア
とするため、主記憶装置にある仮想アドレス一実アドレ
ス変換テーブルの=部分をそのまま取り出した形ではな
く、若干の変形をして記憶される場合もあるが本質的に
は写しであり、バツフアメモリが命令語及びデータに関
して主記憶装置の一部分の写しを記憶しているのと同じ
である。従つて連想メモリが存在する場合は、基本的に
はバツフアメモリと同様にして前記アドレス縮退フリツ
プフロツプがセツトしている時には連想メモリ使用禁止
状態に強制し、連想メモリの内容が一切更新されない様
にすればよい。その結果、仮想アドレス一実アドレス変
換を要する場合に、アドレス計算ユニツトは主記憶装置
に入つている仮想アドレス一実アドレス変換テ一フルを
アクセスして必要なアドレス変換作業を行うことになる
Because the hardware uses associative memory to enable high-speed access, the = part of the virtual address to real address conversion table in the main memory may not be extracted as is, but may be stored with some modification. However, it is essentially a copy, just as buffer memory stores a copy of a portion of main memory with respect to commands and data. Therefore, if an associative memory exists, basically, in the same way as buffer memory, when the address degenerate flip-flop is set, the associative memory is forced into a disabled state so that the contents of the associative memory are not updated at all. good. As a result, when virtual address to real address translation is required, the address calculation unit accesses the virtual address to real address translation table stored in main memory to perform the necessary address translation work.

そしてその主メモリアクセスが本発明におけるアドレス
縮退フリツプフロツプの働きにより、ボート内のデータ
レジスタに縮退することになる。
Then, the main memory access is degenerated to the data register in the boat by the function of the address degeneration flip-flop in the present invention.

本発明実施例の場合はアドレス変換が始ると他のユニツ
トの動作を停止させ、アドレス変換作業のみを行い、ア
ドレス変換の過程で複数回主記憶装置からデータを読み
出すのでこの部分のテストにあたつては単一ステツプモ
ードでアドレス変換機構を動作させることにより、主記
憶装置アクセスとの間にテストプログラムが介入し、診
断コマンドを用いてポート内のデータレジスタを書換え
ることが可能である様にして任意の内容をもつた変換テ
ーブルを読み出した時の動作をさせてテストできる様に
している。次に異常検出手段のテストについて第5図を
参照して述べる。
In the case of the embodiment of the present invention, when address translation starts, the operations of other units are stopped, only the address translation work is performed, and data is read from the main memory multiple times during the address translation process, so this part is not tested. In the future, by operating the address translation mechanism in single-step mode, a test program can intervene between accesses to main memory and rewrite data registers in ports using diagnostic commands. It is possible to test by reading out a conversion table with arbitrary contents. Next, a test of the abnormality detection means will be described with reference to FIG.

例えば主記憶装置の場合、本発明実施例の情報処理装置
は主記憶へパリテイエラーしたデータを送る様な機能が
ついているので、アドレス縮退させ、テストする時もそ
の機能を用いてパリテイエラーしたデータをポートのデ
ータレジスタへ書込み、然る後そのデータを読み出して
パリテイチエツカ51によりパリテイエラーを検出させ
ている。
For example, in the case of a main memory device, the information processing device according to the embodiment of the present invention has a function to send data with a parity error to the main memory, so it degenerates addresses and uses that function when testing. The data is written to the data register of the port, and then read out to cause the parity checker 51 to detect a parity error.

そして異常検出フリツプフロツプ52の1つFFTiを
セツトさせ、パリテイチエツクが確実に検出されたこと
をテストする。こうした異常検出フリツプフロツプ52
は異常の性質によつてグループ別にまとめられ、異常処
理手順を起動する様になつているが、実際に異常処理手
順を起動してしまう直前で、第4図のインバータ43出
力によつて起動信号に禁止条件をAND回路55により
かけて、アドレス縮退モードでは異常検出手順が起動さ
れない様にし、テストプログラム中での異常検出手段の
テストを容易にしている。
Then, one of the abnormality detection flip-flops 52, FFTi, is set to test whether the parity check has been reliably detected. Such an abnormality detection flip-flop 52
are grouped according to the nature of the abnormality and are designed to start the abnormality handling procedure, but just before actually starting the abnormality handling procedure, the activation signal is sent by the output of the inverter 43 in Fig. 4. A prohibition condition is applied by the AND circuit 55 to prevent the abnormality detection procedure from being activated in the address degeneration mode, thereby facilitating testing of the abnormality detection means in the test program.

本発明実施例では異常検出フリツプフロップFFTO−
FFTnなるフリツプフロツプは1つの(n+1)ビツ
トのレジスタとして見える様にしてあるので異常検出の
結果のテストは容易である。叉、情報処理システムの入
力電源の異常とか、タイマのオーバーフローとか入出力
装置の動作終了割込み等、システム全体の制御と異常検
出にかかわるものはそれぞれ別のグループにまとめられ
ており、これらに対しては第5図のAND回路55によ
る様なアドレス縮退フリツプフロツプ41によるインヒ
ビツトは行つていない。
In the embodiment of the present invention, the abnormality detection flip-flop FFTO-
Since the flip-flop FFTn is made to look like one (n+1) bit register, it is easy to test the results of abnormality detection. Additionally, items related to overall system control and abnormality detection, such as abnormalities in the input power supply of the information processing system, timer overflows, and input/output device operation completion interrupts, are grouped into separate groups. In this case, inhibition by the address degeneration flip-flop 41 as in the AND circuit 55 of FIG. 5 is not performed.

尚、本発明実施例ではポート内にデータレジスタがある
ため、主記憶の全番地をそのデータレジスタに縮退させ
たのであるが、ポートでなく主記憶インターフエースユ
ニツトに1つだけデータレジスタを持つ様な情報処理装
置に適用する場合にはそれを利用してもよい。
In the embodiment of the present invention, there is a data register in the port, so all addresses in the main memory are reduced to that data register, but it is possible to have only one data register in the main memory interface unit instead of in the port. It may be used when applied to an information processing device.

あるいは新設してもよい。又第5図中53,54はオア
ゲート、55はアンドゲートである。以上説明の如く本
発明によると主記憶装置のデータをテストするために退
避させる必要がなく、従つて退避領域が不要となり、且
つ退避・復帰のための時間と手順を必要とせず、従つて
所要時間が短かくなり、テストのために必要とするスク
ラツチパツドメモリ及びテストプログラム格納用メモリ
容量が小さくて済む。
Alternatively, a new one may be established. Further, in FIG. 5, 53 and 54 are OR gates, and 55 is an AND gate. As explained above, according to the present invention, there is no need to save data in the main memory device for testing, and therefore no save area is required, and there is no need for time and procedures for saving and restoring data. It takes less time and requires less scratch pad memory and memory capacity for test program storage for testing.

又、バツフアメモリ等のデータもテストによつて破壊す
る様なことはない為テスト終了後のユーザの情報処理能
率が低下することはない。一方、本発明実施によつてテ
ストできなくなる部分は主記憶装置、バツフアメモリ、
連想メモリであるが、それらは大部分がメモリ素子から
成つており、容易にパリテイチエツクが出来る部分であ
る為、故障検出率はあまり低下しない。
Furthermore, since the data in the buffer memory etc. is not destroyed by the test, the information processing efficiency of the user will not be reduced after the test is completed. On the other hand, the parts that cannot be tested by implementing the present invention are the main memory, buffer memory,
Although they are associative memories, most of them are made up of memory elements, and since the parity can be easily checked, the failure detection rate does not decrease much.

又、本発明におけるアドレス縮退フリツプフロツプはテ
ストプログラムによつて状態を制御できるので、テスト
プログラムの中で従来のテスト方法を併用することもで
きる。又、アドレスが縮退するのでテストのためのデー
タをテスト実施前にテストで読み出される番地に予め書
込んでおく必要がなく、前のテストの結果を次のテスト
のデータとして利用していける。
Further, since the state of the address degeneration flip-flop according to the present invention can be controlled by a test program, conventional test methods can also be used in the test program. Furthermore, since the addresses are degenerate, there is no need to write data for the test in advance to the address to be read by the test before the test is performed, and the results of the previous test can be used as data for the next test.

これはテストデータを蓄えておく必要がないこと及びそ
のデータをセツトする必要がないことを意味するのでテ
ストのための所要時間が短かくなり、且つテストプログ
ラム格納用のメモリの容量が少くて済むという効果を生
じる。又、アドレスとデータが分離できるのでアドレス
作成回路のテストと、そのテストと独立な演算部のテス
トとが同時に併行してできる。
This means that there is no need to store test data or set that data, which reduces the time required for testing and requires less memory capacity for storing test programs. This effect is produced. Further, since the address and data can be separated, the test of the address generation circuit and the test of the arithmetic unit independent of the test can be performed simultaneously.

更に主記憶装置のアクセス時間がゼロであるかの如く動
作させてテストを行うのでテストの実行に要する時間が
短くなる等種々の利点を生じるものである。
Furthermore, since the test is performed by operating the main memory as if the access time is zero, various advantages such as a reduction in the time required to execute the test are produced.

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

第1図は本発明実施例において用いる情報処理装置の概
略構成例、第2図は第1図中におけるポート部分のプロ
ツク図、第3図・第4図は第1図中の主記憶インターフ
エースの一部の実施例、第5図は異常検出回路の実施例
である。 1・・・・・・命令語処理ユニツト、2・・・・・・ア
ドレス計算ユニツト、3・・・・・・主記憶インターフ
エースユニツト、4・・・・・・演算ユニツト、5・・
・・・・主記憶装置、6・・・・・・制御記憶ユニツト
、7・・・・・・マイクロ命令レジスタ、8・・・・・
・シーケンス制御ユニツト、11・・・・・・バツフア
メモリ、12・・・・・・ポート、21・・・・・・コ
マンドレジスタ、22・・・・・・アドレスレジスタ、
23・・・・・・データレジスタ、24,25,26,
27・・・・・・ドライバ、28・・・・・・レシーバ
31,45・・・・・−ポート制御回路、32,44
・・・・・・バツフアメモリ制御回路、41・・・・・
・アドレス縮退フリツプフロツプ、42,53,54・
・・・・・オアゲート、43・・・・・・インバータ、
46,47,48,55・・・・・・アンドゲート、5
1・・・・・・パリテイチエツク、52・・・・・・フ
リツブフロツプ。
FIG. 1 is a schematic configuration example of an information processing device used in an embodiment of the present invention, FIG. 2 is a block diagram of a port portion in FIG. 1, and FIGS. 3 and 4 are main memory interfaces in FIG. 1. FIG. 5 is an example of an abnormality detection circuit. 1... Instruction word processing unit, 2... Address calculation unit, 3... Main memory interface unit, 4... Arithmetic unit, 5...
...Main memory, 6...Control memory unit, 7...Microinstruction register, 8...
・Sequence control unit, 11...Buffer memory, 12...Port, 21...Command register, 22...Address register,
23...Data register, 24, 25, 26,
27... Driver, 28... Receiver 31, 45...- Port control circuit, 32, 44
...Buffer memory control circuit, 41...
・Address degeneracy flip-flop, 42, 53, 54・
...or gate, 43...inverter,
46, 47, 48, 55...and gate, 5
1...Parity check, 52...Flip flop.

Claims (1)

【特許請求の範囲】 1 主メモリと、この主メモリのアドレスを保持するア
ドレスレジスタと、前記主メモリの読出しデータ又は書
込みデータを保持するデータレジスタと、前記主メモリ
へ読出し指令又は書込み指令を送り前記アドレスレジス
タおよびデータレジスタを用いて前記主メモリの読出し
又は書込みアクセスを行なうデータ処理部と、このデー
タ処理部の処理モードを特定のモードに設定する手段と
、前記データ処理部が前記特定モードに設定された時、
前記書込みアクセスに対して前記データレジスタにデー
タをセットするだけで前記主メモリには前記書込み指令
を送ることを禁止し、前記読出しアクセスに対して前記
データレジスタにセットされている内容を読出しデータ
として扱い前記主メモリには前記読出し指令を送ること
を禁止する制御手段とを具備し、前記特定モードに設定
された前記データ処理部は前記制御手段を用いて情報処
理装置内の故障を検出することを特徴とする情報処理装
置。 2 前記主メモリの一部の内容の写しを記憶する第2の
メモリを有する情報処理装置において、前記特定モード
に設定された前記データ処理部の前記読出し又は書込み
指令に対して前記第2のメモリの記憶内容を変化させな
いように制御することを特徴とする特許請求の範囲第1
項記載の情報処理装置。 3 主メモリと、この主メモリのアドレスを保持するア
ドレスレジスタと、前記主メモリの読出しデータ又は書
込みデータを保持するデータレジスタと、前記主メモリ
へ読出し指令又は書込み指令を送り前記アドレスレジス
タおよびデータレジスタを用いて前記主メモリの読出し
又は書込みアクセスを行なうデータ処理部と、このデー
タ処理部の処理モードを特定のモードに設定する手段と
、前記データ処理部が前記特定モードに設定された時、
前記書込みアクセスに対して前記データレジスタにデー
タをセットするだけで前記主メモリには前記書込み指令
を送ることを禁止し、前記読出しアクセスに対して前記
データレジスタにセットされている内容を読出しデータ
として扱い前記主メモリには前記読出し指令を送ること
を禁止する制御手段とを具備し、複数の個別テストから
成り前記複数の個別テストが時間的に直列に逐次実行さ
れる故障検出テストプログラムによつて情報処理装置内
の故障を検出する為、前記データ処理部を特定モードに
設定し、先行する前記個別テストを実行して前記データ
レジスタに前記主メモリへの書込みデータをセットし、
後続する前記個別テストを実行して前記データレジスタ
にセットされているデータを出力データとして用いるこ
とを特徴とする情報処理方法。
[Claims] 1. A main memory, an address register that holds an address of the main memory, a data register that holds read data or write data of the main memory, and a main memory that sends a read command or a write command to the main memory. a data processing section that performs read or write access to the main memory using the address register and data register; means for setting a processing mode of the data processing section to a specific mode; and a means for setting the processing mode of the data processing section to the specific mode. When set,
For the write access, simply setting data in the data register prohibits sending the write command to the main memory, and for the read access, the contents set in the data register are read data. The main memory is provided with a control means for prohibiting sending the read command, and the data processing section set to the specific mode detects a failure in the information processing apparatus using the control means. An information processing device characterized by: 2. In an information processing device having a second memory that stores a copy of a part of the contents of the main memory, in response to the read or write command of the data processing unit set to the specific mode, the second memory Claim 1 characterized in that the content of the memory is controlled so as not to change.
The information processing device described in the section. 3. A main memory, an address register that holds the address of this main memory, a data register that holds read data or write data of the main memory, and the address register and data register that send a read command or a write command to the main memory. a data processing unit that performs read or write access to the main memory using a data processing unit; means for setting a processing mode of the data processing unit to a specific mode; and when the data processing unit is set to the specific mode;
For the write access, simply setting data in the data register prohibits sending the write command to the main memory, and for the read access, the contents set in the data register are read data. The main memory is provided with a control means for prohibiting the sending of the read command, and is made up of a plurality of individual tests, and is executed by a fault detection test program in which the plurality of individual tests are sequentially executed in series in time. In order to detect a failure in the information processing device, the data processing unit is set to a specific mode, the preceding individual test is executed, and data to be written to the main memory is set in the data register;
An information processing method characterized in that the subsequent individual test is executed and data set in the data register is used as output data.
JP52028432A 1977-03-15 1977-03-15 Information processing device and method Expired JPS5939052B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP52028432A JPS5939052B2 (en) 1977-03-15 1977-03-15 Information processing device and method
US06/115,368 US4355389A (en) 1977-03-15 1980-01-25 Microprogrammed information processing system having self-checking function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52028432A JPS5939052B2 (en) 1977-03-15 1977-03-15 Information processing device and method

Publications (2)

Publication Number Publication Date
JPS53113446A JPS53113446A (en) 1978-10-03
JPS5939052B2 true JPS5939052B2 (en) 1984-09-20

Family

ID=12248491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52028432A Expired JPS5939052B2 (en) 1977-03-15 1977-03-15 Information processing device and method

Country Status (1)

Country Link
JP (1) JPS5939052B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55150047A (en) * 1979-05-10 1980-11-21 Nec Corp Test unit for information processor
JPS56168270A (en) * 1980-05-30 1981-12-24 Fujitsu Ltd Logical device
JPS56168267A (en) * 1980-05-30 1981-12-24 Fujitsu Ltd Logical device
JPS5826391A (en) * 1981-08-07 1983-02-16 Nec Corp Storage element with output register
JPS5826397A (en) * 1981-08-07 1983-02-16 Nec Corp Storage element with output register
JPS58144954A (en) * 1982-02-24 1983-08-29 Fujitsu Ltd Diagnosing system

Also Published As

Publication number Publication date
JPS53113446A (en) 1978-10-03

Similar Documents

Publication Publication Date Title
US4357656A (en) Method and apparatus for disabling and diagnosing cache memory storage locations
US5758058A (en) Apparatus and method for initializing a master/checker fault detecting microprocessor
US4740969A (en) Method and apparatus for recovering from hardware faults
US9449717B2 (en) Memory built-in self-test for a data processing apparatus
US4635193A (en) Data processor having selective breakpoint capability with minimal overhead
US4181940A (en) Multiprocessor for providing fault isolation test upon itself
RU2137182C1 (en) Execution of data processing instruction
JPH02280236A (en) Error injection mechanism
US4933941A (en) Apparatus and method for testing the operation of a central processing unit of a data processing system
JPS6229827B2 (en)
JPH011039A (en) In-circuit emulator
US4355389A (en) Microprogrammed information processing system having self-checking function
US8650437B2 (en) Computer system and method of protection for the system's marking store
US4231089A (en) Data processing system with apparatus for correcting microinstruction errors
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
EP3572943B1 (en) Semiconductor device and debug method
US20210035653A1 (en) Apparatus and method
US5146569A (en) System for storing restart address of microprogram, determining the validity, and using valid restart address to resume execution upon removal of suspension
US5229999A (en) Method and apparatus for integrity testing of fault monitoring logic
JPS5939052B2 (en) Information processing device and method
US5339407A (en) Recovery of cached data from a malfunctioning CPU
US20030018936A1 (en) High integrity cache directory
US5898867A (en) Hierarchical memory system for microcode and means for correcting errors in the microcode
JPS6342294B2 (en)
KR890003322B1 (en) Data processing system