JPS6242254A - Channel initializing system - Google Patents

Channel initializing system

Info

Publication number
JPS6242254A
JPS6242254A JP18230585A JP18230585A JPS6242254A JP S6242254 A JPS6242254 A JP S6242254A JP 18230585 A JP18230585 A JP 18230585A JP 18230585 A JP18230585 A JP 18230585A JP S6242254 A JPS6242254 A JP S6242254A
Authority
JP
Japan
Prior art keywords
address
channel
control storage
routine
processing routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18230585A
Other languages
Japanese (ja)
Inventor
Hideaki Ando
秀明 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18230585A priority Critical patent/JPS6242254A/en
Publication of JPS6242254A publication Critical patent/JPS6242254A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the channel initialization processing at a high speed by putting a branch instruction onto a control storage to jump a basic processing routine to an address following the address set when a reset processing routine is through. CONSTITUTION:In a basic processing routine for loading an initial microprogram, the basic processing routine is generally carried out after the rest processing routine through a specific address of a control storage 201. A service processor SVP5 starts the start signal 51, that is, the signal is activated by the SVP5. Then a clock generator 205 is triggered and the clock is set under a RUN state. Thus a control storage address register 2040 is started and a microword register 202 is also set under a RUN state. Then a channel device is started again.

Description

【発明の詳細な説明】 〔概  要〕 本発明は中央演算処理装置(CP U)等の複雑な論理
機能を持つ装置に付随し、システムの保守用機能を実行
する小型コンピュータであるサービスプロセッサと、入
出力装置を接続し、入出力動作のチャネル制御を実行す
るチャネル装置を備えた計算機システムにおいて、複数
のチャネル装置のイニシャライズ処理を高速化するマイ
クロプログラム構成に関する。すなわち、複数の各チャ
ネル装置のイニシャライズ処理を高速化するために各チ
ャネル装置内部にあるマイクロプログラム方式に従う制
御部内のコントロールストレージ内にリセット処理用の
マイクロ命令に続いて基本処理シーケンスにジャンプす
るブランチ命令を格納し。
[Detailed Description of the Invention] [Summary] The present invention relates to a service processor, which is a small computer that is attached to a device with complex logical functions such as a central processing unit (CPU) and executes system maintenance functions. , relates to a microprogram configuration for speeding up initialization processing of a plurality of channel devices in a computer system equipped with a channel device that connects input/output devices and executes channel control of input/output operations. That is, in order to speed up the initialization processing of each of the plurality of channel devices, a branch instruction that jumps to the basic processing sequence following a microinstruction for reset processing is stored in a control storage in a control unit according to a microprogram method inside each channel device. Store.

前記リセット処理後に前記サービスプロセッサがクロッ
クスタートをかけることによって前記ブランチ命令が即
、実行され、前記基本処理にジャンプするようにしてい
る。
After the reset process, the service processor starts the clock, so that the branch instruction is immediately executed and the process jumps to the basic process.

従来、この種のイニシャライズ処理への実行開始は、ス
キャンイン方式を採用し7ていた。すなわち、リセット
処理が終了した時点で、各チャネルは停止状態にあるが
、サービスプロセッサはこの時点で各チャネル装置内の
マイクロプログラムシーケンスを実行するシーケンサの
内部にあるコントロールストレージアドレスレジスタに
前記基本処理ルーチンの先頭アドレスをセントする。す
なわち、アドレスバスを介してスキャンインするように
していた。しかし、サービスプロセッサと各チャネル装
置の接続系は、データバス及びアドレスバスがループ状
になっているので、前記基本ルーチンの先頭アドレスを
各チャネル装置のコントロールストレージアドレスレジ
スタにスキャンインするためには、非常に低速になると
いう欠点を育していた。
Conventionally, a scan-in method has been used to start execution of this type of initialization processing. That is, at the end of the reset process, each channel is in a stopped state, but at this point the service processor stores the basic processing routine in the control storage address register inside the sequencer that executes the microprogram sequence in each channel device. cents the first address of. That is, scan-in was performed via the address bus. However, in the connection system between the service processor and each channel device, the data bus and address bus are in a loop, so in order to scan the start address of the basic routine into the control storage address register of each channel device, It had the drawback of being extremely slow.

本発明では各チャネル装置のコントロールストレージ内
にリセット処理終了後に基本処理ルーチン用の先頭アド
レスを指すブランチ命令を挿入しており、リセット処理
後にはコントロールアドレスレジスタは前記ブランチ命
令のアドレスをさしている。そして、サービスプロセッ
サは各チャネル装置にスタート信号すなわち各チャネル
に同時に1ビツト線で分配されている信号をアクティブ
にする。このことによって各チャネル装置は停止してい
たクロック信号をRUN状態にするので。
In the present invention, a branch instruction pointing to the start address for the basic processing routine is inserted into the control storage of each channel device after the reset processing is completed, and after the reset processing, the control address register points to the address of the branch instruction. The service processor then activates a start signal to each channel device, that is, a signal that is simultaneously distributed to each channel on one bit line. This causes each channel device to put the stopped clock signal into the RUN state.

前記ブランチ命令が即実行される。従って、前記基本 
処理ルーチンがマイクロ命令実行ステップの速ざで実行
されることになり、チャネル装置のイニシャライズ処理
は高速化されることになる。
The branch instruction is immediately executed. Therefore, the basic
The processing routine will be executed at the speed of the microinstruction execution step, and the initialization process of the channel device will be accelerated.

