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
JPS60699B2 - data processing system - Google Patents
[go: Go Back, main page]

JPS60699B2 - data processing system - Google Patents

data processing system

Info

Publication number
JPS60699B2
JPS60699B2 JP53079599A JP7959978A JPS60699B2 JP S60699 B2 JPS60699 B2 JP S60699B2 JP 53079599 A JP53079599 A JP 53079599A JP 7959978 A JP7959978 A JP 7959978A JP S60699 B2 JPS60699 B2 JP S60699B2
Authority
JP
Japan
Prior art keywords
processing system
data processing
item
program
module
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
JP53079599A
Other languages
Japanese (ja)
Other versions
JPS556684A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP53079599A priority Critical patent/JPS60699B2/en
Publication of JPS556684A publication Critical patent/JPS556684A/en
Publication of JPS60699B2 publication Critical patent/JPS60699B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 本発明は、プログラムなどの誤りを迅速に見つけ出すこ
との出来るデータ処理システムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing system that can quickly find errors in programs and the like.

プログラムの生産コストはプログラムステップ数に比例
的に増大せず、むしろ指数関数的に増大する。
The cost of producing a program does not increase proportionally to the number of program steps, but rather increases exponentially.

プログラムの生産コストを低減するため、プログラムの
デバックを迅速且つ安価に行うことが望まれている。し
かしながら、従来技術ではプログラムのデバックを迅速
且つ安価に行うことは不可能であった。また、計算機シ
ステムの信頼度を向上させるため、特に重要なプログラ
ム・モジュール、例えばOSのディスパッチヤなどは完
全に虫のないものとしなければならない。本発明は、上
記の考察に基づくものであって、プログラムなどの誤り
を迅速に見付け出すことが出来ると共に、信頼度の高い
データ処理システムを提供することを目的としている。
In order to reduce the production cost of programs, it is desired to debug programs quickly and inexpensively. However, with the prior art, it has been impossible to debug programs quickly and inexpensively. Furthermore, in order to improve the reliability of a computer system, particularly important program modules, such as an OS dispatcher, must be completely insect-free. The present invention is based on the above considerations, and aims to provide a highly reliable data processing system that can quickly find errors in programs and the like.

そしてそのため、本発明のデータ処理システムは、同一
機能を行う複数種類のディスティンクト・プログラム・
モジュール及びモジュール切換え命令を含む一連のプロ
グラムが格納されているメモリ装置と、プロセッサとを
備え、上記デイステインクト・モジュール切換え命令が
読出されたとき、当該モジュール切換え命令で指示され
た複数のデイステインクト・フ。。グラム・モジュール
が実行されるように構成されていることを特徴とするも
のである。以下、本発明を図面を参照しつつ説明する。
図は本発明の1実施例のブロック図であって、1は中央
処理装置、2は比較器、3は命令レジスタ、4は制御レ
ジス夕(例えば偽Wレジスタ)、5はローカル・メモリ
、6は主メモリ、7なし、し1 1はAND回路、1
2なし、し1 4はラツチ、MA,とMA2はデイステ
インクト・プログラム・モジュール、AD,はデイステ
インクト・プログラム・モジュールMA,の先頭アドレ
ス、AD2はデイスティンクト・プログラム・モジュー
ルA2の先頭アドレス、DPEはエラー信号ビット、D
Pはディスティンクト・プログラム・モード表示ビット
、D,とD2は診断用ェリャ、Fは正鱗ェリャ、P,と
P2はデイステインクト・プログラム用処理ェリヤ、1
は入力デ−夕・エリヤをそれぞれ示している。なお、本
明細書において、ディステインクト・プログラムとは、
処理機能同一であるが、ハードウェアとソフトウェアの
構成の異なるプログラム・モジュールを意味している。
命令レジスタ3に格納されている「EC,DD,AD,
,AD2」はモジュール切換え命令を示すものであって
、上記のモジュール切換え命令が読出されると、データ
処理システムはデイステインクト・プログラム・モード
で動作する。
Therefore, the data processing system of the present invention has multiple types of distinct programs that perform the same function.
comprising a memory device storing a series of programs including modules and module switching instructions, and a processor; when the discrete module switching instruction is read, the plurality of discrete modules specified by the module switching instruction is read. Kutfu. . gram module is configured to be executed. Hereinafter, the present invention will be explained with reference to the drawings.
The figure is a block diagram of one embodiment of the present invention, in which 1 is a central processing unit, 2 is a comparator, 3 is an instruction register, 4 is a control register (for example, a fake W register), 5 is a local memory, and 6 is a block diagram of an embodiment of the present invention. is the main memory, 7 is absent, and 1 is the AND circuit, 1
2 None, 1 4 is a latch, MA, and MA2 are distinct program modules, AD is the start address of distinct program module MA, AD2 is the start of distinct program module A2 Address, DPE is error signal bit, D
P is a distinct program mode display bit, D, and D2 are diagnostic areas, F is a positive scale area, P, and P2 are distinct program processing areas, 1
indicate the input data area, respectively. Note that in this specification, a distinct program is
Refers to program modules that have the same processing functions but different hardware and software configurations.
"EC, DD, AD,
, AD2'' indicates a module switching command, and when the above module switching command is read, the data processing system operates in discrete program mode.

