JPS58181155A - Storage device of state history - Google Patents

Storage device of state history

Info

Publication number
JPS58181155A
JPS58181155A JP57064172A JP6417282A JPS58181155A JP S58181155 A JPS58181155 A JP S58181155A JP 57064172 A JP57064172 A JP 57064172A JP 6417282 A JP6417282 A JP 6417282A JP S58181155 A JPS58181155 A JP S58181155A
Authority
JP
Japan
Prior art keywords
address
circuit
state history
microinstruction
history storage
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
JP57064172A
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 JP57064172A priority Critical patent/JPS58181155A/en
Publication of JPS58181155A publication Critical patent/JPS58181155A/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 providing two specific bit patterns in a micro instruction word and registering again the address of the micro instruction word to the state history storage circuit when one of these patterns is detected. CONSTITUTION:A micro (mu) instruction word stored in a mu instruction word memory 12 is provided with the first and the second specific patterns. The mu instruction word in the memory 12 is read out by the address designated by a mu instruction word read address circuit 11. In this case, when specific patterns are not detected by a pattern detecting circuit 13, the address designated by the circuit 11 is transferred to the position, which is designated by an address register 30, of a state history recording circuit 20. When the first specific pattern is detected by the circuit 13, contents of the register 30 are saved in an address buffer 22; and when the second specific pattern is detected, contents of the buffer 22 are stored again in the register 30 through a selecting circuit 33, and the address of the mu instruction word is registered in the circuit 20.

Description

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

(従来技術の説明) 従来、この種の状態履歴記憶装置は第1図に示すように
命令実行制御回路10と、状態履歴配憶回路20と、内
部状態情報レジスタ32と、アドレスレジスタ30と、
アドレスカウンタ31とから成立つ。各種タイミング、
例えばファームウェアステップ毎に命令実行制御回路1
0から内部状態情報レジスタ32へ出力されて格納され
た内容は状態履歴記憶回路20に出力される。このとき
、指定される状態履歴記憶回路20の書込みアドレスは
アドレスレジスタ30で与えられておシ、状態履歴記憶
回路20に内部状態情報レジスタ32の内容を格納する
毎にアドレスレジスタ30の内容はカウンタ31によシ
1だけ増分され、直前に格納した次のアドレスを指示す
るように設定される。そこで、内部状態情報が状態履歴
記憶回路20の低位アドレスから順次高位アドレスへ記
憶されるようになっている。このようにして内部状態情
報を記憶しておくことにより、障害発生時には状態履歴
記憶回路20の内部に格納されている内部状態情報を取
り出して障害処理対策に利用してきた。しかし、状態履
歴記憶回路20の記憶容量は有限であるため、状態履歴
記憶回路20の最高位アドレスまで内部状態情報を格納
した後には、アドレスレジスタ30は再び状態履歴記憶
回路20の最下位アドレスを指定する。さらに、最下位
アドレスに状態情報が格納されると、アドレスレジスタ
30はカウンタ31の作用によって次のアドレスを指定
するようになっているため、状態履歴記憶回路20に記
憶されている内部状態情報は低位アドレスから順次書き
換えられることになる。このため、ファームウェア内の
各命令ステップ各に内部状態情報を逐一状態履歴記憶回
路20に格納するような動作トレースにおいては、次の
命令待ちによって同一ファームウェア内のステップルー
プを何度も実行している場合には、そのファームウェア
に関するステップ情報がすべて格納される。そこで、障
害発生時にはこれら冗長な情報が含まれることKなるた
め、よシ有効な情報を逸してしまうという欠点があった
(Description of Prior Art) Conventionally, this type of state history storage device, as shown in FIG. 1, includes an instruction execution control circuit 10, a state history storage circuit 20, an internal state information register 32, an address register 30,
It is established from the address counter 31. various timings,
For example, for each firmware step, the instruction execution control circuit 1
The contents output from 0 to the internal state information register 32 and stored are output to the state history storage circuit 20. At this time, the specified 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 information register 32 are stored in the state history storage circuit 20, the contents of the address register 30 are stored in the counter. 31 is incremented by 1 and is set to point to the next address stored immediately before. Therefore, the internal state information is stored in the state history storage circuit 20 sequentially from the lowest address to the highest address. By storing internal state information in this manner, when a fault occurs, the internal state information stored inside the state history storage circuit 20 is retrieved and used for troubleshooting. 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. Furthermore, when the state information is stored at the lowest address, the address register 30 specifies the next address by the action of the counter 31, so the internal state information stored in the state history storage circuit 20 is The data will be rewritten sequentially starting from the lowest address. Therefore, in operation tracing where internal state information is stored in the state history storage circuit 20 one by one for each instruction step in firmware, a step loop in the same firmware is executed many times by waiting for the next instruction. If so, all step information regarding that firmware is stored. Therefore, since such redundant information is included when a failure occurs, there is a drawback that useful information may be lost.