〔産業上の利用分野〕[Industrial application field]

本発明は中央演算処理装置(CP U)等の複雑な論理
機能を持つ装置に附屈したコンパクトなミニコンピユー
タ等で構成された保守用機能を行うサービスプロセッサ
と入出力装置のチャネル制御を行うチャネル装置を備え
た計算機システムにおいて、複数のチャネル装置の各チ
ャネル装置内のチャネルマイクロプログラムを工夫する
ことによってイニシャライズ処理を高速化する方式に係
る。
The present invention relates to a service processor that performs maintenance functions, which is composed of a compact mini-computer attached to a device with complex logical functions such as a central processing unit (CPU), and a channel that controls channels of input/output devices. The present invention relates to a method for speeding up initialization processing by devising a channel microprogram in each channel device of a plurality of channel devices in a computer system equipped with the device.

特にコントロールストレージ内にリセット処理ルーチン
終了後の次のステップに基本処理ルーチンにジャンプさ
せるブランチ命令を挿入することによりイニシャライズ
処理を高速化するチャネルイニシャライズ方式に関する
In particular, the present invention relates to a channel initialization method that speeds up initialization processing by inserting in a control storage a branch instruction that jumps to a basic processing routine at the next step after the end of a reset processing routine.

〔従来の技術〕[Conventional technology]

計算機システムにおいて異質の入出力装置と。 Dissimilar input/output devices in computer systems.

主記憶装置や中央演算処理装置(CP U)間の情報転
送動作、すなわち、入出力動作を能率的に行い、システ
ムの効率を向上させる方法としてチャネル制御方式があ
る。すなわち、入出力動作のチャネル制御を入出力装置
毎に設けてそれぞれ平行して動作させることによってC
PUと入出力装置の動作速度のつりあいがとれ、システ
ムの効率を向上させることができる。
There is a channel control method as a method for efficiently performing information transfer operations between main storage devices and central processing units (CPUs), that is, input/output operations, and improving system efficiency. In other words, C
The operating speeds of the PU and input/output devices are balanced, and the efficiency of the system can be improved.

CPUは入出力命令を実行するとチャネル装置に入出力
装置の番号を与えて入出力装置の開始を指示する。入出
力装置の制御情報はチャネルコマンド後に入出力を行う
主記憶装置のアドレスや転送するべきデータの数等を含
んでいる。CPUはチャネル装置に対して入出力操作の
指示が終了すると本来の演算処理装置の実行に戻り、入
出力動作から開放される。一方、チャネル装置はチャネ
ルコマンドを解読し、指定された入出力装置を起動する
ことになる。チャネル装置はチャネルプログラムで与え
られたコマンドを逐次実行し、入出力動作を終了すると
CPUに割り込みをかけ、入出力動作の終了を通知する
ことになる。一般にこのような入出力動作のチャネル制
御を行うチャネル装置は内部にマイクロプログラム制御
方式に従うプロセッサを持っており、複数のチャネル装
置の各チャネルに関するマイクロプログラムを実行する
。この場合、マイクロプログラムは各チャネル装置内の
コントロールストレージ内に格納されるが、入出力制御
ルーチン以外にリセット処理ルーチン及びイニシャルマ
イクロプログラムロード即ち、イニシャライズ用の基本
ルーチンを含んでいる。大きな計算機システムにおいて
は、中央演算処理装置(CP U)にこのような複数の
チャネル装置が接続され、更に、CPU等の複雑な論理
機能を持つ装置に附属して、システムの保守用機能を行
うサービスプロセッサが設置される。サービスプロセッ
サの目的は、使用不可能になった装置の故障を発見し、
修繕するための修復機能を含み更にシステムの保守に必
要な操作1例えばレジスタの内容やハードウェア状態情
報の表示や更新。
When the CPU executes an input/output command, it gives the input/output device number to the channel device and instructs the input/output device to start. The control information of the input/output device includes the address of the main storage device that performs input/output after a channel command, the number of data to be transferred, and the like. When the CPU finishes instructing the channel device to perform input/output operations, it returns to the original execution of the arithmetic processing unit and is released from input/output operations. On the other hand, the channel device decodes the channel command and activates the specified input/output device. The channel device sequentially executes commands given by the channel program, and when the input/output operation is completed, it interrupts the CPU and notifies the end of the input/output operation. Generally, a channel device that performs channel control of input/output operations has a processor that follows a microprogram control method inside, and executes a microprogram regarding each channel of a plurality of channel devices. In this case, the microprogram is stored in the control storage in each channel device, and includes, in addition to the input/output control routine, a reset processing routine and a basic routine for initial microprogram loading, that is, initialization. In large computer systems, such multiple channel devices are connected to the central processing unit (CPU), and are also attached to devices with complex logical functions such as the CPU to perform system maintenance functions. A service processor is installed. The purpose of the service processor is to detect failures in equipment that have made it unusable,
Operations necessary for system maintenance, including repair functions for repair, such as displaying and updating register contents and hardware status information.

