JPS58181156A - Storage device of state history - Google Patents

Storage device of state history

Info

Publication number
JPS58181156A
JPS58181156A JP57064173A JP6417382A JPS58181156A JP S58181156 A JPS58181156 A JP S58181156A JP 57064173 A JP57064173 A JP 57064173A JP 6417382 A JP6417382 A JP 6417382A JP S58181156 A JPS58181156 A JP S58181156A
Authority
JP
Japan
Prior art keywords
address
circuit
history storage
contents
state history
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
JP57064173A
Other languages
Japanese (ja)
Inventor
Mitsuo Aoyanagi
青柳 光男
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
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57064173A priority Critical patent/JPS58181156A/en
Publication of JPS58181156A publication Critical patent/JPS58181156A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To use effectively a state history storage circuit, by selecting address contents to be stored in the state history storage circuit in accordance with detection of two specific patterns provided in a micro instruction word. CONSTITUTION:A micro (mu) instruction word is read out from a mu instruction word memory 12 in accordance with an address from a mu instruction word read address circuit 11. Internal status information designated by the memory 12 is stored successively in a state history storage circuit 20. In this case, when the first specific pattern included in the mu instruction word is detected by a pattern detecting circuit 13, contents of an address register 30 which designates the address of the circuit 20, where state information should be stored, with parallel information are saved in an address buffer 22 after they are increased in an address counter 31 by one. When the second specific pattern of the mu instruction word is detected by the circuit 13, contents of the buffer 22 are stored again in the register 30. A selecting circuit 33 selects contents of the counter 31 or the buffer 22 in accordance with the first and the second pattern detected by the circuit 13 and stores them in the register 30.

Description

【発明の詳細な説明】 (技術分野の説明) 本発明は情報処理装置における動作をトレースするため
、状態履歴を逐一記憶する状態履歴記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Description of Technical Field) The present invention relates to a state history storage device that stores state history point by point in order to trace operations in an information processing device.

(従来技術の説明) 従来方式の状態履歴記憶装置の構成を第1図に示す。第
1図において、状態履歴記憶装置1の内部は命令実行制
御回路10と、状態履歴記憶回路20と、内部状態情報
レジスタ32と、アドレスレジスタ30と、アドレスカ
ウンタ31から成立つ。アドレスレジスタ30は状態履
歴記憶回路20のアドレスを指定するものであり、アド
レスカウンタ31はアドレスを1づつ増分してアドレス
レジスタ30に供給するものである。
(Description of Prior Art) The configuration of a conventional state history storage device is shown in FIG. In FIG. 1, the interior of the state history storage device 1 consists of an instruction execution control circuit 10, a state history storage circuit 20, an internal state information register 32, an address register 30, and an address counter 31. The address register 30 specifies the address of the state history storage circuit 20, and the address counter 31 increments the address by 1 and supplies it to the address register 30.

