JPS62290944A - Evaluation system for microprogram - Google Patents

Evaluation system for microprogram

Info

Publication number
JPS62290944A
JPS62290944A JP61134648A JP13464886A JPS62290944A JP S62290944 A JPS62290944 A JP S62290944A JP 61134648 A JP61134648 A JP 61134648A JP 13464886 A JP13464886 A JP 13464886A JP S62290944 A JPS62290944 A JP S62290944A
Authority
JP
Japan
Prior art keywords
microprogram
parity
service processor
evaluation
storage circuit
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
JP61134648A
Other languages
Japanese (ja)
Inventor
Toshikatsu Nagasawa
長澤 敏勝
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61134648A priority Critical patent/JPS62290944A/en
Publication of JPS62290944A publication Critical patent/JPS62290944A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily know an unevaluated microprogram by writing previously the parity error data to the parity bit part of a microprogram command and reading out a microprogram containing a parity bit by a service processor after the end of evaluation to decide presence or absence of a parity error. CONSTITUTION:When a microprogram is carried out, a foul parity is written to the parity bit field of the microprogram. A service processor 10 reads out the contents of a microprogram memory circuit 1 via a data signal line 100 after an evaluation program is run. Then it is checked whether the parity bit of the microprogram is correct or not. The microprogram containing a normal parity bit is equal to the one that is not executed yet. While the microprogram containing a foul parity bit is equal to the one that is executed once or more. In such a way, an unevaluated microprogram can be known.

Description

【発明の詳細な説明】 3、発明の詳細な説明 (産業上の利用分野) 本発明はマイクロプログラムの評価方式に関し、特にパ
リティビットをもったマイクロプログラムの評価に関す
る。
Detailed Description of the Invention 3. Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a microprogram evaluation method, and particularly to the evaluation of a microprogram having a parity bit.

(従来の技術) 従来、この種の装置の評価は評価プログラムを実行させ
るだけによって行っていたため、機械語レベルでの評価
は進んでいた。しかし、マイクロプログラムレベルです
べてのルーチンを通過し念か否かの評価は進んでいなか
った。
(Prior Art) Conventionally, this type of device has been evaluated simply by executing an evaluation program, so evaluation at the machine language level has progressed. However, no progress has been made in evaluating whether or not all routines have been passed at the microprogram level.

(発明が解決しようとする問題点) 上述した従来の評価方式は、機械語レベルの評価プログ
ラムを実行させるだけによって行われておシ、マイクロ
プログラムの分岐を評価できないケースがあるという欠
点がある。
(Problems to be Solved by the Invention) The conventional evaluation method described above is performed only by executing an evaluation program at the machine language level, and has a drawback in that there are cases where branching of a microprogram cannot be evaluated.

したがって、装置の出荷後、一度も評価していないケー
スのマイクロプログラムのバグの発見されることがある
という欠点がある。
Therefore, there is a drawback that bugs in microprograms that have never been evaluated may be discovered after the device is shipped.

本発明の目的は、サービスプロセサからのマイクロプロ
グラムを評価モードで実行し、マイクロプログラムコマ
ンドを読出してパリティエラーを発生させ、マイクロプ
ログラムコマンドのパリティビット部にパリティエラー
データを書込んでおき、評価終了後にサービスプロセサ
により、パリティビットをもったマイクロプログラムを
読出してパリティエラーの有無を判定することによシ上
記欠点を除去し、マイクロプログラムのバグを容易に見
出すことができるように構成したマイクロプログラム評
価方式を提供することにある。
The purpose of the present invention is to execute a microprogram from a service processor in evaluation mode, read a microprogram command to generate a parity error, write parity error data to the parity bit part of the microprogram command, and then terminate the evaluation. A microprogram evaluation system configured to eliminate the above drawbacks and easily find bugs in the microprogram by later reading the microprogram with the parity bit by a service processor and determining the presence or absence of a parity error. The purpose is to provide a method.

(問題点を解決する念めの手段) 本発明によるマイクロプログラム評価方式はサービスプ
ロセサと、サービスプロセサに接続されたマイクロプロ
グラム制御装置とを具備して構成したものであって、マ
イクロプログラム制御装置はマイクロプログラム記憶回
路と、アドレスレジスタト、マイクロプログラムコマン
ドレジヌタと、フリップフロップと、パリティエラー発
生回路と、ANDゲートとを具備したものである。
(Measures to Solve Problems) The microprogram evaluation method according to the present invention is configured to include a service processor and a microprogram control device connected to the service processor. It is equipped with a microprogram storage circuit, an address register, a microprogram command register, a flip-flop, a parity error generation circuit, and an AND gate.

