JPH0247723A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPH0247723A
JPH0247723A JP19864188A JP19864188A JPH0247723A JP H0247723 A JPH0247723 A JP H0247723A JP 19864188 A JP19864188 A JP 19864188A JP 19864188 A JP19864188 A JP 19864188A JP H0247723 A JPH0247723 A JP H0247723A
Authority
JP
Japan
Prior art keywords
processor
microprocessor
circuit
microcode
loader
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
JP19864188A
Other languages
Japanese (ja)
Inventor
Sumitaka Matsutani
松谷 純孝
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.)
NEC Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP19864188A priority Critical patent/JPH0247723A/en
Publication of JPH0247723A publication Critical patent/JPH0247723A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To receive a micro code from another processor at the time of trouble of one processor by providing an inter-processor connection circuit for communication between two microprocessors. CONSTITUTION:When power sources of processors 1 and 2 are turned on, a loading indication is sent from a microprocessor 14 to a loader control circuit 12. The loader control circuit 12 receives this indication to load the micro code from a loader 11 and stores it in a control storage circuit 13. When the circuit 12 succeeds in loading, the microprocessor 14 performs the call processing to detect the state of the processor 2. By this processing, the processor informs the other processor of its own state and detects the state of the other processor, and load completion, loading, and failure in loading are informed and detected. First, the state of load completion of the microprocessor 14 is sent from the microprocessor 14 to a processor 24 through an inter-processor connection circuit 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御装置、特に2組の同じ
プロセッサを用いて電源投入時にそれぞれ同一のマイク
ロコードをロードするマイクロプログラム制御装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device, and more particularly to a microprogram control device that uses two sets of the same processors and each loads the same microcode at power-on.

〔従来の技術〕[Conventional technology]

従来、この種のマイクロプログラム制御装置は、2組の
プロセッサを起動したときに片側のローダ、あるいはロ
ーダ制御回路に障害があると、その障害を起した方のプ
ロセッサを切離して、単独のプロセッサで動作に入るよ
うにしている。
Conventionally, this type of microprogram control device has been used to start up two sets of processors, and if one of the loaders or loader control circuits has a fault, the faulty processor is disconnected and the processor is operated as a single processor. I'm trying to get into action.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の片側のローダあるいはローダ制御回路の
障害時に、その障害を起したブロモ・yすを切離すとい
う方式では、ローダあるいはローダ制御回路以外のプロ
セッサを構成する回路が正常であったとしても、プロセ
ッサを切離すことになっているので、正常な回路を利用
してプロセッサを有効に稼働させることがでないという
欠点がある。
In the above-mentioned conventional method of disconnecting the faulty loader or loader control circuit when one side of the loader or loader control circuit fails, even if the loader or the circuits that make up the processor other than the loader control circuit are normal, However, since the processor is separated, there is a drawback that the processor cannot be operated effectively using a normal circuit.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマイクロプログラム制御装置は、マイクロコー
ド格納用のローダとこのローダを制御するローダ制御回
路とマイクロコードを格納する制御記憶回路とマイクロ
命令を実行するマイクロプロセッサとからなるプロセッ
サの2組を有するマイクロプログラム制御装置において
、前記2組のプロセッサのマイクロプロセッサの間の通
信を行なうプロセッサ間接続回路と、前記制御記憶回路
へのマイクロコード格納時に一方のマイクロプロセッサ
からマイクロコードの格納状態を前記プロセッサ間接続
回路を介して他方のマイクロプロセッサに伝え、一方の
制御記憶回路へのマイクロコードめ格納ができなかった
ときは、他方のマイクロプロセッサから前記プロセッサ
間接続回路を介して他方の制御記憶回路に格納されたマ
イクロコードを転送してもらって格納するマイクロプロ
セッサとを有することにより構成される。
The microprogram control device of the present invention has two sets of processors each including a loader for storing microcode, a loader control circuit for controlling the loader, a control storage circuit for storing microcode, and a microprocessor for executing microinstructions. In the microprogram control device, an interprocessor connection circuit performs communication between the microprocessors of the two sets of processors, and when storing the microcode in the control storage circuit, one microprocessor communicates the storage state of the microcode between the processors. The microcode is transmitted to the other microprocessor via the connection circuit, and if the microcode cannot be stored in one control memory circuit, the microcode is stored from the other microprocessor to the other control memory circuit via the interprocessor connection circuit. and a microprocessor that receives and stores the generated microcode.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図で、2組のプロ
セッサ1および2がそれぞれに接続されたプロセッサ間
接続回路3および4を介して互にバス接続されている。
FIG. 1 is a block diagram of an embodiment of the present invention, in which two sets of processors 1 and 2 are connected to each other via a bus through inter-processor connection circuits 3 and 4, respectively.