或いは色々な動作の開始と停止2等の表示を行うことで
ある。一般にこのサービスプロセッサはCPUや各チャ
ネル装置とデータ及びアドレスバスによって接続されて
いるが、この場合のバス接続はループ方式に従っている
。電源投入時、或いはリセットボタンが押された場合に
は、各チャネル装置内のマイクロプログラム方式のプロ
セッサが内部にあるコントロールストレージ内のリセ・
7ト処理をまず実行する。そして、リセット処理終了後
、すなわちエラー処理がなく、正常に動作した場合には
、前記リセット処理ルーチンの次の番地で一度停止する
ことになる。すなわち、チャネル装置はクロック停止状
態に入る。この時点から基本ルーチンを実行することに
なる。
Alternatively, it is possible to display the start and stop of various operations, etc. Generally, this service processor is connected to the CPU and each channel device by a data and address bus, and the bus connection in this case follows a loop method. At power-up or when the reset button is pressed, the microprogrammed processor in each channel unit resets the reset button in internal control storage.
7. Execute the processing first. Then, after the reset process is completed, that is, if there is no error process and the operation is normal, the reset process routine stops once at the next address. That is, the channel device enters a clock stop state. From this point on, the basic routine will be executed.

従来、その基本ルーチンの先頭アドレスは前記サービス
プロセッサから前記データアドレスバスを介して各チャ
ネル装置に転送され、各チャネル’JB 内のプロセッ
サ内のコンI・ロールストレージアドレスレジスタにセ
ットすなわち、スキャンインされて実行されていた。こ
の場合、イニシャライズ用の基本ルーチンを実行するた
めには、各チャネル装置にサービスプロセッサからその
先頭アドレスを前記ループ通信を介してスキャンインさ
れるので非常に時間がかかることになる。特に。
Conventionally, the start address of the basic routine is transferred from the service processor to each channel device via the data address bus, and set or scanned into the controller storage address register in the processor in each channel 'JB. was running. In this case, in order to execute the basic routine for initialization, the service processor scans in the start address of each channel device via the loop communication, which takes a very long time. especially.

チャネル装置の個数が多い場合には、基本ルーチンを実
行させるためには、かなり2時間がかがるという欠点を
有していた。このように、従来のこの種のイニシャライ
ズ方式でサービスプロセッサが各チャネル内のコントロ
ールストレージアドレスレジスタに基本ルーチンの先頭
アドレスである固定値をスキャンインし、その後チャネ
ル装置のマイクロプログラムをスタートさせていた。そ
のため、先頭アドレスのスキャンインには数10m秒か
かり、複数のチャネル装置の場合には数秒がかるという
欠点を有していた。
If there are a large number of channel devices, the disadvantage is that it takes a considerable amount of time, 2 hours, to execute the basic routine. As described above, in this type of conventional initialization method, the service processor scans in a fixed value, which is the start address of the basic routine, into the control storage address register in each channel, and then starts the microprogram of the channel device. Therefore, scanning in the first address takes several tens of milliseconds, and in the case of a plurality of channel devices, it takes several seconds.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明の目的は、従来のこの種のチャネルイニシャライ
ズ方式の欠点を除去し、コントロールストレージ内にリ
セット処理ルーチンの次のアドレスに基本ルーチンの先
頭アドレスを指すジャンプ命令を挿入し、サービスプロ
セッサが各チャネル装置に対してリセット処理ルーチン
後に、ただスタート信号で、クロックRUNさせること
によって前記ジャンプ命令を実行させている。従って。
An object of the present invention is to eliminate the drawbacks of this type of conventional channel initialization method, and to insert a jump instruction pointing to the start address of the basic routine at the address next to the reset processing routine in control storage, so that the service processor can After the reset processing routine has been completed, the jump instruction is executed by simply causing the device to run the clock using a start signal. Therefore.

本発明はマイクロプログラムステップの速度で。The invention works at the speed of microprogram steps.

基本ルーチンが実行される極めて高速なイニシャライズ
方式を提供するものである。
It provides an extremely fast initialization method in which basic routines are executed.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点を間歇するために、中央演算処理装
置とサービスプロセッサおよび複数のチャネル装置等か
らなる計算機システムにおいて。
The present invention aims to alleviate the above-mentioned problems in a computer system comprising a central processing unit, a service processor, a plurality of channel devices, and the like.

各チャネル装置内にあるマイクロプログラム方式に従う
プロセッサ内のマイクロプログラム格納用のコントロー
ルストレージ内にマイクロストップマイクロ命令が格納
された番地の次の番地に基本ルーチンの先頭アドレスを
指示するブランチ命令を格納し、前記チャネル装置が前
記マイクロストップマイクロ命令を実行してマイクロス
トップ状態になっている状態から、前記サービスプロセ
ッサから与えられるスタート信号を介して前記ジャンプ
命令をマイクロ命令速度で前記複数のチャネル装置が並
行して同時に前記基本ルーチンを実行することを特徴と
するチャネルイニシャライズ方式を提供することにより
達成される。
A branch instruction indicating the start address of the basic routine is stored in a control storage for storing a microprogram in a processor according to a microprogram method in each channel device at an address next to the address where the microstop microinstruction is stored; From a state in which the channel device executes the microstop microinstruction and is in a microstop state, the plurality of channel devices execute the jump instruction in parallel at the microinstruction speed via a start signal given from the service processor. This is achieved by providing a channel initialization method characterized by simultaneously executing the basic routine.

〔作  用〕[For production]