マイクロプログラム記憶回路は、パリティピットをもっ
たワード構成を有してマイクロプログラムを格納するた
めのものである。
The microprogram storage circuit has a word structure with parity pits and is used to store microprograms.

アドレスレジスタは、マイク吐プログラム記憶回路に格
納てれたマイクロプログラムのアドレスを格納するため
のものである。
The address register is for storing the address of the microprogram stored in the microphone ejection program storage circuit.

マイクロプログラムコマンドレジヌタは、マイクロプロ
グラム配憶回路の出力を格納するためのものである。
The microprogram command register is for storing the output of the microprogram storage circuit.

フリツブフロツブハ、サービスプロセサからマイクロプ
ログラム計測モードをセットするためのものである。
The fritsub is used to set the microprogram measurement mode from the service processor.

パリティエラー発生回路は、マイクロプログラム評価時
にマイクロプログラムコマンドレジヌタにマイクロプロ
グラム記憶回路の内容を読出すことにより、マイクロプ
ログラムコマンドのパリティエラーを発生し、マイクロ
プログラムコマンドのパリティビット部にパリティエラ
ーのデータを書込むためのものである。
The parity error generation circuit generates a parity error of the microprogram command by reading the contents of the microprogram storage circuit into the microprogram command register during microprogram evaluation, and stores the parity error data in the parity bit part of the microprogram command. It is for writing.

ANDゲートは、マイクロプログラム計画の終了後にサ
ービスプロセサによりマイクロプログラム記憶回路の内
容を読出してパリティエラーの有無の判定に使用するた
めのものである。
The AND gate is used to read the contents of the microprogram storage circuit by the service processor after the completion of the microprogram plan and use it to determine the presence or absence of a parity error.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるマイクロプログラム評価方式を
実現する一実施例を示すブロック図である。第1図にお
いて、1はマイクロプログラム記憶回路、2はアドレス
レジスタ、3はマイクロプログラムコマンドレジヌタ、
4はフリップフロップ、5はパリティエラー発生回路、
6はANDゲー)、10はサービスプロセサ、11はマ
イクロプログラム制御装置である。
FIG. 1 is a block diagram showing an embodiment of the microprogram evaluation method according to the present invention. In FIG. 1, 1 is a microprogram storage circuit, 2 is an address register, 3 is a microprogram command register,
4 is a flip-flop, 5 is a parity error generation circuit,
6 is an AND game), 10 is a service processor, and 11 is a microprogram control device.

第1図において、マイクロプログラム制御装置11はマ
イクロプログラム記憶回路1と、マイクロプログラム記
憶回路1のアドレスレジスタ2と、マイクロプログラム
記憶回路1の出力を保持するためのマイクロプログラム
コマンドレジヌタ3と、マイクロプログラムの実行時に
サービスプロセサ10から評価モードにするために評価
モードをセットするためのフリップフロップ4と、マイ
クロコマンドレジスタ3のマイクロプログラムにパリテ
ィエラーを発生させるためのパリティエラー発生回路5
と、マイクロプログラム記憶回路1のパリティピットフ
ィールドを書替えるために、マイクロプログラム記憶回
路1の書込みパルスを7リツプフロツブ4の出力によっ
て有効化するためのANDゲート6とから構成はれる。
In FIG. 1, a microprogram control device 11 includes a microprogram storage circuit 1, an address register 2 of the microprogram storage circuit 1, a microprogram command register 3 for holding the output of the microprogram storage circuit 1, and a microprogram storage circuit 1. A flip-flop 4 is used to set the evaluation mode from the service processor 10 during program execution, and a parity error generation circuit 5 is used to generate a parity error in the microprogram of the microcommand register 3.
and an AND gate 6 for validating the write pulse of the microprogram storage circuit 1 by the output of the seven lip flop 4 in order to rewrite the parity pit field of the microprogram storage circuit 1.

第2図は、第1図の動作を説明するための各信号のタイ
ミング図である。
FIG. 2 is a timing diagram of each signal for explaining the operation of FIG. 1.

次に、第1図、しよび第2図を参照して動作を説明する
Next, the operation will be explained with reference to FIGS. 1 and 2.

