JPS6275743A - Diagnostic system for microinstruction - Google Patents

Diagnostic system for microinstruction

Info

Publication number
JPS6275743A
JPS6275743A JP60214931A JP21493185A JPS6275743A JP S6275743 A JPS6275743 A JP S6275743A JP 60214931 A JP60214931 A JP 60214931A JP 21493185 A JP21493185 A JP 21493185A JP S6275743 A JPS6275743 A JP S6275743A
Authority
JP
Japan
Prior art keywords
microinstruction
data
rib
instruction
gate
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
JP60214931A
Other languages
Japanese (ja)
Inventor
Tomokazu Abe
阿部 智和
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
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering Corp
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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP60214931A priority Critical patent/JPS6275743A/en
Publication of JPS6275743A publication Critical patent/JPS6275743A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To execute highly accurate diagnoses, by causing an instruction buffer to hold data outputted from an arithmetic logical operation circuit instead of data read out from a memory and loading the held data onto an instruction processing section. CONSTITUTION:When the 1st microinstruction 600 is outputted, a selector 8 selectively passes data 400 from an arithmetic logical operation circuit 7 through an ALUI and outputs the data 400 to a RIB 1. When the 2nd microinstruction 800 is outputted to the RIB 1 thereafter, the data held by the RIB 1 are loaded onto and processed by an instruction processing section 5. A RIB checking circuit 6 simultaneously outputs a read request signal 200 to a gate 9 when detecting that the RIB 1 becomes vacant, but, since a flip flop 10 is set by the 2nd microinstruction 800, passing of the signal 200 through the gate 9 is checked. Therefore, no bus controlling signal is inputted to a bus controller 3 and, as a result, readout of instructions from a memory 2 is eliminated.

Description

【発明の詳細な説明】 「発明の技術分野J 7を発明は、マイクロプログラムilJ御方式の計算搬
におけるマイクロ命令診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD OF THE INVENTION The invention relates to a microinstruction diagnosis method in the computation implementation of a microprogram ilJ control method.

[発明の技術的背景] 従来この種の訂算機にあけるインストラクションバッフ
ァ(以下RIBと称する)の周辺は、第2図に示すよう
な回路を採っている。即ら符@1はRIBで、主メモリ
2からフェッチしたユーザ命令を保持する。符号3は共
通バス50を通して主メモリ2へのアクセスを制御する
バスコントローラでおる。符号4は主メモリから命令を
フェッチするマイクロ命令100又は主メモリ2のリー
ドリクエスト信号200のどちらかをバスコントローラ
3へ通過させるゲートでおる。符号5はロード信@30
0によってRIBlからロードされた命令を処理する命
令処理部である。符号6はRIBlから命令を命令処理
部5ヘロードした後、RIBIが空であるかないかを検
出し、空であった場合にリードリクエスト信号200を
出力するRIBチェック回路である。
[Technical Background of the Invention] Conventionally, a circuit as shown in FIG. 2 has been adopted around an instruction buffer (hereinafter referred to as RIB) provided in this type of calculator. That is, the symbol @1 is the RIB, which holds user instructions fetched from the main memory 2. Reference numeral 3 denotes a bus controller that controls access to the main memory 2 through the common bus 50. Reference numeral 4 denotes a gate that allows either a microinstruction 100 for fetching an instruction from the main memory or a read request signal 200 from the main memory 2 to pass to the bus controller 3. Code 5 is load signal @30
This is an instruction processing unit that processes instructions loaded from RIB1 by 0. Reference numeral 6 denotes an RIB check circuit that, after loading an instruction from RIB1 to the instruction processing unit 5, detects whether RIBI is empty or not, and outputs a read request signal 200 if it is empty.