プロセッサ1および2はそれぞれマイクロプロセッサ1
4および24と、マイクロプロセッサ14および24の
それぞれに接続された制御記憶回路13および23.ロ
ーダ制御回路12および22と、ローダ制御回路12お
よび22のそれぞれに接続されたローダ11および21
とから構成されている。なおプロセッサ1はプロセッサ
2より優先順位が高く設定されている。
Processors 1 and 2 are each microprocessor 1
4 and 24 and control storage circuits 13 and 23 . connected to microprocessors 14 and 24, respectively. Loader control circuits 12 and 22 and loaders 11 and 21 connected to the loader control circuits 12 and 22, respectively.
It is composed of. Note that processor 1 is set to have a higher priority than processor 2.

次に、以上の構成における電源投入時の動作について第
2図(a)および(b)のフローチャートを参照して説
明を進める。プロセッサ1および2に電源が投入される
とくステップ■)、何れのプロセッサも動作を開始する
がプロセッサ1を代表して説明する。マイクロプロセッ
サ14からローダ制御回路12に対してロードをするた
めの指示が送出される(ステップ■)。ローダ制御回路
12はこの指示を受けて、ローダ11からマイクロコー
ドをロードし、制御記憶回路13に格納する(ステップ
■)。次いでロードが成功したかどうかを調べ(ステッ
プ■)、成功していればマイクロプロセッサ14はプロ
セッサ2の状態を得るために、Ca1l処理を行なう(
ステップ■)。
Next, the operation when the power is turned on in the above configuration will be explained with reference to the flowcharts of FIGS. 2(a) and 2(b). When power is applied to processors 1 and 2, in step (2), both processors start operating, but processor 1 will be explained as a representative. An instruction for loading is sent from the microprocessor 14 to the loader control circuit 12 (step 2). In response to this instruction, the loader control circuit 12 loads the microcode from the loader 11 and stores it in the control storage circuit 13 (step 2). Next, it is checked whether the loading was successful (step ■), and if it was successful, the microprocessor 14 performs Ca1l processing to obtain the status of the processor 2 (
Step ■).

このCa1l処理は自身の状態を他方に知らせ、他方の
状態を知るもので、ロード完、ロード中。
This Ca1l process informs the other side of its own status and learns the other side's status: loading complete, loading in progress.

ロード不成功の状態を含んでいる。まずマイクロプロセ
ッサ14から自身のロード完の状態がプロセッサ間接続
回路3に送られ、プロセッサ間データバスを経てプロセ
ッサ2のプロセッサ間接続回路4を通ってマイクロプロ
セッサ24に送られる。
Contains load failure conditions. First, the microprocessor 14 sends its own load completion state to the inter-processor connection circuit 3, and then to the microprocessor 24 through the inter-processor connection circuit 4 of the processor 2 via the inter-processor data bus.

