JPH03212750A - Memory data maintainability checking system - Google Patents
Memory data maintainability checking systemInfo
- Publication number
- JPH03212750A JPH03212750A JP2008751A JP875190A JPH03212750A JP H03212750 A JPH03212750 A JP H03212750A JP 2008751 A JP2008751 A JP 2008751A JP 875190 A JP875190 A JP 875190A JP H03212750 A JPH03212750 A JP H03212750A
- Authority
- JP
- Japan
- Prior art keywords
- nop
- instruction
- diagnostic
- memory
- data
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 14
- 230000010365 information processing Effects 0.000 claims description 11
- 238000003745 diagnosis Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 2
- 241000761456 Nops Species 0.000 description 1
- 108010020615 nociceptin receptor Proteins 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理システムに関し、特に命令領域とデー
タ領域とが分離しパリティチェックやECC(Erro
r Correcting C。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing system, and in particular to an information processing system in which an instruction area and a data area are separated and parity check and ECC (Error Control) are performed.
r Correcting C.
de)チェック等によりメモリ読出し時にデータ(命令
領域内の命令およびデータ領域内の狭義のデータ)の保
全性がチェック(確認)される情報処理システムにおけ
るメモリデータ保全性チェック方式に関する。The present invention relates to a memory data integrity check method in an information processing system in which the integrity of data (instructions in an instruction area and narrowly defined data in a data area) is checked (confirmed) when reading out a memory by checking or the like.
情報処理システムのメモリのデータの保全性を向上する
ためには、メモリ書込み時に任意のピント数のデータ毎
にパリティビットやECCピントを付加してデータと同
時に書き込み、メモリ続出し時にパリティチェックやE
CCチェックを行い、1ビツトまたは2ビツトのデータ
の誤りを検出する(ECCチェックの場合には、1ビツ
トのデータの修正も行う)手法が一般的に行われている
。In order to improve the integrity of data in the memory of an information processing system, a parity bit or ECC pin is added to each data of an arbitrary number of pins when writing to the memory, and the data is written at the same time as the data, and a parity check and E
A commonly used method is to perform a CC check to detect a 1-bit or 2-bit data error (in the case of an ECC check, 1-bit data is also corrected).
上記手法が用いられてメモリのデータの保全性の向上が
回られている場合には、以下に示すようなメモリデータ
保全性チェック方式が行われていた。When the above method is used to improve the integrity of memory data, the following memory data integrity check method is used.
まず、情報処理システムの初期立上げ時に、メモリのデ
ータ領域の書込み/続出し試験が実行され、データ領域
のデータの保全性が確認されていた。First, when the information processing system is initially started up, a write/continue test is performed on the data area of the memory to confirm the integrity of the data in the data area.
また、情報処理システムの立上げ後のデータ領域のデー
タの保全性の6i L’sに関しては、特別な診断プロ
セッサにより特定のデータ領域の書込み/続出し試験が
行われていた。Furthermore, regarding the 6i L's of data integrity in a data area after the information processing system is started up, a write/continue test is performed on a specific data area using a special diagnostic processor.
一方、メモリの命令領域については、情報処理システム
の立上げ後に、命令をデータ領域のデータとして読み出
してデータの保全性をチェックする方式が行われていた
。On the other hand, regarding the instruction area of the memory, a method has been used in which the integrity of the data is checked by reading out the instructions as data in the data area after starting up the information processing system.
上述した従来のメモリデータ保全性チェック方式では、
命令領域のデータ(命令)の保全性をチェックする際に
、命令をデータ領域のデータとして読み出すという煩雑
な処理を行わなければならないという欠点がある。In the conventional memory data integrity checking method described above,
When checking the integrity of data (instructions) in the instruction area, there is a drawback that the complicated process of reading out the instructions as data in the data area must be performed.
また、命令領域とデータ領域とが完全に独立しているメ
モリを有する情報処理システムにおいては、命令領域の
内容(命令)をデータとして読み出すことは不可能であ
るために、従来のメモリプタ保全性チェック方式では命
令領域のデータの保全性を命令実行時まで確認すること
ができないという欠点がある。In addition, in an information processing system that has a memory in which the instruction area and data area are completely independent, it is impossible to read the contents (instructions) of the instruction area as data, so conventional memristor integrity checks This method has the disadvantage that the integrity of data in the instruction area cannot be confirmed until the instruction is executed.
本発明の目的は、上述の点に鑑み、診断N0P(No
0Peration)命令によって命令(命令領域の
データ)を疑似的なNOP命令として実行して命令領域
のメモリ続出し試験を実行することにより、命令領域の
データの保全性を命令実行前に簡易に確認(チェック)
することができるメモリデータ保全性チェック方式を提
供することにある。In view of the above points, an object of the present invention is to diagnose N0P (No.
By executing the instruction (data in the instruction area) as a pseudo NOP instruction using the instruction (0Peration) and performing a memory succession test in the instruction area, the integrity of the data in the instruction area can be easily checked before executing the instruction ( check)
An object of the present invention is to provide a memory data integrity checking method that can perform a memory data integrity check.
本発明のメモリデータ保全性チj−7り方式は、命令領
域とデータ領域とが分離しておりパリティチェックやE
CCチェック等のメモリ読出し時におけるデータのチェ
ックが行われるメモリとそのメモリを制御するマイクロ
プロセッサとを有する情報処理システムにおいて、診断
NOP設定指示によりセットされ診断NOP解除指示に
よりリセットされる診断NOPフラグと、診断NOP命
令の解読により診断NOP設定指示を発行して前記診断
NOPフラグをセットし前記診断NOPフラグのセット
に基づく診断NOP指示によりそれ以後の命令をNOP
命令として取り扱う命令解読回路内の診断NOP命令設
定手段と、この診断N。The memory data integrity check method of the present invention has an instruction area and a data area separated, and parity check and E
In an information processing system that includes a memory in which data is checked during memory reading such as a CC check, and a microprocessor that controls the memory, a diagnostic NOP flag that is set by a diagnostic NOP setting instruction and reset by a diagnostic NOP cancellation instruction is provided. , issues a diagnostic NOP setting instruction by decoding the diagnostic NOP instruction to set the diagnostic NOP flag, and NOPs subsequent instructions with the diagnostic NOP instruction based on the setting of the diagnostic NOP flag.
A diagnostic NOP command setting means in the command decoding circuit that handles the command as a command, and this diagnostic N.
P命令設定手段から発行される診断NOP設定指示に基
づいて診断NOP命令次アドレスを保持する診断NOP
アドレスレジスタと、診断NOP解除命令の解読により
診断NOP解除指示を発行し前記診断NOPフラグをリ
セットして前記診断NOPアドレスレジスタに保持され
ている診断NOP命令次アドレスレスを命令アドレスレ
ジスタに格納する命令解読回路内の診断NOP命令解除
手段とを有する。A diagnostic NOP that holds a diagnostic NOP command next address based on a diagnostic NOP setting instruction issued from the P command setting means.
An instruction that issues a diagnostic NOP release instruction by decoding the address register and the diagnostic NOP release instruction, resets the diagnostic NOP flag, and stores the next address of the diagnostic NOP instruction held in the diagnostic NOP address register in the instruction address register. and diagnostic NOP command canceling means within the decoding circuit.
本発明のメモリデータ保全性チェック方式では、診断N
OPフラグが診断NOP設定指示によりセットされ診断
NOP解除指示によりリセットされ、命令解読回路内の
診断NOP命令設定手段が診断NOP命令の解読により
診断NOP設定指示を発行して診断NOPフラグをセッ
トし診断NOPフラグのセットに基づく診断NOP指示
によりそれ以後の命令をNOP命令として取り扱い、診
断NOPアドレスレジスタが診断NOP命令設定手段か
ら発行される診断NOP設定指示に基づいて診断NOP
命令次アドレスを保持し、命令解読回路内の診断NOP
命令解除手段が診断NOP解除命令の解読により診断N
OP解除指示を発行し診断NOPフラグをリセットして
診断NOPアドレスレジスタに保持されている診断NO
P命令次アドレスレスを命令アドレスレジスタに格納す
る。In the memory data integrity checking method of the present invention, diagnosis N
The OP flag is set by the diagnostic NOP setting instruction and reset by the diagnostic NOP release instruction, and the diagnostic NOP instruction setting means in the instruction decoding circuit issues a diagnostic NOP setting instruction by decoding the diagnostic NOP instruction, sets the diagnostic NOP flag, and performs diagnosis. A diagnostic NOP instruction based on the setting of the NOP flag treats subsequent instructions as NOP instructions, and the diagnostic NOP address register is set as a diagnostic NOP instruction based on a diagnostic NOP setting instruction issued from the diagnostic NOP instruction setting means.
Holds the instruction next address and uses the diagnostic NOP in the instruction decoding circuit
The command canceling means decodes the diagnosis NOP cancellation command.
Issues an OP release instruction, resets the diagnostic NOP flag, and returns the diagnostic NO held in the diagnostic NOP address register.
Store the P instruction next address address in the instruction address register.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明のメモリデータ保全性チェック方式の
一実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the memory data integrity checking method of the present invention.
本実施例のメモリデータ保全性チェック方式は、マイク
ロプロセッサ10と、メモリ20と、命令アドレスバス
40と、命令データバス50と、エラーチェック回路1
30とを含んで構成されている。The memory data integrity check method of this embodiment includes a microprocessor 10, a memory 20, an instruction address bus 40, an instruction data bus 50, and an error check circuit 1.
30.
マイクロプロセッサIOは、命令アドレスレジスタ30
と、命令レジスタ60と、命令解読回路70 (命令解
読回路70内には、従来技術に対して診断NOP命令設
定手段71および診断NOP命令解除手段72が新たに
付加されている)と、診断NOP設定指示信号線80と
、診断NOP解除指示信号線90と、診断NOPフラグ
100と、診断NOP指示信号線110と、診断NOP
アドレスレジスタ120とを含んで構成されている。Microprocessor IO is an instruction address register 30
, an instruction register 60, an instruction decoding circuit 70 (inside the instruction decoding circuit 70, a diagnostic NOP command setting means 71 and a diagnostic NOP command canceling means 72 are newly added compared to the conventional technology), and a diagnostic NOP instruction circuit 70. Setting instruction signal line 80, diagnosis NOP cancellation instruction signal line 90, diagnosis NOP flag 100, diagnosis NOP instruction signal line 110, diagnosis NOP
The address register 120 is configured to include an address register 120.
次に、このように構成された本実施例のメモリデータ保
全性チェック方式の動作について説明する。Next, the operation of the memory data integrity check system of this embodiment configured as described above will be explained.
マイクロプロセッサ10は、命令アドレスレジスタ30
にセットされている命令アドレスを命令アドレスバス4
0を介してメモリ20に送付し、メモリ20の命令領域
から命令を命令データノ\ス50を介して読み出す。The microprocessor 10 has an instruction address register 30
The instruction address set in the instruction address bus 4
0 to the memory 20, and reads the instruction from the instruction area of the memory 20 via the instruction data node 50.
メモリ20内のデータ(命令を含む)には、データの保
全性を確保する目的で、パリティビットまたはECCビ
ットが付加されている。エラーチエ、り回路130は、
このパリティビア)またはECCビットによりパリティ
チェックまたはECCチェックを行い、エラーを検出す
るとエラー割込み処理を実行する。Parity bits or ECC bits are added to data (including instructions) in memory 20 for the purpose of ensuring data integrity. The error check circuit 130 is
Parity check or ECC check is performed using this parity via) or ECC bit, and when an error is detected, error interrupt processing is executed.
命令データ50を介して読み出された命令は、マイクロ
プロセッサ10内の命令レジスタ60に格納される。The instructions read out via the instruction data 50 are stored in an instruction register 60 within the microprocessor 10.
命令解読回路70は、命令レジスタ60の内容を解読し
、その解読に基づいて命令を実行する。The instruction decoding circuit 70 decodes the contents of the instruction register 60 and executes the instruction based on the decoding.
ここで、命令解読回路70内の診断NOP命令設定手段
71は、診断NOP命令を解読すると、以下に示すよう
な処理を行う。Here, when the diagnostic NOP command setting means 71 in the command decoding circuit 70 decodes the diagnostic NOP command, it performs the following processing.
まず、診断NOP設定指示信号vA80に診断NOP設
定指示を発行する。First, a diagnostic NOP setting instruction is issued to the diagnostic NOP setting instruction signal vA80.
この診断NOP設定指示の発行により、診断NOPフラ
グ100をセットするとともに、診断NOPアドレスレ
ジスタ120に「診断NOP命令のアドレス+1」のア
ドレス(ここでは、このアドレスを診断NOP命令次ア
ドレスという)を格納する。By issuing this diagnostic NOP setting instruction, the diagnostic NOP flag 100 is set, and the address of "diagnostic NOP instruction address + 1" (herein, this address is referred to as the diagnostic NOP instruction next address) is stored in the diagnostic NOP address register 120. do.
さらに、診断NOP設定指示により診断NOPフラグ1
00がセットされると、そのセットに基づく診断NOP
指示信号NlA110を介した診断NOP指示により、
以後の命令(命令レジスタ60を介して命令解読回路7
0により解読される命令)を全てNOP命令として取り
扱うようにする。Furthermore, the diagnostic NOP flag 1 is set by the diagnostic NOP setting instruction.
If set to 00, the diagnosis NOP based on that set.
Due to the diagnostic NOP instruction via the instruction signal NlA110,
Subsequent instructions (instruction decoding circuit 7 via instruction register 60)
All instructions decoded by 0 are treated as NOP instructions.
これにより、診断NOP命令設定手段71による診断N
OP命令の解読以後は、メモリ20の命令領域内の命令
が1番地毎に読み出され、エラーチェック回路130に
よるパリティチェックまたはECCチェック(メモリ読
出し試験)が行われる。As a result, the diagnosis NOP command setting means 71
After the OP instruction is decoded, the instructions in the instruction area of the memory 20 are read out address by address, and a parity check or an ECC check (memory read test) is performed by the error check circuit 130.
このように読み出されていく命令の中に診断Nop解除
命令が存在すると、命令解読回路70内の診断NOP命
令解除手段72はその診断NOP解除命令を解読して以
下に示すような処理を行う。If a diagnostic NOP cancellation instruction exists among the instructions being read out in this way, the diagnostic NOP instruction cancellation means 72 in the instruction decoding circuit 70 decodes the diagnostic NOP cancellation instruction and performs the following processing. .
まず、診断NOP解除指示信号線90に診断NOP解除
指示を発行する。First, a diagnostic NOP cancellation instruction is issued to the diagnostic NOP cancellation instruction signal line 90.
この診断NOP解除指示により、診断NOPフラグ10
0をリセットするとともに、診断NOPアドレスレジス
タ120の内容(診断NOP命令次アドレス)を命令ア
ドレスレジスタ30に格納し、診断NOP命令次アドレ
スからメモリ20の命令領域内の命令を再実行させる。With this diagnosis NOP cancellation instruction, the diagnosis NOP flag 10
0 is reset, the contents of the diagnostic NOP address register 120 (diagnostic NOP instruction next address) are stored in the instruction address register 30, and the instructions in the instruction area of the memory 20 are re-executed from the diagnostic NOP instruction next address.
以上の動作で分かるように、あらかじめメモリ20の命
令領域内のプログラム(命令の集合)に対して、その先
頭番地に診断NOP命令を設定してその最終番地に診断
NOP解除命令を設定しておくことにより、メモリ20
の命令領域内のメモリ続出し試験が行われ(エラーチェ
ック回路130によるパリティチェックまたはECCチ
ェックが行われ)、プログラム(命令)実行前にメモリ
20の命令領域内のデータ(命令)の保全性を確認する
ことができる。As can be seen from the above operations, a diagnostic NOP instruction is set in advance at the first address of the program (a set of instructions) in the instruction area of the memory 20, and a diagnostic NOP release instruction is set at the last address. By this, memory 20
A memory continuation test is performed in the instruction area of the memory 20 (parity check or ECC check is performed by the error check circuit 130), and the integrity of the data (instructions) in the instruction area of the memory 20 is verified before program (instruction) execution. It can be confirmed.
以上説明したように本発明は、診断NOP命令によって
命令を疑似的なNOP命令として実行し命令領域のメモ
リ読出し試験を実行することにより、命令領域のデータ
(命令の集合であるプログラム)の保全性をプログラム
実行前に簡易にf111認(チェック)することができ
、情報処理システムの信顛性を向上することができると
いう効果がある。As explained above, the present invention ensures the integrity of data in the instruction area (a program that is a set of instructions) by executing the instruction as a pseudo NOP instruction using the diagnostic NOP instruction and performing a memory read test of the instruction area. It is possible to easily perform f111 verification (check) before executing a program, which has the effect of improving the reliability of the information processing system.
第1図は本発明の一実施例の構成を示すブロック図であ
る。
図において、
10・・・マイクロプロセッサ、
20・・・メモリ、
30・・・命令アドレスレジスタ、
40・・・命令アドレスバス、
50・・・命令データバス、
60・・・命令レジスタ、
70・・・命令解読回路、
71・・・診断NOP命令設定手段、
72・・・診断NOP命令解除手段、
80・・・診断NOP設定指示信号線、90・・・診断
NOP解除指示信号線、100・・診断NOPフラグ、
110・・診断NOP指示信号線、
120・・診断NOPアドレスレジスタ、130・・エ
ラーチェック回路である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 10... Microprocessor, 20... Memory, 30... Instruction address register, 40... Instruction address bus, 50... Instruction data bus, 60... Instruction register, 70... - Command decoding circuit, 71... Diagnostic NOP command setting means, 72... Diagnostic NOP command canceling means, 80... Diagnostic NOP setting instruction signal line, 90... Diagnostic NOP canceling instruction signal line, 100... Diagnostic NOP flag, 110...Diagnostic NOP instruction signal line, 120...Diagnostic NOP address register, 130...Error check circuit.
Claims (1)
クやECCチェック等のメモリ読出し時におけるデータ
のチェックが行われるメモリとそのメモリを制御するマ
イクロプロセッサとを有する情報処理システムにおいて
、 診断NOP設定指示によりセットされ診断NOP解除指
示によりリセットされる診断NOPフラグと、 診断NOP命令の解読により診断NOP設定指示を発行
して前記診断NOPフラグをセットし前記診断NOPフ
ラグのセットに基づく診断NOP指示によりそれ以後の
命令をNOP命令として取り扱う命令解読回路内の診断
NOP命令設定手段と、 この診断NOP命令設定手段から発行される診断NOP
設定指示に基づいて診断NOP命令次アドレスを保持す
る診断NOPアドレスレジスタと、診断NOP解除命令
の解読により診断NOP解除指示を発行し前記診断NO
Pフラグをリセットして前記診断NOPアドレスレジス
タに保持されている診断NOP命令次アドレスレスを命
令アドレスレジスタに格納する命令解読回路内の診断N
OP命令解除手段と を有することを特徴とするメモリデータ保全性チェック
方式。[Scope of Claims] An information processing system comprising a memory in which an instruction area and a data area are separated and data checks such as a parity check and an ECC check are performed during memory reading, and a microprocessor that controls the memory. A diagnostic NOP flag is set by a diagnostic NOP setting instruction and reset by a diagnostic NOP cancellation instruction; A diagnostic NOP instruction setting means in an instruction decoding circuit that treats subsequent instructions as NOP instructions based on the diagnostic NOP instruction, and a diagnostic NOP issued from this diagnostic NOP instruction setting means.
A diagnostic NOP address register holds the next address of the diagnostic NOP command based on the setting instruction, and a diagnostic NOP release command is issued by decoding the diagnostic NOP release command and the diagnostic NOP
A diagnostic N in the instruction decoding circuit that resets the P flag and stores the diagnostic NOP instruction next address held in the diagnostic NOP address register in the instruction address register.
1. A memory data integrity check method comprising: OP command release means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008751A JPH03212750A (en) | 1990-01-18 | 1990-01-18 | Memory data maintainability checking system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008751A JPH03212750A (en) | 1990-01-18 | 1990-01-18 | Memory data maintainability checking system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03212750A true JPH03212750A (en) | 1991-09-18 |
Family
ID=11701633
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008751A Pending JPH03212750A (en) | 1990-01-18 | 1990-01-18 | Memory data maintainability checking system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03212750A (en) |
-
1990
- 1990-01-18 JP JP2008751A patent/JPH03212750A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900002604B1 (en) | An error recovery apparatus and method in an information processing apparatus having a controller storage device. | |
| JP2006523868A (en) | Program-controlled unit and method | |
| JPH03212750A (en) | Memory data maintainability checking system | |
| JPH01125633A (en) | System for debugging multi-processing system | |
| JPH0954694A (en) | Pipeline processor and its processing method | |
| JPS60214043A (en) | Pipeline control circuit | |
| JP3130798B2 (en) | Bus transfer device | |
| JPS61846A (en) | Test method for normalness of memory contents | |
| JP2729126B2 (en) | Address trace circuit of debug system | |
| JPS6043541B2 (en) | data processing equipment | |
| JPH01140359A (en) | Main storage device | |
| JPH0512004A (en) | Instruction execution method | |
| JPS6246019B2 (en) | ||
| JPS59218555A (en) | Microprogram control device | |
| JPH0444766B2 (en) | ||
| JPS58103040A (en) | Microprogram controller | |
| JP2002150795A (en) | Semiconductor integrated circuit | |
| JPS6123245A (en) | Artificial fault generator | |
| JPH03228140A (en) | Microprogram controller | |
| JPH04218849A (en) | Storage device | |
| JPS6250929A (en) | Configuration information setting method | |
| JPS61210441A (en) | Bug detecting method for program | |
| JPS63228237A (en) | Program debugging system | |
| JPS61131048A (en) | Memory access controlling system | |
| JPH01191948A (en) | Diagnosis controller |