上記のような回路構成CはRIB関連のマイクロ命令の
診断をするには、一度主メ[す2に特定のデータを書き
込んでおいで、そのデータをフェッチするマイクロ命令
100もしくは次の命令をRI81から命令処理部5ヘ
ロードした(卦に主メモリ2から前記データをフェッチ
するマイクロ命令によって、前記主メモリ2内のデータ
をRIBIにロードすることにより行なわれている。
To diagnose RIB-related microinstructions, the circuit configuration C described above first writes specific data to the main memory 2, and then writes the microinstruction 100 that fetches that data or the next instruction from the RI81. This is done by loading the data in the main memory 2 into the RIBI using a microinstruction that fetches the data from the main memory 2.

[前日技術の問題点] 従って、RIB関連の命令を診断するには主メモリ2の
動作が保証されていなければならず、保証されない場合
は診断の対象がRIBIに限定できなくなるという欠点
があった。
[Problems with the previous day's technology] Therefore, in order to diagnose RIB-related instructions, the operation of the main memory 2 must be guaranteed, and if this is not guaranteed, there is a drawback that the target of diagnosis cannot be limited to RIBI. .

[発明の目的] 本発明の目的は、上記の欠点に鑑み、インストラクショ
ンバッファ関連のマイクロ命令を対象として診断するよ
うにすればよく精度の高い診断を行なうことができるマ
イクロ命令診断方式を提供することにおる。
[Object of the Invention] In view of the above-mentioned drawbacks, an object of the present invention is to provide a microinstruction diagnosis method that can perform highly accurate diagnosis by diagnosing instruction buffer-related microinstructions. I'm in the middle of the day.

[発明の概要] 本発明は、メモリから読み出されるデータの代りに、算
術論理演算回路が出力するデータをインストラクション
バッファに保持させ、保持されたデータを命令処理部ヘ
ロードさせることにより、上記目的を達成するものであ
る。
[Summary of the Invention] The present invention achieves the above object by causing an instruction buffer to hold data output from an arithmetic logic circuit instead of data read from a memory, and loading the held data to an instruction processing unit. It is something to do.

[発明の実施例] 以下本発明の一実施例を従来例と同一部には同一符号を
付して図面を参照して説明する。符号」はインストラク
ションバッファ(RIB>で、符号2は主メモリである
。符号3はバスコントローラで、符号4はバスコントロ
ーラへ入力する信号を制御するゲートである。符@5は
RIBIからロードされたデータを処理する命令処理部
であり、符号6はRIBチェック回路でおる。符号7は
算術論理演算回路(ALU>で、この回路7からのデー
タ400はセレクタ8を介してRIBlに出力されてい
る。セレクタ8はデータ400ALUIと、主メモリ2
からのデータ500DMIのどちらか一方を選択するよ
うに構成されている。即ち、セレクタ8からは第1マイ
クロ命令600によってデータ400A L LJ 1
が選択出力され、前記@1マイクロ命令800の反転信
号によって、データ500 DM■が選択出力される。
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings, in which the same parts as those of the conventional example are denoted by the same reference numerals. The code " is an instruction buffer (RIB), and the code 2 is the main memory. The code 3 is a bus controller, and the code 4 is a gate that controls the signal input to the bus controller. The code @5 is loaded from RIBI. It is an instruction processing unit that processes data, and reference numeral 6 is an RIB check circuit. Reference numeral 7 is an arithmetic logic operation circuit (ALU), and data 400 from this circuit 7 is output to RIB1 via a selector 8. .Selector 8 has data 400 ALUI and main memory 2
It is configured to select either one of the data 500 DMI from the . That is, data 400A L LJ 1 is sent from the selector 8 by the first microinstruction 600.
is selectively output, and data 500 DM■ is selectively output by the inverted signal of the @1 microinstruction 800.

ゲート9はRIBチェック回路6が出力するリクエスト
信号200 、j−7リツプフロツプ(F、/F)10
が出力する制御信号700によって阻止するもので、制
御信号700がオフの場合はリクエスト信号200はゲ
ート9を通過してゲート4へ入力される。フリップフロ
ップ10は第2マイクロ命令800によってセットされ
、第3マイクロ命令100によってリセットされる。な
お、ノリツブフロップ10がセットされると制御信号7
00がオンとなる。
The gate 9 receives a request signal 200 output from the RIB check circuit 6, and a j-7 lip-flop (F, /F) 10.
When the control signal 700 is off, the request signal 200 passes through the gate 9 and is input to the gate 4. Flip-flop 10 is set by the second microinstruction 800 and reset by the third microinstruction 100. Note that when the Noritsubu flop 10 is set, the control signal 7
00 is turned on.

次に本実施例の動作について説明する。先ず、通常の命
令フェッチを示す第3マイクロ命令100が出力される
と、この命令100はゲート4を通過し、バスコントロ
ール信号となってバスコントローラ3へ入力される。こ
れにより、バスコントローラ3は主メモリ2にリード信
号900を与えるため、メモリ2内の命令が読み出され
、これかデータ500としてセレクタ8へ入力される。
Next, the operation of this embodiment will be explained. First, when the third microinstruction 100 indicating a normal instruction fetch is output, this instruction 100 passes through the gate 4 and is input to the bus controller 3 as a bus control signal. As a result, the bus controller 3 gives a read signal 900 to the main memory 2, so that the command in the memory 2 is read out and inputted as data 500 to the selector 8.

通常、第1マイクロ命令600は出力されていないため
、セレクタ8からは上記データ500が通過し、RIB
lへ入力されここで保持される。その後、RIBlに格
納した命令を実行する第4マイクロ命令300が入力さ
れると、RIBIの内容は命令処理部5ヘロードされ、
1つのマイクロ命令が実行される。一方、RIBチェッ
ク回路6はRIBIの空き状態を監視し、RIBlが空
になったことを検出すると、主メモリ2のリードリクエ
スト信号200をゲート9へ出力する。この時、上記し
た第3マイクロ命令100が出力された際に、フリップ
フロップ10はリセットされ、このフリップフロップ1
0からゲート9へ出力される制御信@700はオフとな
っている。このためリフニス1〜信、Q200はゲート
9、ゲート4を通過してバスコントロール信号となりバ
スコントローラ3へ入力される。このため、バスコント
ローラ3は主メモリ2にリード信号900を与え、主メ
モリ2内の命令を読み出す。後の動作は上記の動作と同
様に、ここで読み出された命令はデータ500としてセ
レクタ8を通過してRIBlに保持される。このRIB
lに保持された主メモリ2からの命令は上記と同様に命
令処理部5ヘロードされ、次のマイクロ命令が実1′:
Jされると共に、RIBチェック回路6がら主メモリ2
のリードリクエスト信号200が出力される。
Normally, the first microinstruction 600 is not output, so the data 500 is passed from the selector 8, and the RIB
It is input to l and held there. After that, when the fourth microinstruction 300 that executes the instruction stored in RIB1 is input, the contents of RIBI are loaded to the instruction processing unit 5,
One microinstruction is executed. On the other hand, the RIB check circuit 6 monitors the empty state of RIBI, and when it detects that RIB1 is empty, outputs the read request signal 200 of the main memory 2 to the gate 9. At this time, when the third microinstruction 100 described above is output, the flip-flop 10 is reset, and this flip-flop 1
The control signal @700 output from gate 9 to gate 9 is off. Therefore, the signals Q200 pass through gates 9 and 4 to become bus control signals and are input to the bus controller 3. For this purpose, the bus controller 3 provides a read signal 900 to the main memory 2 to read out the instructions in the main memory 2. The subsequent operation is similar to the above operation, and the instruction read here passes through the selector 8 as data 500 and is held in RIB1. This RIB
The instruction from the main memory 2 held in 1 is loaded to the instruction processing unit 5 in the same manner as above, and the next microinstruction is executed as the actual 1':
At the same time, the main memory 2 is
A read request signal 200 is output.

上記のような動作が繰り返されて主メモリ2内の命令が
順次実行される。
The above operations are repeated to sequentially execute instructions in the main memory 2.

次に、RIBI関連のマイクロ命令の診断を行なう時に
は、先ず第1マイクロ命令600が出力されることによ
り、セレクタ8は、算術論理演算回路7からのデータ4
00ALUIを選択通過し、RIBIへ出力する。その
1多、第2マイクロ命令800がRIBlへ出力される
と、RIBlに保持されたデータが命令処理部5ヘロー
ドされ処理される。RIBチェック回路6はRIBlが
空になったことを検出すると同様にリードリクエスト信
号200をゲート9へ出力する。しかし、フリップフロ
ップ10は第2マイクロ命令800によってセットされ
ているため、フリップフロップ10からの出力信号70
0はオンとなり、リードリクエスト信号200のゲート
9の通過を阻止する。従って、バスコントローラ3には
リードリクエスト信号200による、バスコントロール
信号が入力されないため、メモリ2から命令が読み出さ
れることがなくなる。
Next, when diagnosing a RIBI-related microinstruction, first the first microinstruction 600 is output, so that the selector 8 receives the data 4 from the arithmetic logic circuit 7.
00ALUI is selected and output to RIBI. When the second microinstruction 800 is output to the RIB1, the data held in the RIB1 is loaded to the instruction processing unit 5 and processed. When the RIB check circuit 6 detects that RIBl is empty, it similarly outputs a read request signal 200 to the gate 9. However, since flip-flop 10 is set by the second microinstruction 800, the output signal 70 from flip-flop 10
0 is turned on and prevents the read request signal 200 from passing through the gate 9. Therefore, since no bus control signal based on the read request signal 200 is input to the bus controller 3, no command is read from the memory 2.

本実施例によれば、算術論理演算回路7からのデータ4
00をRIBlに保持させた後、このデータを命令処理
部5ヘロードさせることにより、主メモリ2の有無に関
係なくRIBI関連のマイクロ命令(第1〜第4)に対
象を絞って診断を行なえばよく、診断の精度を向上させ
ることができる。
According to this embodiment, the data 4 from the arithmetic logic operation circuit 7
After holding 00 in RIB1, by loading this data to the instruction processing unit 5, the diagnosis can be performed by focusing on the RIBI-related microinstructions (1st to 4th) regardless of the presence or absence of the main memory 2. This can often improve the accuracy of diagnosis.

以上記述した如く本発明のマイクロ命令診断方式によれ
ば、主メモリから読み出されるデータの代りに、算術論
理演算回路が出力するデータをインストラクションバッ
ファに保持させ、保持されたデータを命令処理部ヘロー
ドさせることにより、インストラクションバッファ関連
のマイクロ命令に診断の対象を限定して精度の高い診断
を行ない得る効果がある。
As described above, according to the microinstruction diagnostic method of the present invention, instead of data read from the main memory, the data output by the arithmetic and logic circuit is held in the instruction buffer, and the held data is loaded to the instruction processing unit. This has the effect of limiting the target of diagnosis to microinstructions related to the instruction buffer and making it possible to perform highly accurate diagnosis.

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

第1図は本発明のマイクロ命令診断方式を適用した計算
機の一実施例を示したブロック図、第2図は従来のマイ
クロ命令診断方式を適用した計算機の一例を示したブロ
ック図である。 1・・・インストラクションバッファ 2・・・主メモリ    3・・・バスコントローラ4
.9・・・ゲート   5・・・命令処理部6・・・R
IBチェック回路 7・・・算術論理演算回路 8・・・セレクタ   10・・・フリップフロップ代
理人 弁理士  則 近 憲 缶 周      山 玉   −
FIG. 1 is a block diagram showing an embodiment of a computer to which the microinstruction diagnosis method of the present invention is applied, and FIG. 2 is a block diagram showing an example of a computer to which the conventional microinstruction diagnosis method is applied. 1... Instruction buffer 2... Main memory 3... Bus controller 4
.. 9...Gate 5...Instruction processing unit 6...R
IB check circuit 7...Arithmetic logic operation circuit 8...Selector 10...Flip-flop agent Patent attorney Nori Chika Ken Ken Shu Yama Tama -

Claims (1)

【特許請求の範囲】[Claims] 主メモリとインストラクションバッファとの間に設けら
れたセレクタと、このセレクタの他方の入力に接続され
た算術論理演算回路と、上記算術論理演算回路からの出
力データを選択するよう前記セレクタを制御する第1マ
イクロ命令と、この第1マイクロ命令の後に出力される
第2マイクロ命令によつて前記インストラクションバッ
ファからの出力データを命令処理部に出力せしめる手段
と、前記第2マイクロ命令によつて上記主メモリに出力
される命令リードリクエストを抑止する手段とを具備す
るマイクロ命令診断方式。
a selector provided between the main memory and the instruction buffer; an arithmetic logic circuit connected to the other input of the selector; one microinstruction, a second microinstruction output after the first microinstruction, and means for outputting output data from the instruction buffer to the instruction processing unit; A microinstruction diagnostic method comprising means for suppressing an instruction read request output to the microinstruction diagnostic method.
JP60214931A 1985-09-30 1985-09-30 Diagnostic system for microinstruction Pending JPS6275743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60214931A JPS6275743A (en) 1985-09-30 1985-09-30 Diagnostic system for microinstruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60214931A JPS6275743A (en) 1985-09-30 1985-09-30 Diagnostic system for microinstruction

Publications (1)

Publication Number Publication Date
JPS6275743A true JPS6275743A (en) 1987-04-07

Family

ID=16663941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60214931A Pending JPS6275743A (en) 1985-09-30 1985-09-30 Diagnostic system for microinstruction

Country Status (1)

Country Link
JP (1) JPS6275743A (en)

Similar Documents

Publication Publication Date Title
JP2539199B2 (en) Digital processor controller
US4628436A (en) Digital controller
US4807113A (en) Microprogrammed control data processing apparatus in which operand source and/or operand destination is determined independent of microprogram control
JPS5935056B2 (en) data processing equipment
JPH031699B2 (en)
US6229543B1 (en) Microprocessor, and graphics processing apparatus and method using the same
JPH05143476A (en) Diagnostic system for instruction queue
US4631672A (en) Arithmetic control apparatus for a pipeline processing system
JPH0743648B2 (en) Information processing equipment
JPS6275743A (en) Diagnostic system for microinstruction
EP0169577B1 (en) Microcomputer
US6437790B1 (en) Apparatus for bit operational process
US6727903B1 (en) Microprocessor, and graphics processing apparatus and method using the same
JPH0222413B2 (en)
JPS60241132A (en) Microprogram sequence controller
JP3144004B2 (en) Conditional branch processing unit
JPS6028014B2 (en) microprocessor
JPS6326416B2 (en)
JPS63271530A (en) Instruction execution control system
JPS6223894B2 (en)
JPS5936853A (en) Operation processor
JPS62168232A (en) Microprogram controller
JPS6113612B2 (en)
JPS62143138A (en) Microprogram controller
JPS6027070A (en) Vector processor