マイクロプロセッサ24は受信した状態の内容を読んで
、Ca1l処理の応答のためにAck処理を行なう。A
ck処理は自身の状態を他方に、つまりプロセッサ2か
らプロセッサ1に対して返する。なおマイクロプロセッ
サ24はその後状態に応じた処理を行なう。一方マイク
ロプロセッサ14はプロセッサ2からAck情報が来た
かを調べ(ステップ■)、送られて来たらその内容を調
べくステップ■)、プロセッサ2のAck処理によって
得られた状態がロード中の場合は、プロセ・lす1のマ
イクロプロセッサ14はステップ■lって時間待ちを行
ない、再度Ca1l処理をイう。プロセッサ2のAck
処理によって得られZ状態がロード完の場合は、プロセ
・ンサ1もプロセッサ2も正常にロードが行なわれてい
るので、以後は正常な動作を行なう。プロセ・ソサ2の
Ack処理によって得られた状態がロード不成功の場合
は、まずプロセッサ1のマイクロプロセッサ14は再試
行回数のチエツクを行なう(ステップ■)。
The microprocessor 24 reads the content of the received state and performs the Ack process in response to the Ca1l process. A
The ck process returns its state to the other party, that is, from processor 2 to processor 1. Note that the microprocessor 24 thereafter performs processing according to the state. On the other hand, the microprocessor 14 checks whether the Ack information has been received from the processor 2 (step ■), and if it is sent, checks the contents (step ■), and if the state obtained by the Ack processing of the processor 2 is loading, then , the microprocessor 14 of the process 1 waits for a period of time in step 1, and then performs the Ca11 process again. Processor 2 Ack
If the Z state obtained by the processing indicates that loading has been completed, both processor 1 and processor 2 have been properly loaded and will thereafter operate normally. If the state obtained by the Ack processing of the processor 2 is that the load is unsuccessful, the microprocessor 14 of the processor 1 first checks the number of retries (step 2).

再試行回数が規定回数以下のときは、プロセ・ンサ1か
らプロセッサ2に対しマイクロコード転送を行なう(ス
テップ■)。この転送には、まずマイクロプロセッサ1
4は制御記憶回路13から格納されているマイクロコー
ドを読み出し、プロセッサ間接続回路3に送る。プロセ
ッサ間接続回路3は受は取ったマイクロコードをプロセ
ッサ間データバスに出力する。プロセッサ2のプロセッ
サ間接続回路4はプロセッサ間データバス上の値、つま
りマイクロコードを受信してマイクロコード・ソサ24
に送る。マイクロプロセッサ24は受取ったマイクロコ
ードを制御記憶回路23に書込む。
If the number of retries is less than the predetermined number, the microcode is transferred from processor 1 to processor 2 (step 2). For this transfer, first the microprocessor 1
4 reads the stored microcode from the control storage circuit 13 and sends it to the interprocessor connection circuit 3. The interprocessor connection circuit 3 outputs the received microcode to the interprocessor data bus. The inter-processor connection circuit 4 of the processor 2 receives the value on the inter-processor data bus, that is, the microcode, and sends it to the microcode source 24.
send to Microprocessor 24 writes the received microcode into control storage circuit 23.

以上の転送動作を繰り返して全ての転送すべきマイクロ
コードの転送が完了すると、プロセッサ1のマイクロプ
ロセッサ14は再びステップ■に戻りCa1l処理を行
ない、プロセッサ2からAck処理によって返ってくる
状態を見て確認することになる。ステップ■で再試行回
数が規定数を超えたときは、マイクロプロセッサ14は
プロセッサ間接続回路3をアクセスせずプロセッサ2を
ロード不成功のまま切離して終了する。またステップ■
でプロセッサ1からCa1l処理を行ないステップ■で
一定時間内にプロセッサ2によるAck処理が施されな
い場合もプロセッサ2を切離して終了する。
When the transfer of all the microcodes to be transferred is completed by repeating the above transfer operation, the microprocessor 14 of the processor 1 returns to step (3) again and performs the Ca1l process, and checks the status returned by the Ack process from the processor 2. I'll have to check. If the number of retries exceeds the specified number in step (2), the microprocessor 14 does not access the inter-processor connection circuit 3, disconnects the processor 2 without being successfully loaded, and ends the process. Step again
In step (2), processor 1 performs Ca1l processing, and if processor 2 does not perform Ack processing within a certain period of time, processor 2 is disconnected and the process ends.