ファームウェアステップのような各種ステップ毎に命令
実行制御回路10から出力される内容は内部状態情報レ
ジスタ32にいったん格納された後、状態履歴記憶回路
20に出力される。このとき、状態履歴記憶回路20の
書込みアドレスはアドレスレジスタ30で与えられてお
り、状態履歴記憶回路20へ内部状態レジスタ32の内
容が転送され、この内容が状態履歴記憶回路20に格納
される毎にアドレスレジスタ30の内容がアドレスカウ
ンタ31によって1だけ増分される。そこで、アドレス
レジスタ30は次の書込みアドレスを指示するように設
定され、内部状態情報が状態履歴記憶回路20の低位ア
ドレスから順次高位アドレスへ記憶される。このように
して内部状態情報が記憶されているので、障害発生時に
は状態履歴配憶回路20の内部に格納されている内部状
態情報を増出して障害処理対策に利用してきた。しかし
、状態履歴記憶回路20の記憶容量が限られているため
、状態履歴記憶回路20の最高位アドレスまで内部状態
情報を格納した後ではアドレスレジスタ30は再び状態
履歴記憶回路20の最下位アドレスを指定する。さらに
、最下位アドレスに状態情報が格納されると、アドレス
レジスタ30はアドレスカウンタ31によって次のアド
レスを指定する。このため、状態履歴記憶回路20に記
憶されている内部状態情報が低位アドレスから順次書き
換えられるわけである。したがって、ファームウェア内
の各命令ステップ毎に内部の状態情報を逐一状態履歴記
憶回路20に格納するような動作トレースでは、次の命
令待ちを行って同一77−Aウェア内のステップループ
を何度も実行している場合に、そのファームウェアステ
ップに関するステップ情報が状態履歴配憶回路20に格
納される。障害発生時には、これらの冗長な情報が状態
履歴記憶回路20の内部に充されているので、有効か状
態情報を逸してしまうという欠点があった。
Contents output from the instruction execution control circuit 10 for each step such as a firmware step are once stored in the internal state information register 32 and then output to the state history storage circuit 20. At this time, the write address of the state history storage circuit 20 is given by the address register 30, and each time the contents of the internal state register 32 are transferred to the state history storage circuit 20 and stored in the state history storage circuit 20. Then, the contents of the address register 30 are incremented by one by the address counter 31. Therefore, the address register 30 is set to indicate the next write address, and the internal state information is stored in the state history storage circuit 20 sequentially from the lower address to the higher address. Since the internal state information is stored in this manner, when a failure occurs, the internal state information stored inside the state history storage circuit 20 is increased and used as a countermeasure for failure handling. However, since the storage capacity of the state history storage circuit 20 is limited, after storing the internal state information up to the highest address of the state history storage circuit 20, the address register 30 again stores the lowest address of the state history storage circuit 20. specify. Further, when the status information is stored at the lowest address, the address register 30 specifies the next address using the address counter 31. Therefore, the internal state information stored in the state history storage circuit 20 is sequentially rewritten starting from the lowest address. Therefore, in an operation trace in which internal state information is stored in the state history storage circuit 20 one by one for each instruction step in the firmware, the step loop in the same 77-Aware is repeated many times by waiting for the next instruction. If the firmware step is being executed, step information regarding that firmware step is stored in the state history storage circuit 20. When a failure occurs, since the state history storage circuit 20 is filled with such redundant information, there is a drawback that valid state information is lost.

(発明の詳細な説明) 本発明の目的は状態履歴記憶回路と、アドレスレジスタ
と、アドレスカウンタと、アドレスバッファと、マイク
ロ命令語メモリと、マイクロ命令語読出しアドレス回路
と2選択回路と、パターン検出回路とを具備して上記欠
点を除去し有効に状態履歴記憶回路を利用するように構
成した状態履歴記憶装置を提供することにある。
(Detailed Description of the Invention) The object of the present invention is to provide a state history storage circuit, an address register, an address counter, an address buffer, a micro-instruction word memory, a micro-instruction word read address circuit, a 2-selection circuit, and a pattern detection circuit. It is an object of the present invention to provide a state history storage device which is equipped with a circuit, eliminates the above-mentioned drawbacks, and is configured to effectively utilize the state history storage circuit.

(発明の構成と作用の説明) 本発明による状態履歴記憶装置はマイクロ命令語によっ
て制御された情報処理装置に使用するためのもので、状
態履歴記憶回路と、アドレスレジスタと、アドレスカウ
ンタと、アドレスバッファと、マイクロ命令語メモリと
、マイクロ命令語読出しアドレス回路と1選択回路と、
パターン検出回路とを具備して構成したものである。状
態履歴記憶回路は情報処理装置の内部状態情報を逐一格
納して登録するものである。アドレスレジスタは状態履
歴記憶回路のどのアドレスに内部状態情報を格納するか
を並列情報で表わされたアドレス情報によって指定する
。アドレスカウンタは、アドレスレジスタの内容を1だ
け増分させる。アドレスバッファは、アドレスカウンタ
の内容を一時的に退避しておくものである。マイクロ命
令語メモリは、マイクロ命令語を格納するものである。
(Description of structure and operation of the invention) The state history storage device according to the present invention is for use in an information processing device controlled by a microinstruction word, and includes a state history storage circuit, an address register, an address counter, and an address register. a buffer, a micro-instruction word memory, a micro-instruction word read address circuit, and a 1 selection circuit;
This configuration includes a pattern detection circuit. The state history storage circuit stores and registers the internal state information of the information processing device one by one. The address register specifies at which address in the state history storage circuit internal state information is to be stored, using address information expressed as parallel information. The address counter increments the contents of the address register by one. The address buffer temporarily saves the contents of the address counter. The micro-instruction word memory stores micro-instruction words.

マイクロ命令語読出しアドレス回路は、マイクロ命令語
をマイクロ命令語メモリから読出すためのものである。
The microinstruction word read address circuit is for reading microinstruction words from the microinstruction word memory.

