JPS62535B2 - - Google Patents
Info
- Publication number
- JPS62535B2 JPS62535B2 JP57065675A JP6567582A JPS62535B2 JP S62535 B2 JPS62535 B2 JP S62535B2 JP 57065675 A JP57065675 A JP 57065675A JP 6567582 A JP6567582 A JP 6567582A JP S62535 B2 JPS62535 B2 JP S62535B2
- Authority
- JP
- Japan
- Prior art keywords
- cycle
- signal
- circuit
- execution
- microinstruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/223—Execution means for microinstructions irrespective of the microinstruction function, e.g. decoding of microinstructions and nanoinstructions; timing of microinstructions; programmable logic arrays; delays and fan-out problems
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
Description
【発明の詳細な説明】
本発明は、情報処理装置、特に、異なる2つの
マイクロプログラムを並行して処理し必要時に同
期化できる情報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing apparatus, and particularly to an information processing apparatus that can process two different microprograms in parallel and synchronize them when necessary.
従来の情報処理装置は、一連の第1のマイクロ
命令からなる第1のマイクロプログラムに対応し
て設けられ初期状態および前記第1のマイクロ命
令の実行後に第1のマイクロ命令デコード回路に
デコードを指示するための第1のデコードサイク
ル信号を発生し前記第1のマイクロ命令のデコー
ド後第1の条件成立信号が供給されるまで第1の
ウエイトサイクル信号を発生し前記第1のマイク
ロ命令のデコード後前記第1の条件成立信号が供
給されたときに第1のマイクロ命令実行回路に実
行を指示する第1の実行サイクル信号を発生する
第1のサイクル制御回路と、前記第1のマイクロ
プログラムと並行して処理され一連の第2のマイ
クロ命令からなる第2のマイクロプログラムに対
応して設けられ初期状態および前記第2のマイク
ロ命令の実行後に第2のマイクロ命令デコード回
路にデコードを指示するための第2のデコードサ
イクル信号を発生し前記第2のマイクロ命令のデ
コード後第2の条件成立信号が供給されるまで第
2のウエイトサイクル信号を発生し前記第2のマ
イクロ命令のデコード後前記第2の条件成立信号
が供給されたときに第2のマイクロ命令実行回路
に実行を指示する第2の実行サイクル信号を発生
する第2のサイクル制御回路とを含んで構成され
る。 A conventional information processing device is provided corresponding to a first microprogram consisting of a series of first microinstructions, and instructs a first microinstruction decoding circuit to perform decoding in an initial state and after execution of the first microinstructions. generating a first decode cycle signal for decoding the first microinstruction; generating a first wait cycle signal until a first condition fulfillment signal is supplied after decoding the first microinstruction; and generating a first wait cycle signal after decoding the first microinstruction; a first cycle control circuit that generates a first execution cycle signal that instructs a first microinstruction execution circuit to execute when the first condition fulfillment signal is supplied; and a first cycle control circuit that is parallel to the first microprogram. A second microinstruction decoding circuit is provided for instructing a second microinstruction decoding circuit to perform decoding in an initial state and after execution of the second microinstructions. generating a second decode cycle signal; generating a second wait cycle signal until a second condition fulfillment signal is supplied after decoding the second microinstruction; and generating the second wait cycle signal after decoding the second microinstruction; and a second cycle control circuit that generates a second execution cycle signal that instructs the second microinstruction execution circuit to execute when the condition fulfillment signal is supplied.
このように、従来の情報処理装置は異なる2つ
のマイクロプログラムを並行して処理を行なうも
のである。 In this way, the conventional information processing apparatus processes two different microprograms in parallel.
しかしながら、一方のマイクロプログラムを他
方のマイクロプログラムに同期させる必要が生じ
た場合には、同期化を実現するために、例えば、
同期化が必要な状態になつたことを示す情報を、
テスト条件として、他方のマイクロプログラムに
伝達できるようにした上で、その情報を受けるマ
イクロプログラムが複数回テストし、テストが成
立したときに、初めて同期化を行うなど、マイク
ロプログラムの手法による同期を行なわざるを得
ず、プログラムのステツプ数が増し、同期に必要
な時間が増えるという欠点があつた。 However, if it becomes necessary to synchronize one microprogram with another, to achieve the synchronization, e.g.
Information indicating that synchronization is required.
As a test condition, the microprogram that receives the information is tested multiple times after being able to transmit it to the other microprogram, and synchronization is performed for the first time when the test is successful. This had the drawback of increasing the number of steps in the program and increasing the time required for synchronization.
すなわち、従来の情報処理装置は同期化に時間
がかかるという欠点があつた。 In other words, the conventional information processing apparatus has the disadvantage that synchronization takes time.
本発明の目的は、同期化時間を短縮できる情報
処理装置を提供することになる。 An object of the present invention is to provide an information processing device that can shorten synchronization time.
すなわち、本発明の目的は同期化回路を付加す
ることにより2つのマイクロプログラムを同期化
させる場合同一命令を複数回実行させるなど、マ
イクロプログラム自身で同期化を行なわせる必要
をなくし、同期化に要する時間を短縮できる情報
処理を提供することにある。 In other words, an object of the present invention is to eliminate the need for synchronization by the microprogram itself, such as executing the same instruction multiple times when synchronizing two microprograms, by adding a synchronization circuit, and to reduce the time required for synchronization. The purpose is to provide information processing that can save time.
すなわち、本発明の目的は1マシンサイクルを
デコードサイクルおよび実行サイクルに分割する
ことにより2つのマイクロプログラムを同期化さ
せる場合に、同一命令を複数回実行させる必要を
なくし、同期化に要する時間を短縮できる情報処
理装置を提供することにある。 That is, an object of the present invention is to eliminate the need to execute the same instruction multiple times when synchronizing two microprograms by dividing one machine cycle into a decode cycle and an execution cycle, thereby reducing the time required for synchronization. Our goal is to provide an information processing device that can.
本発明の情報処理装置は、一連の第1のマイク
ロ命令からなる第1のマイクロプログラムに対応
して設けられ初期状態および前記第1のマイクロ
命令の実行後に第1のマイクロ命令デコード回路
にデコードを指示するための第1のデコードサイ
クル信号を発生し前記第1のマイクロ命令のデコ
ード後第1の条件成立信号が供給されるまで第1
のウエイトサイクル信号を発生し前記第1のマイ
クロ命令のデコード後前記第1の条件成立信号が
供給されたときに第1のマイクロ命令実行回路に
実行を指示する第1の実行サイクル信号を発生す
る第1のサイクル制御回路と、前記第1のマイク
ロプログラムと並行して処理され一連の第2のマ
イクロ命令からなる第2のマイクロプログラムに
対応して設けられ同期化信号供給時に初期状態に
され前記初期状態および前記第2のマイクロ命令
の実行後に第2のデコードサイクル信号を発生し
前記第2のマイクロ命令のデコード後第2の条件
成立信号が供給されるまで第2のウエイトサイク
ル信号を発生し前記第2のマイクロ命令のデコー
ド後前記第2の条件成立信号が供給されたときに
第2の実行サイクル信号を発生する第2のサイク
ル制御回路と、前記同期化信号が供給されないと
きに前記第2のデコードサイクル信号を選択し前
記同期化信号が供給されたときに前記第1のデコ
ードサイクル信号を選択して第2のマイクロ命令
デコード回路にデコードを指示するための第3の
デコードサイクル信号を発生し前記同期化信号が
供給されないときに前記第2の実行サイクル信号
を選択し前記同期化信号が供給されたときに前記
第1の実行サイクル信号を選択して第2のマイク
ロ命令実行回路に実行を指示するための第3の実
行サイクル信号を発生する同期化回路とを含んで
構成される。 The information processing device of the present invention is provided corresponding to a first microprogram consisting of a series of first microinstructions, and causes a first microinstruction decoding circuit to perform decoding in an initial state and after execution of the first microinstructions. generates a first decode cycle signal for instructing, and after decoding the first microinstruction, the first decode cycle signal is
generates a wait cycle signal, and generates a first execution cycle signal that instructs a first microinstruction execution circuit to execute when the first condition fulfillment signal is supplied after decoding the first microinstruction; a first cycle control circuit; and a second microprogram which is processed in parallel with the first microprogram and includes a series of second microinstructions, and which is brought into an initial state when a synchronization signal is supplied. A second decode cycle signal is generated in an initial state and after execution of the second microinstruction, and a second wait cycle signal is generated after the second microinstruction is decoded until a second condition fulfillment signal is supplied. a second cycle control circuit that generates a second execution cycle signal when the second condition fulfillment signal is supplied after decoding the second microinstruction; a third decode cycle signal for selecting the second decode cycle signal and instructing the second microinstruction decoding circuit to decode by selecting the first decode cycle signal when the synchronization signal is supplied; selects the second execution cycle signal when the synchronization signal is generated and the synchronization signal is not supplied, and selects the first execution cycle signal when the synchronization signal is supplied to the second microinstruction execution circuit. and a synchronization circuit that generates a third execution cycle signal for instructing execution.
すなわち、本発明の情報処理装置は、異なる2
つのマイクロプログラムを並行して処理する情報
処理装置において各々のマイクロプログラムに対
しマイクロ命令をデコードするデコードサイクル
を発生する回路と前記マイクロ命令のデコードの
結果、所定の条件が成立するまでマイクロ命令の
実行を延期する必要があるときウエイトサイクル
を発生する回路とデコードサイクルおよびウエイ
トサイクルの終了によりマイクロ命令を実行する
実行サイクルを発生する回路とをそれぞれ有する
2つのサイクル制御回路と、前記2つのマイクロ
プログラムの前記デコードサイクルおよび実行サ
イクルを同期化させるための同期化回路とを含ん
で構成される。 That is, the information processing device of the present invention has two different
In an information processing device that processes two microprograms in parallel, a circuit generates a decode cycle for decoding microinstructions for each microprogram, and as a result of the decoding of the microinstructions, the microinstructions are executed until a predetermined condition is satisfied. two cycle control circuits each having a circuit that generates a wait cycle when it is necessary to postpone the program and a circuit that generates an execution cycle that executes the microinstruction upon completion of the decode cycle and the wait cycle; and a synchronization circuit for synchronizing the decode cycle and execution cycle.
次に、本発明の実施例について、図面を参照し
て詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
第1図は、本発明の一実施例を示す回路図であ
る。 FIG. 1 is a circuit diagram showing one embodiment of the present invention.
第1図に示す情報処理装置は、第1のサイクル
制御回路CCと第2のサイクル制御回路CC′と同
期化回路である選択回路SELとを含んで構成され
る。 The information processing device shown in FIG. 1 includes a first cycle control circuit CC, a second cycle control circuit CC', and a selection circuit SEL which is a synchronization circuit.
サイクル制御回路CCは、クロツクPが供給さ
れるごとにセツトリセツトが行なわれるデコード
サイクル信号Bを発生させるためのデコードサイ
クルフリツプフロツプ1と、ウエイトサイクル信
号Dを発生させるためのウエイトサイクルフリツ
プフロツプ3と、実行サイクル信号Cを発生させ
るための実行サイクルフリツプフロツプ2とを含
んでいる。 The cycle control circuit CC includes a decode cycle flip-flop 1 for generating a decode cycle signal B which is reset every time a clock P is supplied, and a wait cycle flip-flop for generating a wait cycle signal D. 3 and an execution cycle flip-flop 2 for generating an execution cycle signal C.
また、サイクル制御回路CC′は、クロツクPが
供給させるごとにセツトリセツトが行なわれるデ
コードサイクル信号B′を発生させるためのデコー
ドサイクルフリツプフロツプ1′と、ウエイトサ
イクル信号D′を発生させるためのウエイトサイ
クルフリツプフロツプ3′と、実行サイクル信号
C′を発生させるための実行サイクルフリツプフ
ロツプ2′とを含んでおり、同期化信号Kが供給
されると初期状態にされる。 The cycle control circuit CC' also includes a decode cycle flip-flop 1' for generating a decode cycle signal B' which is reset every time the clock P is supplied, and a decode cycle flip-flop 1' for generating a wait cycle signal D'. Wait cycle flip-flop 3' and run cycle signal
It includes an execution cycle flip-flop 2' for generating C', and is brought to an initial state when a synchronization signal K is supplied.
さらにまた、選択回路SELは同期化信号Kが供
給されたか否かにより、デコードサイクル信号
B,B′のいずれかを選択し、また実行サイクル信
号C,C′のいずれかを選択して、デコードサイ
クル信号Hおよび実行サイクル信号Jとして出力
する。 Furthermore, the selection circuit SEL selects either the decode cycle signal B or B' depending on whether or not the synchronization signal K is supplied, and also selects either the execution cycle signal C or C' to decode the signal. It is output as a cycle signal H and an execution cycle signal J.
サイクル制御回路CCは第1のマイクロプログ
ラムに対応して設けられ、この第1のマイクロプ
ログラムは一連の第1のマイクロ命令で構成され
ている。また、サイクル制御回路CC′は第2のマ
イクロプログラムに対応して設けられ、この第2
のマイクロプログラムは一連の第2のマイクロ命
令で構成されている。 The cycle control circuit CC is provided corresponding to a first microprogram, and this first microprogram is composed of a series of first microinstructions. Further, the cycle control circuit CC' is provided corresponding to the second microprogram, and the cycle control circuit CC' is provided corresponding to the second microprogram.
The microprogram consists of a series of second microinstructions.
この第1のマイクロプログラムは図示しない第
1のマイクロ命令デコード回路に供給するデコー
ドサイクル信号Bと図示しない第1のマイクロ命
令実行回路に供給する実行サイクル信号Cとに従
つて処理される。 This first microprogram is processed according to a decode cycle signal B supplied to a first microinstruction decode circuit (not shown) and an execution cycle signal C supplied to a first microinstruction execution circuit (not shown).
また、第2のマイクロプログラムは、第1のマ
イクロプログラムと並行して処理されるもので、
図示しない第2のマイクロ命令デコード回路に供
給するデコードサイクル信号Hと図示しない第2
のマイクロ命令実行回路に供給する実行サイクル
信号Jとに従つて処理される。 Further, the second microprogram is processed in parallel with the first microprogram,
A decode cycle signal H supplied to a second micro-instruction decode circuit (not shown) and a second micro-instruction decode circuit (not shown)
The execution cycle signal J supplied to the microinstruction execution circuit is processed according to the execution cycle signal J.
次に、サイクル制御回路CCの詳細について説
明する。 Next, details of the cycle control circuit CC will be explained.
デコードサイクルフリツプフロツプ1はデコー
ドサイクル信号Bを生成するフリツプフロツプで
あり、デコードサイクル信号Bとなるその正出力
は、アンド回路6および10へも入力される。ま
た、デコードが終了したことを示す負出力はアン
ド回路4へ入力され、アンド回路4の出力は後述
の実行サイクルフリツプフロツプ2から出力され
る実行サイクル信号Cとなる正出力と論理和がと
られ、デコードサイクルフリツプフロツプ1の入
力となる。 Decode cycle flip-flop 1 is a flip-flop that generates decode cycle signal B, and its positive output, which becomes decode cycle signal B, is also input to AND circuits 6 and 10. Further, a negative output indicating that the decoding is completed is input to an AND circuit 4, and the output of the AND circuit 4 is logically summed with a positive output that becomes an execution cycle signal C output from an execution cycle flip-flop 2, which will be described later. The input signal is taken as an input to the decode cycle flip-flop 1.
実行サイクルフリツプフロツプ2は、実行サイ
クル信号Cを生成するフリツプフロツプであり、
実行サイクル信号Cとなるその正出力はオア回路
5へ入力される。また、実行が終了したことを示
す負出力は前述のアンド回路4へ入力される。 The execution cycle flip-flop 2 is a flip-flop that generates an execution cycle signal C;
Its positive output, which becomes the execution cycle signal C, is input to the OR circuit 5. Further, a negative output indicating that execution has ended is input to the AND circuit 4 described above.
ウエイトサイクルフリツプフロツプ3はウエイ
トサイクル信号Dを生成するためのフリツプフロ
ツプであり、ウエイトサイクル信号Dとなるその
正出力はアンド回路7およびアンド回路11へ入
力され、ウエイトが終了したことを示す負出力は
アンド回路4へ入力される。条件成立信号Aはア
ンド回路6,7およびインバータ回路9へ入力さ
れ、アンド回路6,7の出力はともにオア回路8
で論理和がとられ実行サイクルフリツプフロツプ
2の入力となる。一方、インバータ回路9の出力
はアンド回路10,11へ入力され、アンド回路
10,11の出力はともにオア回路12で論理和
がとられウエイトサイクルフリツプフロツプ3の
入力となる。 Wait cycle flip-flop 3 is a flip-flop for generating wait cycle signal D, and its positive output, which becomes wait cycle signal D, is input to AND circuit 7 and AND circuit 11, and a negative output indicating that the wait has ended is inputted to AND circuit 7 and AND circuit 11. The output is input to an AND circuit 4. The condition fulfillment signal A is input to the AND circuits 6 and 7 and the inverter circuit 9, and the outputs of the AND circuits 6 and 7 are both input to the OR circuit 8.
The logical OR is taken at and becomes the input to the execution cycle flip-flop 2. On the other hand, the output of the inverter circuit 9 is input to AND circuits 10 and 11, and the outputs of the AND circuits 10 and 11 are logically summed together by an OR circuit 12 and are input to the wait cycle flip-flop 3.
ここで、デコードサイクルフリツプフロツプ1
および実行サイクルフリツプフロツプ3の正出力
は各々デコードサイクルB、実行サイクルCとし
て選択回路SELへ入力され、第1のマイクロプロ
グラムFW1の命令の制御に用いられる。 Here, the decode cycle flip-flop 1
The positive outputs of the execution cycle flip-flop 3 are input to the selection circuit SEL as a decode cycle B and an execution cycle C, respectively, and are used to control the instructions of the first microprogram FW1.
サイクル制御回路CC′における1′〜12′はサ
イクル制御回路CCの1〜12と同様である。 1' to 12' in the cycle control circuit CC' are the same as 1 to 12 in the cycle control circuit CC.
サイクル制御回路CC′とサイクル制御回路CC
との相違はデコードサイクルフリツプフロツプ
1′、ウエイトサイクルフリツプフロツプ2′およ
び実行サイクルフリツプフロツプ3′のリセツト
入力に同期化信号Kが接続されていることであ
る。また、この同期化信号Kは同期化回路である
選択回路SELの選択条件入力にも接続されてい
る。選択回路SELは本発明の特徴となる回路でデ
コードサイクル信号B,B′、実行サイクルC,
C′が入力され、この選択回路SELの出力が第2
のマイクロプログラムFW2のマイクロ命令の制
御に用いられる。 Cycle control circuit CC′ and cycle control circuit CC
The difference is that a synchronization signal K is connected to the reset inputs of the decode cycle flip-flop 1', the wait cycle flip-flop 2', and the execution cycle flip-flop 3'. This synchronization signal K is also connected to the selection condition input of the selection circuit SEL, which is a synchronization circuit. The selection circuit SEL is a circuit that is a feature of the present invention, and is a circuit that selects decode cycle signals B, B', execution cycles C,
C' is input, and the output of this selection circuit SEL is the second
It is used to control the microinstructions of the microprogram FW2.
次に、第1図に示す実施例の動作を説明する。 Next, the operation of the embodiment shown in FIG. 1 will be explained.
電源投入直後はデコードサイクルフリツプフロ
ツプ1,1′、ウエイトサイクルフリツプフロツ
プ3,3′および実行サイクルフリツプフロツプ
2,2′はともに“0”にセツトされているが最
初のクロツクPが入力された所でデコードサイク
ルフリツプフロツプ1,1′が“1”にセツトさ
れる。ここで条件成立信号Aが“1”のときアン
ド回路6およびオア回路8の出力が“1”とな
り、次のサイクルでは実行サイクルフリツプフロ
ツプ2のセツトを行ないデコードサイクルの次の
サイクルは実行サイクルとなり、同様に、条件成
立信号A′が“1”のときは実行サイクルフリツ
プフロツプ2′が“1”となりそれぞれデコード
サイクル、実行サイクルで第1のマイクロプログ
ラムおよび第2のマイクロプログラムの1命令が
終る。 Immediately after the power is turned on, decode cycle flip-flops 1 and 1', wait cycle flip-flops 3 and 3', and execution cycle flip-flops 2 and 2' are all set to "0", but when the first clock When P is input, decode cycle flip-flops 1 and 1' are set to "1". Here, when the condition fulfillment signal A is "1", the outputs of the AND circuit 6 and the OR circuit 8 become "1", and in the next cycle, the execution cycle flip-flop 2 is set, and the cycle following the decode cycle is executed. Similarly, when the condition fulfillment signal A' is "1", the execution cycle flip-flop 2' becomes "1" and the first and second microprograms are executed in the decode cycle and execution cycle, respectively. 1 command is completed.
一方、実行サイクルフリツプフロツプ2,2′
の出力は、デコードサイクルフリツプフロツプ
1,1′のセツト入力となるので、実行サイクル
の次はデコードサイクルとなる。このシーケンス
は条件成立信号A,A′が“1”の間は保証され
る。 On the other hand, the execution cycle flip-flops 2, 2'
The output of is the set input for the decode cycle flip-flops 1 and 1', so the next execution cycle is the decode cycle. This sequence is guaranteed while the condition fulfillment signals A and A' are "1".
マイクロ命令のデコードの結果がデータ待ち等
で命令の実行を延期する場合、条件成立信号Aは
“0”となりアンド回路10,11およびオア回
路12の出力により、ウエイトサイクルフリツプ
フロツプ3が“1”にセツトされ、同様にして、
条件成立信号A′が“0”の場合はウエイトサイ
クルフリツプフロツプ3′が“1”にセツトされ
デコードサイクルの次はウエイトサイクルとな
る。条件成立信号A,A′が“1”となつた時点
でアンド回路7,7′のアンドがとれ、実行サイ
クルとなる。 When the result of decoding a microinstruction postpones the execution of the instruction due to waiting for data, etc., the condition fulfillment signal A becomes "0" and the wait cycle flip-flop 3 becomes "0" by the outputs of the AND circuits 10 and 11 and the OR circuit 12. 1” and similarly,
When the condition fulfillment signal A' is "0", the wait cycle flip-flop 3' is set to "1" and the next decode cycle is a wait cycle. When the condition fulfillment signals A and A' become "1", the AND circuits 7 and 7' perform an AND operation, and an execution cycle begins.
一方、条件成立信号Aが“1”となるとアンド
回路10,11の出力は必ず“0”となりウエイ
トサイクルフリツプフロツプ3を“0”にリセツ
トする。同様に、条件成立信号A′が“1”とな
るとウエイトサイクルフリツプフロツプ3′を
“0”にリセツトする。 On the other hand, when the condition fulfillment signal A becomes "1", the outputs of the AND circuits 10 and 11 become "0" and the wait cycle flip-flop 3 is reset to "0". Similarly, when the condition fulfillment signal A' becomes "1", the wait cycle flip-flop 3' is reset to "0".
ここで、選択回路SELは同期化信号Kが“0”
なので、デコードサイクル信号B′、および、実行
サイクル信号C′を出力している。 Here, in the selection circuit SEL, the synchronization signal K is “0”
Therefore, a decode cycle signal B' and an execution cycle signal C' are output.
以上は2つのマイクロプログラムFW1,FW
2が互いに独立に動作している場合であるが、今
何らかの理由によりマイクロプログラムFW1,
FW2の同期化が必要となつた時点で、マイクロ
プログラムFW1は同期化信号Kを“1”とし
て、選択回路SELはデコードサイクル信号Bおよ
び実行サイクル信号Cを選択する一方、デコード
サイクルフリツプフロツプ1′、実行サイクルフ
リツプフロツプ2′、ウエイトサイクルフリツプ
フロツプ3′をリセツトする。 The above are two microprograms FW1 and FW
This is a case where microprograms FW1 and FW2 are operating independently of each other, but for some reason microprograms FW1 and
At the time when it becomes necessary to synchronize FW2, the microprogram FW1 sets the synchronization signal K to "1", and the selection circuit SEL selects the decode cycle signal B and the execution cycle signal C, while the decode cycle flip-flop 1', the run cycle flip-flop 2' and the wait cycle flip-flop 3' are reset.
従つて、マイクロプログラムW2はデコードサ
イクル信号B、実行サイクル信号Cによるマイク
ロ命令の実行が行なわれ、マイクロプログラム
FW1に同期化される。マイクロプログラムFW
2がウエイトサイクル中にあつた場合は、同期化
信号Kにより、ウエイトサイクルフリツプフロツ
プ3′はリセツトされるため、ウエイトサイクル
D′は“0”になり、ウエイト状態は解除され前
述のようにマイクロプログラムFW1の制御下に
おかれる。 Therefore, microprogram W2 executes microinstructions using decode cycle signal B and execution cycle signal C, and
Synchronized to FW1. Micro program FW
2 occurs during the wait cycle, the wait cycle flip-flop 3' is reset by the synchronization signal K, so the wait cycle
D' becomes "0", the wait state is released, and the program is placed under the control of the microprogram FW1 as described above.
以上述べたように異なる2つのマイクロプログ
ラムを同期化する上で複数回命令を繰り返すこと
なしに同期化が可能となる。 As described above, it is possible to synchronize two different microprograms without repeating instructions multiple times.
本発明の情報処理装置は、同期化回路を追加す
ることにより、マイクロプログラムで同期化の要
否を判断して同期化を行なう代りに、同期化する
ためのデコードサイクル信号および実行サイクル
信号を2つのマイクロプログラムのそれぞれに対
応したマイクロ命令デコード回路およびマイクロ
命令実行回路に供給できるため、同期化時間が短
縮できるという効果がある。 By adding a synchronization circuit, the information processing device of the present invention can generate two decode cycle signals and an execution cycle signal for synchronization, instead of determining whether or not synchronization is necessary using a microprogram and performing synchronization. Since the signal can be supplied to the microinstruction decoding circuit and microinstruction execution circuit corresponding to each of the two microprograms, synchronization time can be reduced.
すなわち、本発明の情報処理装置は、異なる2
つのマイクロプログラムを並行して処理するため
に、3個のサイクル発生回路を2セツトと同期化
回路をもつことにより一方のマイクロプログラム
の制御回路で他方のマイクロプログラムの制御回
路を同期化できるという効果がある。 That is, the information processing device of the present invention has two different
In order to process two microprograms in parallel, by having two sets of three cycle generation circuits and a synchronization circuit, the effect is that the control circuit of one microprogram can synchronize the control circuit of the other microprogram. There is.
第1図は本発明の一実施例を示す回路図であ
る。
CC,CC′……サイクル制御回路、SEL……選
択回路、1,1′……デコードサイクルフリツプ
フロツプ、2,2′……実行サイクルフリツプフ
ロツプ、3,3′……ウエイトサイクルフリツプ
フロツプ、4,4′……アンド回路、5,5′……
オア回路、6,6′,7,7′……アンド回路、
8,8′……オア回路、9,9′……インバータ回
路、10,10′,11,11′……アンド回路、
12,12′……オア回路、A,A′……条件成立
信号、B,B′,H……デコードサイクル信号、
C,C′,J……実行サイクル信号、D,D′……
ウエイトサイクル信号、P……クロツク、K……
同期化信号。
FIG. 1 is a circuit diagram showing an embodiment of the present invention. CC, CC'... Cycle control circuit, SEL... Selection circuit, 1, 1'... Decode cycle flip-flop, 2, 2'... Execution cycle flip-flop, 3, 3'... Wait cycle Flip-flop, 4, 4'...AND circuit, 5, 5'...
OR circuit, 6, 6', 7, 7'...AND circuit,
8, 8'...OR circuit, 9, 9'...Inverter circuit, 10, 10', 11, 11'...AND circuit,
12, 12'...OR circuit, A, A'...condition fulfillment signal, B, B', H...decode cycle signal,
C, C', J... Execution cycle signal, D, D'...
Wait cycle signal, P...clock, K...
Synchronization signal.
Claims (1)
イクロプログラムに対応して設けられ初期状態お
よび前記第1のマイクロ命令の実行後に第1のマ
イクロ命令デコード回路にデコードを指示するた
めの第1のデコードサイクル信号を発生し前記第
1のマイクロ命令のデコード後第1の条件成立信
号が供給されるまで第1のウエイトサイクル信号
を発生し前記第1のマイクロ命令のデコード後前
記第1の条件成立信号が供給されたときに第1の
マイクロ命令実行回路に実行を指示する第1の実
行サイクル信号を発生する第1のサイクル制御回
路と、前記第1のマイクロプログラムと並行して
処理され一連の第2のマイクロ命令からなる第2
のマイクロプログラムに対応して設けられ同期化
信号供給時に初期状態にされ前記初期状態および
前記第2のマイクロ命令の実行後に第2のデコー
ドサイクル信号を発生し前記第2のマイクロ命令
のデコード後第2の条件成立信号が供給されるま
で第2のウエイトサイクル信号を発生し前記第2
のマイクロ命令のデコード後前記第2の条件成立
信号が供給されたときに第2の実行サイクル信号
を発生する第2のサイクル制御回路と、前記同期
化信号が供給されないときに前記第2のデコード
サイクル信号を選択し前記同期化信号が供給され
たときに前記第1のデコードサイクル信号を選択
して第2のマイクロ命令デコード回路にデコード
を指示するための第3のデコードサイクル信号を
発生し前記同期化信号が供給されないときに前記
第2の実行サイクル信号を選択し前記同期化信号
が供給されたときに前記第1の実行サイクル信号
を選択して第2のマイクロ命令実行回路に実行を
指示するための第3の実行サイクル信号を発生す
る同期化回路とを含むことを特徴とする情報処理
装置。1. A first micro-instruction decoding circuit provided corresponding to a first micro-program consisting of a series of first micro-instructions and for instructing a first micro-instruction decoding circuit to perform decoding in an initial state and after execution of the first micro-instructions. Generates a decode cycle signal, and generates a first wait cycle signal until a first condition fulfillment signal is supplied after decoding the first microinstruction, and generates a first wait cycle signal until the first condition is satisfied after decoding the first microinstruction. a first cycle control circuit that generates a first execution cycle signal that instructs the first microinstruction execution circuit to execute when the signal is supplied; a second microinstruction consisting of a second microinstruction;
A second decode cycle signal is generated after the initial state and the execution of the second microinstruction, and a second decode cycle signal is generated after the second microinstruction is decoded. A second wait cycle signal is generated until a second condition fulfillment signal is supplied.
a second cycle control circuit that generates a second execution cycle signal when the second condition fulfillment signal is supplied after decoding the microinstruction; and a second cycle control circuit that generates a second execution cycle signal when the second condition fulfillment signal is supplied; selecting a cycle signal and generating a third decode cycle signal for instructing a second microinstruction decode circuit to decode by selecting the first decode cycle signal when the synchronization signal is supplied; Selecting the second execution cycle signal when the synchronization signal is not supplied, selecting the first execution cycle signal when the synchronization signal is supplied, and instructing the second microinstruction execution circuit to execute. An information processing device comprising: a synchronization circuit that generates a third execution cycle signal for performing a third execution cycle signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57065675A JPS58182757A (en) | 1982-04-20 | 1982-04-20 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57065675A JPS58182757A (en) | 1982-04-20 | 1982-04-20 | Information processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58182757A JPS58182757A (en) | 1983-10-25 |
| JPS62535B2 true JPS62535B2 (en) | 1987-01-08 |
Family
ID=13293807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57065675A Granted JPS58182757A (en) | 1982-04-20 | 1982-04-20 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58182757A (en) |
-
1982
- 1982-04-20 JP JP57065675A patent/JPS58182757A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58182757A (en) | 1983-10-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3764992A (en) | Program-variable clock pulse generator | |
| JPS6019028B2 (en) | information processing equipment | |
| JPH02226457A (en) | Multiprocessor controller with shared control store | |
| JPS62535B2 (en) | ||
| JPS5833965B2 (en) | Computer diagnostic method and device | |
| JPS6049337B2 (en) | Pipeline control method | |
| JPS59186062A (en) | Decentralized processor system | |
| JPS58200349A (en) | Microprogram controller | |
| JPS5916054A (en) | Microprocessor | |
| SU875385A1 (en) | Microprogramme processor | |
| JPS6235143B2 (en) | ||
| SU813427A1 (en) | Microprogramme-control device | |
| JPS5936855A (en) | Control device of microprogram | |
| JPS62109137A (en) | Data processing system | |
| JPH02217935A (en) | Interruption generating circuit for debugging | |
| JPH03171335A (en) | Address comparison device | |
| JPH0343830A (en) | Block repeating circuit | |
| JPS62264341A (en) | Microprogram debug device | |
| JPS59160239A (en) | information processing equipment | |
| JPS5892040A (en) | Microprogram controller | |
| JPH01241626A (en) | Microprogram control system | |
| JPH0638235B2 (en) | Information processing equipment | |
| JPS5467348A (en) | Microprogram control system | |
| JPS62205445A (en) | Hardware initial diagnosis program executing system | |
| JPS58213352A (en) | data processing equipment |