本発明では、各チャネル装置内のプロセッサ内のコント
ロールストレージにリセット処理ルーチンの最後にある
マイクロストップマイクロ命令。
In the present invention, the microstop microinstruction at the end of the reset processing routine is placed in control storage within the processor within each channel device.

すなわち、リセット処理ルーチン終了後にクロッりを停
止する命令があるので、各チャネル装置がこの命令を実
行してホールド状態になっているとき、前記マイクロス
トップマイクロ命令の次の番地にチャネル基本ルーチン
の先頭アドレスを指すブランチ命令を挿入しこれを実行
することによって高速化している。すなわち、ホールド
状態におけるコントロールストレージアドレスレジスタ
の内容は、前記ブランチ命令の番地を指しているのでサ
ービスプロセッサはスタート起動、すなわち。
In other words, since there is an instruction to stop the clock after the reset processing routine ends, when each channel device executes this instruction and enters the hold state, the start of the channel basic routine is placed at the address next to the microstop microinstruction. The speed is increased by inserting and executing a branch instruction that points to an address. That is, since the contents of the control storage address register in the hold state point to the address of the branch instruction, the service processor is activated, ie.

クロックRUNさせることによって前記ブランチ命令を
実行するようにしてマイクロステップの速度で基本ルー
チンを実行させるという方式を通用している。
A system is commonly used in which the branch instruction is executed by running the clock to execute the basic routine at microstep speed.

〔実 施 例〕〔Example〕

次に本発明の実施例を図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第2図は中央演算処理装置(CPU)1に接続された複
数のチャネル装置例えば、チャネル装置2.3.及び4
03台のチャネルと、サービスプロセッサ5から成る計
算機システムのシステム構成図である。中央演算処理装
置は主記憶装置6内にある命令を逐次実行し、同じ主記
憶装置6内にあるデータを処理して、再びその結果を主
記憶装置6内に格納するいわゆるプログラム方式に従う
演算装置である。一方、各チャネル装置2,3゜4は各
装置に接続される入出力装置のチャネル制御すなわち、
入出力動作を援助する制御及びCPU1や主記憶装置6
との通信を行うための制御であるチャネル制御用のプロ
セッサを内部に含んでいる。サービスプロセッサ5は前
記CPU等の複雑な論理機能を持つ装置に附属して、シ
ステムの保守用機能を実行するプロセッサで、普通は、
コンパクトなミニコンピユータやマイクロコンピュータ
で構成される。そしてサービスプロセッサ5は故障が起
きた場合の修復動作、或いはシステム全体の保守を行う
ための保守機能に必要な操作。
FIG. 2 shows a plurality of channel devices connected to a central processing unit (CPU) 1, for example channel devices 2, 3, . and 4
1 is a system configuration diagram of a computer system consisting of 03 channels and a service processor 5. FIG. The central processing unit is an arithmetic unit that follows a so-called program method that sequentially executes instructions in the main memory 6, processes data in the same main memory 6, and stores the results in the main memory 6 again. It is. On the other hand, each channel device 2, 3.4 performs channel control of the input/output device connected to each device, that is,
Control and CPU 1 and main memory device 6 that assist input/output operations
It contains a processor for channel control, which is the control for communicating with. The service processor 5 is a processor that is attached to a device with complex logical functions such as the CPU and executes system maintenance functions.
It consists of a compact minicomputer or microcomputer. The service processor 5 performs repair operations when a failure occurs or operations necessary for maintenance functions to maintain the entire system.

例えば、レジスタの内容やハードウェア状態情報の表示
や更新、あるいは主記憶装置やコントロール装置の表示
や更新、動作の開始と停止、あるいは又ログインやログ
アウト情報の収拾などを行ってCRTデスプレ装置にそ
の修復や保守の情報を表示するものである。
For example, displaying or updating register contents or hardware status information, displaying or updating main memory or control equipment, starting or stopping operations, or collecting login and logout information to display information on a CRT display device. It displays repair and maintenance information.

このような計算機システムにおいて、電源が投入された
場合、まずCPUIや各チャネル装置2゜3.4の内部
のプロセッサはイニシャライズルーチンを実行する。す
なわち、IPL(イニシャライズプログラムロード)を
実行することになる。
In such a computer system, when the power is turned on, the CPUI and the processors inside each channel device 2.3.4 first execute an initialization routine. That is, IPL (initialization program load) will be executed.

このとき、CPUI内のマイクロプログラム及び各チャ
ネル装置のプロセッサ内にあるコントロールストレージ
内のマイクロプログラムが実行されるが、イニシャライ
ズルーチンの実行には一般的に前記サービスプロセッサ
5の助けを必要とする。
At this time, the microprogram in the CPUI and the microprogram in the control storage in the processor of each channel device are executed, but the execution of the initialization routine generally requires the assistance of the service processor 5.

すなわち、各チャネル装置内のマイクロプログラムは電
源投入或いはリセットボタンが押された場合には、リセ
ット処理ルーチンを実行する。もし。
That is, the microprogram in each channel device executes a reset processing routine when the power is turned on or the reset button is pressed. if.

装置が誤りなく正常で実行すれば、リセット処理が終了
した時点では、リセット処理ルーチンの最後にマイクロ
ストップ命令が挿入されているので。
If the device runs normally without errors, a microstop instruction will have been inserted at the end of the reset processing routine when the reset processing is completed.