選択回路はアドレスレジスタの内容を1だけ増分した値
のみを選択するもので、アドレスバッファの出力か、あ
るいはアドレスカウンタの出力かのどちらかを択一選択
する。パターン検出回路は、マイクロ命令語メモリに格
納されているマイクロ命令語から第1および第2の事+
定ノ(ターンを検出するものである。マイクロ命令語か
ら第1の特定パターンを検出したとき、アドレスレジス
タの内容を1だけ増分した後でアドレスバツファに退避
し、第2の特定パターンを検出したと′@罠、アドレス
バッファの内容をアドレスレジスタへ再格納する。これ
によって、状態履歴記憶回路へ状態履歴情報を格納して
登録する。
The selection circuit selects only the value obtained by incrementing the contents of the address register by 1, and selects either the output of the address buffer or the output of the address counter. The pattern detection circuit detects first and second information from the microinstruction word stored in the microinstruction word memory.
This is to detect a constant turn. When the first specific pattern is detected from the microinstruction word, the contents of the address register are incremented by 1, then saved to the address buffer, and the second specific pattern is detected. Then, the contents of the address buffer are stored in the address register again. As a result, the state history information is stored and registered in the state history storage circuit.

(実施例の説明) 次に本発明について図面を参照して詳細に説明する。(Explanation of Examples) Next, the present invention will be explained in detail with reference to the drawings.

本発明による状態履歴記憶装置の一実施例のブロック図
を第2図に示す。第2図において、マイクロ命令語アド
レスの状態履歴記憶装置IFi状態履歴記憶回路20と
、アドレスレジスタ30と。
A block diagram of one embodiment of a state history storage device according to the present invention is shown in FIG. In FIG. 2, a microinstruction word address state history storage device IFi state history storage circuit 20 and an address register 30.

アドレスカウンタ31と、アドレスバッファ22と2選
択回路33と、マイクロ命令語メモリ12と、マイクロ
命令語読出しアドレス回路11と。
An address counter 31, an address buffer 22 and a 2 selection circuit 33, a microinstruction word memory 12, and a microinstruction word read address circuit 11.

パターン検出回路13とを具備して構成した屯のである
。状態履歴記憶回路20は、マイクロ命令語メモリ12
によって指定されたアドレスを逐一記憶しておくもので
ある。アドレスレジスタ30は、状態履歴記憶回路20
の書込みアドレスを示す。アドレスカウンタ31け状態
履歴記憶回路20ヘマイクロ命令@読出しアドレス回路
11の内容を転送して格納する毎にアドレスレジスタ3
0の内容を1だり増分する。アドレスバッファ22は、
パターン検出回路13によって検出された第1またけ第
2の特定ビットパターンに応じて、アドレスレジスタ3
0の内容をアドレスカウンタ31によって1だけ増分し
て退避する。選択回路33はパターン検出回路13によ
って検出された第1または第2の特定ビットパターンに
応じて、アドレスカウンタ31の内容か、あるいはアド
レスバッファ22の内容かのいずれかを選択し、アドレ
スレジスタ30に状態履歴記憶回路20の書込みアドレ
スを格納するためのゲートである。マイクロ命令語メモ
リ12けマイクロ命令語を格納するためのメモリである
。マイクロ扁令語読出しアドレス回路11は、マイクロ
命令語メモリ12からマイクロ命令語を読出すためのア
ドレスを指定する。マイクロ命令語読出しアドレス回路
11によって指定されたアドレスによって、パターン検
出回路13はマイクロ命令語メモリ12から読出したマ
イクロ命令語に含まれている第1または第2の特定ビッ
トパターンを検出するものである。
The pattern detection circuit 13 is configured to include a pattern detection circuit 13. The state history storage circuit 20 includes the microinstruction word memory 12
The address specified by is stored one by one. The address register 30 is the state history storage circuit 20
Indicates the write address. Each time the contents of the microinstruction @read address circuit 11 are transferred to the address counter 31 and the state history storage circuit 20 and stored, the address register 3
Increment the contents of 0 by 1. The address buffer 22 is
In accordance with the first-straddling second specific bit pattern detected by the pattern detection circuit 13,
The contents of 0 are incremented by 1 by the address counter 31 and saved. The selection circuit 33 selects either the contents of the address counter 31 or the contents of the address buffer 22 according to the first or second specific bit pattern detected by the pattern detection circuit 13, and stores the selected contents in the address register 30. This is a gate for storing the write address of the state history storage circuit 20. Micro-instruction word memory This is a memory for storing 12 micro-instruction words. The micro-instruction word read address circuit 11 specifies an address for reading a micro-instruction word from the micro-instruction word memory 12. The pattern detection circuit 13 detects the first or second specific bit pattern contained in the microinstruction word read from the microinstruction word memory 12 according to the address specified by the microinstruction word read address circuit 11. .

第2図に示す状態履歴記憶装置においては、例えば第3
図に示すようなマイクロ命令語がマイクロ命令語メモリ
12に格納されている。上に説明したように、第3図は
マイクロ命令語の一例を示す構成図であり、マイクロ命
令語は機能定義フィールド、同期フィールド、定数フィ
ールド、次アドレスフィールド、ならびに特定ビットか
ら成立つ。第1または第2の特定ビットパターンはパタ
ーン検出回路13によって検出される。第1の特定ビッ
トパターンは状態履歴記憶回路20の書込みアドレスを
アドレスバッファ22に転送して格納するように指定す
る。第2の特定ビットパターンはアドレスバッファ22
の内容を選択回路33を介してアドレスレジスタ30に
転送して格納するように指定する。これら第1または第
2の特定ビットパターンはマイクロ命令語の最下位に置
かれているが、機能定義フィールド内にあっても、七の
他のフィールド内にあって本よい。
In the state history storage device shown in FIG.
Micro-instruction words as shown in the figure are stored in the micro-instruction word memory 12. As explained above, FIG. 3 is a block diagram showing an example of a microinstruction word, and the microinstruction word is made up of a function definition field, a synchronization field, a constant field, a next address field, and a specific bit. The first or second specific bit pattern is detected by the pattern detection circuit 13. The first specific bit pattern specifies that the write address of the state history storage circuit 20 is transferred to the address buffer 22 and stored therein. The second specific bit pattern is the address buffer 22
The contents of the address register 30 are designated to be transferred to the address register 30 via the selection circuit 33 and stored therein. Although these first or second specific bit patterns are placed at the lowest position of the microinstruction word, they may be placed in the function definition field or in any other field.

第4図は第2図に示す状態履歴記憶装置における動作の
タイミング関係を示す図である。第4図において、51
flマイクロ命令語読出しアドレス回路11の出力、S
2はマイクロ命令語メモリ゛12から読出されたマイク
ロ命令語、S3はノシターン検出回路13によつ′C検
出された信号であや、53−1はアドレスバッファ22
に加えられる信号、83−2は選択回路33に加えられ
る信号でおる。また、S4はアドレスレジスタ30の出
力、S5Uアドレスバツフア22の内容を示したもので
ある。第4図において、アドレスCに格納されたマイク
ロ命令語Cには、アドレスバッファ22ヘアドレスレジ
スタ30の内容を転送するための第1の特定ビットパタ
ーンが含まれていると仮定する。また、アドレスEに格
納されたマイクロ命令語eには、アドレスバッファ22
の内容をアドレスレジスタ30に転送するための第2の
特定ビットパターンが倉まれでいると仮定する。アドレ
スDに格納されたマイクロ命令語dは、マイクロ命令語
の実行シーケンスとは非同期な動作をしている外部回路
との同期待ちを指定するものであシ、このマイクロ命令
を実行した彼、条件付き分岐によってマイクロ命令@@
、iのいずれかに分岐してゆく。その他、アドレスA、
B、C,E、Fに格納されたマイクロ命令語a、b、c
、e、fはマイクロ命令語の実行シーケンスと非同期な
動作をしている外部回路に対して同期待ちをしない動作
を指定する。
FIG. 4 is a diagram showing the timing relationship of operations in the state history storage device shown in FIG. 2. In Figure 4, 51
fl Microinstruction word read address circuit 11 output, S
2 is a microinstruction word read out from the microinstruction word memory 12, S3 is a signal detected by the nosit turn detection circuit 13, and 53-1 is the address buffer 22.
A signal 83-2 is a signal applied to the selection circuit 33. Further, S4 indicates the output of the address register 30 and the contents of the S5U address buffer 22. In FIG. 4, it is assumed that the microinstruction word C stored at address C includes a first specific bit pattern for transferring the contents of the address register 30 to the address buffer 22. Further, the microinstruction word e stored at address E is stored in the address buffer 22.
Assume that a second specific bit pattern is stored for transferring the contents of address register 30 to address register 30. The microinstruction word d stored at address D specifies a wait for synchronization with an external circuit that operates asynchronously with the execution sequence of the microinstruction word. Microinstruction @@ by branch with
, i. Others, address A,
Micro instruction words a, b, c stored in B, C, E, F
, e, and f specify an operation that does not wait for synchronization with an external circuit that is operating asynchronously with the execution sequence of the microinstruction word.

第5図は状態履歴記憶装置に格納されたマイクロ命令語
の格納状況を示すもので、第2図の実施例、第3図のマ
イクロ命令語、ならびに第4のタイミング図に対応した
ものである。以下に第2図〜第4図を参照しながら第5
図に関して状態履歴記憶装置の動作を説明する。ここで
、状態履歴記憶装置は第2図に示す実施例を取上げ、第
3図に示すマイクロ命令語が第4図に示すタイミングで
実行されるものであることは勿論である。
FIG. 5 shows the storage status of micro-instructions stored in the state history storage device, and corresponds to the embodiment of FIG. 2, the micro-instructions of FIG. 3, and the fourth timing diagram. . Below, with reference to Figures 2 to 4,
The operation of the state history storage device will now be described with reference to the figures. Here, the state history storage device is based on the embodiment shown in FIG. 2, and it goes without saying that the microinstructions shown in FIG. 3 are executed at the timing shown in FIG. 4.

マイクロ命令語読出しアドレス回路11によって指示さ
れたマイクロ命令語アドレスAに対応し、マイクロ命令
語メモリ12の内部に格納されているマイクロ命令@a
が読出される。このマイクロ命令語aをパターン検出回
路13に入力しても、パターン検出回路13では第1ま
たけ第2の特定ビットパターンを検出することはできな
い。したがって、アドレスレジスタ30によって指示さ
れた状態履歴記憶回路20の内部アドレスに剌し、マイ
クロ命令@読出しアドレス回路11で指定されたアドレ
スAが転送され格納される。そこで、このアドレスレジ
スタ30の内容はアドレスカウンタ31によって1だけ
増分される。マイクロ命令語aは、マイクロ命令語実行
シーケンスと同期していない外部回路との待合わせを行
う命令ではないため、マイクロ命令語読出しアドレス回
路11ではマイクロ命令語色で指定された次のマイクロ
命令語アドレスBをマイクロ命令語メモリ12の内部に
指定する。次の実行ステップでは、マイクロ命令語メモ
リ12からマイクロ命令語すが読出される。マイクロ命
令@bにはパターン検出回路13によって検出すべき第
1また#−を第2の特定ビットパターンが存在しない。
A microinstruction @a stored in the microinstruction memory 12 corresponding to the microinstruction address A designated by the microinstruction read address circuit 11
is read out. Even if this microinstruction word a is input to the pattern detection circuit 13, the pattern detection circuit 13 cannot detect the first and second specific bit patterns. Therefore, the address A specified by the microinstruction@read address circuit 11 is transferred and stored at the internal address of the state history storage circuit 20 specified by the address register 30. The contents of this address register 30 are then incremented by one by the address counter 31. Since the microinstruction word a is not an instruction to wait for an external circuit that is not synchronized with the microinstruction execution sequence, the microinstruction read address circuit 11 reads the next microinstruction word specified by the microinstruction color. Address B is designated inside the microinstruction word memory 12. In the next execution step, the microinstruction word is read from the microinstruction word memory 12. In the microinstruction @b, there is no first or #- or second specific bit pattern to be detected by the pattern detection circuit 13.

このため、アドレスレジスタ30によって指示された状
態履歴記憶回路20の内部のアドレスに、アドレスBが
転送されて格納される。さらに、マイクロ命令5bti
マイクロ命令語実行シーケンスと非同期動作をしている
外部回路との待合わせを行う命令ではないため、マイク
ロ命令語読出しアドレス回路11ではマイクロ命令@b
で指示された次のマイクロ命令語アドレスCをマイクロ
命令語メモリ12の内部に指定する。次の実行ステップ
では、マイクロ命令語メモリ12からマイクロ命令語C
が読出される。マイクロ命令語Cには、パターン検出回
路13によって検出すべき第1または第2の特定ビット
パターンが存在する。よって、新しくアドレスレジスタ
30によって指示された状態履歴記憶回路20の内部の
アドレスに、アドレスCが転送されて格納される。この
とき、アドレスレジスタ30はアドレスバッファ22か
ら情報を取込まないので、アドレスカウンタ31によっ
て指示されたアドレスが書込みアドレスとなυ、マイク
ロ命令語アドレスCが状態履歴記憶回路20に格納され
る。同様にして、マイクロ命令語Cの次のアドレスとし
てマイクロ命令語アドレスDがマイクロ命令語読出しア
ドレス回路11に指示される。マイクロ命令語メモリか
ら読出されたマイクロ命令語dは、マイクロ命令語実行
シーケンスと非同期の外部回路との待合わせを行う。こ
のマイクロ命令語dではマイクロ命令語の実行単位であ
る1ステツプの待合わせを行っている。しかし、状態履
歴記憶回路20には逐時マイクロ命令語アドレスが格納
されているため、状態履歴記憶回路20には2ステツプ
の同一マイクロ命令語アドレスDが転送されて格納され
る。次に、このマイクロ命令語dの実行によって非同期
の外部回路との待合わせが完了したが条件付き分岐が成
立しなかった場合には、次のマイクロ命令語アドレスE
で指示されたマイクロ命令語eがマイクロ命令語メモリ
12から読出される。このマイクロ命令@eには、パタ
ーン検出回路13によって検出されるべき第1またけ第
2の特定ビットパターンが存在するため、アドレスレジ
スタ30を介してアドレスバツファ22の内容を取込む
ように指示される。
Therefore, the address B is transferred and stored at the internal address of the state history storage circuit 20 designated by the address register 30. Furthermore, microinstruction 5bti
Since this is not an instruction that waits between the microinstruction word execution sequence and an external circuit that operates asynchronously, the microinstruction read address circuit 11 reads the microinstruction @b.
The next micro-instruction address C specified by is designated inside the micro-instruction memory 12. In the next execution step, the microinstruction word C is stored in the microinstruction word memory 12.
is read out. The microinstruction word C has a first or second specific bit pattern to be detected by the pattern detection circuit 13. Therefore, the address C is transferred and stored at the address inside the state history storage circuit 20 newly designated by the address register 30. At this time, since the address register 30 does not take in information from the address buffer 22, the address specified by the address counter 31 becomes the write address υ, and the microinstruction word address C is stored in the state history storage circuit 20. Similarly, the microinstruction word address D is instructed to the microinstruction read address circuit 11 as the next address of the microinstruction word C. The micro-instruction word d read from the micro-instruction word memory performs a wait between the micro-instruction word execution sequence and an asynchronous external circuit. This microinstruction word d waits for one step, which is the execution unit of the microinstruction word. However, since the state history storage circuit 20 stores microinstruction word addresses one by one, the same microinstruction word address D of two steps is transferred and stored in the state history storage circuit 20. Next, if the waiting with the asynchronous external circuit is completed by executing this microinstruction word d, but the conditional branch is not established, the next microinstruction word address E
The microinstruction word e designated by is read out from the microinstruction word memory 12. Since this microinstruction @e includes a first-straddle second specific bit pattern to be detected by the pattern detection circuit 13, it instructs to fetch the contents of the address buffer 22 via the address register 30. be done.

このため、アドレスレジスタ30の内容はアドレスバッ
ファ22の内容に置換される。タイミング1、  から
タイミングt1mまではこのようにしてマイクロ命令語
アドレスは状態履歴記憶回路20に格納されるが、タイ
ミングt12でマイクロ命令語dが実行され、非同期外
部回路との待合わせが完了したときに条件付き分岐が成
立するため、マイクロ命令語アドレスFに分岐してゆく
。以後、実行動作タイミングは上に説明したものと同様
である。
Therefore, the contents of the address register 30 are replaced with the contents of the address buffer 22. The microinstruction word address is stored in the state history storage circuit 20 in this way from timing 1 to timing t1m, but when the microinstruction word d is executed at timing t12 and the waiting with the asynchronous external circuit is completed. Since a conditional branch is established in , the program branches to microinstruction word address F. Thereafter, the execution timing is the same as described above.

上に説明し7たように状態履歴記憶回路20ではタイミ
ングto からタイミングt14までの15ステツプの
期間にマイクロ命令語が送出され実行されていて、夕・
イミング1.〜ts、タイミングt6〜t9.タイミン
グtto −tlm より成立つ3タイミングのそれぞ
れで同一形式のマイクロ命令語ループが実行されている
。しかし、これにもかかわらず状態履歴記憶回路20で
はマイクロ命令語アドレスA、B、Cを各3回、マイク
ロ命令語アドレスDを2回、マイクロ命令語アドレスF
、Gを各1回、ループした回数も含めて格納している。
As explained above, in the state history storage circuit 20, the microinstruction word is sent out and executed during the period of 15 steps from timing to to timing t14.
Timing 1. ~ts, timing t6~t9. A microinstruction word loop of the same format is executed at each of the three timings established from the timing tto -tlm. However, in spite of this, the state history storage circuit 20 stores the microinstruction address A, B, and C three times each, the microinstruction address D twice, and the microinstruction address F.
, G are stored once each, including the number of loops.

ループがマイクロ命令語アドレスでC,D、Eの3ステ
ツプによって構成されているため、状態履歴記憶回路2
0の格納状況#−1:あまシ変化しているようにはみえ
ないが、マイクロ命令語のループがさらに大きなステッ
プ数から成立った場合には拳法が有効であることは確実
である。
Since the loop consists of three steps C, D, and E using microinstruction word addresses, the state history storage circuit 2
0 storage situation #-1: Although it does not seem to have changed much, it is certain that Kenpo is effective if the micro-instruction word loop is established with a larger number of steps.

(発明の詳細な説明) 本発明においては、以上説明したようにマイクロ命令語
に固有が第1および第2の特定ビットパターンを具備し
、それらの特定パターンのひとつを検出した場合に1状
態履歴記憶装置内でマイクロ命令語のアドレスを増分し
ない前の状態に戻して命令の実行を再開始することがで
きるように構成しであるため、待合わせKよるループが
発生したときの冗長なアドレスを最小限に収めることが
でき、さらにループしたマイクロ命令語のステップ回数
も同時に状態履歴記憶装置へ格納できるという効果があ
る。
(Detailed Description of the Invention) In the present invention, as explained above, each microinstruction word has first and second specific bit patterns, and when one of the specific patterns is detected, one state history is detected. Since the structure is such that it is possible to restart the execution of the instruction by returning the address of the microinstruction word in the storage device to the state before it was incremented, redundant addresses can be saved when a loop due to waiting K occurs. The number of steps of the looped microinstruction word can be stored at the same time in the state history storage device.

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

第1図は従来技術によって構成した状態履歴記憶装置の
一例を示すブロック図である。 第2図は本発明による状態履歴記憶装置の一実施例のブ
ロック図である。 第3図は第2図の実施例において実行されるマイクロ命
令語の構成の一例を示す図である。 第4図は第2図の実施例による状態履歴記憶装置が第3
図に示す構成のマイクロ命令語によって実行されるタイ
ミングの一例を示した図である。 第5図は第1図〜第4図に関連し、第2図に示した実施
例の状態履歴記憶装置に格納される内容の構成の一例を
示す図である。 1・Φ・状態履歴記憶装置 10@・・命令実行制御回路 12・・・マイクロ命令語メモリ 11・・・マイクロ命令語読出しアドレス回路13・・
・パターン検出回路 20・・・状態履歴記憶回路 22・・・アドレスバッファ 30・・・アドレスレジスタ 31Φ・昏アドレスカウンタ 32・・・内部状態情報レジスタ 33・・・選択回路 特許出願人)日本電気株1式会社 代理人 弁理士 井 ノ ロ   壽 第1図 才2図 第2図 門円〒■11耳■讐]
FIG. 1 is a block diagram showing an example of a state history storage device constructed according to the prior art. FIG. 2 is a block diagram of one embodiment of a state history storage device according to the present invention. FIG. 3 is a diagram showing an example of the structure of a microinstruction word executed in the embodiment of FIG. 2. FIG. 4 shows that the state history storage device according to the embodiment of FIG.
FIG. 3 is a diagram illustrating an example of the timing of execution by a microinstruction word having the configuration shown in the figure. FIG. 5 is a diagram showing an example of the structure of contents stored in the state history storage device of the embodiment shown in FIG. 2, relating to FIGS. 1 to 4. FIG. 1.Φ.State history storage device 10@...Instruction execution control circuit 12...Microinstruction word memory 11...Microinstruction word read address circuit 13...
・Pattern detection circuit 20...Status history storage circuit 22...Address buffer 30...Address register 31Φ・Koma address counter 32...Internal status information register 33...Selection circuit Patent applicant) NEC Co., Ltd. Type 1 company agent Patent attorney Inoro Hisashi 1st figure 2nd figure 2nd figure Monen〒■11 ears■enemy]

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令語によって制御された情報処理装置に使用
するための状態履歴記憶装置において、前記情報処理装
置の内部状態情報を逐一格納して登録するための状態履
歴記憶回路と、前記状態履歴記憶回路のどのアドレスに
前記内部状態情報を格納するかを並列情報によって指定
するためのアドレスレジスタと、前記アドレスレジスタ
の内容を1だけ増分させるためのアドレスカウンタと、
前記アドレスカウンタの内容を一時的に退避しておくた
めのアドレスバッファと、前記マイクロ命令語を格納す
るためのマイクロ命令語メモリと、前記マイクロ命令語
を前記マイクロ命令語メ千りから読出すためのマイクロ
命令語読出しアドレス回路と、前記アドレスバッファの
内容か前記アドレスカウンタの内容かを択一選択して、
前記アドレスレジスタの内容よシ1だけ増分した内容の
みを前記アドレスレジスタに供給するための選択回路と
、前記マイクロ命令語メモリに格納されている前記マイ
クロ命令語から第1および第2の特定パターンを検出す
るためのパターン検出回路とを具備し、且つ、前記マイ
クロ命令語から前記第1の特定パターンを検出したとき
に前記アト1/スレジスタの内容を1だけ増分した後に
前記アドレスバッファに退避し、前記第2の特定パター
ンを検出したときに前記アドレスバッファの内容を前記
アドレスレジスタへ再格納することによって前記状態履
歴記憶回路へ前記マイクロ命令語のアドレスを登録する
ことを特徴とする状態履歴記憶装置。
A state history storage device for use in an information processing device controlled by a microinstruction word includes a state history storage circuit for storing and registering internal state information of the information processing device one by one; an address register for specifying at which address the internal state information is to be stored using parallel information; and an address counter for incrementing the contents of the address register by 1;
an address buffer for temporarily saving the contents of the address counter; a microinstruction word memory for storing the microinstruction word; and a microinstruction word memory for reading out the microinstruction word from the microinstruction word memory. a micro-instruction word read address circuit, and selecting either the contents of the address buffer or the contents of the address counter;
a selection circuit for supplying only contents incremented by 1 from the contents of the address register to the address register; and a selection circuit for supplying first and second specific patterns from the microinstructions stored in the microinstruction word memory. a pattern detection circuit for detecting the pattern, and when the first specific pattern is detected from the microinstruction word, the content of the AT1/S register is incremented by 1 and then saved in the address buffer; A state history storage device characterized in that when the second specific pattern is detected, the address of the microinstruction word is registered in the state history storage circuit by re-storing the contents of the address buffer into the address register. .
JP57064173A 1982-04-16 1982-04-16 Storage device of state history Pending JPS58181156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57064173A JPS58181156A (en) 1982-04-16 1982-04-16 Storage device of state history

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57064173A JPS58181156A (en) 1982-04-16 1982-04-16 Storage device of state history