ディスティンクト・プログラム・モードでは「 アドレ
スAD,で指定されたディスティンクト・プログラム・
モジュールMA,が先ず実行され、その処理結果は、デ
イステインクト・プログラム用処理ヱリャP,に書込ま
れる。次に、ディスティンクト・プログラム・モジュー
ルMんが実行され、その処理結果がデイステインクト・
プログラム処理ェリヤP2に書込まれる。入力データ・
ェリャ1には直前のモジュールの処理結果が格納されて
いる。ェリャP,およびP2の処理結果は、表示ビット
DPが「1」のとき比較器2での比較結果が有効になる
。表示ビットDPは操作盤から手動でオン/オフするこ
とも出来、また命令でオン・オフすることも出釆る。そ
して、両処理結果が一致する場合には、処理結果はAN
D回路10、ラツチ14およびAND回路9を経由して
正解ェリャFに書込まれる。正解ェリャFへの書込みは
、次のモジュールの処理の実行とは独立に行われる。比
較器2の比較結果が不一致を示していると、ヱリャP,
の処理結果はラッチ12およびAND回路7を経由して
診断用ェリャD.に書込まれ、また、ェリャP2の処理
結果は診断用ェリャD2に書込まれ、これと同時にエラ
ー表示ビットDPEに「1」が立てられる。上述の実施
例では、ディスティンクト・プログラム用処理ヱリャP
,,P2はローカル・メモリ5に設けられているが、デ
イスティンクト・プログラム用処理ェリャを作業用レジ
スタ又はファイルに設けても良い。
In distinct program mode, "distinct program specified by address AD,
Module MA is executed first, and its processing results are written to discrete program processing module P. Next, the distinct program module M is executed, and the processing result is
It is written to the program processing area P2. Input data·
Area 1 stores the processing results of the previous module. As for the processing results of the areas P and P2, the comparison result of the comparator 2 is valid when the display bit DP is "1". The display bit DP can be turned on and off manually from the operation panel, and can also be turned on and off by command. Then, if both processing results match, the processing result is AN
It is written to the correct answer area F via the D circuit 10, latch 14 and AND circuit 9. Writing to the correct answer area F is performed independently of the execution of the next module's processing. If the comparison result of comparator 2 indicates a mismatch, Elya P,
The processing results are sent to the diagnostic data via the latch 12 and the AND circuit 7. Further, the processing result of the area P2 is written to the diagnostic area D2, and at the same time, the error display bit DPE is set to "1". In the above embodiment, the processing for the distinct program P
, , P2 are provided in the local memory 5, but the processing area for the distinct program may be provided in a working register or a file.

デイステインクト・プログラム用処理ヱリャを設けた理
由は、計算速度を低下させないためである。また、この
実施例では、ディスティンクト・プログラム・モード表
示ビットDPは、制御レジスタに設けられているが、メ
モリ内に設けるようにしても良い。
The reason for providing the distinct program processing area is to prevent the calculation speed from decreasing. Further, in this embodiment, the distinct program mode indication bit DP is provided in the control register, but it may be provided in the memory.