この命令が実行されてクロックが停止され、各チャネル
装置2,3.4はホールド状態となる。サービスプロセ
ッサ5とCPUI及び各チャネル装置2,3.4の接続
状態は図に示すようにデータ及びアドレスのバスがルー
プ方式に従って接続されている。すなわち、データやア
ドレスはサービスプロセッサ5から転送されると1例え
ばCPU1、チャネル装置2.チャネル装置3.チャネ
ル装置4の順に転送され9例えばチャネル装置4にデー
タ又はアドレスを転送する場合にはCPUIやチャネル
2及び3を介して転送されることになり、一般にデータ
やアドレスを転送する場合には。
This instruction is executed, the clock is stopped, and each channel device 2, 3.4 is placed in a hold state. As shown in the figure, the service processor 5, CPUI, and each channel device 2, 3.4 are connected in a loop manner through data and address buses. That is, when data and addresses are transferred from the service processor 5, they are transferred to the CPU 1, channel device 2, . Channel device 3. For example, when data or addresses are transferred to channel device 4, they are transferred via the CPUI or channels 2 and 3, and generally when data or addresses are transferred.

低速になる。The speed becomes slower.

一方、データアドレス以外の信号9例えばスタート信号
は、CPUIチャネル装置2.チャネル装置3.チャネ
ル装置4にそれぞれ並行して1ビツトのコントロール線
として接続されている。従って、もし、各チャネル装置
2,3.4がホールド状態でサービスプロセッサ5から
スタート起動をかけた場合には、複数のチャネル装置2
.3゜4はクロックRUN状態となって、マイクロプロ
グラムがスタートすることになる。このように。
On the other hand, signals other than the data address 9, for example, a start signal, are sent to the CPUI channel device 2. Channel device 3. Each of the control lines is connected in parallel to the channel device 4 as a 1-bit control line. Therefore, if each channel device 2, 3.4 is in a hold state and the service processor 5 initiates a start, multiple channel devices 2, 3.
.. 3.4 enters the clock RUN state and the microprogram starts. in this way.

第2図に示すような計算機システムにおいては各チャネ
ル装置2,3.4にサービスプロセッサ5からコントロ
ールストレージの中にある基本処理ルーチンの先頭アド
レスを各コントロールストレージアドレスレジスタにバ
スを介して転送するよりもスタート信号のようなコント
ロール信号を使って並行して起動させるほうが高速にな
る。
In the computer system shown in FIG. 2, the start address of the basic processing routine in the control storage is transferred from the service processor 5 to each channel device 2, 3.4 to each control storage address register via the bus. It will be faster to start them in parallel using a control signal such as a start signal.

本発明はこの事に注目して各チャネル装置2゜3.4が
、リセット処理終了後、停止状態にはいった場合には1
次に行うべきイニシャライズ用の基本ルーチンをスター
トさせる場合には基本ルーチンのアドレスをバスを介し
て転送するのではなく、リセット処理ルーチンの最後の
アドレスにあるマイクロストップマイクロ命令の次のア
ドレスに前記基本ルーチンの先頭アドレスにジャンプす
るべき、ジャンプ命令を挿入し、この命令を前記スター
ト信号で起動している。前記リセット処理ルーチン終了
後には、各チャネル装置2,3.4のコントロールスト
レージアドレスレジスタには前記ジャンプ命令が格納さ
れたアドレスを指しているのでサービスプロセッサ5が
スタート信号を起動してクロックRUNさせることによ
り前記ジャンプ命令を各装置同時に実行させ、前記イニ
シャライズ用の基本ルーチンをマイクロプログラムステ
ップの速さで実行させるようにしている。
The present invention has focused on this fact, and when each channel device 2.3.4 enters a stopped state after the reset processing is completed, the
When starting a basic routine for initialization to be performed next, the address of the basic routine is not transferred via the bus, but is transferred to the address next to the microstop microinstruction at the last address of the reset processing routine. A jump instruction to jump to the start address of the routine is inserted, and this instruction is activated by the start signal. After the reset processing routine is completed, the control storage address register of each channel device 2, 3.4 points to the address where the jump instruction is stored, so the service processor 5 activates the start signal to run the clock. By this, the jump instruction is executed simultaneously in each device, and the basic routine for initialization is executed at the speed of a microprogram step.

以上説明した本発明のイニシャライズ方式を詳細に説明
するために第1図に示したマイクロプログラム方式の説
明図を用いる。第1図において。
In order to explain in detail the initialization method of the present invention described above, the explanatory diagram of the microprogram method shown in FIG. 1 will be used. In FIG.

