JPH0214733B2 - - Google Patents
Info
- Publication number
- JPH0214733B2 JPH0214733B2 JP60137394A JP13739485A JPH0214733B2 JP H0214733 B2 JPH0214733 B2 JP H0214733B2 JP 60137394 A JP60137394 A JP 60137394A JP 13739485 A JP13739485 A JP 13739485A JP H0214733 B2 JPH0214733 B2 JP H0214733B2
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- input
- output
- common bus
- processing device
- 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 - Lifetime
Links
Landscapes
- Detection And Correction Of Errors (AREA)
- Retry When Errors Occur (AREA)
Description
【発明の詳細な説明】
〔概要〕
メモリより読出した命令をを直接、デコード処
理するとともに、並列してECC回路を通して命
令レジスタにセツトし、エラーがなければ直接デ
コード処理した内容にもとづいて命令実行を行な
いエラーが存在する場合はECC回路にて修正済
の命令レジスタ内の命令をデコード処理して命令
実行を行なうように構成された命令処理装置にお
いて、共通バスを使用して他装置に入出力命令を
発行しようとしたとき共通バスがビジー等の原因
により当該入出力命令が実行できないとき、メモ
リから命令再読出しを行なうことなく命令レジス
タにセツトされている同一入出力命令をデコード
して命令実行するものである。[Detailed Description of the Invention] [Summary] Directly decodes instructions read from memory, sets them in the instruction register through an ECC circuit in parallel, and executes instructions based on the directly decoded contents if there is no error. In an instruction processing device configured to execute the instruction by decoding the corrected instruction in the instruction register using the ECC circuit and executing the instruction if an error exists, the instruction processing device inputs/outputs the input/output to other devices using a common bus. When attempting to issue an instruction, if the relevant input/output instruction cannot be executed due to reasons such as the common bus being busy, the same input/output instruction set in the instruction register is decoded and executed without re-reading the instruction from memory. It is something to do.
本発明は、命令処理装置と他の装置が共通バス
により接続され、命令処理装置が他の装置との間
で情報の授受を行なうとき入出力命令を使用する
構成のデータ処理装置における命令処理装置の命
令実行方式に関するものである。
The present invention provides an instruction processing device in a data processing device configured such that an instruction processing device and other devices are connected by a common bus, and the instruction processing device uses input/output instructions when exchanging information with the other devices. This is related to the instruction execution method.
従来の命令処理装置においては共通バスを使用
する入出力命令が他装置のサイクルスチール動作
と競合して共通バスを獲得できずに実行できない
ときは、この命令実行シーケンスをクリアし、他
装置のサイクルスチール動作後、再び同一入出力
命令をメモリより読出してデコードし実行するよ
うにしていた。
In conventional instruction processing devices, when an input/output instruction that uses a common bus cannot be executed because it cannot acquire the common bus due to conflict with the cycle steal operation of another device, this instruction execution sequence is cleared and the cycle of the other device is After the steal operation, the same input/output instruction is read out from memory, decoded, and executed again.
上記方式によると、再びメモリから命令を読出
してくる時間だけ、命令処理能力が低下するとい
う欠点がある。
According to the above method, there is a drawback that the instruction processing capacity is reduced by the time it takes to read the instructions from the memory again.
本発明は共通バスを使用する入出力命令が共通
バスを獲得できずに実行できないとき再び当該入
出力命令をメモリが読出してくることなく、
ECC回路を経由して命令レジスタに保持されて
いる同一入出力命令を使用し、当該同一入出力命
令をデコードして再実行するようにしたものであ
る。
According to the present invention, when an input/output instruction that uses a common bus cannot be executed because the common bus cannot be acquired, the memory does not read the input/output instruction again.
The same input/output instruction held in the instruction register via the ECC circuit is used to decode and re-execute the same input/output instruction.
本発明は、ECC回路を有する命令処理装置に
おいて、高速処理のために通常は、メモリから読
出した命令を直接デコード処理して命令を実行
し、エラーのある場合のみECC回路で修正され
た命令を実行するという構成を利用し、共通バス
を使用する入出力命令が共通バスを獲得できずに
実行できないときECC回路の出力を保持してい
る命令レジスタの内容にもとづいて同一入出力命
令を実行するようにしている。このため、再びメ
モリから命令を読出す必要がなくなり、命令処理
能力を向上させることができる。
The present invention provides an instruction processing device having an ECC circuit, in order to achieve high-speed processing, instructions read from memory are normally decoded directly and executed, and only when an error occurs, the corrected instruction is executed by the ECC circuit. When an input/output instruction that uses a common bus cannot be executed because the common bus cannot be acquired, the same input/output instruction is executed based on the contents of the instruction register that holds the output of the ECC circuit. That's what I do. Therefore, there is no need to read instructions from the memory again, and the instruction processing capacity can be improved.
第2図は、本発明が適用される1実施例の通信
制御装置のブロツク構成を示す図である。
FIG. 2 is a diagram showing a block configuration of a communication control device according to an embodiment to which the present invention is applied.
図中、20は命令処理装置である中央制御部
(CCU)、21はメモリ、22は回線制御部、2
3はチヤネルアダプタ(CA)、24は回線対応
部、25は共通バスである。 In the figure, 20 is a central control unit (CCU) which is an instruction processing unit, 21 is a memory, 22 is a line control unit, 2
3 is a channel adapter (CA), 24 is a line support section, and 25 is a common bus.
ここで、中央制御部20はメモリ21にある制
御プログラムを実行する命令処理装置であり、チ
ヤネルアダプタ23、回線制御部22は、中央制
御部20からの入出力命令により制御され、また
サイクルスチールによりメモリ21とデータ転送
を行う。 Here, the central control unit 20 is a command processing device that executes a control program stored in a memory 21, and the channel adapter 23 and line control unit 22 are controlled by input/output commands from the central control unit 20, and are controlled by cycle stealing. Data is transferred to and from the memory 21.
第1図は、実施例の中央制御部の内部構成を示
すブロツク図であり、図中、1はメモリ(MS)
2はメモリ読出データレジスタ(MRDR)、3は
ECC回路、4は命令レジスタ(IR)、5は命令デ
コード回路、6はシーケンス制御回路、7はバス
制御回路、8は演算回路(ALU)、9は作業レジ
スタ、10はメモリアドレスレジスタ(SAR)、
11は命令アドレスレジスタ(IAR)、12はメ
モリ書込データレジスタ(MWDR)、13は
ECC回路、14は共通バスである。 FIG. 1 is a block diagram showing the internal configuration of the central control unit of the embodiment, and in the figure, 1 is a memory (MS).
2 is memory read data register (MRDR), 3 is
ECC circuit, 4 is instruction register (IR), 5 is instruction decode circuit, 6 is sequence control circuit, 7 is bus control circuit, 8 is arithmetic circuit (ALU), 9 is work register, 10 is memory address register (SAR) ,
11 is the instruction address register (IAR), 12 is the memory write data register (MWDR), and 13 is the instruction address register (IAR).
ECC circuit 14 is a common bus.
第1図の動作は以下の通りである。 The operation of FIG. 1 is as follows.
MSIから読出されたデータは、MRDR2にセ
ツトされる。 Data read from MSI is set in MRDR2.
MRDR2の出力データが命令デコード回路5
でデコードされると同時にECC回路3により1
ビツトエラーが自動修正され、IR4に保持され
る。 The output data of MRDR2 is sent to the instruction decode circuit 5.
At the same time, ECC circuit 3 decodes 1
Bit errors are automatically corrected and retained in IR4.
このとき1ビツトエラーが発生したら、前記
MRDR2の出力データによるデコードを無効に
し、IR4の出力データを命令デコード回路5で
デコードする。 If a 1-bit error occurs at this time, the above
The decoding by the output data of MRDR2 is disabled, and the output data of IR4 is decoded by the instruction decoding circuit 5.
デコードの結果、シーケンス制御回路6の制御
により命令が実行される。 As a result of decoding, the instruction is executed under the control of the sequence control circuit 6.
命令が共通バスを使用する入出力命令のとき
は、シーケンス制御回路6からバス制御回路7へ
通知され、バス制御回路7はバスを獲得しようと
するが、このとき例えばチヤネルアダプタよりサ
イクルスチールがあつたとすると、バス制御回路
7はシーケンス制御回路6へ通知する。 When the instruction is an input/output instruction that uses a common bus, the sequence control circuit 6 notifies the bus control circuit 7, and the bus control circuit 7 attempts to acquire the bus. If so, the bus control circuit 7 notifies the sequence control circuit 6.
シーケンス制御回路6は、この入出力命令の制
御を無効にし、サイクルスチールの制御を行う。
そしてサイクルスチールが終了したら、前記実行
できなかつた入出力命令はIR4に保持されてい
るので、IR4の出力データを命令デコード回路
5でデコードし実行する。 The sequence control circuit 6 disables control of this input/output instruction and controls cycle stealing.
When the cycle steal is completed, since the input/output instruction that could not be executed is held in the IR4, the output data of the IR4 is decoded by the instruction decoding circuit 5 and executed.
本発明によれば、命令を読出すためのメモリア
クセス回数が減少するので命令処理能力が向上す
る。
According to the present invention, the number of memory accesses for reading instructions is reduced, so that instruction processing capacity is improved.
第1図は実施例の中央制御部の内部構成を示す
ブロツク図、第2図は本発明が適用される1実施
例の通信制御装置のブロツク構成を示す図であ
る。
第1図において、1はメモリ、3はECC回路、
4は命令レジスタ、5は命令デコード回路、6は
シーケンス制御回路、7はバス制御回路、14は
共通バスである。
FIG. 1 is a block diagram showing the internal configuration of a central control unit according to an embodiment, and FIG. 2 is a diagram showing a block configuration of a communication control device according to an embodiment to which the present invention is applied. In Figure 1, 1 is a memory, 3 is an ECC circuit,
4 is an instruction register, 5 is an instruction decode circuit, 6 is a sequence control circuit, 7 is a bus control circuit, and 14 is a common bus.
Claims (1)
正回路によるエラー自動修正を行なわずにデコー
ドする手段と、 上記エラーチエツク訂正回路によりエラー自動
修正した命令を命令レジスタに保持する手段と、 エラー発生時には上記命令レジスタに保持され
た命令を再びデコードする手段とを有する命令処
理装置であつて、 共通バスにより他装置と接続され、他装置との
間の情報授受を共通バスを使用する入出力命令に
よつて実行する命令処理装置において、 上記共通バスを使用する入出力命令が共通バス
を獲得できずに実行できないとき、再び当該入出
力命令をメモリから読出してくることなく、上記
命令レジスタに保持された命令をデコードする手
段を使用して当該入出力命令を再実行するよう構
成したことを特徴とする命令処理装置。[Scope of Claims] 1. Means for decoding an instruction read from a memory without performing automatic error correction by the error check and correction circuit, and means for holding in an instruction register the instruction whose error has been automatically corrected by the error check and correction circuit. An instruction processing device having means for decoding the instructions held in the instruction register again when an error occurs, and is connected to other devices via a common bus, and has an input/receiver that uses the common bus to exchange information with other devices. In an instruction processing device that executes an output instruction, when an input/output instruction that uses the common bus cannot be executed because the common bus cannot be acquired, the input/output instruction is not read out from memory again and the input/output instruction is stored in the instruction register. An instruction processing device characterized in that the instruction processing device is configured to re-execute the input/output instruction using means for decoding the instruction held in the instruction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60137394A JPS61294557A (en) | 1985-06-24 | 1985-06-24 | Instruction processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60137394A JPS61294557A (en) | 1985-06-24 | 1985-06-24 | Instruction processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61294557A JPS61294557A (en) | 1986-12-25 |
| JPH0214733B2 true JPH0214733B2 (en) | 1990-04-09 |
Family
ID=15197642
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60137394A Granted JPS61294557A (en) | 1985-06-24 | 1985-06-24 | Instruction processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61294557A (en) |
-
1985
- 1985-06-24 JP JP60137394A patent/JPS61294557A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61294557A (en) | 1986-12-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS62206658A (en) | storage management device | |
| JPH0214733B2 (en) | ||
| JP3139310B2 (en) | Digital signal processor | |
| JPH0473167B2 (en) | ||
| JPS62269237A (en) | Data processor | |
| JP2821176B2 (en) | Information processing device | |
| JP3127737B2 (en) | Digital signal processor | |
| JPS60142450A (en) | Storage system | |
| JPS61168058A (en) | Storage device | |
| JPH0414378B2 (en) | ||
| JPS6146545A (en) | Input and output instruction control system | |
| JPH01158554A (en) | Data processing system providing dma device | |
| JPH05120203A (en) | Dma control system | |
| JPH04171565A (en) | Data transfer system | |
| JPS6349942A (en) | Arithmetic processing unit | |
| JPS6388644A (en) | Central processing unit | |
| JPH01292451A (en) | Information processor | |
| JPH01144151A (en) | Information processor | |
| JPH03161845A (en) | Information processor | |
| JPH0675789A (en) | Information processor | |
| JPS6324743A (en) | Checksum generation method for communication control equipment | |
| JPS63211057A (en) | multiprocessor system | |
| JPH02297650A (en) | Receiver | |
| JPS63174157A (en) | Microprocessor device | |
| JPH0535456B2 (en) |