次にステップ■においてプロセッサ1のロードが成功し
なかったときは、プロセッサ1はロード不成功の状態を
含んだCa1lを発行する(ステップ■)。このCa1
lはプロセッサ2に転送され、プロセッサ2は応答のた
めにAck処理を行なう。プロセッサ1はプロセッサ2
からAck情報が来たかを調べ(ステップo)、送られ
てきたらその内容を調べ(ステップ■)、プロセッサ2
のAck処理によって得られた状態がロード中であれば
、ステップ■に戻って時間待ちを行ない再度Ca1l処
理を行なう。ステップ■でプロセッサ2の状態がロード
完であれば、マイクロプロセッサ14は再試行回数のチ
エツクを行なう(ステップ[相])。再試行回数が規定
回数以下のときは、プロセッサ2からプロセッサ1への
マイクロコードの転送を行なう。この転送はプロセッサ
1からプロセッサ2への要求により行なわれ、その手法
はステップ■と同様であるが転送方向が逆である。
Next, when the loading of the processor 1 is not successful in step (2), the processor 1 issues Ca1l including the load failure status (step (2)). This Ca1
l is transferred to processor 2, and processor 2 performs Ack processing in response. processor 1 is processor 2
Check to see if Ack information has been received from processor 2 (step o), and if it is sent, check its contents (step ■).
If the state obtained by the Ack process is loading, the process returns to step (3), waits for a time, and performs the Cal process again. If the state of the processor 2 is completed in step (2), the microprocessor 14 checks the number of retries (step [phase]). When the number of retries is less than the predetermined number, the microcode is transferred from processor 2 to processor 1. This transfer is performed by a request from processor 1 to processor 2, and the method is the same as step (2), but the transfer direction is reversed.

転送が完了するとステップ■に戻ってステップ■までの
動作が行なわれる。なおステップ@でプロセッサ2から
Ackが一定時間経過しても戻らないときは、プロセッ
サ1もプロセッサ2もロード不成功として終了する。ま
たステップ■でプロセッサ2からロード不成功の情報を
受けたときも、プロセッサ1および2−は共にロード不
成功として終了する。さらにまたステップ[相]で再試
行回数が規定回数を超えたときはプロセッサ1はロード
不成功であるが、プロセッサ2はロード完として稼働状
態に入ることとなる。
When the transfer is completed, the process returns to step (2) and the operations up to step (2) are performed. Note that if the Ack from processor 2 does not return even after a predetermined period of time has elapsed in step @, both processor 1 and processor 2 terminate as loading failure. Also, when receiving the information that the load was unsuccessful from the processor 2 in step (2), both the processors 1 and 2- terminate the process with the result that the load was unsuccessful. Furthermore, when the number of retries exceeds the predetermined number in step [phase], the loading of the processor 1 is unsuccessful, but the processor 2 completes the loading and enters the operating state.

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

以上説明したように本発明は、同一のプロセッサを2台
使用したシステムにおいて、一方のプロセッサのローダ
およびローダ制御回路が障害を起こし、正常な動作をし
なかった場合に、他方のプロセッサからマイクロコード
を受信することができ、以後は両方のプロセッサで動作
を実行できる効果がある。
As explained above, in a system using two identical processors, when the loader and loader control circuit of one processor malfunctions and does not operate normally, the present invention allows microcode to be sent from the other processor. This has the effect of allowing both processors to perform operations from then on.

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