プロセッサ20は各チャネル内に存在し、マイクロプロ
グラム方式に従うプロセッサである。マイクロプログラ
ムはコントロールストレージ201内に格納される。コ
ントロールストレージ201はいわゆるランダムアクセ
スメモリまたはリードオンリメモリで構成される。前記
コントロールストレージ201は一般にコントロールス
トレージアドレスレジスタ2040によってアドレス指
定されると、アドレスデコーダ2010を介して前記ア
ドレス指定された1つのマイクロ命令が出力2011位
置に出力され、マイクロワードレジスタ202にセント
される。そして、マイクロワードレジスタ202にセッ
トされた内容はコントロール信号としてチャネル装置内
の内部になる他の処理系2例えば演算処理系に転送され
、チャネル制御ルーチンを実行することになる。コント
ロールストレージ201のアドレス指定を行うコントロ
ールストレージアドレスレジスタ2040はいわゆるマ
イクロ命令シーケインサ204の内部にあり、いわゆる
コントロールストレージ201に対するプログラムカウ
ンタとして働く。すなわち。
A processor 20 is present in each channel and is a microprogram based processor. The microprogram is stored in control storage 201. Control storage 201 is comprised of so-called random access memory or read-only memory. When the control storage 201 is generally addressed by the control storage address register 2040, the addressed one microinstruction is outputted to the output 2011 location via the address decoder 2010 and sent to the microword register 202. Then, the contents set in the microword register 202 are transferred as a control signal to another processing system 2, such as an arithmetic processing system, inside the channel device, and the channel control routine is executed. A control storage address register 2040 for addressing the control storage 201 is located inside the so-called microinstruction sequencer 204 and serves as a program counter for the so-called control storage 201 . Namely.

コントロールストレージアドレスレジスタ2040にア
ドレスがセットされた場合には、一般にそのアドレスで
指定されるコントロールストア201内の特定なルーチ
ンの先頭アドレスを指すようにデコードされる。そして
、その先頭アドレスが開始されてからはプラス1される
インクリメンタとして働くが、もし、コントロールスト
レージ201内にブランチ命令があった場合には。
When an address is set in the control storage address register 2040, it is generally decoded to point to the start address of a specific routine within the control store 201 specified by that address. Then, after the start address is started, it acts as an incrementer that is incremented by 1, but if there is a branch instruction in the control storage 201.

そのブランチ命令内の行先アドレスはコントロールスト
レージの出力を介してマイクロワードレジスタ202に
セットされ2次のクロック周期において前記行先アドレ
スがシーケンサ204内の前記コントロールストレージ
アドレスレジスタ2040にセットされ、アドレスデコ
ーダ2010を介して解読され、ジャンプ先の基本ルー
チンが実行されることになる。
The destination address in the branch instruction is set in the microword register 202 via the output of the control storage, and in the second clock cycle, the destination address is set in the control storage address register 2040 in the sequencer 204 and the address decoder 2010 is set in the microword register 202 through the output of the control storage. The basic routine at the jump destination will be executed.

このようなコントロールストレージ201とそのアドレ
スを制御するシーケンサ204において。
In the sequencer 204 that controls such a control storage 201 and its address.

各マイクロプログラムのステップはクロック発生器20
5から発生されるクロックに従って5非常に高速に実行
される。プロセッサ20の起動時。
Each microprogram step is clocked by a clock generator 20.
5 is executed very fast according to the clock generated from 5. When the processor 20 starts up.

すなわち、電源投入時、あるいはリセットボタンが押さ
れた場合には、コントロールストレージアドレスレジス
タ2040の内容は例えばすべてOであって、コントロ
ールストレージ201のO番地を指定する。そしてクロ
ック入力に従ってO番地からn番地まで格納されたりセ
ント処理ルーチンを実行する。リセット処理ルーチンの
最後のアドレスすなわち、n番地には、マイクロストッ
プマイクロ命令が格納されており、この命令が実行され
るとプロセッサ20内にあるクロック発生器205に働
きかけ、クロック停止状態になる。従って、コントロー
ルアドレスレジスタ2040の内容は前記マイクロスト
ップマイクロ命令が格納されているn番地の次の番地n
+1番地を指してストップ状態となる。但し、リセット
処理ルーチンを実行している最中にエラーがあれば、エ
ラー処理ルーチンにジャンプするので、リセット処理ル
ーチンは、エラーがない場合にのみ、すなわち。
That is, when the power is turned on or the reset button is pressed, the contents of the control storage address register 2040 are, for example, all O, and the O address of the control storage 201 is specified. Then, according to the clock input, the data is stored from address O to address n, and a cent processing routine is executed. A microstop microinstruction is stored at the last address of the reset processing routine, that is, address n, and when this instruction is executed, it acts on the clock generator 205 in the processor 20, causing the clock to be stopped. Therefore, the contents of the control address register 2040 are stored at the address n next to the n address where the microstop microinstruction is stored.
It points to address +1 and becomes stopped. However, if there is an error while executing the reset processing routine, the process jumps to the error processing routine, so the reset processing routine is executed only when there is no error.

正常の時のみn番地でストップすることになる。It will stop at address n only when it is normal.

イニシャルマイクロプログラムロードの基本処理ルーチ
ンにおいては、前記リセット処理ルーチンの終了後2次
に行うべきルーチンは一般的には基本処理ルーチンであ
る。これはコントロールストレージ201の特定アドレ
スから始まることになる。その基本ルーチンの先頭アド
レスは前記コントロールストレージアドレスレジスタ2
040にスキャンインすることによって実行していたの
が従来方式であるが1本発明はこのようなスキャンイン
動作を除去し、サービスプロセッサからスタート信号5
1に起動をかけることによって行っている。すなわち、
サービスプロセッサ5がスタート信号51をアクティブ
にすることによってによってクロック発生器205をト
リガし、クロック停止状態にすることによって行ってい
る。クロックがRUN状態になるとコントロールストレ
ージアドレスレジスタ2040がスタート状態になり、
マイクロワードレジスタ202もRUN状態となり、チ
ャネル装置が再起動されることになる。
In the basic processing routine for initial microprogram loading, the routine to be executed next after the reset processing routine is completed is generally the basic processing routine. This will start from a specific address in control storage 201. The start address of the basic routine is the control storage address register 2.
In the conventional method, this was executed by scanning in at 040, but the present invention eliminates such a scan-in operation and transmits the start signal 5 from the service processor.
This is done by starting 1. That is,
This is done by the service processor 5 triggering the clock generator 205 by activating the start signal 51 and putting the clock in a stopped state. When the clock enters the RUN state, the control storage address register 2040 enters the START state,
Microword register 202 will also go into the RUN state and the channel device will be restarted.