第1のマシンサイクルの第3相でマイクロプログラムア
ドレスaがアドレスレジスタ2にセットされ、第2のマ
シンサイクルの第1相でマイクロプログラム記憶回路1
の内容が読出されてマイクロプログラムコマンドレジス
タ3にマイクロプログラムコマンドAがセットされる。
The microprogram address a is set in the address register 2 in the third phase of the first machine cycle, and the microprogram storage circuit 1 is set in the first phase of the second machine cycle.
The contents of are read out and the microprogram command A is set in the microprogram command register 3.

第2のマシンサイクルの第2相ではマイクロプログラム
コマンドレジスタ3に格納されているマイクロプログラ
ムコマンドAのパリティエラーデータが、パリティエラ
ー発生回路5を通ってマイクロプログラム記憶回路1の
パリティピットフィールドに書込まれる。マイクロプロ
グラムコマンドAの次のアドレスbが、第2のマシンサ
イクルの第3相でアドレスレジスタ2にセットされる。
In the second phase of the second machine cycle, the parity error data of the microprogram command A stored in the microprogram command register 3 is written to the parity pit field of the microprogram storage circuit 1 through the parity error generation circuit 5. It will be done. The next address b of microprogram command A is set in address register 2 in the third phase of the second machine cycle.

このようにしてマイクロプログラムが実行されると、実
行されたマイクロプログラムのパリティピットフィール
ドに不正パリティが書込まれる。
When the microprogram is executed in this manner, invalid parity is written in the parity pit field of the executed microprogram.

評価プログラムの走行後、データ信号線100を介して
サービスプロセサ10はマイクロプログラム記憶回路1
の内容を読出し、マイクロプログラムのパリティピット
が正しいか否かを分類する。
After the evaluation program runs, the service processor 10 connects the microprogram storage circuit 1 to the microprogram storage circuit 1 via the data signal line 100.
The contents of the microprogram are read and classified whether the parity pit of the microprogram is correct or not.

パリティピットが正常のマイクロプログラムは、一度も
実行されていないマイクロプログラムである。逆に、パ
リティピットが不正のマイクロプログラムは、一度以上
実行されたマイクロプログラムである。このように分類
すると、未評価のマイクロプログラムを知ることができ
る。
A microprogram with a normal parity pit is a microprogram that has never been executed. Conversely, a microprogram with an invalid parity pit is a microprogram that has been executed more than once. By classifying in this way, you can find out which microprograms have not been evaluated.

(発明の効果) 以上説明したように本発明は、サービスプロセサからの
マイクロプログラムを評価モードで実行し0、マイクロ
プログラムコマンドを読出してパリティエラーを発生さ
せ、マイクロプログラムコマンドのパリティピット部に
パリティエラーデータを書込んでおき、評価終了後にサ
ービスプロセサによシ、パリティピットをもったマイク
ロプログラムを読出してパリティエラーの有無を判定す
ることにより、マイクロプログラムのパリティピットを
使ってマイクロプログラムが評価されたか否かを判定す
ることができるため、未評価のマイクロプログラムを容
易に知ることができるという効果がある。
(Effects of the Invention) As explained above, the present invention executes a microprogram from a service processor in evaluation mode, reads a microprogram command, generates a parity error, and writes a parity error in the parity pit part of the microprogram command. The microprogram is evaluated using the parity pits of the microprogram by writing data in advance and reading the microprogram with parity pits by the service processor after the evaluation is completed to determine whether there is a parity error. Since it is possible to determine whether or not the evaluation has been completed, there is an effect that it is possible to easily know which microprograms have not been evaluated.

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

第1図は、本発明によるマイクロプログラム評価方式を
実現する一実施例を示すブロック図である。 第2図は、第1図の各部における動作信号を示すタイミ
ング図である。 1・・・マイクロプログラム記憶回路 2・・・アドレスレジスタ 3・・・マイクロプログラムコマンドレジスタ4・・・
フリップフロップ 5・・・パリティエラー発生回路 6・・・ANDゲート 10・・・サービスプロセサ 11・・・マイクロプログラム制御装置100・・・信
号線
FIG. 1 is a block diagram showing an embodiment of the microprogram evaluation method according to the present invention. FIG. 2 is a timing diagram showing operation signals in each part of FIG. 1. 1...Microprogram storage circuit 2...Address register 3...Microprogram command register 4...
Flip-flop 5...Parity error generation circuit 6...AND gate 10...Service processor 11...Microprogram control device 100...Signal line

Claims (1)