第1図は本発明の一実施例のブロック図、第2図(a)
および(b)は第1図におけるマイクロコード格納動作
のフローヂャートである。 1.2・・・プロセッサ、3.4・・・プロセッサ間接
続回路、11.21・・・ローダ、12.22・・・ロ
ーダ制御回路、13.23・・・制御記憶回路、14゜
24・・・マイクロプロセッサ。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2(a)
and (b) is a flowchart of the microcode storage operation in FIG. 1.2... Processor, 3.4... Inter-processor connection circuit, 11.21... Loader, 12.22... Loader control circuit, 13.23... Control storage circuit, 14°24 ...Microprocessor.

Claims (1)

【特許請求の範囲】[Claims] マイクロコード格納用のローダとこのローダを制御する
ローダ制御回路とマイクロコードを格納する制御記憶回
路とマイクロ命令を実行するマイクロプロセッサとから
なるプロセッサの2組を有するマイクロプログラム制御
装置において、前記2組のプロセッサのマイクロプロセ
ッサの間の通信を行なうプロセッサ間接続回路と、前記
制御記憶回路へのマイクロコード格納時に一方のマイク
ロプロセッサからマイクロコードの格納状態を前記プロ
セッサ間接続回路を介して他方のマイクロプロセッサに
伝え、一方の制御記憶回路へのマイクロコードの格納が
できなかったときは、他方のマイクロプロセッサから前
記プロセッサ間接続回路を介して他方の制御記憶回路に
格納されたマイクロコードを転送してもらって格納する
マイクロプロセッサとを有することを特徴とするマイク
ロプログラム制御装置。
A microprogram control device having two sets of processors each consisting of a loader for storing a microcode, a loader control circuit for controlling the loader, a control memory circuit for storing the microcode, and a microprocessor for executing microinstructions. an inter-processor connection circuit that performs communication between the microprocessors of the processors; and when the microcode is stored in the control storage circuit, the storage state of the microcode is transferred from one microprocessor to the other microprocessor via the inter-processor connection circuit. If the microcode cannot be stored in one control memory circuit, the other microprocessor transfers the microcode stored in the other control memory circuit via the interprocessor connection circuit. 1. A microprogram control device, comprising: a microprocessor for storing information.
JP19864188A 1988-08-08 1988-08-08 Microprogram controller Pending JPH0247723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19864188A JPH0247723A (en) 1988-08-08 1988-08-08 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19864188A JPH0247723A (en) 1988-08-08 1988-08-08 Microprogram controller

Publications (1)

Publication Number Publication Date
JPH0247723A true JPH0247723A (en) 1990-02-16

Family

ID=16394591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19864188A Pending JPH0247723A (en) 1988-08-08 1988-08-08 Microprogram controller

Country Status (1)

Country Link
JP (1) JPH0247723A (en)

Similar Documents

Publication Publication Date Title
US4455601A (en) Cross checking among service processors in a multiprocessor system
US4941087A (en) System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations
JPH0247723A (en) Microprogram controller
JP3022768B2 (en) Virtual computer system
JP3332098B2 (en) Redundant processor unit
JPH01245346A (en) Information down loading system
JPS62284440A (en) Software resource maintenance system for terminal equipment
JP2985188B2 (en) Redundant computer system
JPH03163617A (en) Warm-boot method of program in computer system
JPS59221702A (en) Digital controller
JPH03206529A (en) Computer system
JPH0664569B2 (en) Micro program loading method
JPS62212865A (en) Multiprocessor control system
JPH02101565A (en) Control program adding system for extended function
JPS62284448A (en) Initial program loading system
JPH05204501A (en) Data terminal equipment
JPS63288347A (en) Ipl system
JPH0276030A (en) Data processing system
JPH0498341A (en) Intelligent storage device
JPS62256599A (en) File replacing system in electronic exchange
JPS61143862A (en) Interface control system
JPH0194742A (en) Communication control processor
JPS63298462A (en) Terminal control system
JPS6188351A (en) Program load system
JPS5987527A (en) Initial program loading system