リセット処理ルーチン、すなわち、0番地からn番地ま
での処理を終った段階では、コントロールストレージア
ドレスレジスタ2040はn+1番地を指しているので
、もし、コントロールストレージ201のマイクロスト
ップ命令(n番地)の次のn+1番地にイニシャライズ
用の基本ルーチンが格納されたアドレスを指すブランチ
命令を掃大しておけば、サービスプロセッサ5によって
スタート信号51に起動がかけられ、クロック発生器2
05がRUN状態となった段階ではまずこのブランチ命
令が実行されることになる。このブランチ命令には基本
処理ルーチンの先頭アドレスが格納されているので、n
+1番地のブランチ命令がコントロールストレージ20
1から読み出され、マイクロワードレジスタ202にセ
ットされた段階では、その基本ルーチンの先頭アドレス
がコントロールストレージアドレスレジスタ2040に
セットされる。この内容はコントロールストレージ20
1のアドレスを指定するので。
At the stage where the reset processing routine has finished processing from address 0 to address n, the control storage address register 2040 points to address n+1, so if the next microstop instruction (address n) in the control storage 201 If the branch instruction pointing to the address where the basic routine for initialization is stored at address n+1 is cleared, the start signal 51 is activated by the service processor 5, and the clock generator 2 is activated.
When 05 enters the RUN state, this branch instruction is executed first. This branch instruction stores the start address of the basic processing routine, so n
+1 address branch instruction is control storage 20
1 and set in the microword register 202, the start address of the basic routine is set in the control storage address register 2040. This content is control storage 20
1 address is specified.

前記基本ルーチンの先頭アドレスが指定され、基本ルー
チンがそれ以後実行されることになる。すなわち2本発
明ではチャネル装置内のマイクロプログラムにおいて、
0番地からn番地のリセット処理用ルーチンの最後のn
番地にマイクロストップマイクロ命令を入れ、リセット
処理ルーチン終了後では各チャネル装置3.4.5はマ
イクロストップ状態になり、サービスプロセッサ5から
のスタート指令を待つことになる。サービスプロセッサ
5が単にスタート信号線51を介してすべてのチャネル
装置に同時にスタート信号51を送ることによって各チ
ャネル装置3,4.5は単にマイクロプログラムを再ス
タートするだけでコントロールストレージアドレス20
40すなわち。
The start address of the basic routine is specified, and the basic routine will be executed from then on. In other words, in the present invention, in the microprogram in the channel device,
The last n of the reset processing routine for addresses 0 to n.
After entering the microstop microinstruction at the address and completing the reset processing routine, each channel device 3.4.5 enters the microstop state and waits for a start command from the service processor 5. Each channel device 3, 4.5 simply restarts the microprogram by the service processor 5 simply sending a start signal 51 via the start signal line 51 to all channel devices simultaneously, and the control storage address 20
40 i.e.

n+1番地の内容から走行することになる。スタート信
号51によって起動されるプロセッサが基本ルーチンを
実行するまでの時間はマイクロプログラムを実行するク
ロックすなわち、プロセッサのクロック周期であるから
高速に実行されることになる。更に、1台のサービスプ
ロセッサから複数のチャネル装置にはスタート信号が並
行して1ビツト線を介して接続されているので、スター
ト開始時から基本処理ルーチンの実行までは非常に高速
に実行されることになる。すなわち2本発明のチャネル
イニシャライズ方式は、従来のようにサービスプロセッ
サ5が各チャネル装置2,3゜4のコントロールストレ
ージアドレスレジスタ2040に基本ルーチン用の先頭
アドレスに相当する固定値をスキャンインする方式を除
去し、サービスプロセッサ5から各チャネル装置2,3
゜4に同時に1ビツト線を介して送られるスタート信号
を使ってクロックRUNさせ、前記基本処理ルーチンに
マイクロステップの速さでジャンプすることによって高
速に実行する方式を採用している。
The vehicle will run from the contents of address n+1. The time it takes for the processor activated by the start signal 51 to execute the basic routine is the clock period for executing the microprogram, that is, the clock cycle of the processor, so that the basic routine is executed at high speed. Furthermore, since the start signal is connected from one service processor to multiple channel devices in parallel via a 1-bit line, execution from the start to the execution of the basic processing routine is extremely fast. It turns out. In other words, the channel initialization method of the present invention is different from the conventional method in which the service processor 5 scans in a fixed value corresponding to the start address for the basic routine into the control storage address register 2040 of each channel device 2, 3, 4. and remove each channel device 2, 3 from the service processor 5.
At the same time, a start signal sent via a 1-bit line is used to run the clock, and the basic processing routine is jumped to at a microstep speed, thereby executing the routine at high speed.