また、この実施例では、正確ェリャFは主メモリ6に設
けられているが、正解ェリャをファイルに設けても良い
。正解値の書込み処理を次のモジュールの処理の実行と
は独立に行う理由は、ディスティンクト・プログラムを
行うと、中央処理装置の実行速度が落るが、それを少し
でも救うためである。また、この実施例では、入力デー
タ・ェリャ1がローカル・メモリ5に設けられているが
、入力データ・ヱリヤ1をレジスタ又はファイル又は主
メモIJIこ設けても良い。デイステインクト・プログ
ラム・モジュールMA,およびM〜直前のモジュールの
処理結果は、処理ェリャP,又はP2に書込まれている
が、この処理結果をハードウェア機構もしくはファーム
ウェアで入力データ・ェリャ1へ移すようにしても良く
、或はェリャP,又はP2内の処理結果格納部分を次の
モジュールの入力データ・ェリャとする切換え機構を設
けても良い。専用の入力データ・ェリヤを設けてこ)に
直前のモジュールの処理結果を格納する理由は、いちい
ち主メモリをアクセスすることをなくし、中央処理装置
の処理速度を向上させるためである。上述の実施例では
、2個のディスティンクト・プログラム・モジュ−ルが
用意されているが、2個より多いデイステインクト・プ
ログラム・モジュールを用意しても良い。
Further, in this embodiment, the correct answer F is provided in the main memory 6, but the correct answer may be provided in a file. The reason why the process of writing the correct answer value is performed independently of the execution of the process of the next module is to reduce the execution speed of the central processing unit when a distinct program is executed. Further, in this embodiment, the input data area 1 is provided in the local memory 5, but the input data area 1 may be provided in a register, a file, or the main memory. The processing results of the distinct program modules MA and M~ are written in the processing area P or P2, but the processing results are transferred to the input data area 1 by the hardware mechanism or firmware. Alternatively, a switching mechanism may be provided in which the processing result storage portion in area P or P2 is used as the input data area for the next module. The reason why a dedicated input data area is provided to store the processing results of the previous module is to eliminate the need to access the main memory each time and improve the processing speed of the central processing unit. In the above embodiment, two distinct program modules are provided, but more than two distinct program modules may be provided.

この場合には、比較器2の代りに多数決論理回路を用い
、多い方の値を正餓値とすれば良い。以上の説明から明
らかなように、本発明によれば、プログラムのデバクや
ハードウエアのデバクを簡単且つ迅速に行うことが出来
る。
In this case, a majority logic circuit may be used instead of the comparator 2, and the larger value may be taken as the positive value. As is clear from the above description, according to the present invention, programs and hardware can be debugged easily and quickly.

また、本発明を用いて、特に重要なプログラム・モジュ
−ル、例えばOSのディスパッチャなどの信頼度を向上
させることも出釆る。
The present invention can also be used to improve the reliability of particularly important program modules, such as the OS dispatcher.

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

図は本発明の1実施例のブロック図である。 1・・・・・・中央処理装置、2・・・・・・比較器「
3・・・・・・命令レジスタ、4……制御レジスタ、
5……ローカル・メモリ、6……主メモリ、7なし、し
11……AND回路、12ないし14・・・・・・ラツ
チ、MA,とMA2……デイステインクト・プログラム
・モジュール、AD,とAD2……デイステインクト・
プログラム・モジュールMA,,Mんの先頭アドレス、
DP・・…・デイステインクト・プ。
The figure is a block diagram of one embodiment of the present invention. 1...Central processing unit, 2...Comparator
3...Instruction register, 4...Control register,
5... Local memory, 6... Main memory, 7 None, 11... AND circuit, 12 to 14... Latch, MA, and MA2... Distinct program module, AD, and AD2... Day Stained...
Start address of program module MA,,M,
DP... Destinct pu.

Claims (1)