(発明の詳細な説明) 本発明の目的は状態履歴記憶回路と、アドレスレジスタ
と、アドレスカウンタと、アドレスバッファと、マイク
ロ命令語メモリと、マイクロ命令語読出しアドレス回路
と、選択回路と、パターン検出向路とを具備してよ記欠
点を除去し、有効に状態履歴記憶回路を利用するように
構成した状態履歴記憶装置を提供することにある。
(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 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 direction path, eliminates the above-mentioned drawbacks, and is configured to effectively utilize a state history storage circuit.

(発明の構成と作用の説明) 本発明による状態履歴記憶装置はマイクロ命令語によっ
て制御された情報処理装置に使用するためのもので、状
態履歴記憶回路と、アドレスレジスタと、アドレスカウ
ンタと、アドレスバッファと、マイクロ命令語メモリと
、マイクロ命令語読出しアドレス回路と、選択回路と、
パターン検出回路とを具備して構成したものである。状
態履歴記憶回路は、情報処理装置の内部状態情報を逐一
格納して登録するものである。アドレスレジスタは、状
態履歴記憶回路のどのアドレスに内部状態情報を格納す
るかを、直列情報で表わされたアドレス情報によって指
定する。アドレスカウンタは、アドレスレジスタの内容
を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 microinstruction word memory, a microinstruction word read address circuit, a 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 serial information. The address counter increments the contents of the address register by one. The address buffer is
It is used to temporarily save the contents of the address register.

マイクロ命令語メモリは、マイクロ命令語を格納するも
のである。マイクロ命令語読出しアドレス回路は、マイ
クロ命令語をマイクロ命令語メモリから読出すためのも
のである。選択回路はアドレスバッファの出力か、ある
いはアドレスカウンタの出力かを択一選択する。パター
ン検出回路は、マイクロ命令語メモリに格納されている
マイクロ命令語から第1および第2の特定パターンを検
出するものである。マイクロ命令語から第1の特定パタ
ーンを検出したときには、アドレスカウンタノ内容を直
接アドレスバッファに退避し、第2の特定パターンを検
出したときには、アドレスノ(ツファの内容をアドレス
レジスタへ再格納する。これによって、状態履歴記憶回
路へ状態履歴情報を登録する。
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. The selection circuit selects either the address buffer output or the address counter output. The pattern detection circuit detects first and second specific patterns from the microinstructions stored in the microinstruction memory. When the first specific pattern is detected from the microinstruction word, the contents of the address counter are directly saved in the address buffer, and when the second specific pattern is detected, the contents of the address counter are stored again in the address register. As a result, state history information is registered in the state history storage circuit.

(実施例の説明) 本発明による状態履歴記憶装置の一実施例として、マイ
クロ命令語アドレスの履歴記憶装置について図面を参照
しながら説明する。
(Description of Embodiment) As an embodiment of the state history storage device according to the present invention, a microinstruction word address history storage device will be described with reference to the drawings.

第2図は本発明によるマイクロ命令語アドレスの状態履
歴記憶装置のブロック図である。第2図において、状態
履歴記憶装置1Fiマイクロ命令語メモリ12.マイク
ロ命令語読出しアドレス回路11、パターン検出回路1
3.状態履歴記憶回路20、アドレスレジスタ3G、 
アドレスカウンタ31、アドレスバッファ22.ならび
に選択回路33を具備して構成したものである。マイク
ロ命令語メモ1月2にはマイクロ命令語を格納する。
FIG. 2 is a block diagram of a state history storage device for microinstruction word addresses according to the present invention. In FIG. 2, a state history storage device 1Fi micro-instruction word memory 12. Microinstruction word read address circuit 11, pattern detection circuit 1
3. state history storage circuit 20, address register 3G,
Address counter 31, address buffer 22. This configuration also includes a selection circuit 33. Micro-instruction word memo January 2 stores micro-instruction words.

マイクロ命令語読出しアドレス回路11Fiマイクロ命
令語メモリ12の内部からマイクロ命令語を読出すため
のアドレスを指示する。特定ビットパターンはマイクロ
命令語読出しアドレス回路11によって指定されたアド
レスから読み出されたマイクロ命令語に含まれているが
、この特定ビットパターンをパターン検出回路13は検
出する。状態履歴記憶回路20はマイクロ命令語読出し
アドレス回路11で指定されたアドレスを逐時記憶する
。アドレスレジスタ3oFi状態履歴記憶回路20に格
納すべきアドレスを指定する。状態履歴記憶回路20ヘ
マイクロ命令読出しアドレス回路11の内容を格納する
毎にアドレスカウンタ31はアドレスレジスタ30の内
容を1だけ増分する。
Microinstruction word read address circuit 11Fi Instructs an address for reading a microinstruction word from inside the microinstruction word memory 12. The specific bit pattern is included in the microinstruction word read from the address specified by the microinstruction read address circuit 11, and the pattern detection circuit 13 detects this specific bit pattern. The state history storage circuit 20 stores the addresses designated by the microinstruction word read address circuit 11 one by one. Address register 3oFi specifies the address to be stored in the state history storage circuit 20. Each time the contents of the microinstruction read address circuit 11 are stored in the state history storage circuit 20, the address counter 31 increments the contents of the address register 30 by one.

アドレスバッファ22Fiパターン検出回路13によっ
て検出された第1の特定ビットパターンヲ使いアドレス
レジスタ30の内容を退避する。選択回路33はアドレ
スカウンタ11の内容が、あるいはアドレスバッファ2
2の内容かのいづれかを選択し、アドレスレジスタ30
へ状態履歴記憶回路20の書込みアドレスを転送する。
The first specific bit pattern detected by the address buffer 22Fi pattern detection circuit 13 is used to save the contents of the address register 30. The selection circuit 33 selects the contents of the address counter 11 or the address buffer 2.
Select one of the contents of 2 and enter the address register 30.
The write address of the state history storage circuit 20 is transferred to the state history storage circuit 20.

第3図は第2図の状態履歴記憶装置1に使用されるマイ
クロ命令語の構成の一例を示す。上記第1または第2の
特定ビットパターンはパターン検出回路13により検出
される。第1の特定ビットパターンは状態履歴記憶回路
20の書込みアドレスをアドレスレジスタ30からアド
レスバッファ22に転送して格納するように指定する。
FIG. 3 shows an example of the structure of a microinstruction word used in the state history storage device 1 of FIG. 2. 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 from the address register 30 to the address buffer 22 and stored therein.

第2の特定ビットパターンはアドレスバッファ22(D
内容を選択回路11を介してアドレスレジスタ3゜に転
送して格納するように指定する。これらの第1または第
2の特定ビットパターンはマイクロ命令語の最下位に置
かれているが、機能定義フィールド内にあっても、その
他のフィールドの内部で定義されてもよい。
The second specific bit pattern is the address buffer 22 (D
The contents are designated to be transferred to the address register 3° via the selection circuit 11 and stored therein. Although these first or second specific bit patterns are placed at the lowest level of the microinstruction word, they may be defined within the function definition field or within other fields.

第4図は第2図に示した状態履歴記憶装置1の動作タイ
ミング関係を示すタイミング図である。
FIG. 4 is a timing diagram showing the operation timing relationship of the state history storage device 1 shown in FIG.

第4図においてSlはマイクロ命令語読出しアドレス回
路11の出力、Slはマイクロ命令語メモリ12から読
出されたマイクロ命令語、83#′iパタ一ン検出回路
13によって検出された信号であシ、53−1はアドレ
スバッファ22に加えられる信号、53−2は選択回路
33に加えられる信号である。また、84はアドレスレ
ジスタ30の出力、S5はアドレスバッファ22の内容
を示したものである。第4図において、アドレスCに格
納されたマイクロ命令語Cには、アドレスバッファ22
ヘアドレスレジスタ30の内容を転送するための第1の
特定ビットパターンが含まれていると仮定する。また、
アドレスEに格納されたマイクロ命令語eには、アドレ
スバッファ22の内容をアドレスレジスタ30に転送す
るための第2の特定ビットパターンが含まれていると仮
定する。
In FIG. 4, Sl is the output of the microinstruction word read address circuit 11, Sl is the microinstruction word read out from the microinstruction word memory 12, and 83#'i is the signal detected by the pattern detection circuit 13. 53-1 is a signal applied to the address buffer 22, and 53-2 is a signal applied to the selection circuit 33. Further, 84 indicates the output of the address register 30, and S5 indicates the contents of the address buffer 22. In FIG. 4, the microinstruction word C stored at address C is stored in the address buffer 22.
Assume that a first specific bit pattern for transferring the contents of the hair address register 30 is included. Also,
Assume that the microinstruction word e stored at address E includes a second specific bit pattern for transferring the contents of address buffer 22 to address register 30.

さらに、アドレスDに格納されたマイクロ命令語dは、
マイクロ命令語の実行シーケンスとは非同期に動作して
いる外部回路との同期待ちを指定するものであシ、この
マイクロ命令を実行した後、さらに条件付き分岐によっ
てマイクロ命令語e。
Furthermore, the microinstruction word d stored at address D is
The execution sequence of a microinstruction word specifies a wait for synchronization with an external circuit that operates asynchronously, and after executing this microinstruction, the microinstruction word e is further executed by a conditional branch.

fのいづれかに分岐していく。その他アドレスA。It branches to either f. Other address A.

B、C,E、FK格納されたマイクロ命令語a。B, C, E, FK stored microinstruction word a.

bl  cl  elfはマイクロ命令語の実行シーケ
ンスとは非同期に動作をしている外部回路に対して同期
待ちをしない動作を指定するものである。
bl cl elf specifies an operation that does not wait for synchronization for an external circuit that is operating asynchronously with the execution sequence of the microinstruction word.

第5図では第4図に示したタイミング図におけるマイク
ロ命令語の格納状況を示す本のである。
FIG. 5 is a book showing the storage status of microinstructions in the timing diagram shown in FIG. 4.

以下、第2図に示した実施例のブロック図、第3図に示
したマイクロ命令語および第4図に示したタイミング図
をもとに第5図を参照して詳細な動作を説明する。マイ
クロ命令語読出しアドレス回路11によって指定された
マイクロ命令語アドレスAによpマイクロ命令語メモリ
12の内部に格納されているマイクロ命令M&が読出さ
れる。
The detailed operation will be described below with reference to FIG. 5, based on the block diagram of the embodiment shown in FIG. 2, the microinstructions shown in FIG. 3, and the timing diagram shown in FIG. 4. The microinstruction M& stored in the p microinstruction memory 12 is read by the microinstruction address A specified by the microinstruction read address circuit 11.

パターン検出回路13にこのマイクロ命令語aを入力し
て4第λまたは第2の特定ビットパターンを検出するこ
とはできない。したがって、状態履歴記憶回路20ヘマ
イクロ命令アドレスが格納される場合には、アドレスレ
ジスタ30によって指定されたアドレス位置にマイクロ
命令読出しアドレス回路11によって指定されたアドレ
スAが転送されて格納される。アドレスレジスタ30に
記憶されているアドレス情報はアドレスカウンタ31を
介して1だけ増分される。マイクロ命令語aは、マイク
ロ命令語と同期して危い外部回路との待合わせを行なう
命令ではないため、マイクロ命令語読出しアドレス回路
11ではマイクロ命令語aで指定された次のマイクロ命
令語アドレスBを指定する。このアドレスはマイクロ命
令語メモリ12の内部に存在する。次の実行ステップで
はマイクロ命令語メモリ12からマイクロ命令語すが読
み出される。マイクロ命令語すにはパターン検出回路1
3で検出すべき第1または第2の特定ビットパターンが
存在しないため、状態履歴記憶回路20ではアドレスレ
ジスタ30で指示されたアドレス位置にアドレスBが転
送されて格納される。さらに、マイクロ命令Hbはマイ
クロ命令語実行シーケンスと非同期な動作をしている外
部回路との待合わせを行なう命令ではないため、マイク
ロ命令語読出しアドレス回路11では、マイクロ命令語
すで指定された次のマイクロ命令語アドレスCを指定す
る。このアドレスはマイクロ命令語メモリ12の内部に
存在する。次の実行ステップでは、マイクロ命令語メモ
リ12からマイクロ命令語Cが読出される。このマイク
ロ命令語Cにはパターン検出回路13で検出すべき特定
ビットパターンが含まれている。よって、新しくアドレ
スレジスタ30によって指示された状態履歴記憶回路2
0の内部のアドレスに1アドレスCが転送されて格納さ
れる。このとき、アドレスレジスタ30はアドレスバッ
ファ22から情報を取込まないので、アドレスカウンタ
31によって指定されたアドレスが書込みアドレスとな
り、状態履歴記憶装置20にはマイクロ命令語アドレス
Cが転送されて格納される。同様にして、マイクロ命令
語+3ノ次のアドレスとしてマイクロ命令語アドレスD
がマイクロ命令語読出しアドレス回路11によって指定
される。マイクロ命令語メモリ12から読出されたマイ
クロ命令語dはマイクロ命令語実行シーケンスとは非同
期の外部回路との待合わせを行う。このマイクロ命令@
dではマイクロ命令語の実行単位である1ステツプの待
合わせを行っている。しかし、状態履歴記憶回路20に
は遅蒔マイクロ命令語アドレスが格納されているため、
状態履歴記憶回路20には2ステツプ分の同一マイクロ
命令語アドレスDが転送されて格納される。
It is not possible to input this microinstruction word a to the pattern detection circuit 13 and detect the fourth λ or the second specific bit pattern. Therefore, when a microinstruction address is stored in the state history storage circuit 20, the address A specified by the microinstruction read address circuit 11 is transferred and stored at the address position specified by the address register 30. The address information stored in address register 30 is incremented by one via address counter 31. Since the microinstruction word a is not an instruction to wait for a dangerous external circuit in synchronization with the microinstruction word, the microinstruction read address circuit 11 reads the next microinstruction word address specified by the microinstruction word a. Specify B. This address exists within the microinstruction word memory 12. In the next execution step, the microinstruction word is read from the microinstruction word memory 12. Pattern detection circuit 1 for microinstruction
Since the first or second specific bit pattern to be detected in step 3 does not exist, the state history storage circuit 20 transfers the address B to the address position designated by the address register 30 and stores it therein. Furthermore, since the microinstruction Hb is not an instruction for waiting with an external circuit that operates asynchronously with the microinstruction word execution sequence, the microinstruction word read address circuit 11 uses the next microinstruction word specified by the microinstruction word Specify the microinstruction word address C. This address exists within the microinstruction word memory 12. In the next execution step, microinstruction word C is read from microinstruction word memory 12. This microinstruction word C includes a specific bit pattern to be detected by the pattern detection circuit 13. Therefore, the state history storage circuit 2 newly specified by the address register 30
1 address C is transferred to the internal address of 0 and stored. 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 transferred and stored in the state history storage device 20. . Similarly, microinstruction word address D is set as the next address of microinstruction word + 3.
is designated by the microinstruction word read address circuit 11. The micro-instruction word d read from the micro-instruction word memory 12 waits with an external circuit asynchronous to the micro-instruction word execution sequence. This microinstruction @
At step d, one step, which is the unit of execution of a microinstruction word, is waited for. However, since the state history storage circuit 20 stores the delayed microinstruction word address,
The same microinstruction word address D for two steps is transferred and stored in the state history storage circuit 20.

次に、このマイクロ命令語dの実行によって非同期の外
部回路との待合わせが完了したが、条件付き分岐が成立
しない場合には、次のマイクロ命令語アドレスEで指定
されたマイクロ命令語eがマイクロ命令語メモリ12か
ら読出される。このマイクロ命令語eにはパターン検出
回路13によって検出されるべき第1tたは第2の特定
ビットパターンが存在するため、アドレスレジスタ30
の内容はアドレスバッファ22の内容に置換される。
Next, if the waiting with the asynchronous external circuit is completed by the execution of this microinstruction word d, but the conditional branch is not established, the microinstruction word e specified by the next microinstruction word address E is executed. The microinstruction word memory 12 is read out. Since this microinstruction word e includes the 1t-th or second specific bit pattern to be detected by the pattern detection circuit 13, the address register 30
The contents of the address buffer 22 are replaced with the contents of the address buffer 22.

タイミングt1からタイばングtu tでは、このよう
にしてマ・イクロ命令語アドレスが状態履歴記憶回路2
0に格納されるが、タイミングt1黛でマイクロ命令語
dが実行され、非同期外部回路との待合わせが完了した
ときに条件付き分岐が成立するため、制御はマイクロ命
令語アドレスFに分岐してゆく。この後の動作タイミン
グはいままでに述べてきた動作タイミングと同様である
。上に説明したようにして状態履歴記憶回路20ではタ
イミングtoからタイミングt14までの15ステツプ
のマイクロ命令語が送出され実行されている。またタイ
インク1.〜tl、タイミングt6〜t7.タイミング
tlOxtll  よp成立つ3タイミングのそれぞれ
で同一の形のマイクロ命令語のループが実行されている
。しかし、これにもかかわらず状態履歴記憶回路20で
はマイクロ命令語アドレスA。
From timing t1 to timing t1, the macro instruction word address is stored in the state history storage circuit 2 in this way.
However, the conditional branch is established when the microinstruction d is executed at timing t1 and the waiting with the asynchronous external circuit is completed, so the control branches to the microinstruction address F. go. The operation timing after this is the same as the operation timing described above. As explained above, in the state history storage circuit 20, microinstructions of 15 steps from timing to to timing t14 are sent out and executed. Also, tie ink 1. ~tl, timing t6~t7. A loop of the same microinstruction word is executed at each of the three timings when the timing tlOxtll is satisfied. However, in spite of this, the microinstruction word address A is stored in the state history storage circuit 20.

B、Cを各3回、マイクロ命令語アドレスDを2回、マ
イクロ命令語アドレスF、Gを各1回、ループした回数
も含めて格納している。ループがマイクロ命令語アドレ
スでC,D、Eの3ステツプによって構成されているた
め、状態履歴記憶回路20の格納状況はあま夛変化して
いるようにはみえないが、マイクロ命令語のループがさ
らに大きなステップ数から成立つ場合には4法が有効で
あることは確実である。
B and C are stored three times each, microinstruction word address D is stored twice, and microinstruction word address F and G are stored once each, including the number of loops. Since the loop consists of three steps C, D, and E in the microinstruction word address, the storage status of the state history storage circuit 20 does not seem to have changed much, but the microinstruction word loop is It is certain that the four methods are effective when the number of steps is larger.

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

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

第1図は従来技術によって構成した状態履歴記1 33・・・選択回路 憶装置の一例を示すブロック図、第2図は本発明による
状態履歴記憶装置の一実施例のブロック図、第3図は第
2図の実施例において実行されるマイクロ命令語の構成
の一例を示す図、第4図は第2図の実施例による状態履
歴記憶装置が第3図に示す構成のマイクロ命令語によっ
て実行逼れるタイミングの一例を示した図、第5図は第
1図〜第4図に関連し、第2図に示した実施例の状態履
歴記憶装置に格納される内容の構成の一例を示す図であ
る。 1・・・状態履歴記憶装j 10・・・命令実行制御回路 12・・・マイクロ命令語メモリ 11・争・マイクロ命令語読出しアドレス回路13・・
・パターン検出回路 20・・拳状態履歴記憶回路 22@・・アドレスバッファ 30・・・アドレスレジスタ 31@・・アドレスカウンタ 32・・・内部状態情報レジスタ 翰 特許出願人 日本電気株式会社 代理人 弁理士 井ノ ロ   壽 才1図
FIG. 1 is a block diagram showing an example of a state history memory 133... selection circuit storage device configured according to the prior art, FIG. 2 is a block diagram of an embodiment of the state history storage device according to the present invention, and FIG. 4 is a diagram showing an example of the structure of a microinstruction executed in the embodiment of FIG. 2, and FIG. FIG. 5 is a diagram showing an example of the closing timing, and is related to FIGS. 1 to 4, and 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. It is. 1... State history storage device j 10... Instruction execution control circuit 12... Micro instruction word memory 11, contention, micro instruction word read address circuit 13...
-Pattern detection circuit 20...Fist status history storage circuit 22@...Address buffer 30...Address register 31@...Address counter 32...Internal status information register holder Patent applicant NEC Corporation Agent Patent attorney Inoro Jusai illustration 1

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令語によって制御された情報処理装置に使用
するための状態履歴記憶装置において、前記情報処理装
置の内部状態情報を逐一格納して登録するための状態履
歴記憶回路と、前記状態履歴記憶回路のどのアドレスに
前記内部状態情報を格納するかを直列情報によって指定
するためのアドレスレジスタと、前記アドレスレジスタ
の内容を1だけ増分させるためのアドレスカウンタと、
fmm子アドレスカウンタ内容を一時的に退避シておく
ためのアドレスバッファと、前記マイクロ命令語を格納
するためのマイクロ命令語メモリと、前記マイクロ命令
語を前記マイクロ命令語メモリから読出すためのマイク
ロ命令語読出しアドレス回路ト、前記アドレスバッファ
の出力か前記アドレスカウンタの出力かを択一選択する
ための選択回路と、前記マイクロ命令語メモリに格納さ
れている前記マイクロ命令語から第1および第2の特定
パターンを検出するためのパターン検出回路とを具備し
、前記マイクロ命令語から前記第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 serial 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 fmm child address counter; a microinstruction word memory for storing the microinstruction word; and a microinstruction word memory for reading the microinstruction word from the microinstruction word memory. an instruction word read address circuit; a selection circuit for selecting either the output of the address buffer or the output of the address counter; a pattern detection circuit for detecting a specific pattern of the micro-instruction word; when the first specific pattern is detected from the microinstruction word, the content of the address register is directly saved to the address buffer; A state history characterized in that when a 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 via the selection circuit. Storage device.
JP57064172A 1982-04-16 1982-04-16 Storage device of state history Pending JPS58181155A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=13250371

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS58181155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199244A (en) * 1987-11-25 1989-08-10 Tokyo Keisan Service Kk Recording system for history of input/output signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199244A (en) * 1987-11-25 1989-08-10 Tokyo Keisan Service Kk Recording system for history of input/output signal

Similar Documents

Publication Publication Date Title
JP3984786B2 (en) Scheduling instructions with different latency
JPH03204737A (en) Debug circuit of signal processing processor
JPS623461B2 (en)
JPS58181155A (en) Storage device of state history
JPS63228225A (en) Digital computer system
JPS58181156A (en) Storage device of state history
JPH0687221B2 (en) Information processing equipment
JP2883488B2 (en) Instruction processing unit
JPH0561660B2 (en)
JPS60243770A (en) Pipe-line control circuit
SU1151961A1 (en) Microprogram control device
JPS5938828A (en) Data processing system
JP2819753B2 (en) Pipeline microprocessor
JPS59188757A (en) Device for controlling address storage
JPS58149540A (en) Control storage device
JPH09330234A (en) Interruption processing method and microprocessor
JPS6229813B2 (en)
JPS60193046A (en) Detecting system for instruction exception
JPH0444125A (en) Microprocessor
JPS6218934B2 (en)
JPH0740226B2 (en) Branch instruction control method
JPH01283635A (en) Buffer control circuit
JPH05342378A (en) Evaluation chip
JPS61143848A (en) Microprogram controller
JPS60196847A (en) Microprogram control system