〔発明の効果〕〔Effect of the invention〕

本発明はこのようにコントロールストレージ内にリセッ
ト処理終了時のアドレスの次のアドレスに基本処理ルー
チンを措すジャンプ命令を挿入し。
In this way, the present invention inserts a jump instruction that executes the basic processing routine into the control storage at the address next to the address at the end of the reset process.

サービスプロセッサのスタート信号によってそれを起動
させることによってイニシャライズ処理を高速化できる
という効果がある。
By activating it with a start signal from the service processor, the initialization process can be speeded up.

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

第1図は本発明のイニシャライズ方式を説明するための
マイクロプログラム方式の説明図。 第2図は中央演算処理装置と3台のチャネル装置及びサ
ービスプロセッサから成る計算機システムの構成図であ
る。 ■・・・CPU。 2.3.4・・・チャネル装置。 5・・・サービスプロセッサ。 6・・・主記憶装置。 20・・・プロセッサ。 50・・・アドレスバス。 51・・・スタート信号線。 52・・・ホールド信号。 201・・・コントロールストレージ。 202・・・マイクロワードレジスタ。 204・・・マイクロ命令シーケンサ。 2010・・・アドレスデコーダ。 2040・・・コントロールストレージアドレスレジス
タ。 ゝ−;:
FIG. 1 is an explanatory diagram of a microprogram method for explaining the initialization method of the present invention. FIG. 2 is a configuration diagram of a computer system consisting of a central processing unit, three channel devices, and a service processor. ■...CPU. 2.3.4... Channel device. 5...Service processor. 6... Main memory device. 20...processor. 50...Address bus. 51...Start signal line. 52...Hold signal. 201...Control storage. 202...Microword register. 204...Microinstruction sequencer. 2010...Address decoder. 2040...Control storage address register.ゝ-;:

Claims (1)

【特許請求の範囲】 中央演算処理装置とサービスプロセッサおよび複数のチ
ャネル装置等からなる計算機システムにおいて、 各チャネル装置内にあるマイクロプログラム方式に従う
プロセッサ内のマイクロプログラム格納用のコントロー
ルストレージ内にマイクロストップマイクロ命令が格納
された番地の次の番地に基本ルーチンの先頭アドレスを
指示するブランチ命令を格納し、 前記チャネル装置が前記マイクロストップマイクロ命令
を実行してマイクロストップ状態になっている状態から
、前記サービスプロセッサから与えられるスタート信号
を介して前記ジャンプ命令をマイクロ命令速度で前記複
数のチャネル装置が並行して同時に前記基本ルーチンを
実行することを特徴とするチャネルイニシャライズ方式
[Claims] In a computer system consisting of a central processing unit, a service processor, a plurality of channel devices, etc., a microstop microprocessor is provided in a control storage for storing microprograms in a processor according to a microprogram method in each channel device. A branch instruction indicating the start address of the basic routine is stored at an address next to the address where the instruction is stored, and the channel device executes the microstop microinstruction and is in the microstop state, and then the service is started. A channel initialization method characterized in that the plurality of channel devices simultaneously execute the basic routine in parallel with the jump instruction at a microinstruction speed via a start signal given from a processor.
JP18230585A 1985-08-20 1985-08-20 Channel initializing system Pending JPS6242254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18230585A JPS6242254A (en) 1985-08-20 1985-08-20 Channel initializing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18230585A JPS6242254A (en) 1985-08-20 1985-08-20 Channel initializing system

Publications (1)

Publication Number Publication Date
JPS6242254A true JPS6242254A (en) 1987-02-24

Family

ID=16115966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18230585A Pending JPS6242254A (en) 1985-08-20 1985-08-20 Channel initializing system

Country Status (1)

Country Link
JP (1) JPS6242254A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05117832A (en) * 1991-10-28 1993-05-14 Kawasaki Steel Corp Method for adjusting deposition of hot dip metal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05117832A (en) * 1991-10-28 1993-05-14 Kawasaki Steel Corp Method for adjusting deposition of hot dip metal

Similar Documents

Publication Publication Date Title
EP0100140B1 (en) Data processing system and method of starting up system
JPH0430053B2 (en)
US5867658A (en) Method and apparatus for implementing a stop state for a processor in a multiprocessor system
JPS6242254A (en) Channel initializing system
EP0181462A2 (en) Microcode control of a parallel architecture microprocessor
JP2001256044A (en) Data processor
JPH04288625A (en) Microcomputer
JPS6336023B2 (en)
JPH0147818B2 (en)
JPS5819094B2 (en) Priority vector interrupt device
JPS6136850A (en) Input and output interruption information system
JPH09212431A (en) Computer device
JPH06161974A (en) Diagnosing method for multi-cpu board
JPH07219918A (en) System starting method for parallel computer
JPH0772874B2 (en) Interrupt receiving device
JPS6223894B2 (en)
JPS6020771B2 (en) Micro diagnosis method
JPS63228332A (en) Control system for executing instruction
JPH0652482B2 (en) Sequence controller
JPS6389963A (en) Parallel initial processing system in multiprocessor system
JPH0226249B2 (en)
JPS6143347A (en) Simulation method of vector instruction
Neumann Disk-based program swapping in 8080-based microcomputers
JPH04188336A (en) Microcomputer
JPH01234953A (en) Input/output processor