【特許請求の範囲】 1 同一機能を行う複数種類のデイステインクト・プロ
グラム・モジユール及びモジユール切換え命令を含む一
連のプログラムが格納されているメモリ装置と、プロセ
ツサとを備え、上記デイステインクト・モジユール切替
え命令が読出されたとき、当該モジユール切替え命令で
指示された複数のデイステインクト・プログラム・モジ
ユールが実行されるように構成されていることを特徴と
するデータ処理システム。 2 複数の処理結果が不一致である場合には、制御レジ
スタにエラー信号ビツトが立てられることを特徴とする
特許請求の範囲第1項記載のデータ処理システム。 3 複数の処理結果の多数決がとられることを特徴とす
る特許請求の範囲第1項記載のデータ処理システム。 4 複数の処理結果に不一致が生じた時、当該複数の処
理結果を診断エリヤに書込むことを特徴とする特許請求
の範囲第1項、第2項又は第3項記載のデータ処理シス
テム。 5 デイステインクト・プログラム・モード表示が制御
レジスタ又はメモリに準備され、上記デイステインクト
・プログラム・モード表示ビツトがオンである場合のみ
、複数のデイステインクト・プログラムの処理結果が比
較されることを特徴とする特許請求の範囲第1項、第2
項、第3項又は第4項記載のデータ処理システム。 6 複数の処理結果のそれぞれを格納するエリヤをデイ
ステインクト・プログラム用に準備されていることを特
徴とする特許請求の範囲第1項、第2項、第3項、第4
項又は第5項記載のデータ処理システム。 7 処理結果の正解値を、次のプログラム・モジユール
の処理の実行とは独立に、フアイル又はメモリに書込む
ことを特徴とする特許請求の範囲第1項、第2項、第3
項、第4項、第5項又は第6項記載のデータ処理システ
ム。 8 専用入力データ作業エリヤを有し、該専用入力デー
タ作業エリヤに直前のプログラム・モジユールの処理結
果が格納されることを特徴とする特許請求の範囲第1項
、第2項、第3項、第4項、第5項、第6項又は第7項
記載のデータ処理システム。 9 1台のプロセツサが複数のデイステインクト・プロ
グラム・モジユールを1個ずつ逐次処理することを特徴
とする特許請求の範囲第1項ないし第8項のいずれかに
記載のデータ処理システム。
[Scope of Claims] 1. A processor comprising a memory device storing a series of programs including a plurality of types of distinct program modules and module switching instructions that perform the same function, and a processor; A data processing system characterized in that, when a switching instruction is read, a plurality of distinct program modules instructed by the module switching instruction are executed. 2. The data processing system according to claim 1, wherein if the plurality of processing results do not match, an error signal bit is set in the control register. 3. The data processing system according to claim 1, wherein a majority vote is taken from a plurality of processing results. 4. The data processing system according to claim 1, 2, or 3, characterized in that when a discrepancy occurs between the plurality of processing results, the plurality of processing results are written in a diagnostic area. 5. The processing results of multiple discrete programs are compared only when a discrete program mode indication is prepared in the control register or memory and the discrete program mode indication bit is on. Claims 1 and 2 are characterized by
3. The data processing system according to item 3 or 4. 6. Claims 1, 2, 3, and 4, characterized in that an area for storing each of a plurality of processing results is prepared for a discrete program.
5. The data processing system according to item 5. 7. Claims 1, 2, and 3, characterized in that the correct value of the processing result is written to a file or memory independently of the execution of the next program module process.
6. The data processing system according to item 4, item 5, or item 6. 8. Claims 1, 2, and 3, characterized in that it has a dedicated input data work area, and the processing result of the immediately preceding program module is stored in the dedicated input data work area. The data processing system according to item 4, 5, 6, or 7. 9. The data processing system according to any one of claims 1 to 8, wherein one processor sequentially processes a plurality of discrete program modules one by one.
JP53079599A 1978-06-30 1978-06-30 data processing system Expired JPS60699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53079599A JPS60699B2 (en) 1978-06-30 1978-06-30 data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53079599A JPS60699B2 (en) 1978-06-30 1978-06-30 data processing system

Publications (2)

Publication Number Publication Date
JPS556684A JPS556684A (en) 1980-01-18
JPS60699B2 true JPS60699B2 (en) 1985-01-09

Family

ID=13694464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53079599A Expired JPS60699B2 (en) 1978-06-30 1978-06-30 data processing system

Country Status (1)

Country Link
JP (1) JPS60699B2 (en)

Also Published As

Publication number Publication date
JPS556684A (en) 1980-01-18

Similar Documents

Publication Publication Date Title
JPH09330106A (en) Control system with backup function
JPS60699B2 (en) data processing system
JPS60159951A (en) Tracing system in information processing device
JPS60698B2 (en) parallel data processing system
JPS6259825B2 (en)
JPH1115661A (en) CPU self-diagnosis method
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JP2735246B2 (en) Test and set method
JP3350069B2 (en) Bus line monitoring method
JPH08179994A (en) Computer system
JPH0317760A (en) Data write confirming system
JPS6240736B2 (en)
JPS6130296B2 (en)
JP3293144B2 (en) Peripheral control device
JPS59201110A (en) Programmable controller
JPS6292042A (en) Memory device
JPS58121459A (en) Service processor of electronic computer
JPS6398751A (en) Memory diagnosis system
JPS62298841A (en) Firmware debugging system
JPS62192824A (en) Access system for processor
JPS6136641B2 (en)
JPS5622281A (en) Buffer memory control system
JPH01140265A (en) Multiprocessor system
JPH039433A (en) Information processor
JPS6219912A (en) Sequence arithmetic and control unit