JPS63311460A - Bus control system - Google Patents
Bus control systemInfo
- Publication number
- JPS63311460A JPS63311460A JP62146222A JP14622287A JPS63311460A JP S63311460 A JPS63311460 A JP S63311460A JP 62146222 A JP62146222 A JP 62146222A JP 14622287 A JP14622287 A JP 14622287A JP S63311460 A JPS63311460 A JP S63311460A
- Authority
- JP
- Japan
- Prior art keywords
- register
- bus control
- status
- mode
- control unit
- 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 10
- 230000010365 information processing Effects 0.000 claims description 2
- 230000002159 abnormal effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は共通バスに接続される処理装置が有するバス制
御部のバス制御方式に関し、特にバス制御部及び処理装
置の擬似障害の発生方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus control method for a bus control unit included in a processing device connected to a common bus, and particularly relates to a method for generating a pseudo failure in the bus control unit and the processing device. .
従来、この種の共通バスに接続される処理装置に擬似障
害を発生させる方式としてFi1人手によって障害を挿
入する方式が一般的であった。Conventionally, as a method for generating a pseudo fault in a processing device connected to this type of common bus, a method of manually inserting a fault has been a common method.
上述した従来の人手による擬似障害の挿入方式によるシ
ステム試験では、試験時間が長くなるばかシですく1人
的誤シが発生するので、不正確となる欠点がありた。The conventional system test using the above-described manual method of manually inserting pseudo faults has the disadvantage of being inaccurate because it increases the test time and is prone to human errors.
〔問題点を解決するための手段] 本発明によるバス制御方式は。[Means for solving problems] The bus control method according to the present invention is as follows.
共通バスで接続され、共通バスの制御を行うバス制御部
を有する複数の処理装置から構成される情報処理システ
ムにおいて。In an information processing system comprising a plurality of processing devices connected by a common bus and having a bus control unit that controls the common bus.
前記バス制御部は、試験動作モードを記憶する動作モー
ドレジスタと、試験動作時の応答ステータスを記憶する
ステータスレジスタとを有し。The bus control section has an operation mode register that stores a test operation mode, and a status register that stores a response status during the test operation.
自バス制御部に対する情報受信時の応答サイクルにおい
て、前記動作モードレジスタが通常モードの場合は、自
処理装置の機能ファームウェアが設定する本来のステー
タス情報を送信し、前記動作モードレジスタが試験モー
ドの場合は、前記本来のステータス情報ではなく前記ス
テータスレジスタの内容を送信することを特徴とする。In the response cycle when receiving information to the own bus control unit, if the operation mode register is in normal mode, the original status information set by the functional firmware of the own processing device is transmitted, and if the operation mode register is in test mode. is characterized in that the content of the status register is transmitted instead of the original status information.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例によるバス制御方式を示すシ
ステムブロック図である。第1図において、共通バスl
には中央処理装置2と、主記憶装置3と、入出力制御装
置5とが接続されておシ。FIG. 1 is a system block diagram showing a bus control method according to an embodiment of the present invention. In Figure 1, the common bus l
A central processing unit 2, a main storage device 3, and an input/output control device 5 are connected to the system.
各装置はそれぞれ同一のバス制御部9を有している。Each device has the same bus control section 9.
第2図は第1図に示すバス制御部9のブロック図である
。第2図において、バス制御部9は共通バスlへの情報
の送受信を行う共通バス制御部91と、バス制御部9を
構成要素とする各装置の内部バス(第2図においては、
入出力制御装置5で説明しているので内部バス51)へ
の情報の送受信を行う内部バス制御部93と、前記共通
バス制御部91と内部バス制御部93に接続され、バス
制御部9の全体の制御を行う制御部92と、バス制御部
9の動作モードを記憶するモードレジスタ94と、前記
モードレジスタ94が診断モードとなっている時の応答
ステータス情報を記憶するステータスレジスタ95とか
ら構成されている。FIG. 2 is a block diagram of the bus control section 9 shown in FIG. 1. In FIG. 2, the bus control section 9 includes a common bus control section 91 that sends and receives information to and from a common bus l, and an internal bus of each device (in FIG. 2, the bus control section 9 is a component).
Since the input/output control device 5 has been explained, an internal bus control section 93 that sends and receives information to and from the internal bus 51) is connected to the common bus control section 91 and the internal bus control section 93, and is connected to the bus control section 9. Consisting of a control section 92 that performs overall control, a mode register 94 that stores the operating mode of the bus control section 9, and a status register 95 that stores response status information when the mode register 94 is in the diagnostic mode. has been done.
共通バスlでの通信の基本動作は、要求元が要求先に要
求動作情報を送信する要求サイクルと。The basic operation of communication on the common bus 1 is a request cycle in which a request source transmits requested operation information to a request destination.
要求先が要求元に結果を報告する応答サイクルとから構
成され、各サイクルはそれぞれリクエストフェーズとリ
プライフェーズとから成っている。It consists of a response cycle in which the request destination reports the result to the request source, and each cycle consists of a request phase and a reply phase.
第1図で示す中央処理装置(以下EPU ) 2が入出
力制御装置(以下IOC) 5に対してIO命令を実行
する場合のバス制御部9の動作について、詳細に説明す
る。The operation of the bus control unit 9 when the central processing unit (hereinafter referred to as EPU) 2 shown in FIG. 1 executes an IO command to the input/output control unit (hereinafter referred to as IOC) 5 will be described in detail.
EPU 2が要求サイクルにおいて、共通バスl上に、
第3図(1)に示す情報を送出すると、l0C5のバス
制御部9の共通バス制御部91がこれを取シ込み、制御
部92に送信する。制御部92は、第3図(1)の情報
のうち要求元情報をチェックし、自装置に対する要求で
あることを認識すると、要求を受付可能かどうかをチェ
ックする。情報の受信動作時、パリティエラーがあった
フ、情報の受付が不能であったシすると、制御部92は
情報の記憶動作を行わず、エラーステータスを内部レジ
スタ(図示されない)にセットするとともに、共通バス
制御部91を介してエラーステータスをEPU2に通知
する。情報の受付が可能で、制御部92が内部レジスタ
への情報のセットを行うと、リクエストフェーズは完了
し、バス制御部9はリグライフェーズとして共通バスl
からダミーデータを受信し、要求サイクルを完了させる
。On the common bus l, EPU 2, in the request cycle,
When the information shown in FIG. 3(1) is sent out, the common bus control section 91 of the bus control section 9 of the l0C5 receives it and transmits it to the control section 92. The control unit 92 checks the request source information among the information shown in FIG. 3(1), and if it recognizes that the request is for its own device, it checks whether the request can be accepted. During the information reception operation, if there is a parity error and the information cannot be received, the control unit 92 does not perform the information storage operation and sets the error status in an internal register (not shown). The error status is notified to the EPU 2 via the common bus control unit 91. When the information can be accepted and the control unit 92 sets the information to the internal register, the request phase is completed and the bus control unit 9 returns to the common bus l as a rewrite phase.
and complete the request cycle.
IOC5の機能ファームウェア(図示されない〕は、要
求サイクルの完了後、バス制御部9に対し受信情報の読
出しを指示すると、制御部92は内部バス制御部93を
通して内部バス51に情報を送信する。機能ファームウ
ェアは、情報受信後。After the request cycle is completed, the functional firmware (not shown) of the IOC 5 instructs the bus control unit 9 to read the received information, and the control unit 92 transmits the information to the internal bus 51 through the internal bus control unit 93.Function Firmware will be updated after receiving the information.
指示されたto要求の実行が可能かどうかを判断し。Determine whether the instructed to request can be executed.
可能であれば正常コードを結果ステータスとして準備し
、不能であればエラーコードを結果ステータスとして準
備した後、内部バス51及び内部バス制御部93を介し
て制御部92に対し、第3図(3)に示す情報を送信し
て、応答サイクルの起動を指示する。制御部92は、共
通バス制御部91を介して共通バス1に前記情報をEP
U 2に対して送信し、リクエストフェーズを開始する
。After preparing a normal code as a result status if possible, and preparing an error code as a result status if it is not possible, a message is sent to the control unit 92 via the internal bus 51 and internal bus control unit 93 as shown in FIG. ) to instruct the activation of a response cycle. The control unit 92 transmits the information to the common bus 1 via the common bus control unit 91.
Send to U 2 and start the request phase.
EPU 2が受信動作を正常に完了すると、リグライフ
ェーズとして、第3図(4)に示すアドレス情報を送信
するので、l0C5は前記の通シ受信動作を行い、正常
に受信完了するとりプライフェーズを終了する。When the EPU 2 completes the reception operation normally, it transmits the address information shown in FIG. end.
以上の説明から明らかな通p 、 IOC5の異常の発
生は、エラーステータスとして要求サイクルのリクエス
トフェーズにおいて報告されるか、結果ステータスとし
て応答サイクルのリクエストフェ−ズにおいて報告され
る。As is clear from the above description, the occurrence of an abnormality in the IOC 5 is reported as an error status in the request phase of the request cycle, or as a result status in the request phase of the response cycle.
また上記動作は、従来技術における共通バス制御と同様
であシ、かつ本実施例システムにおける第2図のモード
レジスタ94が通常モードでのバス制御部9の制御であ
る。The above operation is similar to the common bus control in the prior art, and in the system of this embodiment, the mode register 94 in FIG. 2 controls the bus control section 9 in the normal mode.
次にIOC5のモードレジスタ94が試験モード時のバ
ス制御動作について説明する。Next, the bus control operation when the mode register 94 of the IOC 5 is in the test mode will be explained.
10C5が、要求サイクルにおいて、第3図(1)の情
報を受信すると、制御部92は自装置に対する要求であ
ることを認識し、第4図のステータスレジスタ95の内
容をチェックする。報告契機が要求サイクルとなってい
ると、要求を受付可能かチェックすることなくステータ
スレジスタ95のステータス情報をエラーステータスと
して内部レジスタにセットするとともに、エラーステー
タスをEPU 2に通知する。報告契機が応答サイクル
となっていると1通常モードと同様に前記処理を行い。When the 10C5 receives the information shown in FIG. 3(1) in the request cycle, the control unit 92 recognizes that the request is for its own device, and checks the contents of the status register 95 shown in FIG. If the reporting trigger is a request cycle, the status information in the status register 95 is set as an error status in an internal register without checking whether the request can be accepted, and the error status is notified to the EPU 2. If the reporting trigger is a response cycle, the above processing is performed in the same manner as in 1 normal mode.
制御部92は要求サイクルを完了させ、l0C5の機能
ファームウェアは、前記の通常モードと同様の動作を行
い、第3図(3)に示す情報を送信して応答サイクルの
起動を指示するが、制御部92は応答サイクルの開始時
ステータスレジスタ95のステータス情報を、第3図(
3)の結果ステータスに上塗シして以降の処理を行う。The control unit 92 completes the request cycle, and the functional firmware of the l0C5 performs the same operation as in the normal mode, transmitting the information shown in FIG. The unit 92 stores the status information in the status register 95 at the start of the response cycle as shown in FIG.
3) Overwrite the result status and perform the subsequent processing.
従って、モードレジスタ94が試験モードでは。Therefore, mode register 94 is in test mode.
ステータスレジスタ95に適当な値を設定することによ
シ、任意の異常状態の発生を擬似できる。By setting an appropriate value in the status register 95, the occurrence of any abnormal state can be simulated.
なお、モードレジスタ94の動作モード及びステータス
レジスタ95の第4図に示す報告契機とステータス情報
は、試験グロダラムの実行プロセッサである中央処理装
置2のバス制御部9から入出力制御装置5のバス制御部
9へ指示される試験モード設定コマンドによシ、各試験
実行前に設定される。The operating mode of the mode register 94 and the reporting trigger and status information shown in FIG. It is set before each test is executed by a test mode setting command instructed to section 9.
以上説明したように本発明は共通バスで接続される複数
の処理装置それぞれに設けられるバス制御部に、動作モ
ードを記憶するモードレジスタと。As explained above, the present invention includes a mode register that stores an operating mode in a bus control section provided in each of a plurality of processing devices connected by a common bus.
共通バスの応答ステータスを記憶するステータスレジス
タヲ設け、前記モードレジスタi: E 験モードとな
っている時は本来のステータス情報ではなく前記ステー
タスレジスタの内容を送信するようにして1人手による
擬似障害を挿入しなくとも任意のエラー状況を設定でき
るという効果がある。A status register is provided to store the response status of the common bus, and when the mode register i:E is in the test mode, the content of the status register is sent instead of the original status information, thereby preventing one person from simulating a failure. This has the effect of allowing you to set any error status without inserting it.
第1図は本発明による一実施例によるバス制御方式を示
すシステムブロック図、第2図は第1図のバス制御部の
ブロック図、第3図は第2図の共通バス上を交信する情
報を示す図、第4図は第2図のステータスレジスタの内
容を示す図である。
l・・・共通バス、2・・・中央処理装置(EPU )
、 3・・・主記憶装置、5・・・入出力制御装置(
IOC) 、 9・・・バス制御部、91・・・共通バ
ス制御部、92・・・制御部−93・・・内部バス制御
部、94・・・モードレジスタ、95・・・ステータス
レジスタt51・・・入出力制御装置の内部バス。
tN1図
第2図FIG. 1 is a system block diagram showing a bus control method according to an embodiment of the present invention, FIG. 2 is a block diagram of the bus control unit in FIG. 1, and FIG. 3 is information communicating on the common bus in FIG. 2. FIG. 4 is a diagram showing the contents of the status register in FIG. 2. l...Common bus, 2...Central processing unit (EPU)
, 3... Main storage device, 5... Input/output control device (
IOC), 9...Bus control unit, 91...Common bus control unit, 92...Control unit-93...Internal bus control unit, 94...Mode register, 95...Status register t51 ...Internal bus of input/output control device. tN1 diagram Figure 2
Claims (1)
制御部を有する複数の処理装置から構成される情報処理
システムにおいて、 前記バス制御部は、試験動作モードを記憶する動作モー
ドレジスタと、試験動作時の応答ステータスを記憶する
ステータスレジスタとを有し、自バス制御部に対する情
報受信時の応答サイクルにおいて、前記動作モードレジ
スタが通常モードの場合は、自処理装置の機能ファーム
ウェアが設定する本来のステータス情報を送信し、前記
動作モードレジスタが試験モードの場合は、前記本来の
ステータス情報ではなく前記ステータスレジスタの内容
を送信することを特徴とするバス制御方式。[Claims] 1. An information processing system comprising a plurality of processing devices connected by a common bus and having a bus control unit that controls the common bus, wherein the bus control unit stores a test operation mode. It has an operation mode register that stores the response status during test operation, and a status register that stores the response status during test operation.If the operation mode register is in the normal mode in the response cycle when receiving information for the own bus control unit, the self-processing device A bus control method characterized in that original status information set by functional firmware is transmitted, and when the operation mode register is in a test mode, the contents of the status register are transmitted instead of the original status information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62146222A JPS63311460A (en) | 1987-06-13 | 1987-06-13 | Bus control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62146222A JPS63311460A (en) | 1987-06-13 | 1987-06-13 | Bus control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63311460A true JPS63311460A (en) | 1988-12-20 |
Family
ID=15402872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62146222A Pending JPS63311460A (en) | 1987-06-13 | 1987-06-13 | Bus control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63311460A (en) |
-
1987
- 1987-06-13 JP JP62146222A patent/JPS63311460A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2770976B2 (en) | Parity check device | |
JPS63311460A (en) | Bus control system | |
JPS5827530B2 (en) | Program loading method | |
KR100214134B1 (en) | Method for self-test of standby processor in full electronic switching system | |
JPH0441399B2 (en) | ||
JPS6184936A (en) | Remote supervisory control system | |
JPS6218060B2 (en) | ||
JPH0152774B2 (en) | ||
JPH0365705A (en) | Link system for programmable controller | |
JPH09114567A (en) | Bus data transfer device | |
JPH05165758A (en) | Address setting system for input/output device | |
JPS62281628A (en) | Data communication equipment | |
JPH01162963A (en) | Message sending/receiving processing method | |
JPH03246087A (en) | Method for changing over slip output | |
JPH03184134A (en) | Pseudo fault generating mechanism for data processor | |
JPS59223047A (en) | Programmable controller having link function | |
JPS6196849A (en) | Transmission system control system | |
JPH047655A (en) | Program evaluation method and communication system evaluation device | |
JPH021002A (en) | Link system for programmable controller | |
JPS611149A (en) | Communication processor | |
JPS58121459A (en) | Service processor of electronic computer | |
JPS6257337A (en) | Data transmission equipment | |
JPH01187660A (en) | Interface diagnosing system for peripheral equipment | |
JPS60101649A (en) | Diagnosis device of electronic computer | |
JPH0324601A (en) | Control method |