JPS6232829B2 - - Google Patents

Info

Publication number
JPS6232829B2
JPS6232829B2 JP54101472A JP10147279A JPS6232829B2 JP S6232829 B2 JPS6232829 B2 JP S6232829B2 JP 54101472 A JP54101472 A JP 54101472A JP 10147279 A JP10147279 A JP 10147279A JP S6232829 B2 JPS6232829 B2 JP S6232829B2
Authority
JP
Japan
Prior art keywords
data
signal
output
input
bus
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
JP54101472A
Other languages
Japanese (ja)
Other versions
JPS5627427A (en
Inventor
Junichi Kihara
Keizo Aoyanagi
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 JP10147279A priority Critical patent/JPS5627427A/en
Publication of JPS5627427A publication Critical patent/JPS5627427A/en
Publication of JPS6232829B2 publication Critical patent/JPS6232829B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

この発明は、入出力装置を持続することなくチ
ヤネル機能の診断および性能評価を行なうことの
できるチヤネルにおける診断方式に関する。 第1図はDMA(ダイレクトメモリアクセス)
装置の持続システムを示すブロツク図であり、図
において符号1は主記憶装置である。主記憶装置
1は主記憶制御装置2に接続されている。そし
て、主記憶装置1は、主記憶制御装置2の制御に
より、中央処理装置(以下、CPUと称する)
3、DMAバス4に接続されているセレクタチヤ
ネル5とのサイクルスチールで使用される。セレ
クタチヤネル5にはセレクタバス6を通して入出
力制御装置7,8がそれぞれ接続されている。そ
して、入出力制御装置7には複数台の入出力装置
9,10…が、入出力制御装置8には複数台の入
出力装置11,12…がそれぞれ接続されてい
る。 この第1図に示されるシステムにおいて、セレ
クタチヤネル5は、主記憶装置1内にあらかじめ
格納されているチヤネル制御語に従い、入出力装
置9〜12のいずれかと主記憶装置1との間のデ
ータ転送を主として行なうものである。すなわ
ち、セレクタチヤネル5は、CPU3からチヤネ
ル制御語の格納されているアドレスを起動命令と
して受取ることにより起動し、チヤネル制御語を
読出して入力する。そして、セレクタチヤネル5
はチヤネル制御語で指定された動作たとえばデー
タ転送、入出力装置の制御などを行なう。セレク
タチヤネル5の動作を更に詳細に説明すると、チ
ヤネル制御語の読み込みのほかに、チヤネル制御
語の解読、チヤネル制御語の実行(データ転送、
コマンドの実行)、入出力終了状態の書込み、割
込み発生などがある。 このような従来のセレクタチヤネル5におい
て、チヤネルを介した主記憶装置1と入出力装置
との間のデータ転送動作を確認する場合、セレク
タバス6に第1図に示されるように入出力装置9
〜12を実際に接続しなければならず問題であつ
た。しかも、データ転送は主記憶装置1、セレク
タチヤネル5、入出力制御装置7,8、入出力装
置9〜12が結合されて行なわれるため、データ
転送時に障害が発生しても、どの装置の障害なの
かをCPU3側で判断することは極めて困難であ
つた。更に、セレクタチヤネル5には低速の入出
力装置と、高速の入出力装置との両方が接続され
る場合が多いが、この場合、信頼性ならびにタイ
ミングマージンに関し、セレクタチヤネル5にと
つていずれの方が厳しい条件となるのか否かを判
断することは困難であつた。 この発明は上記事情に鑑みてなされたものでそ
の目的は、入出力装置を接続することなく自己の
機能を効率よく診断できるチヤネルにおける診断
方式を提供することにある。 この発明の他の目的は確実な自己診断機能によ
り障害発見時間を著しく短縮することにある。 この発明の更に他の目的は、セレクタチヤネル
における性能評価および信頼性評価を容易に行な
えるようにすることにある。 以下、この発明のセレクタチヤネルを例にとり
図面を参照して説明する。 第2図はこの発明に係わるセレクタチヤネル2
0の一実施例の構成を示すブロツク図である。こ
の第2図において、21は高速DMAバス(以下
高速バスと称する)であり、第2図では示されて
いないが第1図のように主記憶制御装置に接続さ
れ、複数個のチヤネルが接続されている。この高
速バス21には高速バスドライバ/レシーバ回路
22が接続されている。この高速バスドライバ/
レシーバ回路22よりバス23を介してメモリア
ドレスレジスタ24、ライトデータレジスタ2
5、リードデータレジスタ26、デバイスナンバ
レジスタ27が接続されている。 上記バス23は高速バス21のデータが通るバ
スであり、また、メモリアドレスレジスタ24は
主記憶制御装置(図示せず)へ送るメモリアドレ
スを保存するレジスタである。ライトデータレジ
スタ25は主記憶装置(図示せず)へ送るデータ
を保存するレジスタである。また、リードデータ
レジスタ26は主記憶装置からのデータを保存す
るレジスタであり、デバイスナンバレジスタ27
はチヤネル起動命令の対象機器番号を保存するレ
ジスタである。 上記メモリアドレスレジスタ24、ライトデー
タレジスタ25、リードデータレジスタ26はそ
れぞれ内部バス28に接続されている。この内部
バス28はマイクロコンピユータのメモリデータ
あるいはセレクタバスデータの通る内部バスであ
る。上記マイクロコンピユータは符号29で示さ
れており、このマイクロコンピユータ29は内部
バス28を通して各レジスタとデータの授受を行
なうようになつているとともに、転送開始指令信
号STRF0が送出される起動信号線30を通して
セレクタバス制御回路31に接続されかつこのセ
レクタバス制御回路31から送出される転送終了
割込み信号ETRF0が通る終了信号線32を介し
てマイクロコンピユータ29に接続されている。
セレクタバス制御回路31にはメモリ要求信号
BREQ0が通るメモリリクエスト信号線33が接
続されている。メモリリクエスト信号線33は高
速バス制御回路42(後述する)に接続されてい
る。 上記マイクロコンピユータ29はさらに入出力
バス34、セレクタバスドライバ/レシーバ回路
35を通して入出力装置(図示せず)とデータの
授受を行なうようになつている。セレクタバス3
6は入出力装置へのデータ、各種制御信号が通る
バスである。このセレクタバス36にはセレクタ
バスドライバ/レシーバ回路37が接続されてい
る。セレクタバスドライバ/レシーバ回路37は
内部バス28に接続されている。 また、この内部バス28にはカウンタ38が接
続されている。カウンタ38は転送バイト数をカ
ウントするものであり、その出力端は指定された
データバイト数の転送終了を示すカウンタ0信号
が通るカウンタ0信号線39を通して上述のセレ
クタバス制御回路31に接続されている。 一方、40はコマンドレジスタであり、上記内
部バス28に接続されている。このコマンドレジ
スタ40は内部バス28にアクセスの指令を伝え
るもので、内部バス28を通してコマンドレジス
タ40にデータを書き込むと、その内容により内
部バス28の読取り、内部バス28の書込みなど
の動作を開始するようになつている。また、41
はマイクロコンピユータ29のランダムアクセス
メモリ(以下、RAMと云う)であり、このRAM
41は内部バス28を通して、マイクロコンピユ
ータ29に接続されている。なお、42は高速バ
ス制御回路であり、上記高速バス21に接続され
ている。また、43はセレクタチヤネル20の機
能診断、シミユレーシヨンを行なうためのシミユ
レータであり、セレクタバス36に接続されてい
る。このシミユレータについては後で詳細に説明
する。 また、マイクロコンピユータ29には、機器番
号が入出力装置へ出力されていることを示す機器
番号出力信号ADRS0、同じくコマンドが出力さ
れていることを示すコマンド出力信号CMD0、同
じくデータが出力されていることを示すデータア
ベイラブル信号DAV0、セレクタチヤネル20へ
のデータ入力を要求していることを示すデータリ
クエスト信号DR0、機器ステイタスを要求してい
ることを示すステイタス要求信号SRQ0、および
入出力装置からの割込み要求に対する割込み承認
信号ACK0がそれぞれセレクタバス36へ送出さ
れる各信号線(図示せず)が接続されている。更
に、マイクロコンピユータ29には、セレクタチ
ヤネル20から送出される各種制御信号に対して
入出力装置から返される応答信号SYNC0、およ
びセレクタチヤネル20と入出力装置との間でデ
ータ転送が終了した際に入出力装置から送出され
る割込み信号ATN0がそれぞれ通る各信号線(図
示せず)が接続されている。 一方、セレクタバス制御回路31には、ステイ
タス要求信号SRQ0、データアベイラブル信号
DAV0およびデータリクエスト信号DR0がそれぞ
れセレクタバス36へ送出される各信号線(図示
せず)が接続されている。更に、セレクタバス制
御回路31には、入出力装置からの応答信号
SYNC0が通る信号線(図示せず)、1バイトのデ
ータ転送の都度カウンタ38へ送出されるカウン
ト信号CNTR0が通る信号線(図示せず)、および
主記憶装置と入出力装置との間のデータ転送の終
了を示す転送終了信号EDBYTE0がセレクタバス
36上へ送出される信号線(図示せず)が接続さ
れている。 なお、マイクロコンピユータ29およびセレク
タバス制御回路31にそれぞれ接続されるステイ
タス要求信号SRQ0の各信号線、同じくデータア
ベイラブル信号DAV0の各信号線、同じくデータ
リクエスト信号DR0の各信号線はそれぞれ対応す
るオア回路(図示せず)に接続されている。そし
て各オア回路を通してマイクロコンピユータ29
またはセレクタバス制御回路31から与えられる
各ステイタス要求信号SRQ0、データアベイラブ
ル信号DAV0およびデータリクエスト信号DR0が
それぞれセレクタバス36へ送出されるようにな
つている。 次に、第2図の動作の説明に先立ち、この発明
と関連する部分について、一通りの動作説明を行
なうことにする。入出力機器と主記憶装置との間
のデータ転送を制御するハードウエアをチヤネル
と呼び、その中で1台の高速な入出力機器と主記
憶装置との間のデータ転送を制御するハードウエ
アをセレクタチヤネルと呼ぶ。 チヤネル制御プログラムはデータの転送、補助
制御情報の入出力装置側転送、入出力装置側から
の状態情報の読出しなどを行なう入出力コマンド
がプログラムのように並べられるものである。 すなわち、CPUのメインプログラムの命令に
より、入出力装置とのデータ転送を起動させ、後
の処理はチヤネルがメインのプログラムとは独立
してその入出力動作を行ない終了させる。チヤネ
ルプログラムはチヤネルコントロールワード
(CCW)と呼ばれるインストラクシヨンよりな
る。 第3図はこの発明に係わるセレクタチヤネルを
含むデータ処理装置の実施例を示したものであ
る。この第3図から明らかなように、CPU51
は効率よく入出力を行なえるように、高速バス5
2と低速バス53の2つのバスを使用しており、
主記憶装置54、バスコントローラ55、演算制
御装置56からなる。 高速バス52は、たとえば、32ビツトのデータ
幅を有し、高速で情報を転送することができ、図
に示すごとく、バスコントローラ55を介して、
主記憶装置54ならびに演算制御装置56、マル
チプレクサチヤネル57、セレクタチヤネル58
…が接続されている。また、この高速バス52と
は独立して存在する低速バス53は低速入出力の
ためのたとえば、8ビツトまたは16ビツトのデー
タ幅を有し、演算制御装置56と、この低速バス
53に接続される装置間で情報を転送するための
双方向のバスであり、演算制御装置56でコント
ロールされる従来システムの入出力バスと同様の
ものである。 セレクタチヤネル58により、コントロールさ
れるセレクタバス59は低速バス53と同一構造
をしており、各種入出力装置(第3図中でI/O
として示されている)が接続されている。ただ
し、このセレクタバス59に接続されている入出
力装置は1台のみがセレクタチヤネル58を通
し、主記憶装置54とデータ転送をすることがで
きる。 第4図は第3図におけるCPU51のうち、特
に、演算制御装置付近の実施例を示したものであ
る。この第4図において、61は各種演算を行な
う演算部、62は各種プログラムないしはデータ
を格納する主記憶装置、63は主記憶装置62に
おける命令コードの判別ないしは命令語長を識別
する命令判別制御部、64はこの命令判別制御部
63からの指示により、マイクロプログラムの動
作を制御する制御部である。 また、65はゼネラルレジスタ(GR0〜GR15
であり、この16個のゼネラルレジスタ65は各16
ビツトで構成され、各種演算の際に、アキユムレ
ータとして使用され、ゼネラルレジスタ65はイ
ンデツクスレジスタとしても使用可能である。6
6はプログラムステータスワードカウンタ(以
下、PSWと称する)であり。プログラムの実行
状態(割込みの禁止/許可)、ステータスなどを
表示するレジスタであり、ステータス部
(STATUS)、コンデイシヨンコード部(CC)、
ロケーシヨン部(LOC)から構成される。第5
図に上記PSW66の構成を示す。この第5図よ
り明らかなように、STATUSは12ビツトからな
り、CPUの現在の状態を示すものであつて、各
ビツトの機能は下記第1表のごとくである。
The present invention relates to a channel diagnostic method that allows channel function diagnosis and performance evaluation without sustaining input/output devices. Figure 1 shows DMA (direct memory access)
FIG. 1 is a block diagram showing the persistence system of the device, in which reference numeral 1 is the main memory. Main storage device 1 is connected to main storage control device 2 . The main storage device 1 is operated by a central processing unit (hereinafter referred to as CPU) under the control of the main storage control device 2.
3. Used for cycle stealing with selector channel 5 connected to DMA bus 4. Input/output control devices 7 and 8 are connected to the selector channel 5 through a selector bus 6, respectively. A plurality of input/output devices 9, 10... are connected to the input/output control device 7, and a plurality of input/output devices 11, 12... are connected to the input/output control device 8, respectively. In the system shown in FIG. 1, the selector channel 5 transfers data between any of the input/output devices 9 to 12 and the main memory 1 according to a channel control word stored in the main memory 1 in advance. This is mainly done. That is, the selector channel 5 is started by receiving the address where the channel control word is stored from the CPU 3 as a start command, and reads and inputs the channel control word. And selector channel 5
performs operations specified by channel control words, such as data transfer and control of input/output devices. To explain the operation of the selector channel 5 in more detail, in addition to reading the channel control word, it also decodes the channel control word, executes the channel control word (data transfer,
execution of commands), writing of input/output completion status, generation of interrupts, etc. In such a conventional selector channel 5, when checking the data transfer operation between the main storage device 1 and the input/output device via the channel, the input/output device 9 is connected to the selector bus 6 as shown in FIG.
12 had to be actually connected, which was a problem. Moreover, since data transfer is performed by connecting the main storage device 1, selector channel 5, input/output control devices 7, 8, and input/output devices 9 to 12, even if a failure occurs during data transfer, any failure will occur in any device. It was extremely difficult for the CPU 3 to determine whether this was the case. Furthermore, in many cases, both a low-speed input/output device and a high-speed input/output device are connected to the selector channel 5. It was difficult to judge whether the conditions were strict or not. The present invention has been made in view of the above circumstances, and its purpose is to provide a diagnostic method in a channel that can efficiently diagnose its own functions without connecting input/output devices. Another object of the present invention is to significantly shorten the time required to discover a fault through a reliable self-diagnosis function. Still another object of the present invention is to facilitate performance evaluation and reliability evaluation of selector channels. Hereinafter, a selector channel according to the present invention will be described as an example with reference to the drawings. Figure 2 shows selector channel 2 according to this invention.
FIG. 2 is a block diagram showing the configuration of one embodiment of the invention. In Fig. 2, 21 is a high-speed DMA bus (hereinafter referred to as high-speed bus), which is not shown in Fig. 2, but is connected to the main memory control device as shown in Fig. 1, and has multiple channels connected to it. has been done. A high-speed bus driver/receiver circuit 22 is connected to the high-speed bus 21 . This high-speed bus driver/
The memory address register 24 and the write data register 2 are sent from the receiver circuit 22 via the bus 23.
5, a read data register 26 and a device number register 27 are connected. The bus 23 is a bus through which data from the high-speed bus 21 passes, and the memory address register 24 is a register that stores a memory address to be sent to a main memory controller (not shown). The write data register 25 is a register that stores data to be sent to the main memory (not shown). Further, the read data register 26 is a register that stores data from the main storage device, and the device number register 27
is a register that stores the target device number of the channel activation command. The memory address register 24, write data register 25, and read data register 26 are each connected to an internal bus 28. This internal bus 28 is an internal bus through which memory data or selector bus data of the microcomputer passes. The microcomputer 29 is designated by the reference numeral 29, and the microcomputer 29 exchanges data with each register through an internal bus 28, and also through an activation signal line 30 to which a transfer start command signal STRF0 is sent. It is connected to the microcomputer 29 via an end signal line 32 connected to the selector bus control circuit 31 and through which the transfer end interrupt signal ETRF0 sent from the selector bus control circuit 31 passes.
The selector bus control circuit 31 receives a memory request signal.
A memory request signal line 33 through which BREQ0 passes is connected. The memory request signal line 33 is connected to a high-speed bus control circuit 42 (described later). The microcomputer 29 further exchanges data with an input/output device (not shown) through an input/output bus 34 and a selector bus driver/receiver circuit 35. selector bus 3
6 is a bus through which data and various control signals to the input/output device pass. A selector bus driver/receiver circuit 37 is connected to the selector bus 36 . Selector bus driver/receiver circuit 37 is connected to internal bus 28 . A counter 38 is also connected to this internal bus 28 . The counter 38 counts the number of transferred bytes, and its output terminal is connected to the above-mentioned selector bus control circuit 31 through a counter 0 signal line 39 through which a counter 0 signal indicating completion of transfer of a specified number of data bytes passes. There is. On the other hand, 40 is a command register, which is connected to the internal bus 28 mentioned above. This command register 40 transmits an access command to the internal bus 28, and when data is written to the command register 40 through the internal bus 28, operations such as reading from the internal bus 28 and writing to the internal bus 28 are started depending on the contents. It's becoming like that. Also, 41
is the random access memory (hereinafter referred to as RAM) of the microcomputer 29, and this RAM
41 is connected to a microcomputer 29 through an internal bus 28. Note that 42 is a high-speed bus control circuit, which is connected to the high-speed bus 21 mentioned above. Further, 43 is a simulator for performing functional diagnosis and simulation of the selector channel 20, and is connected to the selector bus 36. This simulator will be explained in detail later. Additionally, the microcomputer 29 is output with a device number output signal ADRS0 indicating that the device number is being output to the input/output device, a command output signal CMD0 indicating that a command is being output, and data as well. data available signal DAV0 indicating that data input to the selector channel 20 is requested, data request signal DR0 indicating that data input to the selector channel 20 is requested, status request signal SRQ0 indicating that equipment status is requested, and interrupts from input/output devices. Each signal line (not shown) through which an interrupt acknowledgment signal ACK0 for a request is sent to the selector bus 36 is connected. Furthermore, the microcomputer 29 receives a response signal SYNC0 returned from the input/output device in response to various control signals sent from the selector channel 20, and a response signal SYNC0 when data transfer between the selector channel 20 and the input/output device is completed. Each signal line (not shown) through which the interrupt signal ATN0 sent from the input/output device passes is connected. On the other hand, the selector bus control circuit 31 receives a status request signal SRQ0 and a data available signal.
Signal lines (not shown) through which DAV0 and data request signal DR0 are respectively sent to selector bus 36 are connected. Furthermore, the selector bus control circuit 31 receives response signals from input/output devices.
A signal line (not shown) through which SYNC0 passes, a signal line (not shown) through which a count signal CNTR0 sent to the counter 38 every time one byte of data is transferred, and data between the main storage device and the input/output device. A signal line (not shown) is connected to which a transfer end signal EDBYTE0 indicating the end of transfer is sent onto the selector bus 36. Note that each signal line of the status request signal SRQ0, each signal line of the data available signal DAV0, and each signal line of the data request signal DR0 connected to the microcomputer 29 and the selector bus control circuit 31 is connected to a corresponding OR circuit, respectively. (not shown). and the microcomputer 29 through each OR circuit.
Alternatively, each status request signal SRQ0, data available signal DAV0, and data request signal DR0 given from the selector bus control circuit 31 are sent to the selector bus 36, respectively. Next, prior to explaining the operation of FIG. 2, a general explanation of the operation of the parts related to the present invention will be given. The hardware that controls data transfer between an input/output device and the main storage device is called a channel, and the hardware that controls data transfer between one high-speed input/output device and the main storage device is called a channel. It is called a selector channel. The channel control program is a program in which input/output commands for transferring data, transferring auxiliary control information to the input/output device side, reading status information from the input/output device side, etc. are arranged like a program. That is, data transfer with the input/output device is started by a command from the main program of the CPU, and the subsequent processing is completed by the channel performing the input/output operation independently of the main program. A channel program consists of instructions called channel control words (CCW). FIG. 3 shows an embodiment of a data processing device including a selector channel according to the present invention. As is clear from this figure 3, CPU51
In order to perform input/output efficiently, the high-speed bus 5
It uses two buses: 2 and low-speed bus 53.
It consists of a main storage device 54, a bus controller 55, and an arithmetic control device 56. The high-speed bus 52 has a data width of, for example, 32 bits and can transfer information at high speed.
Main storage device 54, arithmetic and control device 56, multiplexer channel 57, selector channel 58
...is connected. Further, a low-speed bus 53 that exists independently of this high-speed bus 52 has a data width of, for example, 8 bits or 16 bits for low-speed input/output, and is connected to an arithmetic and control unit 56 and this low-speed bus 53. This is a bidirectional bus for transferring information between devices, and is similar to the input/output bus of conventional systems controlled by the arithmetic and control unit 56. The selector bus 59 controlled by the selector channel 58 has the same structure as the low-speed bus 53, and has various input/output devices (I/O
) are connected. However, only one input/output device connected to this selector bus 59 can transfer data with the main storage device 54 through the selector channel 58. FIG. 4 shows an embodiment of the CPU 51 in FIG. 3, particularly near the arithmetic and control unit. In FIG. 4, 61 is an arithmetic unit that performs various operations, 62 is a main memory that stores various programs or data, and 63 is an instruction discrimination control unit that discriminates instruction codes or instruction word lengths in the main memory 62. , 64 is a control unit that controls the operation of the microprogram according to instructions from the instruction discrimination control unit 63. Also, 65 is the general register (GR 0 ~ GR 15 )
and these 16 general registers 65 are each 16
The general register 65 is composed of bits and is used as an accumulator during various calculations, and the general register 65 can also be used as an index register. 6
6 is a program status word counter (hereinafter referred to as PSW). This is a register that displays the program execution status (disable/enable interrupts), status, etc., and includes a status section (STATUS), condition code section (CC),
It consists of a location section (LOC). Fifth
The figure shows the configuration of the PSW 66. As is clear from FIG. 5, STATUS consists of 12 bits and indicates the current state of the CPU, and the function of each bit is as shown in Table 1 below.

【表】【table】

【表】 また、コンデイシヨンコードCCは一般に命令
の実行ごとにセツト、リセツトされ、演算結果の
状態(キヤリ、オーバーフロー、正(大)、負
(小)、零(等)、入出力装置の状態)を示し、4
ビツトからなつて、各ビツトの意味付けは下記第
2表のごとくである。
[Table] In addition, the condition code CC is generally set and reset each time an instruction is executed, and indicates the status of the operation result (carry, overflow, positive (large), negative (small), zero (etc.), input/output device state), 4
It consists of bits, and the meaning of each bit is as shown in Table 2 below.

【表】 また、その他の情報として、ビツト16と17
はタイマ、18〜20は未使用、21〜23はタ
ーミネーシヨン割込みに対する優先度割込み制御
のマスクEMASK、ビツト24〜31は割込みコ
ードを示し、割込み発生時旧PSWはこの部分に
発生原因をコードとしてCPUがセツトするもの
であり、種類としてハードウエアチエツク、プロ
グラムチエツク、スーパバイザコイルなどがあ
る。 なお、ロケーシヨンLOCはCPUが現在実行中
の命令の入つていた番地を保持し、命令実行(分
岐命令を除く)が終了すると、次に実行すべき命
令の番地に内容を変更するものである。 ここで、説明を第4図に戻すと、68は命令語
の上位16ビツトを保持するインストラクシヨンレ
ジスタ(IR)であり、このインストラクシヨン
レジスタ68の内容でどのマイクロプログラムを
実行するかが決まるものである。また、69はこ
の命令語をバツフアリングするためのバツフアレ
ジスタ(IB)であり、さらに、70は上記主記
憶装置62へのリード/ライトにおいてアドレス
を保持する16ビツトのメモリアドレスレジスタ
(MAR)、81は主記憶装置62から読み出され
たデータあるいは主記憶装置62へ書き込むデー
タを保持する16ビツトのメモリデータレジスタ
(MDR)、82はベース修飾のためのベースレジ
スタ(BR)であり、BR1〜BR7はその構成レジス
タである。 83はマイクロプログラムが用いるワーキング
レジスタ(WR)、84は演算用補助レジスタ
(QR)、85はデストネーシヨンバス、86は各
レジスタの内容を演算部61へ送出するデータバ
ス、87は主記憶装置62と演算部61間のデー
タ転送バス、88はバツフアレジスタ68の内容
を命令判別制御部63、命令レジスタ68および
メモリデータレジスタ81へ転送するためのバス
である。89はこれらの計算機システムを制御す
るマイクロプログラムが格納される制御メモリ
(ROM)、アドレスを指定するROMアドレスレジ
スタRAR、データをラツチするROMデータレジ
スタRDRのフアームウエア格納部である。 ここで、第6図のチヤネル制御動作の概略につ
き説明する。この第6図において、91はHバス
(高速バス)、92は主記憶装置、93はCPU、
94はチヤネル(CH)、95はデータ転送を行な
うとする入出力装置である。この入出力装置95
と主記憶装置92とのデータ転送制御をチヤネル
94が行なうものである。このデータ転送の起動
はCPU93からの起動命令SIOにより行なわれ
る。 ここで、チヤネル制御の概要につき述べると、
まず、起動すべき機器(入出力装置)に必要なチ
ヤネル制御語(CCW;Channel Control Word)
を1ブロツクもしくは複数ブロツク生成し、主記
憶装置92上にCCB(Channel Control Block)
としてセツトする。そして、上記の生成された
CCWをハードウエアが解析処理するようにSIO
命令により起動をかける。このCPU93のSIO命
令実行により、チヤネル94を起動するが、この
際、CPU93からチヤネル94へ、CCBアドレ
スが送出される。CCB(チヤネル制御ブロツ
ク)とはチヤネルおよび入出力装置の入出力処理
方法を示す情報であり、主記憶装置92内に格納
されている。 チヤネル94はCCBのアドレスを受け取つた
後、該当するCCBの内容を主記憶装置92から
読み出し、チヤネル94内のサービステーブル
CSTにセツトする。入出力処理はこのサービス
テーブルCSTの内容にしたがつて行なわれる。
この入出力処理が終了すると、チヤネル94は主
記憶装置94上のCCBへチヤネルステータス、
入出力装置ステータスなどを書き込み、CPU9
3に割込みをかけて、CCB格納アドレスとキユ
ー番号を送出する。CPU93は主記憶装置92
上のターミネーシヨンキユーリストTQLの該当
する番号内にCCB格納アドレスを書き、チヤネ
ルターミネーシヨン割込みを発生する。 プログラムはこの割込みにより、ターミネーシ
ヨンキユーリストTQLからCCB格納アドレスを
リスト命令で読み、動作を終了したチヤネル、入
出力デバイスのステータスチエツクなどの処理を
行なう。 なお、ターミネーシヨンキユー構造はリスト構
造であつて、キユーそのものは6個あり、1〜6
の番号が付されている。動作終了時に登録の対象
となるキユー番号はSIO命令もしくはCCBのチエ
イン情報で指定される。また、ターミネーシヨン
割込みはキユーにデータが格納されている場合に
発生する割込みであり、この割込みはPSWの
EMASK部で割込みの発生が制約される。したが
つて、PSWの変更が起きた場合でも発生するこ
とがある。以上がチヤネル制御動作の基本的動作
である。 この第6図中において、主記憶装置92内に
IOBとあるのは転送データを一時格納する入出力
バツフアである。また、CPU93内において、
IPMとあるのは命令処理機構、TPMとあるの
は、ターミネーシヨン処理機構である。更に、チ
ヤネル94内にCCMとあるのはチヤネル制御機
構であり、各機器の動作については後述する。 ところで、上記CCB(Channel Control
Block)には16種類あり、これらはCCB内におけ
るCCW(Channel Control Word;チヤネル制御
語)の上位4ビツトのチヤネル指令区分番号で識
別される。チヤネル指令区分番号0および1は標
準チヤネル機能として以下にその機能、動作につ
いて説明する。 まず、チヤネル制御において用いられる命令の
フオーマツトにつき説明する。第7図aはSIO命
令(StartIO)、第7図bはTIO命令(TestIO)
のフオーマツトを示したもので、OPは命令コー
ド、R1は第1オペランドの汎用レジスタを、X2
は第2オペランド修飾用インデツクスレジスタ
を、B2は第2オペランド修飾用のベースレジス
タを、D2は第2オペランドのデイスプレースメ
ントをそれぞれ設定する部分である。 なお、第1オペランドで指定される汎用レジス
タには、両方ともにチヤネル番号ならびにデバイ
ス番号が示され、第2オペランドにはチヤネル制
御データ(SIOのときはターミネーシヨンキユー
番号ならびにデバイス番号、TIOのときはチヤネ
ルステイタスならびに機器ステータス)が格納さ
れるものである。 前記SIO命令により、CPUは第1オペランドで
指定されるチヤネルおよび機器に対して、第2オ
ペランドで示されるチヤネル制御データ(ターミ
ネーシヨンキユー番号とCCB格納アドレスの32
ビツト)を転送する。 このデータが正しくチヤネルに転送されると、
PSWのコンデイシヨンコードCCのVビツトは
「0」または「1」にセツトされる。そして、動
作対象機器が故障などの原因で動作不能の場合、
チヤネルターミネーシヨン割込みが発生する。 一方、前記TIO命令によりCPUは第1オペラ
ンドで指定されるチヤネルおよび機器からそれぞ
れのステータスを受け取り、第2オペランドで示
される番地へ格納するものである。このとき、コ
ンデイシヨンコードCCのVビツトが「0」のと
き動作が正しく完了したことを示し、Vビツトが
「1」のときチヤネルが未接続であつたことを示
す。 次に、第8図、第9図にCCBのフオーマツト
およびCCWのフオーマツトの一実施例を示す。
CCBはチヤネルおよび入出力機器の入出力処理
方法を示す情報であつて、主記憶装置に格納さ
れ、各情報は次のような機能を有する。 (1) 指令区分; セレクタチヤネルであることを示す。 (2) 変更先機器アドレス; チエイン指定、機器変更指定がある場合、次
の要求動作の対象となる機器のアドレスを示
す。 (3) キユー指定; 要求された動作が終了したら、CPUにター
ミネーシヨン割込みをかけることを指定する。
登録されるべきキユー番号はSIO命令、あるい
は先のCCBで知らされていることが必要であ
る。 (4) チエイン指定; 要求された動作が全て終了した後、このビツ
トがセツトしていれば、チエインアドレスに示
された主記憶装置の領域から新しいCCBを読
み出し、そこで要求されている動作を実行す
る。 (5) 機器変更指定; チエイン指定により新しい動作を実行する
際、動作の対象となる機器が変更されることを
指定する。この指定がある場合、新しく動作の
対象となる機器アドレスは次の(6)に示す。 (6) 機器属性指定; 動作要求の対象となるバルクシステムの種類
を示す。 0…指定なし 1…デイスクタイプ 2…ドラムタイプ 3…MT(磁気テープ)タイプ 4…FDD(フレキシブルデイスクドライブ)
タイプ 5…カセツトMT、カートリツジMTタイプ 6〜15…未定 (7) コマンド; 要求する動作内容を示す。 次に、機器の属性指定についてさらに詳述す
る。
[Table] Also, as other information, bits 16 and 17
is the timer, 18 to 20 are unused, 21 to 23 are the priority interrupt control mask EMASK for termination interrupts, and bits 24 to 31 are the interrupt code. When an interrupt occurs, the old PSW stores the cause of the interrupt as a code in this part. It is set by the CPU, and the types include hardware check, program check, and supervisor coil. The location LOC holds the address of the instruction currently being executed by the CPU, and when instruction execution (excluding branch instructions) is completed, the contents are changed to the address of the next instruction to be executed. . Returning to FIG. 4, 68 is an instruction register (IR) that holds the upper 16 bits of the instruction word, and the contents of this instruction register 68 determine which microprogram is executed. It is decided. Further, 69 is a buffer register (IB) for buffering this instruction word, and 70 is a 16-bit memory address register (MAR) that holds an address when reading/writing to the main memory 62. 81 is a 16-bit memory data register (MDR) that holds data read from the main memory 62 or data written to the main memory 62; 82 is a base register (BR) for base modification; BR 1 ~ BR7 is its configuration register. 83 is a working register (WR) used by the microprogram, 84 is an auxiliary register for calculations (QR), 85 is a destination bus, 86 is a data bus that sends the contents of each register to the calculation unit 61, and 87 is a main memory device. A data transfer bus 88 is used to transfer the contents of the buffer register 68 to the instruction discrimination control section 63, the instruction register 68, and the memory data register 81. Reference numeral 89 denotes a firmware storage section for a control memory (ROM) in which microprograms for controlling these computer systems are stored, a ROM address register RAR for specifying addresses, and a ROM data register RDR for latching data. Here, the outline of the channel control operation shown in FIG. 6 will be explained. In FIG. 6, 91 is the H bus (high-speed bus), 92 is the main memory, 93 is the CPU,
94 is a channel (CH), and 95 is an input/output device for data transfer. This input/output device 95
A channel 94 controls data transfer between the main storage device 92 and the main storage device 92 . This data transfer is started by a start command SIO from the CPU 93. Here, I will give an overview of channel control.
First, the channel control word (CCW) required for the device (input/output device) to be activated
Generates one block or multiple blocks of CCB (Channel Control Block) on the main memory 92.
Set as . And the above generated
SIO so that CCW is analyzed by hardware
Activate by command. When the CPU 93 executes the SIO command, the channel 94 is activated, and at this time, the CCB address is sent from the CPU 93 to the channel 94. CCB (channel control block) is information indicating input/output processing methods of channels and input/output devices, and is stored in the main storage device 92. After receiving the address of the CCB, the channel 94 reads the contents of the corresponding CCB from the main memory 92 and stores the service table in the channel 94.
Set to CST. Input/output processing is performed according to the contents of this service table CST.
When this input/output processing is completed, the channel 94 stores the channel status and information in the CCB on the main storage device 94.
Write input/output device status, etc., and write the CPU9
3 and sends out the CCB storage address and queue number. The CPU 93 is the main storage device 92
Write the CCB storage address within the corresponding number of the termination queue list TQL above and generate a channel termination interrupt. The program uses this interrupt to read the CCB storage address from the termination queue list TQL using a list command, and performs processing such as checking the status of channels that have finished operating and input/output devices. Note that the termination queue structure is a list structure, and there are six queues, 1 to 6.
is numbered. The queue number to be registered at the end of the operation is specified by the SIO command or CCB chain information. Also, a termination interrupt is an interrupt that occurs when data is stored in the queue, and this interrupt is a termination interrupt of the PSW.
Interrupt generation is restricted in the EMASK section. Therefore, it may occur even when a PSW change occurs. The above is the basic operation of the channel control operation. In this FIG. 6, in the main storage device 92,
IOB is an input/output buffer that temporarily stores transferred data. In addition, within the CPU 93,
IPM is an instruction processing mechanism, and TPM is a termination processing mechanism. Furthermore, CCM in the channel 94 is a channel control mechanism, and the operation of each device will be described later. By the way, the above CCB (Channel Control
There are 16 types of Blocks, which are identified by the channel command classification number of the upper 4 bits of the CCW (Channel Control Word) in the CCB. The functions and operations of channel command classification numbers 0 and 1 will be explained below as standard channel functions. First, the format of commands used in channel control will be explained. Figure 7a is the SIO instruction (StartIO), Figure 7b is the TIO instruction (TestIO)
OP is the instruction code, R 1 is the general-purpose register of the first operand, and X 2 is the format of
is a part for setting the index register for second operand modification, B2 is a base register for second operand modification, and D2 is a part for setting the displacement of the second operand. Note that the general-purpose register specified by the first operand both shows the channel number and device number, and the second operand shows the channel control data (termination queue number and device number for SIO, and the termination queue number and device number for TIO. (channel status and device status) are stored therein. With the SIO instruction, the CPU sends the channel control data (termination queue number and CCB storage address 32) indicated by the second operand to the channel and device specified by the first operand.
transfer bits). Once this data is correctly transferred to the channel,
The V bit of the condition code CC of PSW is set to "0" or "1". If the target device is inoperable due to a malfunction or other reason,
A channel termination interrupt occurs. On the other hand, according to the TIO instruction, the CPU receives the respective statuses from the channel and device specified by the first operand, and stores them at the address indicated by the second operand. At this time, when the V bit of the condition code CC is "0", it indicates that the operation has been completed correctly, and when the V bit is "1", it indicates that the channel is not connected. Next, FIGS. 8 and 9 show an example of a CCB format and a CCW format.
The CCB is information indicating channels and input/output processing methods of input/output devices, and is stored in the main memory, and each piece of information has the following functions. (1) Command classification: Indicates that it is a selector channel. (2) Change destination device address: If there is a chain specification or device change specification, this indicates the address of the device that is the target of the next requested operation. (3) Queue specification: Specifies that a termination interrupt be issued to the CPU when the requested operation is completed.
The queue number to be registered must be known by an SIO command or a previous CCB. (4) Chain specification: After all requested operations are completed, if this bit is set, a new CCB is read from the main memory area indicated by the chain address and the requested operation is executed there. do. (5) Device change specification: Specifies that when a new operation is executed by chain specification, the device that is the target of the operation will be changed. If this specification is specified, the new device address to be operated on is shown in (6) below. (6) Equipment attribute specification: Indicates the type of bulk system that is the target of the operation request. 0...No specification 1...Disk type 2...Drum type 3...MT (magnetic tape) type 4...FDD (flexible disk drive)
Type 5...Cassette MT, Cartridge MT Type 6-15...Undefined (7) Command; Indicates the requested action. Next, device attribute specification will be described in more detail.

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】 次に、CCBにおける各フイールドの機能につ
いて述べる。 (1) CCW;前述したので省略する。 (2) スタートアドレス; 主記憶装置とバルクシステム間でデータを転
送する場合、主記憶装置側の対象となる領域の
先頭アドレスを示す。 (3) 転送バイト数; データ転送を求める動作要求で、転送すべき
データ数を示す。 要求された動作が終了し、CCBを書き替え
る時点で、ここから実際に転送したバイト数が
減じられる。 (4) チヤネルアドレス、機器アドレス、チヤネル
ステータス、機器ステータス; 要求された動作の実行が終了した後、セレク
タチヤネルはこの部分に実際に動作したチヤネ
ルアドレスと機器アドレスをこのフイールドに
書き込む。また、この時点でのバルクシステム
の状態をチエツクし、チヤネルステータス、機
器ステータスにまとめて書き込む。 (5) キユー、チエインアドレス; CCWにチエイン指定があるとき、次のCCB
が格納されている先頭アドレスを示す。ここに
指定されているキユー番号は次のCCBにキユ
ー指定があつた場合、そこでのターミネーシヨ
ン割込みが登録されるべきキユー番号を示す。
ここが「0」であると、それ以前に指定された
最後のキユーに登録される。 (6) 補助記憶アドレス; 主記憶装置、バルク間でデータ転送を行なう
場合、バルク側の転送開始先頭アドレスをセク
タ単位で示す。 次に、チヤネルおよび磁気テープ装置のような
バルクを制御するバルクコントローラ(図示せ
ず)が行なう処理について説明する。 データ転送の場合、チヤネル、バルクコントロ
ーラは要求されている動作内容に関する情報を
CCBから得る。 (1) 要求動作実行セツトアツプ時の処理 チヤネルおよびバルクコントローラが新しい
動作要求を実行する場合、下記の処理を行な
う。 SIO命令で与えられたCCB格納アドレス、
あるいはチエイン中ならば先のCCBのチエ
インアドレスで示される主記憶装置の領域か
らバルクコントローラ内に新しいCCBを読
み取る。 機器属性指定、コマンドをデコードするこ
とにより要求されている動作内容を判別す
る。 スタートアドレス、補助記憶アドレスによ
り要求されているデータ転送領域を知り、転
送バイト数の項で指定された数のデータ転送
を行なう。 (2) 動作終了時の処理 要求された動作が正常に終了した場合、ある
いは転送途中で異常が発生した場合、続いて次
の処理を行なう。 チヤネルは動作が終了した時点でチヤネ
ル、機器のステータスを調べ、CCBのチヤ
ネルステータス、機器ステータスの項に書き
込む。さらに、動作対象となつたチヤネルア
ドレス、機器アドレスを書き込む。 (3) CCWによる処理 (1),(2)の処理が終了した後、バルクコントロ
ーラにCCWの指定による処理を行なう。ただ
し、これは正常に動作をした場合である。 キユー指定のビツトを調べ、セツトしてい
れば、CPUにターミネーシヨン割込みをか
ける。リセツトしていれば次の処理に移る。 チエイン指定のビツトを調べ、セツトして
いればチエインアドレスの項で示される
CCBの動作要求を実行する準備を行なう。
リセツトしていれば、次のSIO命令による動
作実行要求を待つ。 チエイン指定がある場合、機器変更指定の
ビツトがセツトしていれば、動作対象機器を
変更先機器アドレスの項で示された機器に変
更して次のCCBの動作要求を実行する。 なお、動作途中で異常が起こつて終了した場
合、無条件にCPUにターミネーシヨン割込みを
かけ、チエインは行なわない。このとき、割込み
をかけるキユーはSIO命令、チエイン中のCCB内
チエインアドレスの項で最後に指定されたキユー
である。 上記のようなデータ処理装置には次のような機
能が要求される。 (1) メインプログラムの命令で指定されたCCB
格納アドレスをもとに、第3図に示す高速バス
52を通して主記憶装置54からCCBを読み
取る。 (2) CCB内の機器属性指定、コマンドを解読す
る。 (3) スタートアドレス、補助記憶アドレスにより
要求されているデータ転送を行なう。 (4) 転送終了時、CCB内のチヤネル、機器のス
テータスおよび転送バイト数、スタートアドレ
スなどを書き直したCCBを主記憶装置へ書き
込む。 (5) CCB格納アドレスとともに演算制御装置5
6へ高速バス52を介して割込みをかける。 第10図はセレクタチヤネルの詳細ブロツク図
である。この第10図の101は高速バス(Hバ
ス)、102は高速バス101から送られて来た
情報が通るバスで、チヤネル番号/機器番号、
CCB格納アドレス、主記憶装置から読み出され
たデータなどが通る。103はチヤネルから高速
バス101へ送出される情報が通るバスで、主記
憶装置のアドレス、主装置への書込みデータ、割
込みの場合のCCB格納アドレスなどが通る。1
07はSIO命令により起動をかけられた場合のチ
ヤネル番号と機器番号を格納するデバイスナンバ
レジスタ(DNR)である。108は高速バス1
01からのデータを一時置数するリードデータレ
ジスタ(RDR)、109は高速バス101へのデ
ータ一時置数するライトデータレジスタ
(WDR)、110は主記憶装置のアドレスを一時
置数するメモリアドレスレジスタ(AR)、104
はマイクロコンピユータ111のメモリバス、1
05はマイクロコンピユータ111の入出力バ
ス、106,113は双方向ドライバ/レシーバ
回路、112はマイクロコンピユータ111のメ
モリ(RAM)、115はセレクタバス(SEL)で
ある。 116は高速バス101にアクセスの指令を与
えるコマンドレジスタ(CMD)で、メモリバス
104を通し、コマンドレジスタ116にデータ
を書き込むと、その内容により高速バス101の
読取り、高速バス101への書込み、高速バス1
01への割込みなどの動作を開始する。 114は高速バス101のコントロール部
(CONT)で、コマンドレジスタ116にデータ
が書き込まれると、それに応じて高速バスアクセ
スを行なう。また、コントロール部114は高速
バスアクセスが終了したとき、または高速バス1
01を通してCCB格納アドレスが送られてきた
場合、マイクロコンピユータ111に対し割り込
みをかける。 レジスタ107、リードデータレジスタ10
8、ライトデータレジスタ109、アドレスレジ
スタ110、メモリ112、コマンドレジスタ1
16はマイクロコンピユータ111のメモリバス
104に接続されており、マイクロコンピユータ
111のメモリ空間に固定アドレスをもつ。マイ
クロコンピユータ111はメモリ112をアクセ
スする動作で上記レジスタ類をアクセスすること
ができる。 次に動作を示す。SIO命令を実行すると、高速
バス101を通し、チヤネル番号デバイス番号を
デバイスナンバレジスタ107に一時置数し、続
いて高速バス101を通し、CCB格納アドレス
をリードデータレジスタ108に一時置数すると
同時にコントロール部114からマイクロコンピ
ユータ111に割込みが入る。マイクロコンピユ
ータ111は割込みを受け付けると、デバイスナ
ンバレジスタ107、リードデータレジスタ10
8の内容をメモリ112に格納する。続いて、
CCB格納アドレスレジスタ110にセツトす
る。その後、高速バス読出し指令をコマンドレジ
スタ116に書き込む。 コントロール部114はコマンドレジスタ11
6の内容によりアドレスレジスタ110で指定さ
れた主記憶装置のアドレスからデータを読み出
し、リードデータレジスタ108に一時置数し、
マイクロコンピユータ111に割込みをかける。
マイクロコンピユータ111は割込みを受ける
と、リードデータレジスタ108の内容をメモリ
112に移す。以上の操作の繰り返しにより、マ
イクロコンピユータ111はCCBをメモリ11
2に取り込む。 続いて、CCBを解読し、セレクタバスを通し
て、入出力装置−チヤネル−高速バス−バスコン
トローラ−主記憶装置間のデータ転送をCCBで
指定されたデータ数だけCCBで指定された主記
憶装置の領域と行なう。 ここで、第2図の詳細ブロツク図をもとにこの
発明に係わるセレクタチヤネル20の動作につい
て説明する。まずマイクロコンピユータ29は
CCBで指定された主記憶装置のスタートアドレ
スをメモリアドレスレジスタ24に内部バス28
を通してセツトする。その後CCBで指定された
転送バイト数をカウンタ38に設定する。そして
マイクロコンピユータ29は、デバイスナンバレ
ジスタ27に保持されている機器番号を有する入
出力装置に対して、その機器番号(アドレス)を
機器番号出力信号ADRS0とともに送出する。こ
れに対し、当該入出力装置は機器番号が自己の番
号(アドレス)であることを知ると、応答信号
SYNC0をマイクロコンピユータ29へ送る。マ
イクロコンピユータ29は応答信号SYNC0を受
け取ると機器番号出力信号ADRS0の送出を停止
する。これに応答して入出力装置からの応答信号
(SYNC0)の出力が停止され、機器番号の送出が
完了する。次に、マイクロコンピユータ29はコ
マンドの送出、続いて入出力装置の転送開始番地
(スタートアドレス)の送出を、入出力バス3
4、セレクタバスドライバ/レシーバ回路35、
セレクタバス36を通し、入出力装置に対して行
なう。この時、コマンドの送出に対応してコマン
ド出力信号CMD0、転送開始番地の送出に対応し
てデータアベイラブル信号DAV0がマイクロコン
ピユータ29から送出される。また、これらの信
号に対して、応答信号SYNC0が入出力装置から
マイクロコンピユータ29に返されることは勿論
である。 これらのセツトアツプ動作が完了すると、マイ
クロコンピユータ29はコマンドレジスタ40を
通じて転送開始指令信号STRF0を出力する。こ
の転送開始指令信号STRF0は起動信号線30を
介してセレクタバス制御回路31に入力される。
これによりセレクタバス36の制御すなわち入出
力制御はセレクタバス制御回路31に移る。一
方、これに伴い、マイクロコンピユータ29は入
出力制御動作から解放される。 セレクタバス制御回路31はセレクタバス36
上へステイタス要求信号SRQ0を送出する。しか
して、対応する入出力装置から機器のステイタス
とともに応答信号SYNC0が送出される。このス
テイタスはセレクタバス36、セレクタバスドラ
イバ/レシーバ回路37、内部バス28を順に介
してセレクタバス制御回路31に送られる。セレ
クタバス制御回路31はステイタスのビジイ信号
SD040を監視し、ビジイ信号SD040がインアクテ
イブ(“1”レベル)になると、すなわち入出力
装置におけるデータ授受が可能な状態となるとス
テイタス要求信号SRQ0をインアクテイブにす
る。そして入出力装置はステイタス要求信号
SRQ0がインアクテイブになると応答信号SYNC0
をインアクテイブにする。 一方、セレクタバス制御回路31は応答信号
SYNC0がインアクテイブになるとデータ出力も
しくはデータ入力制御動作を行なう。すなわちセ
レクタバス制御回路31は入出力装置に対してデ
ータアベイラブル信号DAV0(主記憶装置から入
出力装置へデータを転送する場合)またはデータ
リクエスト信号DR0(入出力装置から主記憶装置
へデータを入力する場合)を送出する。この時セ
レクタバス36上にはデータが送出される。すな
わち、入出力装置へデータを転送する場合には、
セレクタバス制御回路31はリードデータレジス
タ26に一時置数されていた1バイトのデータを
内部バス28、セレクタバスドライバ/レシーバ
回路37を通してセレクタバス36上へ送出する
とともにデータアベイラブル信号DAV0をアクテ
イブにする。入出力装置はデータアベイラブル信
号DAV0を受け取ると応答信号SYNC0をアクテイ
ブにすると共にセレクタバス36上のデータを取
り込む。また、入出力装置からデータを入力する
場合には、セレクタバス制御回路31は、入出力
装置からセレクタバス36、セレクタバスドライ
バ/レシーバ回路37を通して内部バス28上に
送出されたデータをライトデータレジスタ25へ
一時置数せしめる。 入出力装置はデータアベイラ信号DAV0または
データリクエスト信号DR0を受け取ると応答信号
SYNC0をアクテイブにする。セレクタバス制御
回路31は応答信号SYNC0を受け取るとデータ
アベイラブル信号DAV0またはデータリクエスト
信号DR0をインアクテイブにする。そして入出力
装置はデータアベイラブル信号DAV0またはデー
タリクエスト信号DR0がインアクテイブになると
応答信号SYNC0をインアクテイブにする。これ
で1バイトのデータ授受が終了する。1バイトの
データ授受が終了すると、カウンタ38のカウン
ト値はセレクタバス制御回路31から与えられる
カウント信号CNTR0によつて「1」減算され
る。上記した動作はカウンタ38のカウント値が
「0」になるまで繰り返される。そしてカウント
値が「0」になつた時点で、カウンタ0信号線3
9を通してセレクタバス制御回路31にCCBで
指定されたデータバイト数の転送が終了したこと
が知らされる。これにより、セレクタバス制御回
路31は終了信号線32を通してマイクロコンピ
ユータ29に対して転送終了割込み信号ETRF0
を送出すると共に、入出力装置に対して転送終了
信号EDBYTE0を送出する。これによりセレクタ
バス36の制御は再びマイクロコンピユータ29
に移る。一方、入出力装置は転送終了信号
EDBYTE0を受け取ると、割込み信号ATN0をマ
イクロコンピユータ29へ送出する。マイクロコ
ンピユータ29は割込み信号を受け取ると割込み
承認信号ACK0を入出力装置へ送出する。そし
て、入出力装置は割込み承認信号ACK0を受け取
ると自己の機器番号をセレクタバス36上へ送出
すると共に応答信号SYNC0をマイクロコンピユ
ータ29へ送出する。 なお本実施例では、セレクタバス制御回路31
は4バイトのデータがリードデータレジスタ26
から入出力装置へ送られる毎に、または入出力装
置からライトデータレジスタ25に置数される毎
にメモリリクエスト信号線33を通して、高速バ
ス制御回路42へメモリ要求信号BREQ0を送出
する。これにより高速バス制御回路42が動作し
高速バス21を介して主記憶装置のデータがリー
ドデータレジスタ26に転送されて置数される。
または、ライトデータレジスタ25に置数されて
いる入力データが高速バス21を介して主記憶装
置へ転送される。そして、メモリアドレスレジス
タ24には主記憶装置の次のアドレスが示され
る。 このように、本発明に係わるセレクタチヤネル
20において、そのセレクタバス制御に関しては
マイクロコンピユータ29が行なう場合と、セレ
クタバス制御回路31が行なう場合とがある。し
かしながら、いずれの場合も、セレクタチヤネル
の機能診断および入出力装置のシミユレーシヨン
などのために、セレクタチヤネル20には下記に
示す5つの機能が要求される。すなわち、 (1) 機器番号出力信号ADRS0、コマンド出力信
号CMD0、データアベイラブル信号DAV0、デ
ータリクエスト信号DR0、ステイタス要求信号
SRQ0、割込み承認信号ACK0(いわゆるセレ
クタバスコントロール信号)に対して応答信号
SYNC0が返る。 (2) セレクタバス制御回路から与えられるステイ
タス要求信号SRQ0に対して一定期間ビジイス
テイタス(ビジイ信号SD040)が返る。 (3) 入出力装置へ転送される出力データ(機器番
号、コマンドデータ、出力情報)を保持する。 (4) 入力要求(ステイタス要求信号SRQ0、デー
タリクエスト信号DR0、割込み承認信号
ACK0)に対してデータ出力ができる。 (5) 転送終了信号EDBYTE0を受け取ることによ
り割込み信号ATN0をアクテイブにし、割込み
承認信号ACK0を受け取ることにより割込み信
号ATN0をクリアする。 第11図は上記5つの機能が実現されるセレク
タチヤネル20におけるシミユレータ43付近の
実施例を詳細に示したものである。 図において符号121はフリツプフロツプであ
る。このフリツプフロツプ121は第2図におけ
るマイクロコンピユータ29から与えられるテス
ト開始信号STEST0によつてセツトするととも
に、テスト終了信号ETEST0によつてリセツト
する。しかして、フリツプフロツプ121はセツ
ト期間中アクテイブ(“1”レベル)なテスト信
号TEST1を出力する。これにより、セレクタチ
ヤネルにおけるテストモードが指定され、シミユ
レータ43がイネーブル状態となる。 符号122はナンドゲート回路である。ナンド
ゲート回路122はドライバ回路123を介して
それぞれ与えられる機器番号出力信号ADRS0、
コマンド出力信号CMD0、データアベイラブル信
号DAV0、データリクエスト信号DR0、ステイタ
ス要求信号SRQ0、および割込み承認信号ACK0
を入力としている。ナンドゲート回路124は上
記ナンドゲート回路122の出力信号および前記
テスト信号TEST1をそれぞれ入力とし、その出
力端子より応答信号SYNC0を出力するものであ
る。これらナンドゲート回路122,124によ
つて(1)に示されている機能が実現されるようにな
つている。 符号125はレジスタであり、ロード端子L
と、データ入力部と、データ出力部とを備えてい
る。このレジスタ125はロード端子Lに入力さ
れる機器番号出力信号ADRS0の立上りすなわち
“0”レベル(アクテイブ)から“1”レベル
(インアクテイブ)への状態遷移によつて、8ビ
ツト幅のセレクタバスデータバス(SD**0)
126上のデータ(本実施例では後述するように
ビジイ時間の設定データ)を保持するデータレジ
スタである。符号127はフリツプフロツプたと
えばD形フリツプフロツプであり、データ入力端
子Dと、クロツク入力端子CKとリセツト入力端
子CLRと出力端子とを備えている。フリツプフ
ロツプ127は、セレクタバス制御回路31が制
御動作期間中に、クロツク入力端子CKに入力さ
れるステイクス要求信号SRQ0の“1”レベル
(インアクテイブ)から“0”レベル(アクテイ
ブ)への状態遷移に応答して、その時点のデータ
入力端子Dに入力されるテスト信号TEST1の2
値レベルを保持するものである。符号128はフ
リツプフロツプ127の出力端子に接続され、そ
の保持データを入力とする入力端子と、基本クロ
ツク信号CLK1を入力とする入力端子と、出力端
子とを備えているアンドゲート回路である。ま
た、符号129はカウンタであり、アンドゲート
回路128の出力端子に接続されるクロツク入力
端子CKと、リセツト入力端子CLRと、出力端子
とを備えている。しかしてカウンタ129は、ア
ンドゲート回路128の出力信号の立上りに応答
して「1」ずつカウントアツプする。符号130
は比較器である。比較器130はそれぞれ上記カ
ウンタ129のカウント出力および前記レジスタ
125の保持内容を入力とし、その大小を比較す
るものである。しかして比較器130はカウンタ
129のカウント出力がレジスタ125の保持内
容に一致するまでは“1”レベルの出力信号を、
一致すると“0”レベルの出力信号をその出力端
子より出力する。符号131は比較器130の出
力、テスト信号TEST1、後述するナンドゲート
回路133出力、およびナンドゲート回路143
出力をそれぞれ入力とするナンドゲート回路であ
る。しかしてナンドゲート回路131は、セレク
タバス制御回路31がステイタスリクエスト
SRQ0を出力している時のみ比較器130の出力
信号が“1”レベルである期間(テストモードに
おいてカウンタ129のカウント出力がレジスタ
125の保持内容に一致するまでの期間)、その
出力信号すなわちビジイ信号SD040(ビジイステ
イタス)を“0”レベル(アクテイブ)にする。 一方、符号132はナンドゲート回路であり、
データアベイラブル信号DAV0、データリクエス
ト信号DR0および後述するインバータ回路13
5、ナンドゲート回路134を順に介して与えら
れるステイタス要求信号SRQ0を入力とするもの
である。また、符号133もナンドゲート回路で
あり、上記ナンドゲート回路132の出力信号お
よびテスト信号TEST1がそれぞれ入力される入
力端子と出力端子とを備えている。このナンドゲ
ート回路133の出力端子は前記フリツプフロツ
プ127、カウンタ129の各リセツト入力端子
CLR、およびナンドゲート回路131の入力端
子にそれぞれ接続されている。そして、アクテイ
ブ(“0”レベル)なデータアベイラブル信号
DAV0またはデータリクエスト信号DR0がナンド
ゲート回路132に入力されることにより、ナン
ドゲート回路133から“0”レベルの出力信号
が出力される。これによりフリツプフロツプ12
7およびカウンタ129が共にリセツトされるよ
うになつている。 フリツプフロツプ127は、前記したようにセ
レクタバス制御回路31が制御動作中にそのクロ
ツク入力端子CKに入力されるステイタス要求信
号SRQ0によつてラツチ動作を行なうものであ
る。一方、ステイタス要求信号SRQ0はマイクロ
コンピユータ、(第2図における符号29)が制
御動作中にも与えられる。このため、マイクロコ
ンピユータが制御動作中に与えられるステイタス
要求信号SRQ0によつて、フリツプフロツプ12
7がラツチ動作を行なうことを禁止する必要があ
る。また、セレクタバス制御回路31が制御動作
中には、上記ラツチ動作の禁止を解除する必要が
ある。即ちセレクタバス制御回路31からのステ
イタス要求信号SRQ0の時ビジイ信号(ナンドゲ
ート回路131出力)の意味を持たせる必要があ
る。これを実現するものがナンドゲート回路13
4およびインバータ回路135である。このナン
ドゲート回路134は、入出力動作制御信号
IOCNT1およびインバータ回路135を介して与
えられるステイタス要求信号SRQ0を入力とする
ものである。この入出力動作制御信号IOCNT1
は、(第2図における)マイクロコンピユータ2
9が制御動作期間中“1”レベルを示し、セレク
タバス制御回路31が制御動作期間中(マイクロ
コンピユータ29が制御動作から解放されている
期間中)“0”レベルを示す。しかしてナンドゲ
ート回路134は、マイクロコンピユータ29が
制御動作期間中アクテイブ(“0”レベル)なス
テイタス要求信号SRQ0が出力された場合に、
“0”レベルの出力信号をナンドゲート回路13
2に送出する。また、ナンドゲート回路134
は、セレクタバス制御回路31が制御動作期間中
アクテイブ(“0”レベル)なステイタス要求信
号SRQ0が出力された場合に“1”レベルの出力
信号をナンドゲート回路132に送出する。上記
したレジスタ125、フリツプフロツプ127、
アンドゲート回路128、カウンタ129、比較
器130、ナンドゲート回路131〜134およ
びインバータ回路135によつて前記(2)に示され
ている機能が実現されるようになつている。 符号136はレジスタである。このレジスタ1
36はセレクタバスデータバス(SD〓〓0)1
26上のデータを入力とするデータ入力部と、入
力イネーブル端子IEと、出力イネーブル端子OE
と、出力部とを備えている。しかしてレジスタ1
36は、後述するナンドゲート回路141から入
力イネーブル端子IEに入力される出力信号の
“0”レベルから“1”レベルへの状態遷移によ
つてそのデータ入力部に入力されるセレクタバス
データバス(SD〓〓0)126上のデータを保
持する。このセレクタバスデータバス(SD〓〓
0)126上のデータには、マイクロコンピユー
タ(第2図における符号29)が制御動作期間中
に、セレクタバスドライバ/レシーバ回路137
を通してバス(DLN〓〓0)138から送出さ
れるものと、セレクタバス制御回路31が制御動
作期間中にセレクタバスドライバ/レシーバ回路
139を通してバス(DLB〓〓0)140から
送出されるものとがある。レジスタ136の保持
データは、後述するナンドゲート回路143から
出力イネーブル端子OEに入力される出力信号の
“1”レベルから“0”レベルへの状態遷移によ
つて、その出力部よりセレクタバスデータバス
(SD〓〓0)126上へ出力される。 一方、符号141は機器番号出力信号
ADRS0、コマンド出力信号CMD0およびデータ
アベイラブル信号DAV0をそれぞれ入力とするナ
ンドゲート回路である。このナンドゲート回路1
41は上記各信号のいずれかがアクテイブ
(“0”レベル)である期間中“1”レベルの出力
信号を前記レジスタ136の入力イネーブル端子
IEへ与える。また符号142もナンドゲート回
路であり、前記ナンドゲート回路134の出力信
号、データリクエスト信号DR0および割込み承認
信号ACK0をそれぞれ入力とするものである。こ
のナンドゲート回路142は上記各信号のいずれ
かがアクテイブ(“0”レベル)である期間中
“1”レベルの出力信号を発生する。このナンド
ゲート回路142の出力信号およびテスト信号
TEST1はナンドゲート回路143の各入力端子
に入力される。ナンドゲート回路143はテスト
モードにおいて、ナンドゲート回路142の出力
信号が“1”レベルである期間中“0”レベルの
出力信号をレジスタ136の出力イネーブル端子
OEへ与える。これによりレジスタ136は、前
記した如くその保持データを送出するものであ
る。 既に説明したようにナンドゲート回路134の
出力信号は、マイクロコンピユータ29が制御動
作期間中にアクテイブ(“0”レベル)なステイ
タス要求信号SRQ0が出力されている場合“0”
レベルであり、セレクタバス制御回路31が制御
動作期間中にアクテイブ(“0”レベル)なステ
イタス要求信号SRQ0が出力されている場合
“1”レベルである。すなわち、セレクタバス制
御回路31が制御動作期間中に出力されるステイ
タス要求信号SRQ0はレジスタ136に対し何ら
影響を与えないものである。上記レジスタ13
6、ナンドゲート回路141〜143、(ナンド
ゲート回路134、インバータ回路135)によ
つて前記(3)および(4)に示されている機能が実現さ
れるようになつている。 符号144は転送終了信号EDBYTE0をセツト
入力とし、割込み承認信号ACK0をリセツト入力
とするフリツプフロツプである。このフリツプフ
ロツプ144はセレクタバス制御回路31から与
えられるアクテイブ(“0”レベル)な転送終了
信号EDBYTE0によつてセツトされ、“1”レベ
ルの出力信号を出力するようになつている。ま
た、フリツプフロツプ144はアクテイブ
(“0”レベル)な割込み承認信号ACK0によつて
リセツトされ“0”レベルの出力信号を出力す
る。符号145はフリツプフロツプ144の出力
信号およびテスト信号TEST1を入力とするナン
ドゲート回路である。このナンドゲート回路14
5は、テストモードの期間中に入力されるフリツ
プフロツプ144の出力信号が“1”レベルであ
る期間中のみ、アクテイブ(“0”レベル)な割
込み信号ATN0を出力するものである。また、ナ
ンドゲート回路145は、フリツプフロツプ14
4の出力信号が“0”レベルに遷移するのに応答
して割込み信号ATN0をクリア(インアクテイ
ブ)するようになつている。上記フリツプフロツ
プ144およびナンドゲート回路145によつて
前記(5)に示されている機能が実現されるようにな
つている。 次に第11図に示されるシミユレータ43の動
作を第2図も参照して説明する。たとえばマイク
ロコンピユータ29から“0”レベルのテスト開
始信号STEST0が出力されているものとする。こ
れによりフリツプフロツプ121はセツトされ、
その出力端子より“1”レベルのテスト信号
TEST1を出力する。そして、シミユレータ回路
43はイネーブル状態となり、セレクタチヤネル
はテストモードとなる。このような状態におい
て、ナンドゲート回路122には、機器番号出力
信号ADRS0、コマンド出力信号CMD0、データ
アベイラブル信号DAV0、データリクエスト信号
DR0、ステイタス要求信号SRQ0および割込み承
認信号ACK0がそれぞれ入力されている。そし
て、ナンドゲート回路122は上記各コントロー
ル信号のいずれかがアクテイブ(“0”レベル)
である期間中“1”レベルの2値信号を出力す
る。ナンドゲート回路124には上記ナンドゲー
ト回路122の出力信号およびテスト信号
TEST1が入力されている。そして、ナンドゲー
ト回路124はテストモード(テスト信号
TEST1が“1”レベル)の期間中、ナンドゲー
ト回路122の出力信号の反転信号を応答信号
SYNC0として出力する。すなわち、ナンドゲー
ト回路124は、アクテイブな前記コントロール
信号がナンドゲート回路122に入力されること
に応じてアクテイブな応答信号SYNC0を出力
し、アクテイブな前記コントロール信号の入力停
止に応じてアクテイブな応答信号SYNC0の出力
を停止する。これにより前記した(1)の機能が実現
される。 次に前記(2)の機能について動作を説明する。た
とえば今、機器番号出力信号ADRS0(アクテイ
ブ)が与えられ、対応するデータ(本実施例では
ビジイ時間設定データ)がセレクタバスデータバ
ス(SD〓〓0)126上へ出力されているもの
とする。機器番号出力信号ADRS0はレジスタ1
25のロード端子Lに入力される。これによりレ
ジスタ125はセレクタバスデータバス(SD〓
〓0)126上のデータを入力保持する。その
後、マイクロコンピユータ29によつてコマンド
の送出、転送開始番地の送出などのセツトアツプ
動作が行なわれ、更にセレクタバス制御回路31
に転送開始指令信号STRF0が出力され、制御動
作がセレクタバス制御回路31に移動したものと
する。これにより、セレクタバス制御回路31は
ドライバ回路123を通してステイタス要求信号
SRQ0(アクテイブ)を送出する。この時、アク
テイブなステイタス要求信号SRQ0に応じて、ナ
ンド回路124からアクテイブな応答信号
SYNC0が返されることは前述した通りである。
上記ステイタス要求信号SRQ0はフリツプフロツ
プ127のクロツク入力端子CKに入力される。 フリツプフロツプ127はステイタス要求信号
SRQ0の立下り(インアクテイブからアクテイブ
への状態遷移)時のテスト信号TEST1の状態
(本実施例では“1”レベル)をラツチする。こ
のフリツプフロツプ127のラツチデータおよび
基本クロツク信号CLK1はそれぞれアンドゲート
回路128に入力される。そして、アンドゲート
回路128は、フリツプフロツプ127が“1”
レベルのテスト信号TEST1をラツチしている期
間中開成し、基本クロツク信号CLK1をそのまま
出力する。アンドゲート回路128の出力信号は
カウンタ129のクロツク入力端子CKに入力さ
れる。カウンタ129はアンドゲート回路128
の出力信号すなわち基本クロツク信号CLK1の立
上りによつてそのカウント出力を「1」カウント
アツプする。このカウンタ129のカウント出力
および前記レジスタ125の保持データ(ビジイ
時間設定データ)は共に比較器130に入力され
る。 比較器130は、カウンタ129のカウント出
力がレジスタ125の保持データに一致するまで
の期間中“1”レベルの2値信号を出力する。そ
して、比較器130は、上記カウント出力が保持
データに一致すると、“0”レベルの2値信号を
出力する。この比較器130の出力信号、テスト
信号TEST1、および各ナンドゲート回路13
3,143の各出力信号はそれぞれナンドゲート
回路131に入力される。そしてナンドゲート回
路131は、テストモードにおいて比較器130
の出力が“1”レベルであり、更にセレクタバス
制御回路31がアクテイブなステイタス要求信号
SRQ0を出力している期間中アクテイブ(“0”
レベル)な2値信号(ビジイ信号SD040)をセレ
クタバスデータバス(SD〓〓0)126上へ出
力し、比較器130の出力が“0”レベルである
期間中インアクテイブ(“1”レベル)な2値信
号を同じくセレクタバスデータバス(SD〓〓
0)126上へ出力する。 このようにして、入出力装置のビジイ時間をシ
ミユレートすることができる。すなわち、前記し
た(2)の機能が実現される。このビジイ時間の設定
は、8ビツト幅のセレクタバスデータバス(SD
〓〓0)126で構成される本実施例において、
28(=256)レベルまで可能である。ここで、各
レベル(ビジイ時間)は、基本クロツク信号
CLK1の1周期の整数倍の時間を示している。 すなわち、本発明の実施例によれば、入出力装
置のビジイ時間を256レベルまでたとえばマイク
ロコンピユータ29のフアームウエアで設定する
ことができ、低速入出力装置から高速入出力装置
までのシミユレーシヨンが可能となる。 セレクタバス制御回路31は、ビジイ信号
SD040がインアクテイブ(“1”レベル)になつ
た時点でステイタス要求信号SRQ0をインアクテ
イブにするとともに、入出力装置におけるデータ
授受の準備がなされたものと判断し、以下に示す
動作を行なう。すなわち、入出力装置に対するデ
ータ出力の場合、セレクタバス制御回路31はデ
ータアベイラブル信号DAV0をアクテイブにする
とともにデータを送出せしめる。また入出力装置
からのデータ入力要求の場合、セレクタバス制御
回路31はデータリクエスト信号DR0をアクテイ
ブにする。これにより、いずれの場合にも、ナン
ドゲート回路133はその出力信号を“0”とす
る。ナンドゲート回路133の出力信号はフリツ
プフロツプ127およびカウンタ129のリセツ
ト入力端子CLRにそれぞれ入力され、これによ
りフリツプフロツプ127およびカウンタ129
は共にリセツト状態となる。 次に、ビジイ信号SD040がインアクテイブ
(“1”レベル)になつた時点で、セレクタバス制
御回路31がデータアベイラブル信号DAV0をア
クテイブにすると共に、所定データを入出力装置
へ転送するためにセレクタバスデータバス(SD
〓〓0)126上へ送出ぜしめた場合について説
明する。この時転送データバイト数の指定が4バ
イトであつたものとする。 データアベイラブル信号DAV0はナンドゲート
回路141に入力され、これによりナンドゲート
回路141の出力信号は“0”レベルから“1”
レベルに遷移する。このナンドゲート回路141
の出力信号はレジスタ136の入力イネーブル端
子IEに入力される。レジスタ136はナンドゲ
ート回路141の出力信号の“0”レベルから
“1”レベルへの状態遷移に応答して前記セレク
タバスデータバス(SD〓〓0)126上へ送出
された所定データを入力保持する。このようにし
て入出力装置へ転送するために送出されたデータ
(出力情報)を保持することができる。すなわち
前記した(3)の機能が実現される。 上記した動作が繰り返され4バイトの転送が終
了すると、前述したようにセレクタバス制御回路
31はマイクロコンピユータ29に対して転送終
了割込み信号ETRF0を送出すると共に、入出力
装置に対して転送終了信号EDBYTE0を送出す
る。これによりセレクタバス36の制御は再びマ
イクロコンピユータ29に移る。上記転送終了信
号EDBYTE0はフリツプフロツプ144にセツト
入力される。これによりフリツプフロツプ144
はセツト状態となり、その出力信号を“0”レベ
ルから“1”レベルに遷移せしめる。フリツプフ
ロツプ144の出力信号はテスト信号TEST1と
共にナンドゲート回路145にそれぞれ入力され
ている。そしてナンドゲート回路145は上記フ
リツプフロツプ144の出力信号の状態遷移に応
答してその出力信号(割込み信号ATN0)を
“1”レベルから“0”レベルに遷移せしめる。
すなわちナンドゲート回路145は転送終了信号
EDBYTE0に応答して割込み信号ATN0をアクテ
イブにしたことになる。 マイクロコンピユータ29は割込み信号ATN0
がアクテイブになると割込み承認信号ACK0を入
出力装置側へ送出する。この割込み承認信号
ACK0はフリツプフロツプ144にリセツト入力
される。これによりフリツプフロツプ144はリ
セツト状態となり、その出力信号を“1”レベル
から“0”レベルに遷移せしめる。ナンドゲート
回路145はフリツプフロツプ144の出力信号
の状態遷移に応答してその出力信号(割込み信号
ATN0)を“0”レベルから“1”レベルに遷移
せしめる。すなわちナンドゲート回路145は割
込み承認信号ACK0に応答して割込み信号ATN0
をクリア(インアクテイブ)したことになる。こ
のようにして前記した(5)の機能が実現される。 一方、前記割込み承認信号ACK0はナンドゲー
ト回路142にも入力される。これによりナンド
ゲート回路142はその出力信号を“0”レベル
から“1”レベルに遷移せしめる。ナンドゲート
回路142の出力信号はテスト信号TEST1と共
にナンドゲート回路143にそれぞれ入力され
る。そしてナンドゲート回路143は上記ナンド
ゲート回路142の出力信号の状態遷移に応答し
てその出力信号を“1”レベルから“0”レベル
に遷移せしめる。このナンドゲート回路142の
出力信号はレジスタ136の出力イネーブル端子
OEに入力されている。そしてレジスタ136は
上記出力信号の“1”レベルから“0”レベルへ
の状態遷移に応答してその保持データをセレクタ
バスデータバス(SD〓〓0)126上へ送出す
る。上記保持データがデータアベイラブル信号
DAV0と共に転送された所定データであることは
勿論である。すなわち、前記(4)の機能が実現され
たことになる。そして、マイクロコンピユータ2
9が、割込み承認信号ACK0によつてレジスタ1
36から読み込んだデータと、データアベイラブ
ル信号DAV0と共に転送された所定データとの一
致をチエツクすることによつて自己のセレクタチ
ヤネルの機能診断を行なうことができる。 次に本発明のチヤネルにおける診断方式につい
て更に具体的に動作を説明する。 プログラムによつてシミユレータ43を使用す
る場合、SI0命令によりたとえば機器番号を
「0」で指定することによりシミユレータ43の
動作を開始することができる。マイクロコンピユ
ータ(第2図符号29)はデバイスナンバレジス
タ(第2図符号27)の内容が「0」であること
を知ると、テスト開始信号STEST0をシミユレー
タ43へ送出してテストモードにする。すなわち
テスト開始信号STEST0はフリツプフロツプ12
1にセツト入力され、これによりフリツプフロツ
プ121は“1”レベルのテスト信号TEST1を
出力する。 その後マイクロコンピユータ29はCCBで指
定された転送バイト数を内部バス(第2図符号2
8)を通してカウンタ(第2図符号38)にセツ
トすると共に、CCBで指定された主記憶装置の
スタートアドレスをメモリアドレスレジスタ(第
2図符号24)にセツトする。そして、マイクロ
コンピユータ29は機器番号出力信号ADRS0と
ともに機器データを送出せしめる。この機器番号
出力信号ADRS0はナンドゲート回路141に入
力され、この出力信号によつてレジスタ136は
セレクタバスデータバス(SD〓〓0)126上
のデータを保持する。次にマイクロコンピユータ
29はデータリクエスト信号DR0を送出する。こ
のデータリクエスト信号DR0はナンドゲート回路
142に入力される。ナンドゲート回路142の
出力信号はテスト信号TEST1と共にナンドゲー
ト回路143に入力され、この出力信号によつて
レジスタ136は保持データをセレクタバスデー
タバス(SD〓〓0)126上へ送出する。マイ
クロコンピユータ29はこのデータを読み込み送
出データとの一致をチエツクする。その後マイク
ロコンピユータ29はコマンド出力信号CMD0、
データアベイラブル信号DAV0を対応するデータ
と共に送出する。このデータは前記した場合と同
様にレジスタ136に保持されることは明らかで
ある。そしてマイクロコンピユータ29は前記同
様レジスタ136の保持データを読み込んでチエ
ツクする。この場合、コマンド出力信号CMD0に
対応するデータの読み込みは、ステイタス要求信
号STRQ0により行なわれ、データアベイラブル
信号DAV0に対応するデータの読み込みは、割込
み承認信号ACK0により行なわれる。このように
してセレクタチヤネルの入出力制御機能の確認が
できる。このセレクタチヤネルの機能確認は、上
述の如く自己診断によつて行なわれるので、障害
の早期発見、早期回復が期待される。 以上の診断動作が正常終了すると、マイクロコ
ンピユータ29は機器番号出力信号ADRS0と共
に所定データ(ビジイ時間設定データ)を送出す
る。これにより上記データはレジスタ125およ
びレジスタ136にそれぞれ保持される。そして
マイクロコンピユータ29はセレクタバス制御回
路31に転送開始指令信号STRF0を送出する。
これにより入出力制御はセレクタバス制御回路3
1に移る。セレクタバス制御回路31はまずステ
イタス要求信号SRQ0を送出する。以下、前述し
た手順でシミユレータ43−高速バス(第2図符
号21)−主記憶装置間のデータ転送が行なわれ
る。そして、データ転送が終了すると、セレクタ
バス制御回路31から転送終了割込み信号
ETRF0が終了信号線(第2図符号32)を通し
てマイクロコンピユータ29へ送出されると共
に、転送終了信号EDBYTE0がシミユレータ43
へ送出される。これにより入出力制御はセレクタ
バス制御回路31から再びマイクロコンピユータ
29に移る。 シミユレータ43におけるフリツプフロツプ1
44およびナンドゲート回路145は、前述した
ようにアクテイブな転送終了信号EDBYTE0に応
答して動作し、ナンドゲート回路145から出力
される割込み信号ATN0はアクテイブになる。マ
イクロコンピユータ29は割込み信号ATN0がア
クテイブになると割込み承認信号ACK0をシミユ
レータ43へ送出する。このアクテイブな割込み
承認信号ACK0はナンドゲート回路142に入力
される。そして前述したようにレジスタ136は
その保持データをセレクタバスデータバス(SD
〓〓0)126上へ送出する。マイクロコンピユ
ータ29はレジスタ136から送出された(読み
込んだ)データと、転送データとの比較を行ない
セレクタチヤネルの機能診断を行なう。本実施例
では上述した一連の入出力制御動作を、ビジイ時
間(ビジイ時間設定データ)および転送データ
(データアベイラブル信号DAV0と共に送出され
るデータ)を1つずつ変えて(例えばビジイ時間
は、本実施例において256レベルまで設定可能)
行ない、エラー発生が認められた時点でその時の
ビジイ時間をCCBに転送して終了するようにし
ている。このCCB内のビジイ時間の把握はプロ
グラムによつて行なわれる。このようにして低速
入出力装置から高速入出力装置までのシミユレー
シヨンを行なうことができる。また、このシミユ
レーシヨンにより高速バスのタイミングマージン
の限界試験が容易に行なえ、これらの試験データ
を蓄積することにより信頼性データの時系列評
価、更に予防保全適否の判断が可能となるもので
ある。 以上詳述したように本発明によれば、自己の機
能を効率よく診断でき、障害の早期発見、早期回
復の可能なセレクタチヤネルにおける診断方式を
提供できる。更に本発明によれば、チヤネルにお
ける性能評価および信頼性評価を容易に行なうこ
とができる。
[Table] Next, the functions of each field in CCB will be described. (1) CCW: This has been mentioned above, so it will be omitted. (2) Start address: When transferring data between the main storage device and the bulk system, this indicates the start address of the target area on the main storage device side. (3) Number of bytes to be transferred: An operation request for data transfer, indicating the number of data to be transferred. When the requested operation is completed and the CCB is rewritten, the number of bytes actually transferred is subtracted from here. (4) Channel address, device address, channel status, device status; After completing the execution of the requested operation, the selector channel writes the channel address and device address that actually operated in this field. Also, check the status of the bulk system at this point and write them together in the channel status and device status. (5) Queue, chain address; When CCW has chain designation, next CCB
Indicates the start address where is stored. The queue number specified here indicates the queue number at which the termination interrupt should be registered when a queue is specified in the next CCB.
If this is "0", it will be registered in the last queue specified before that. (6) Auxiliary memory address: When data is transferred between the main memory and bulk, this indicates the transfer start address on the bulk side in units of sectors. Next, a description will be given of processing performed by a bulk controller (not shown) that controls bulk such as channels and magnetic tape devices. In the case of data transfer, the channel and bulk controllers provide information about the requested operation.
Get it from CCB. (1) Processing during setup of requested operation execution When a channel and bulk controller executes a new operation request, the following processing is performed. CCB storage address given by SIO instruction,
Alternatively, if a chain is in progress, a new CCB is read into the bulk controller from the main memory area indicated by the chain address of the previous CCB. The requested operation content is determined by specifying device attributes and decoding the command. The data transfer area requested by the start address and auxiliary storage address is known, and the number of data transfers specified by the number of transfer bytes is performed. (2) Processing at the end of operation If the requested operation is completed normally, or if an error occurs during transfer, the next process is performed. When the channel completes its operation, check the channel and device status and write them in the channel status and device status sections of the CCB. Furthermore, write the channel address and device address that are the target of the operation. (3) Processing by CCW After completing the processing in (1) and (2), perform the processing specified by CCW in the bulk controller. However, this is the case when it operates normally. Checks the queue specification bit, and if set, issues a termination interrupt to the CPU. If it has been reset, move on to the next process. Check the chain specification bit, and if it is set, it will be indicated in the chain address section.
Prepare to execute CCB operation requests.
If it has been reset, it waits for an operation execution request by the next SIO command. If there is a chain specification and the device change specification bit is set, the device to be operated is changed to the device indicated in the change target device address section and the next CCB operation request is executed. Note that if an error occurs during operation and the operation is terminated, a termination interrupt is unconditionally issued to the CPU and no chaining is performed. At this time, the queue to which the interrupt is issued is the queue specified last in the SIO command and the chain address in the CCB in the chain. The data processing device described above is required to have the following functions. (1) CCB specified by main program instruction
Based on the storage address, the CCB is read from the main memory 54 via the high speed bus 52 shown in FIG. (2) Decipher the device attribute specification and commands in the CCB. (3) Perform the data transfer requested by the start address and auxiliary memory address. (4) At the end of the transfer, write the CCB with the channel, device status, number of transferred bytes, start address, etc. in the CCB rewritten to the main memory. (5) Arithmetic control unit 5 along with CCB storage address
6 via the high-speed bus 52. FIG. 10 is a detailed block diagram of the selector channel. 101 in FIG. 10 is a high-speed bus (H bus), 102 is a bus through which information sent from the high-speed bus 101 passes, including channel number/equipment number,
Passes CCB storage addresses, data read from main memory, etc. Reference numeral 103 is a bus through which information sent from the channel to the high-speed bus 101 passes, including the address of the main storage device, data written to the main device, and CCB storage address in the case of an interrupt. 1
07 is a device number register (DNR) that stores the channel number and device number when activated by the SIO command. 108 is express bus 1
109 is a read data register (RDR) that temporarily stores data from 01, 109 is a write data register (WDR) that temporarily stores data to the high-speed bus 101, and 110 is a memory address register that temporarily stores the address of the main memory device. (AR), 104
is the memory bus of the microcomputer 111, 1
05 is an input/output bus of the microcomputer 111, 106 and 113 are bidirectional driver/receiver circuits, 112 is a memory (RAM) of the microcomputer 111, and 115 is a selector bus (SEL). 116 is a command register (CMD) that gives commands to access the high-speed bus 101. When data is written to the command register 116 through the memory bus 104, the data is read from the high-speed bus 101, written to the high-speed bus 101, or high-speed depending on the contents. bus 1
Starts an operation such as an interrupt to 01. Reference numeral 114 denotes a control unit (CONT) for the high-speed bus 101, which performs high-speed bus access in response to data written to the command register 116. In addition, when the high-speed bus access is completed, or when the high-speed bus 1
When the CCB storage address is sent through 01, an interrupt is issued to the microcomputer 111. Register 107, read data register 10
8, write data register 109, address register 110, memory 112, command register 1
16 is connected to the memory bus 104 of the microcomputer 111 and has a fixed address in the memory space of the microcomputer 111. The microcomputer 111 can access the above registers by accessing the memory 112. The operation is shown below. When the SIO instruction is executed, the channel number device number is temporarily placed in the device number register 107 through the high-speed bus 101, and then the CCB storage address is temporarily placed in the read data register 108 through the high-speed bus 101, and control is performed at the same time. An interrupt is sent to the microcomputer 111 from the section 114 . When the microcomputer 111 receives an interrupt, it registers the device number register 107 and the read data register 10.
8 is stored in the memory 112. continue,
Set in CCB storage address register 110. Thereafter, a high-speed bus read command is written to the command register 116. The control unit 114 is the command register 11
6 reads data from the address of the main memory specified by the address register 110 and temporarily stores it in the read data register 108;
An interrupt is applied to the microcomputer 111.
When the microcomputer 111 receives an interrupt, it transfers the contents of the read data register 108 to the memory 112. By repeating the above operations, the microcomputer 111 transfers the CCB to the memory 11.
Incorporate into 2. Next, the CCB is decoded and data is transferred between the input/output device, channel, high-speed bus, bus controller, and main memory through the selector bus by the number of data specified by the CCB to the area of the main memory specified by the CCB. Let's do this. The operation of the selector channel 20 according to the present invention will now be explained based on the detailed block diagram of FIG. First, the microcomputer 29
The start address of the main memory device specified by CCB is transferred to the internal bus 28 in the memory address register 24.
Set it through. Thereafter, the number of transferred bytes specified by the CCB is set in the counter 38. The microcomputer 29 then sends the device number (address) to the input/output device having the device number held in the device number register 27 along with the device number output signal ADRS0. In contrast, when the relevant input/output device learns that the device number is its own number (address), it sends a response signal.
Send SYNC0 to microcomputer 29. When the microcomputer 29 receives the response signal SYNC0, it stops sending out the device number output signal ADRS0. In response to this, the output of the response signal (SYNC0) from the input/output device is stopped, and the sending of the device number is completed. Next, the microcomputer 29 sends the command and then sends the transfer start address (start address) of the input/output device to the input/output bus 3.
4, selector bus driver/receiver circuit 35,
This is done for input/output devices through the selector bus 36. At this time, a command output signal CMD0 is sent from the microcomputer 29 in response to the sending of the command, and a data available signal DAV0 is sent in response to the sending of the transfer start address. Furthermore, it goes without saying that a response signal SYNC0 is returned to the microcomputer 29 from the input/output device in response to these signals. When these setup operations are completed, the microcomputer 29 outputs a transfer start command signal STRF0 through the command register 40. This transfer start command signal STRF0 is input to the selector bus control circuit 31 via the start signal line 30.
As a result, control of the selector bus 36, ie, input/output control, is transferred to the selector bus control circuit 31. On the other hand, along with this, the microcomputer 29 is released from input/output control operations. The selector bus control circuit 31 is connected to the selector bus 36
Sends the status request signal SRQ0 upward. A response signal SYNC0 is then sent from the corresponding input/output device along with the device status. This status is sent to the selector bus control circuit 31 via the selector bus 36, selector bus driver/receiver circuit 37, and internal bus 28 in this order. The selector bus control circuit 31 outputs a status busy signal.
SD040 is monitored, and when the busy signal SD040 becomes inactive (level "1"), that is, when the input/output device becomes ready for data exchange, the status request signal SRQ0 is made inactive. And the input/output device sends a status request signal
When SRQ0 becomes inactive, response signal SYNC0
becomes inactive. On the other hand, the selector bus control circuit 31 receives the response signal
When SYNC0 becomes inactive, data output or data input control operation is performed. In other words, the selector bus control circuit 31 sends to the input/output device a data available signal DAV0 (for transferring data from the main memory to the input/output device) or a data request signal DR0 (for inputting data from the input/output device to the main memory). case). At this time, data is sent onto the selector bus 36. In other words, when transferring data to an input/output device,
The selector bus control circuit 31 sends the 1-byte data temporarily stored in the read data register 26 onto the selector bus 36 through the internal bus 28 and the selector bus driver/receiver circuit 37, and activates the data available signal DAV0. . When the input/output device receives the data available signal DAV0, it activates the response signal SYNC0 and takes in the data on the selector bus 36. Further, when inputting data from an input/output device, the selector bus control circuit 31 writes data sent from the input/output device onto the internal bus 28 through the selector bus 36 and the selector bus driver/receiver circuit 37 into a write data register. Temporarily set the number to 25. When the input/output device receives the data available signal DAV0 or the data request signal DR0, it sends a response signal.
Activate SYNC0. When the selector bus control circuit 31 receives the response signal SYNC0, it makes the data available signal DAV0 or the data request signal DR0 inactive. Then, the input/output device makes the response signal SYNC0 inactive when the data available signal DAV0 or the data request signal DR0 becomes inactive. This completes the exchange of 1 byte of data. When the data exchange of one byte is completed, the count value of the counter 38 is subtracted by "1" by the count signal CNTR0 given from the selector bus control circuit 31. The above operation is repeated until the count value of the counter 38 becomes "0". Then, when the count value reaches "0", the counter 0 signal line 3
9, the selector bus control circuit 31 is notified that the transfer of the number of data bytes specified by the CCB has been completed. As a result, the selector bus control circuit 31 sends a transfer end interrupt signal ETRF0 to the microcomputer 29 through the end signal line 32.
At the same time, the transfer end signal EDBYTE0 is sent to the input/output device. As a result, the control of the selector bus 36 is again transferred to the microcomputer 29.
Move to. On the other hand, the input/output device receives the transfer end signal
Upon receiving EDBYTE0, it sends an interrupt signal ATN0 to the microcomputer 29. Upon receiving the interrupt signal, the microcomputer 29 sends an interrupt acknowledge signal ACK0 to the input/output device. When the input/output device receives the interrupt acknowledgment signal ACK0, it sends its own device number onto the selector bus 36 and also sends a response signal SYNC0 to the microcomputer 29. Note that in this embodiment, the selector bus control circuit 31
The 4-byte data is read data register 26.
A memory request signal BREQ0 is sent to the high-speed bus control circuit 42 through the memory request signal line 33 every time it is sent from the input/output device to the input/output device or every time it is placed in the write data register 25 from the input/output device. As a result, the high-speed bus control circuit 42 operates, and the data in the main memory device is transferred to the read data register 26 via the high-speed bus 21 and stored therein.
Alternatively, the input data stored in the write data register 25 is transferred to the main storage device via the high speed bus 21. The memory address register 24 shows the next address of the main memory. As described above, in the selector channel 20 according to the present invention, there are cases in which the microcomputer 29 performs control of the selector bus, and cases in which the selector bus control circuit 31 performs the control. However, in either case, the selector channel 20 is required to have the following five functions for function diagnosis of the selector channel, simulation of input/output devices, and the like. That is, (1) Device number output signal ADRS0, command output signal CMD0, data available signal DAV0, data request signal DR0, status request signal
SRQ0, response signal to interrupt acknowledge signal ACK0 (so-called selector bus control signal)
SYNC0 is returned. (2) A busy status (busy signal SD040) is returned for a certain period of time in response to the status request signal SRQ0 given from the selector bus control circuit. (3) Holds the output data (equipment number, command data, output information) transferred to the input/output device. (4) Input requests (status request signal SRQ0, data request signal DR0, interrupt acknowledge signal
Data can be output in response to ACK0). (5) Activate interrupt signal ATN0 by receiving transfer end signal EDBYTE0, and clear interrupt signal ATN0 by receiving interrupt acknowledge signal ACK0. FIG. 11 shows in detail an embodiment near the simulator 43 in the selector channel 20 in which the above five functions are realized. In the figure, reference numeral 121 is a flip-flop. This flip-flop 121 is set by the test start signal STEST0 given from the microcomputer 29 in FIG. 2, and reset by the test end signal ETEST0. Thus, the flip-flop 121 outputs an active ("1" level) test signal TEST1 during the set period. As a result, the test mode in the selector channel is designated and the simulator 43 is enabled. Reference numeral 122 is a NAND gate circuit. The NAND gate circuit 122 receives device number output signals ADRS0 and ADRS0, which are respectively given via the driver circuit 123.
Command output signal CMD0, data available signal DAV0, data request signal DR0, status request signal SRQ0, and interrupt acknowledge signal ACK0
is taken as input. The NAND gate circuit 124 receives the output signal of the NAND gate circuit 122 and the test signal TEST1 as inputs, and outputs a response signal SYNC0 from its output terminal. These NAND gate circuits 122 and 124 realize the function shown in (1). Reference numeral 125 is a register, and the load terminal L
, a data input section, and a data output section. This register 125 receives 8-bit wide selector bus data in response to the rise of the device number output signal ADRS0 input to the load terminal L, that is, the state transition from "0" level (active) to "1" level (inactive). Bus (SD**0)
126 (in this embodiment, busy time setting data as described later) is a data register. Reference numeral 127 denotes a flip-flop, for example a D-type flip-flop, which has a data input terminal D, a clock input terminal CK, a reset input terminal CLR, and an output terminal. The flip-flop 127 responds to the state transition of the stakes request signal SRQ0 input to the clock input terminal CK from the "1" level (inactive) to the "0" level (active) during the control operation period of the selector bus control circuit 31. In response, test signals TEST1 to 2 are input to data input terminal D at that time.
It holds the value level. Reference numeral 128 designates an AND gate circuit connected to the output terminal of the flip-flop 127 and having an input terminal to which the held data is input, an input terminal to which the basic clock signal CLK1 is input, and an output terminal. Further, reference numeral 129 denotes a counter, which includes a clock input terminal CK connected to the output terminal of the AND gate circuit 128, a reset input terminal CLR, and an output terminal. Thus, the counter 129 counts up by "1" in response to the rise of the output signal of the AND gate circuit 128. code 130
is a comparator. The comparator 130 receives the count output of the counter 129 and the contents held in the register 125 as inputs, and compares the magnitude thereof. Therefore, the comparator 130 outputs a "1" level output signal until the count output of the counter 129 matches the content held in the register 125.
If they match, a "0" level output signal is output from the output terminal. Reference numeral 131 indicates the output of the comparator 130, the test signal TEST1, the output of a NAND gate circuit 133, which will be described later, and the NAND gate circuit 143.
It is a NAND gate circuit with each output as input. Therefore, the NAND gate circuit 131 receives the status request from the selector bus control circuit 31.
Only when outputting SRQ0, during the period when the output signal of the comparator 130 is at the "1" level (the period until the count output of the counter 129 matches the content held in the register 125 in the test mode), the output signal, that is, the busy Set signal SD040 (busy status) to “0” level (active). On the other hand, numeral 132 is a NAND gate circuit,
Data available signal DAV0, data request signal DR0, and inverter circuit 13 described later
5. The status request signal SRQ0, which is sequentially applied through the NAND gate circuit 134, is input. Further, the reference numeral 133 is also a NAND gate circuit, and includes an input terminal and an output terminal to which the output signal of the NAND gate circuit 132 and the test signal TEST1 are respectively input. The output terminal of this NAND gate circuit 133 is the reset input terminal of the flip-flop 127 and counter 129.
CLR and the input terminal of the NAND gate circuit 131, respectively. And an active (“0” level) data available signal
When DAV0 or data request signal DR0 is input to NAND gate circuit 132, NAND gate circuit 133 outputs a "0" level output signal. This causes flip-flop 12
7 and counter 129 are both reset. The flip-flop 127 performs a latch operation in response to the status request signal SRQ0 inputted to its clock input terminal CK during the control operation of the selector bus control circuit 31 as described above. On the other hand, the status request signal SRQ0 is also applied to the microcomputer (reference numeral 29 in FIG. 2) during control operation. Therefore, the flip-flop 12 is activated by the status request signal SRQ0 given during control operation by the microcomputer.
7 must be prohibited from performing a latch operation. Furthermore, while the selector bus control circuit 31 is in control operation, it is necessary to cancel the inhibition of the latch operation. That is, when the status request signal SRQ0 from the selector bus control circuit 31 is received, it is necessary to give it the meaning of a busy signal (output of the NAND gate circuit 131). The NAND gate circuit 13 realizes this.
4 and an inverter circuit 135. This NAND gate circuit 134 receives an input/output operation control signal.
It receives the status request signal SRQ0 applied via IOCNT1 and the inverter circuit 135 as input. This input/output operation control signal IOCNT1
is the microcomputer 2 (in Figure 2)
9 indicates the "1" level during the control operation period, and the selector bus control circuit 31 indicates the "0" level during the control operation period (during the period when the microcomputer 29 is released from the control operation). Therefore, when the microcomputer 29 outputs the active (“0” level) status request signal SRQ0 during the control operation period, the NAND gate circuit 134
The “0” level output signal is sent to the NAND gate circuit 13.
Send to 2. In addition, the NAND gate circuit 134
When the selector bus control circuit 31 outputs the active (“0” level) status request signal SRQ0 during the control operation period, the selector bus control circuit 31 sends an output signal of “1” level to the NAND gate circuit 132. The above-mentioned register 125, flip-flop 127,
The function shown in (2) above is realized by the AND gate circuit 128, the counter 129, the comparator 130, the NAND gate circuits 131 to 134, and the inverter circuit 135. Reference numeral 136 is a register. This register 1
36 is selector bus data bus (SD〓〓0)1
A data input section that inputs the data on 26, an input enable terminal IE, and an output enable terminal OE.
and an output section. However, register 1
36 is a selector bus data bus (SD 〓〓0) Holds the data on 126. This selector bus data bus (SD〓〓
0) The data on 126 is stored in the selector bus driver/receiver circuit 137 during the control operation by the microcomputer (numeral 29 in FIG. 2).
The data transmitted from the bus (DLN〓〓0) 138 through the selector bus driver/receiver circuit 139 during the control operation period of the selector bus control circuit 31 are transmitted from the bus (DLN〓〓0) 140 through the be. The data held in the register 136 is transferred from its output to the selector bus data bus ( SD〓〓0)126 is output. On the other hand, code 141 is a device number output signal
This is a NAND gate circuit that receives ADRS0, command output signal CMD0, and data available signal DAV0 as inputs. This NAND gate circuit 1
41 is an input enable terminal of the register 136 that outputs a "1" level output signal during a period when any of the above signals is active ("0" level).
Give to IE. Reference numeral 142 is also a NAND gate circuit, which receives the output signal of the NAND gate circuit 134, the data request signal DR0, and the interrupt acknowledge signal ACK0, respectively. This NAND gate circuit 142 generates an output signal of "1" level during a period when any of the above-mentioned signals is active ("0" level). The output signal and test signal of this NAND gate circuit 142
TEST1 is input to each input terminal of the NAND gate circuit 143. In the test mode, the NAND gate circuit 143 sends the output signal of the "0" level to the output enable terminal of the register 136 while the output signal of the NAND gate circuit 142 is at the "1" level.
Give to OE. As a result, the register 136 sends out its held data as described above. As already explained, the output signal of the NAND gate circuit 134 is "0" when the microcomputer 29 outputs the active ("0" level) status request signal SRQ0 during the control operation period.
It is at the "1" level when the selector bus control circuit 31 outputs the active ("0" level) status request signal SRQ0 during the control operation period. That is, the status request signal SRQ0 outputted by the selector bus control circuit 31 during the control operation period has no effect on the register 136. Register 13 above
6. The functions shown in (3) and (4) above are realized by the NAND gate circuits 141 to 143 (NAND gate circuit 134 and inverter circuit 135). Reference numeral 144 designates a flip-flop having the transfer end signal EDBYTE0 as a set input and the interrupt acknowledgment signal ACK0 as a reset input. This flip-flop 144 is set by the active ("0" level) transfer end signal EDBYTE0 applied from the selector bus control circuit 31, and outputs a "1" level output signal. Furthermore, the flip-flop 144 is reset by the active ("0" level) interrupt acknowledge signal ACK0, and outputs an output signal of the "0" level. Reference numeral 145 is a NAND gate circuit which receives the output signal of the flip-flop 144 and the test signal TEST1. This NAND gate circuit 14
Reference numeral 5 outputs an active ("0" level) interrupt signal ATN0 only while the output signal of the flip-flop 144 inputted during the test mode is at "1" level. Further, the NAND gate circuit 145 is connected to the flip-flop 14
The interrupt signal ATN0 is cleared (inactive) in response to the output signal of No. 4 transitioning to the "0" level. The flip-flop 144 and the NAND gate circuit 145 realize the function shown in (5) above. Next, the operation of the simulator 43 shown in FIG. 11 will be explained with reference to FIG. 2 as well. For example, it is assumed that the microcomputer 29 outputs the test start signal STEST0 at the "0" level. As a result, the flip-flop 121 is set,
“1” level test signal from its output terminal
Output TEST1. The simulator circuit 43 is then enabled and the selector channel is placed in test mode. In this state, the NAND gate circuit 122 outputs the device number output signal ADRS0, command output signal CMD0, data available signal DAV0, and data request signal.
DR0, status request signal SRQ0, and interrupt acknowledge signal ACK0 are each input. Then, in the NAND gate circuit 122, any one of the above control signals is active (“0” level).
During a certain period, a binary signal of "1" level is output. The NAND gate circuit 124 receives the output signal of the NAND gate circuit 122 and the test signal.
TEST1 is entered. Then, the NAND gate circuit 124 is in test mode (test signal
During the period when TEST1 is at “1” level, the inverted signal of the output signal of the NAND gate circuit 122 is sent as the response signal.
Output as SYNC0. That is, the NAND gate circuit 124 outputs the active response signal SYNC0 in response to the input of the active control signal to the NAND gate circuit 122, and outputs the active response signal SYNC0 in response to the input of the active control signal being stopped. Stop output. This realizes the function (1) described above. Next, the operation of the function (2) will be explained. For example, it is assumed that the device number output signal ADRS0 (active) is being applied and the corresponding data (busy time setting data in this embodiment) is being output onto the selector bus data bus (SD〓〓〓0) 126. Device number output signal ADRS0 is register 1
It is input to the load terminal L of No. 25. As a result, the register 125 is set to the selector bus data bus (SD〓
0) Input and hold the data on 126. Thereafter, the microcomputer 29 performs setup operations such as sending commands and sending a transfer start address, and further sets up the selector bus control circuit 31.
It is assumed that the transfer start command signal STRF0 is outputted and the control operation is moved to the selector bus control circuit 31. As a result, the selector bus control circuit 31 receives the status request signal through the driver circuit 123.
Send SRQ0 (active). At this time, an active response signal is generated from the NAND circuit 124 in response to the active status request signal SRQ0.
As mentioned above, SYNC0 is returned.
The status request signal SRQ0 is input to the clock input terminal CK of the flip-flop 127. Flip-flop 127 is a status request signal.
The state of the test signal TEST1 (in this embodiment, "1" level) at the falling edge of SRQ0 (state transition from inactive to active) is latched. The latch data of flip-flop 127 and basic clock signal CLK1 are input to AND gate circuit 128, respectively. Then, the AND gate circuit 128 causes the flip-flop 127 to be "1".
It is opened while the level test signal TEST1 is latched, and the basic clock signal CLK1 is output as is. The output signal of the AND gate circuit 128 is input to the clock input terminal CK of the counter 129. The counter 129 is an AND gate circuit 128
The count output is counted up by "1" in response to the rise of the output signal, that is, the basic clock signal CLK1. The count output of the counter 129 and the data held in the register 125 (busy time setting data) are both input to a comparator 130. The comparator 130 outputs a binary signal of "1" level until the count output of the counter 129 matches the data held in the register 125. When the count output matches the held data, the comparator 130 outputs a binary signal of "0" level. The output signal of this comparator 130, the test signal TEST1, and each NAND gate circuit 13
Each of the 3,143 output signals is input to a NAND gate circuit 131. The NAND gate circuit 131 then operates the comparator 130 in the test mode.
output is at “1” level, and the selector bus control circuit 31 is active status request signal
Active (“0”) while outputting SRQ0.
outputs a binary signal (busy signal SD040) to the selector bus data bus (SD〓〓0) 126, and remains inactive (“1” level) during the period when the output of the comparator 130 is at “0” level. The binary signals are also connected to the selector bus data bus (SD〓〓〓
0) Output onto 126. In this way, the busy time of the input/output device can be simulated. That is, the function (2) described above is realized. This busy time setting is based on the 8-bit wide selector bus data bus (SD
〓〓0)126 In this embodiment,
Up to 2 8 (=256) levels are possible. Here, each level (busy time) is the basic clock signal.
It shows a time that is an integral multiple of one cycle of CLK1. That is, according to the embodiment of the present invention, the busy time of an input/output device can be set up to 256 levels by the firmware of the microcomputer 29, and simulations from low-speed input/output devices to high-speed input/output devices are possible. Become. The selector bus control circuit 31 outputs a busy signal.
When SD040 becomes inactive (level "1"), the status request signal SRQ0 is made inactive, and it is determined that the input/output device is ready for data exchange, and the following operations are performed. That is, in the case of data output to an input/output device, the selector bus control circuit 31 activates the data available signal DAV0 and sends out the data. Further, in the case of a data input request from an input/output device, the selector bus control circuit 31 activates the data request signal DR0. As a result, in either case, the NAND gate circuit 133 sets its output signal to "0". The output signal of the NAND gate circuit 133 is input to the reset input terminal CLR of the flip-flop 127 and the counter 129, respectively.
Both are in the reset state. Next, when the busy signal SD040 becomes inactive (level "1"), the selector bus control circuit 31 activates the data available signal DAV0, and the selector bus control circuit 31 activates the data available signal DAV0 and transfers predetermined data to the input/output device. Data bus (SD
〓〓0) 126 will be explained. At this time, it is assumed that the number of transfer data bytes is specified as 4 bytes. The data available signal DAV0 is input to the NAND gate circuit 141, so that the output signal of the NAND gate circuit 141 changes from the "0" level to the "1" level.
Transition to a level. This NAND gate circuit 141
The output signal is input to the input enable terminal IE of the register 136. The register 136 inputs and holds predetermined data sent onto the selector bus data bus (SD〓〓〓0) 126 in response to the state transition of the output signal of the NAND gate circuit 141 from the "0" level to the "1" level. . In this way, the data (output information) sent for transfer to the input/output device can be held. That is, the function (3) described above is realized. When the above operation is repeated and the transfer of 4 bytes is completed, the selector bus control circuit 31 sends the transfer end interrupt signal ETRF0 to the microcomputer 29 as described above, and also sends the transfer end signal EDBYTE0 to the input/output device. Send out. As a result, control of the selector bus 36 is transferred to the microcomputer 29 again. The transfer end signal EDBYTE0 is set into the flip-flop 144. This causes flip-flop 144
enters the set state, causing its output signal to transition from the "0" level to the "1" level. The output signal of the flip-flop 144 is input to a NAND gate circuit 145 together with the test signal TEST1. In response to the state transition of the output signal of the flip-flop 144, the NAND gate circuit 145 causes its output signal (interrupt signal ATN0) to transition from the "1" level to the "0" level.
In other words, the NAND gate circuit 145 receives the transfer end signal.
This means that the interrupt signal ATN0 is activated in response to EDBYTE0. Microcomputer 29 uses interrupt signal ATN0
When becomes active, it sends an interrupt acknowledge signal ACK0 to the input/output device. This interrupt acknowledge signal
ACK0 is a reset input to flip-flop 144. This puts the flip-flop 144 in a reset state, causing its output signal to transition from the "1" level to the "0" level. The NAND gate circuit 145 responds to the state transition of the output signal of the flip-flop 144 and outputs its output signal (interrupt signal).
ATN0) is caused to transition from the “0” level to the “1” level. That is, the NAND gate circuit 145 outputs the interrupt signal ATN0 in response to the interrupt acknowledge signal ACK0.
This means that it has been cleared (inactive). In this way, the function (5) described above is realized. On the other hand, the interrupt acknowledge signal ACK0 is also input to the NAND gate circuit 142. As a result, the NAND gate circuit 142 causes its output signal to transition from the "0" level to the "1" level. The output signal of the NAND gate circuit 142 is inputted to the NAND gate circuit 143 together with the test signal TEST1. In response to the state transition of the output signal of the NAND gate circuit 142, the NAND gate circuit 143 causes its output signal to transition from the "1" level to the "0" level. The output signal of this NAND gate circuit 142 is the output enable terminal of the register 136.
Entered into OE. Then, the register 136 sends the held data onto the selector bus data bus (SD〓〓〓0) 126 in response to the state transition of the output signal from the "1" level to the "0" level. The above retained data is the data available signal
Of course, this is the predetermined data transferred together with DAV0. In other words, the function (4) above is realized. And microcomputer 2
9 is set to register 1 by interrupt acknowledge signal ACK0.
By checking whether the data read from 36 matches the predetermined data transferred together with the data available signal DAV0, the function of the selector channel itself can be diagnosed. Next, the operation of the channel diagnostic method of the present invention will be explained in more detail. When the simulator 43 is used by a program, the operation of the simulator 43 can be started by specifying the device number as "0" using the SI0 command. When the microcomputer (29 in FIG. 2) learns that the content of the device number register (27 in FIG. 2) is "0", it sends a test start signal STEST0 to the simulator 43 to set it in test mode. In other words, the test start signal STEST0 is applied to the flip-flop 12.
The flip-flop 121 outputs the test signal TEST1 at the "1" level. After that, the microcomputer 29 transfers the number of transfer bytes specified by the CCB to the internal bus (reference numeral 2 in Figure 2).
8) in the counter (38 in FIG. 2), and also sets the start address of the main memory specified by the CCB in the memory address register (24 in FIG. 2). The microcomputer 29 then sends the device data together with the device number output signal ADRS0. This device number output signal ADRS0 is input to the NAND gate circuit 141, and the register 136 holds the data on the selector bus data bus (SD〓〓〓0) 126 according to this output signal. Next, the microcomputer 29 sends out a data request signal DR0. This data request signal DR0 is input to the NAND gate circuit 142. The output signal of the NAND gate circuit 142 is input to the NAND gate circuit 143 together with the test signal TEST1, and this output signal causes the register 136 to send the held data onto the selector bus data bus (SD〓〓0) 126. The microcomputer 29 reads this data and checks whether it matches the sent data. After that, the microcomputer 29 outputs a command output signal CMD0,
The data available signal DAV0 is sent out along with the corresponding data. It is clear that this data is held in register 136 as before. Then, the microcomputer 29 reads and checks the data held in the register 136 as described above. In this case, reading of data corresponding to command output signal CMD0 is performed by status request signal STRQ0, and reading of data corresponding to data available signal DAV0 is performed by interrupt acknowledge signal ACK0. In this way, the input/output control function of the selector channel can be confirmed. Since this function check of the selector channel is performed by self-diagnosis as described above, early detection of failures and early recovery are expected. When the above diagnostic operation is completed normally, the microcomputer 29 sends out predetermined data (busy time setting data) together with the device number output signal ADRS0. As a result, the above data is held in register 125 and register 136, respectively. The microcomputer 29 then sends a transfer start command signal STRF0 to the selector bus control circuit 31.
As a result, input/output control is performed by the selector bus control circuit 3.
Move to 1. The selector bus control circuit 31 first sends out a status request signal SRQ0. Thereafter, data transfer between the simulator 43, the high-speed bus (reference numeral 21 in FIG. 2), and the main storage device is performed in accordance with the procedure described above. When the data transfer is completed, a transfer end interrupt signal is sent from the selector bus control circuit 31.
ETRF0 is sent to the microcomputer 29 through the end signal line (32 in FIG. 2), and the transfer end signal EDBYTE0 is sent to the simulator 43.
sent to. As a result, input/output control is transferred from the selector bus control circuit 31 to the microcomputer 29 again. Flip-flop 1 in simulator 43
44 and the NAND gate circuit 145 operate in response to the active transfer end signal EDBYTE0 as described above, and the interrupt signal ATN0 output from the NAND gate circuit 145 becomes active. The microcomputer 29 sends an interrupt acknowledge signal ACK0 to the simulator 43 when the interrupt signal ATN0 becomes active. This active interrupt acknowledge signal ACK0 is input to the NAND gate circuit 142. As mentioned above, the register 136 transfers the held data to the selector bus data bus (SD).
〓〓0) Send on 126. The microcomputer 29 compares the data sent (read) from the register 136 with the transferred data to diagnose the function of the selector channel. In this embodiment, the series of input/output control operations described above are performed by changing the busy time (busy time setting data) and transfer data (data sent together with the data available signal DAV0) one by one (for example, the busy time is (In the example, up to 256 levels can be set)
When an error is recognized as occurring, the busy time at that time is transferred to the CCB and the process is terminated. This busy time within the CCB is determined by a program. In this way, simulations can be performed from low-speed input/output devices to high-speed input/output devices. Additionally, this simulation allows for easy testing of the limits of the timing margin of high-speed buses, and by accumulating these test data, it becomes possible to evaluate reliability data in time series and to determine whether preventive maintenance is appropriate. As described in detail above, according to the present invention, it is possible to provide a diagnostic method in a selector channel that can efficiently diagnose its own functions, enable early detection of failures, and enable early recovery. Further, according to the present invention, performance evaluation and reliability evaluation in a channel can be easily performed.

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

第1図は一般的なダイレクトメモリアクセス装
置の接続システムを示すブロツク図、第2図乃至
第11図は本発明の一実施例を示すもので、第2
図はセレクタチヤネルの構成を示すブロツク図、
第3図は第2図セレクタチヤネルを採用している
データ処理装置のシステム構成図、第4図は第3
図における中央処理装置のうちの演算制御装置付
近を取り出して示すブロツク図、第5図はプログ
ラムステータスワードを示す図、第6図はチヤネ
ル制御動作を説明するための図、第7図aはSIO
命令を実行するためのフオーマツト、第7図bは
TIO命令を実行するためのフオーマツト、第8図
はチヤネルコントロールブロツクを示す図、第9
図はチヤネルコントロールブロツク中のチヤネル
コントロールワードを示す図、第10図はセレク
タチヤネルの基本構成を示すブロツク図、第11
図はこの発明に係わるシミユレータの詳細構成図
である。 21……高速バス、22……高速バスドライ
バ/レシーバ回路、24……メモリアドレスレジ
スタ、25……ライトデータレジスタ、26……
リードデータレジスタ、27……デバイスナンバ
レジスタ、28……内部バス、29……マイクロ
コンピユータ、31……セレクタバス制御回路、
34……入出力バス、35,37……セレクタバ
スドライバ/レシーバ回路、36……セレクタバ
ス、38……カウンタ、40……コマンドレジス
タ、41……ランダムアクセスメモリ、42……
高速バス制御回路、43……シミユレータ、12
1,144……フリツプフロツプ、122,12
4……ナンドゲート回路、125,136……レ
ジスタ、127……(D形)フリツプフロツプ、
129……カウンタ、130……比較器。
FIG. 1 is a block diagram showing a connection system for a general direct memory access device, and FIGS. 2 to 11 show an embodiment of the present invention.
The figure is a block diagram showing the configuration of the selector channel.
Figure 3 is a system configuration diagram of a data processing device that uses the selector channel shown in Figure 2, and Figure 4 is a system configuration diagram of a data processing device that uses the selector channel shown in Figure 2.
A block diagram showing the vicinity of the arithmetic and control unit of the central processing unit in the figure, FIG. 5 is a diagram showing the program status word, FIG. 6 is a diagram for explaining channel control operation, and FIG. 7a is a diagram showing the SIO
The format for executing the instruction, Figure 7b, is
Format for executing TIO instruction, Figure 8 shows the channel control block, Figure 9
The figure shows the channel control word in the channel control block. Figure 10 is a block diagram showing the basic configuration of the selector channel.
The figure is a detailed configuration diagram of a simulator according to the present invention. 21...High speed bus, 22...High speed bus driver/receiver circuit, 24...Memory address register, 25...Write data register, 26...
Read data register, 27...Device number register, 28...Internal bus, 29...Microcomputer, 31...Selector bus control circuit,
34...I/O bus, 35, 37...Selector bus driver/receiver circuit, 36...Selector bus, 38...Counter, 40...Command register, 41...Random access memory, 42...
High-speed bus control circuit, 43...Simulator, 12
1,144...flip flop, 122,12
4...NAND gate circuit, 125, 136...Register, 127...(D type) flip-flop,
129...Counter, 130...Comparator.

Claims (1)

【特許請求の範囲】 1 主記憶装置に格納されているチヤネル制御語
を読出して解読し、入出力動作指令を送出すると
ともにその動作終了まで入出力制御動作から解放
されるマイクロコンピユータと、 上記入出力動作指令によつて入出力装置と上記
主記憶装置の間のデータ転送を行ない、上記デー
タ転送終了後に上記マイクロコンピユータに転送
終了割込み信号を送出するバス制御回路と、 テストモードにおいて上記マイクロコンピユー
タまたはバス制御回路から送られる制御信号に応
答して対応する制御信号を送出する制御信号送出
手段であつて、内部に上記マイクロコンピユータ
から送出される時間設定データを保持するレジス
タと、上記バス制御回路からのステイタス要求に
よつて時間カウントを開始するカウンタと、この
カウンタのカウント値と上記時間設定データとを
比較し、一致したときに転送可能を示す応答信号
を上記バス制御回路に送出する手段とを有する制
御信号送出手段と、 テストモードにおいて上記マイクロコンピユー
タまたはバス制御回路からデータ出力を示す制御
信号とともに送出されるデータを保持し、この保
持データを上記マイクロコンピユータまたはバス
制御回路からの入力要求を示す制御信号に応答し
て上記マイクロコンピユータまたはバス制御回路
に送出する手段とを具備し、 上記各手段によつて送出される制御信号および
データに基づいて自己のチヤネル機能診断および
性能評価を行なうことを特徴とするチヤネルにお
ける診断方式。
[Scope of Claims] 1. A microcomputer that reads and decodes channel control words stored in a main memory, sends input/output operation commands, and is released from input/output control operations until the end of the operation; a bus control circuit that transfers data between the input/output device and the main storage device according to an output operation command, and sends a transfer end interrupt signal to the microcomputer after the data transfer is completed; The control signal sending means sends out a corresponding control signal in response to a control signal sent from the bus control circuit, and includes a register internally holding time setting data sent from the microcomputer, and a register from the bus control circuit. a counter that starts time counting in response to a status request; and means that compares the count value of this counter with the time setting data and, when they match, sends a response signal indicating that transfer is possible to the bus control circuit. control signal transmitting means having a control signal transmitting means for retaining data transmitted together with a control signal indicating data output from the microcomputer or bus control circuit in a test mode, and using the retained data to indicate an input request from the microcomputer or bus control circuit; and means for transmitting the control signal to the microcomputer or the bus control circuit in response to the control signal, and for performing self-channel function diagnosis and performance evaluation based on the control signal and data transmitted by the respective means. Diagnostic method in characteristic channels.
JP10147279A 1979-08-09 1979-08-09 Diagnostic system of selector channel Granted JPS5627427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10147279A JPS5627427A (en) 1979-08-09 1979-08-09 Diagnostic system of selector channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10147279A JPS5627427A (en) 1979-08-09 1979-08-09 Diagnostic system of selector channel

Publications (2)

Publication Number Publication Date
JPS5627427A JPS5627427A (en) 1981-03-17
JPS6232829B2 true JPS6232829B2 (en) 1987-07-16

Family

ID=14301662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10147279A Granted JPS5627427A (en) 1979-08-09 1979-08-09 Diagnostic system of selector channel

Country Status (1)

Country Link
JP (1) JPS5627427A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60144851A (en) * 1983-12-30 1985-07-31 Fujitsu Ltd Channel controller
JPH0796429B2 (en) * 1989-07-27 1995-10-18 三菱電機株式会社 Elevator emergency stop device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5433820B2 (en) * 1973-12-29 1979-10-23

Also Published As

Publication number Publication date
JPS5627427A (en) 1981-03-17

Similar Documents

Publication Publication Date Title
EP3762830B1 (en) Debug controller circuit
US7904605B2 (en) Computer command and response for determining the state of an I/O operation
US3688274A (en) Command retry control by peripheral devices
US8166206B2 (en) Cancel instruction and command for determining the state of an I/O operation
US8108570B2 (en) Determining the state of an I/O operation
US7899944B2 (en) Open exchange limiting in an I/O processing system
US4218739A (en) Data processing interrupt apparatus having selective suppression control
CA1191964A (en) High-speed data transfer unit for digital data processing system
US5423029A (en) Circuit and method for testing direct memory access circuitry
US3988714A (en) Computer input/output apparatus for providing notification of and distinguishing among various kinds of errors
EP0290942B1 (en) Guest machine execution control system for virtual machine system
EP0529557B1 (en) Apparatus for preventing computer data destructively read out from storage unit
JPS6232829B2 (en)
JP2807010B2 (en) Tape drive control unit for interconnection between host computer and tape drive and method of operating the same
JPS634209B2 (en)
CN114253883A (en) Access method and system for endpoint device and endpoint device
US11704215B2 (en) Central processing unit
KR950009576B1 (en) Bus interface device
JPS6159558A (en) Dma diagnosis system
JPS584365B2 (en) Reset control system
JPS59112325A (en) Electronic computer system
JP3273191B2 (en) Data transfer device
JPS5832422B2 (en) Micro Shindan Houshiki
SU993237A1 (en) Device for interfacing on-line memory with peripheral devices
JPH0215353A (en) Abnormality setting system at specific address