【特許請求の範囲】[Claims] サービスプロセサと、前記サービスプロセサに接続され
たマイクロプログラム制御装置とを具備して構成したマ
イクロプログラム評価方式であって、前記マイクロプロ
グラム制御装置はパリティビットをもったワード構成を
有してマイクロプログラムを格納するためのマイクロプ
ログラム記憶回路と、前記マイクロプログラム記憶回路
に格納されたマイクロプログラムのアドレスを格納する
ためのアドレスレジスタと、前記マイクロプログラム記
憶回路の出力を格納するためのマイクロプログラムコマ
ンドレジスタと、前記サービスプロセサからマイクロプ
ログラム評価モードをセットするためのフリップフロッ
プと、前記マイクロプログラム評価時に前記マイクロプ
ログラムコマンドレジスタに前記マイクロプログラム記
憶回路の内容を読出すことにより前記マイクロプログラ
ムコマンドのパリティエラーを発生し、前記マイクロプ
ログラムコマンドのパリティビット部に前記パリティエ
ラーのデータを書込むためのパリティエラー発生回路と
、前記マイクロプログラム評価の終了後に前記サービス
プロセサにより前記マイクロプログラム記憶回路の内容
を読出して前記パリティエラーの有無の判定に使用する
ためのANDゲートとから構成したものであることを特
徴とするマイクロプログラム評価方式。
A microprogram evaluation method comprising a service processor and a microprogram control device connected to the service processor, wherein the microprogram control device has a word structure with a parity bit and executes the microprogram. a microprogram storage circuit for storing, an address register for storing the address of the microprogram stored in the microprogram storage circuit, and a microprogram command register for storing the output of the microprogram storage circuit; a flip-flop for setting a microprogram evaluation mode from the service processor; and a flip-flop for generating a parity error in the microprogram command by reading the contents of the microprogram storage circuit into the microprogram command register during evaluation of the microprogram. , a parity error generation circuit for writing the parity error data into the parity bit portion of the microprogram command; and a parity error generating circuit for reading the contents of the microprogram storage circuit by the service processor after the microprogram evaluation is completed to detect the parity error. A microprogram evaluation method comprising an AND gate for use in determining the presence or absence of a microprogram.
JP61134648A 1986-06-10 1986-06-10 Evaluation system for microprogram Pending JPS62290944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61134648A JPS62290944A (en) 1986-06-10 1986-06-10 Evaluation system for microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61134648A JPS62290944A (en) 1986-06-10 1986-06-10 Evaluation system for microprogram

Publications (1)

Publication Number Publication Date
JPS62290944A true JPS62290944A (en) 1987-12-17

Family

ID=15133283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61134648A Pending JPS62290944A (en) 1986-06-10 1986-06-10 Evaluation system for microprogram

Country Status (1)

Country Link
JP (1) JPS62290944A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH075555A (en) * 1994-04-15 1995-01-10 Nikon Corp Camera

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5794856A (en) * 1980-12-05 1982-06-12 Nec Corp Control storage device
JPS6011943A (en) * 1983-06-30 1985-01-22 Fujitsu Ltd Inspection system for test program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5794856A (en) * 1980-12-05 1982-06-12 Nec Corp Control storage device
JPS6011943A (en) * 1983-06-30 1985-01-22 Fujitsu Ltd Inspection system for test program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH075555A (en) * 1994-04-15 1995-01-10 Nikon Corp Camera

Similar Documents

Publication Publication Date Title
JP2000501872A (en) Processing system and method for reading and reproducing information in a RAM structure
JPS62290944A (en) Evaluation system for microprogram
JPS6011943A (en) Inspection system for test program
JP3147010B2 (en) Semiconductor storage device
JPH04332997A (en) Troubleshooting system
JP2641917B2 (en) Memory element
JPH01166144A (en) Debugging system for firmware program
JPS6325743A (en) Evaluation system for microprogram
US7124061B2 (en) System LSI
JPH0326416B2 (en)
JPS56159747A (en) Program testing device
JPS59153247A (en) Debugging device
JPS6261974B2 (en)
JPH04372025A (en) Storage device with access bit
JPH0250740A (en) Address tracer
JPS5936853A (en) Operation processor
JPH0253147A (en) Microprogram checking system
JPH096685A (en) Memory device and its error test method
JPS6170644A (en) Program debugging system
JPH0315948A (en) Address bus test system
JPH0535548A (en) Address tracer
JPS6236578B2 (en)
JPS63163542A (en) Test circuit
JPS62168241A (en) Microprogram controller
JPS60195651A (en) Operation processor