Publications (1)

Publication Number Publication Date
JPS58181156A true JPS58181156A (en) 1983-10-22

Family

ID=13250401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57064173A Pending JPS58181156A (en) 1982-04-16 1982-04-16 Storage device of state history

Country Status (1)

Country Link
JP (1) JPS58181156A (en)

Similar Documents

Publication Publication Date Title
JPS6239780B2 (en)
US4780819A (en) Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory
JPS58181156A (en) Storage device of state history
JPS6049337B2 (en) Pipeline control method
JP2758624B2 (en) Speed control method of micro program
JPS58181155A (en) Storage device of state history
JPS6242301B2 (en)
JPH0561660B2 (en)
JP2665039B2 (en) Micro program controller
JP2819753B2 (en) Pipeline microprocessor
JPS5852261B2 (en) Program processing method
JPS5938828A (en) Data processing system
JPH038029A (en) Microprogram controller
JPS61143848A (en) Microprogram controller
JPH0226252B2 (en)
JPH08202582A (en) Data transferring device for microprocessor
JPS6288040A (en) Microprogram controller
JPH0243626A (en) Apparatus for controlling execution speed of computer processor
JPS5911942B2 (en) Instruction execution control device
JPH0740226B2 (en) Branch instruction control method
JPS62221030A (en) Microprogram control system
JPH04130925A (en) Information processor
JPS60196847A (en) Microprogram control system
JPH01310440A (en) Data processor
JPH0831054B2 (en) History information storage method