JPH04102934A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPH04102934A
JPH04102934A JP2221538A JP22153890A JPH04102934A JP H04102934 A JPH04102934 A JP H04102934A JP 2221538 A JP2221538 A JP 2221538A JP 22153890 A JP22153890 A JP 22153890A JP H04102934 A JPH04102934 A JP H04102934A
Authority
JP
Japan
Prior art keywords
instruction
signal
microprocessor
test
input
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
JP2221538A
Other languages
Japanese (ja)
Inventor
Tatsuya Saito
齋藤 龍也
Yasuhiko Kawamoto
河本 恭彦
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 JP2221538A priority Critical patent/JPH04102934A/en
Publication of JPH04102934A publication Critical patent/JPH04102934A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a dynamic BT capable of using a counter as a pattern generator by allowing a microprocessor to execute a defined instruction as a substitute for an undefined instruction. CONSTITUTION:This microprocessor 101 is provided with an instruction decoding part 13 for decoding an instruction code inputted from the external, generating plural execution control signals, and if an instruction code is an undefined instruction, generating a logical NOT signal and a control means 15 for controlling whether the logical NOT signal is to be validated or invalidated in accordance with a test signal inputted from the external. In a test mode, the undefined instruction is executed as a NOP instruction. Consequently, the microprocessor capable of using the counter 17 as the pattern generator can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプロセッサに関し、特にマイクロプロ
セッサのテスト回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to microprocessors, and more particularly to test circuits for microprocessors.

〔従来の技術〕[Conventional technology]

ICの信頼性加速試験のひとつにグイナミックハーンイ
ンテスト(以下ダイナミックBTという)がある。これ
は試験するICを高電源電圧、高周囲温度の環境の下、
ICの外部端子にテストパターンを印加し、内部を動作
させ、通常の使用環境下ては数十年経たないと発生しな
いような不良を数時間でICに発生させるというもので
ある。
One of the accelerated IC reliability tests is the Guinamic Hearn-in Test (hereinafter referred to as Dynamic BT). This means that the IC being tested is exposed to high power supply voltage and high ambient temperature.
A test pattern is applied to the external terminals of an IC, the internal parts are operated, and defects in the IC that would not occur for several decades under normal operating conditions can be caused in a few hours.

ダイナミックBTを実施したICを選別・出荷すること
により、ICの信頼性を長期に渡って保証できる。
By selecting and shipping ICs that have undergone dynamic BT, the reliability of the ICs can be guaranteed over a long period of time.

一般にダイナミックBTでは、試験するTCのより広い
領域をより高い頻度で動作させることにより効果か上げ
られる。
In general, dynamic BT is more effective by operating a wider area of the TC under test at a higher frequency.

ところで、ダイナミックBTにおいて被試験ICに印加
するテストパターンの発生には様々なる方法があるが、
バイナリカウンタをパターン発生器として用いることが
安価な方法としてあげられる。
By the way, there are various methods for generating test patterns to be applied to the IC under test in dynamic BT.
An inexpensive method is to use a binary counter as a pattern generator.

第4図はバイナリカウンタとパターン発生器として用い
た従来のマイクロプロセッサの夕゛イナミックBTの例
を示すブロック図である。バイナリカウンタ17のデー
タ端子24からの出力はマイクロプロセッサ11のデー
タ端子21に入力され、同じクロックφがバイナリカウ
ンタ17およびマイクロプロセッサ11のそれぞれのク
ロック端子25および22に入力されている。マイクロ
プロセッサ11は命令コードがnビットの固定長のもの
であり、その内部はデータバッファ12゜命令解読部1
3および命令実行部14の3つのブロックがある。デー
タ端子21のデータはデータバッファ12に入力され、
データバッファ12のデータ出力は命令解読部13に入
力されている。
FIG. 4 is a block diagram showing an example of a conventional microprocessor dynamic BT used as a binary counter and a pattern generator. The output from data terminal 24 of binary counter 17 is input to data terminal 21 of microprocessor 11, and the same clock φ is input to clock terminals 25 and 22 of binary counter 17 and microprocessor 11, respectively. The microprocessor 11 has a fixed-length instruction code of n bits, and its interior includes a data buffer 12 and an instruction decoder 1.
There are three blocks: 3 and an instruction execution unit 14. The data on the data terminal 21 is input to the data buffer 12,
Data output from the data buffer 12 is input to an instruction decoder 13.

命令解読部13が出力した実行制御信号36および未定
義命令デコードを示すNE信号32は命令実行部14に
入力されている。
An execution control signal 36 output from the instruction decoding section 13 and an NE signal 32 indicating undefined instruction decoding are input to the instruction execution section 14.

次に動作について説明する。バイナリカウンタ17はク
ロックφに同期してインクリメントするカウンタであり
、nビットの2進コード全てを発生し、データ端子24
から出力する。マイクロプロセッサ11はデータ端子2
1を介してコードをデータバッファ12に取り込む。デ
ータバッファ12に取り込まれたコードは命令解読部1
3に送られ、デコードされる。デコードした結果、命令
解読部13は実行制御信号36により命令実行部]4に
どのような処理を行なうかの指示を与え、命令実行部1
4がそれを実行する。
Next, the operation will be explained. The binary counter 17 is a counter that increments in synchronization with the clock φ, generates all n-bit binary codes, and outputs all n-bit binary codes to the data terminal 24.
Output from. Microprocessor 11 is connected to data terminal 2
1 into the data buffer 12. The code taken into the data buffer 12 is read by the instruction decoder 1
3 and decoded. As a result of the decoding, the instruction decoder 13 uses an execution control signal 36 to instruct the instruction execution unit 4 on what kind of processing to perform.
4 does it.

この例ではバイナリカウンタがnヒツトの2進コードを
全ての組合わせにわたって発生するため、全ての定義済
命令をマイクロプロセッサ]−1に実行させることにな
りマイクロプロセッサ11のほぼ全領域か動作すると思
われ、ダイナミックBTにおいて高い効果が期待できる
In this example, since the binary counter generates n binary codes over all combinations, all predefined instructions are executed by the microprocessor ]-1, so it is thought that almost the entire area of the microprocessor 11 will be executed. We can expect high effects in dynamic BT.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが上述したようにバイナリカウンタ17はnビッ
トの2進コードを全ての組合せに渡って発生するため、
未定義命令のコードも発生ずることになる。そしてその
コードはマイクロプロセッサ11に入力され、未定義命
令をデコードした命令解読部13は実行制御信号36を
全てインアクティブにすると共に、NE信号32をアク
ティブにし、それを受けた命令実行部14は例外処理を
開始する。
However, as mentioned above, since the binary counter 17 generates n-bit binary codes over all combinations,
Codes for undefined instructions will also be generated. The code is then input to the microprocessor 11, and the instruction decoder 13 that has decoded the undefined instruction makes all execution control signals 36 inactive and the NE signal 32 active. Start exception handling.

例外とは、プログラムの実行に依存して発生する事象で
あり、事象に応じて処理がマイクロプロセッサにより行
われる。例外処理は、次の様に行われる。
An exception is an event that occurs depending on the execution of a program, and processing is performed by a microprocessor depending on the event. Exception handling is performed as follows.

■特権モードに移る、■システムのジャンプテーブルよ
り該当する例外のベクタを取り出す、■スタックに例外
の種類に応じて例外が発生したときのプログラムカウン
タ値、発生した例外のコード等の情報を格納する、■先
にとり出したベクタが指す゛アドレスより例外処理を開
始する。
■Moving to privileged mode, ■Retrieving the vector of the corresponding exception from the system jump table, ■Storing information such as the program counter value when the exception occurred and the code of the exception that occurred in the stack, depending on the type of exception. , ■Start exception handling from the address pointed to by the previously extracted vector.

すなわち、命令のデコードが再開されるのは■からであ
り、■から■の期間の十数クロックの間は内部処理が行
われるため、バイナリカウンタ17が発生したコードは
捨てられる。第5図に命令コードマツプを示す。図中上
位、下位とあるのは命令コードの上位4ビツト、下位4
ビツトを16進表記したものである。例えば、16進表
記で03という命令コードはNOT命令である。第5図
の命令コードにおいて、16進表記02のコードをバイ
ナリカウンタ17が発生しなとすると、それは命令マツ
プ上で命令が定義されていない命令、つまり未定義命令
であるためマイクロプロセッサ11にとり込まれると上
述した例外処理が行われる。そしてその内部処理の期間
中にバイナリカウンタ17は16進表記で03,04,
05゜・・・とコードを発生していくが、それはマイク
ロプロセッサ11.が内部処理にかかりきりである・た
め、デコードされずに捨てられる。つまり、N。
That is, the instruction decoding is restarted from ■, and since internal processing is performed for more than ten clocks from ■ to ■, the code generated by the binary counter 17 is discarded. FIG. 5 shows an instruction code map. In the diagram, upper and lower bits refer to the upper 4 bits and lower 4 bits of the instruction code.
Bits are expressed in hexadecimal notation. For example, an instruction code of 03 in hexadecimal notation is a NOT instruction. In the instruction code of FIG. 5, if the binary counter 17 does not generate the code 02 in hexadecimal notation, it is an instruction for which the instruction is not defined on the instruction map, that is, an undefined instruction, so it is not taken into the microprocessor 11. If this occurs, the exception handling described above is performed. During the internal processing period, the binary counter 17 is expressed in hexadecimal notation as 03, 04,
05°... is generated by the microprocessor 11. is discarded without being decoded because it is only used for internal processing. In other words, N.

T命令やOR命令は実行されない。またM○■命令につ
いても同様に実行されない。
T commands and OR commands are not executed. Similarly, the M○■ instruction is not executed.

従って、定義済命令が一部実行されないことにより、マ
イクロプロセッサ11の一部の領域が動作しないため、
ダイナミックBTにおいてカウンタをパターン発生器と
して用いることは実現できなかった。
Therefore, because some defined instructions are not executed, some areas of the microprocessor 11 do not operate.
It has not been possible to use a counter as a pattern generator in dynamic BT.

本発明の目的はカウンタをパターン発生器として用いる
ことができるマイクロプロセッサを提供することにある
An object of the present invention is to provide a microprocessor that can use a counter as a pattern generator.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマイクロプロセッサは、外部から入力された命
令コードを解読し複数の実行制御信号を発生すると共に
前記命令コードが未定義命令であった場合に論理否定信
号を発生ずる命令解読部と、外部から入力されるテスト
信号に応して前記論理否定信号を有効とするか無効とす
るかを制御する制御手段とを有することを特徴とする。
The microprocessor of the present invention includes an instruction decoder that decodes an instruction code input from the outside, generates a plurality of execution control signals, and generates a logical negation signal when the instruction code is an undefined instruction; It is characterized by comprising a control means for controlling whether to enable or disable the logic negation signal in accordance with a test signal inputted from the logic negation signal.

〔実施例〕〔Example〕

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

第1図はバイナリカウンタ及び本発明の一実施例のマイ
クロプロセッサのダイナミックBTを示ずフロック図で
ある。バイナリカウンタ17のデータ端子24の出力は
マイクロプロセッサ11のデータ端子21に入力され、
同しクロックφかバイナリカウンタ17およびマイクロ
プロセッサ1コのそれぞれのクロック端子25および2
2に入力されている。
FIG. 1 is a block diagram showing a binary counter and a dynamic BT of a microprocessor according to an embodiment of the present invention. The output of the data terminal 24 of the binary counter 17 is input to the data terminal 21 of the microprocessor 11,
The same clock φ or the respective clock terminals 25 and 2 of the binary counter 17 and one microprocessor
2 is entered.

マイクロプロセッサ101は命令コードがnビットの固
定長のものてあり、データバッファ12、命令解読部1
3、命令実行部14、テスト回路]5の4つのブロック
から成り、前述の2種類の端子と、テスト端子23を有
している。
The microprocessor 101 has a fixed length instruction code of n bits, and includes a data buffer 12 and an instruction decoder 1.
3, instruction execution unit 14, test circuit] 5, and has the two types of terminals described above and a test terminal 23.

データ端子21に入力されたデータは、データバッファ
12に入力され、データバッファ12のデータ出力は命
令解読部13に入力されている。
The data input to the data terminal 21 is input to the data buffer 12, and the data output from the data buffer 12 is input to the instruction decoder 13.

命令解読部1−3の出力した実行制御信号36はノウオ
ペレーション(以下NOPという)命令の実行を要求す
るNOP信号34を除いて命令実行部14に入力され、
NOP信号34および未定義命令デコードを示すNE信
号32はテスト回路15に入力される。テスト回路15
には他にテスト端子23を介してテスト信号3]が入力
され、実効NOP信号35および実効NE倍信号3が出
力される。テス)・回路は1つの入力の論理和を出力す
るOR回路および2つの入力の論理積を出力するAND
回路を含んでいる。NE信号32とテスト信号31の否
定が第1のAND回路に入力され、第1のAND回路か
ら実効NE倍信号3か出力される。NE信号32とテス
ト信号31か第2のAND回路に入力され、第2のAN
D回路の出力とNOP信号34かOR回路に入力され、
OR回路から実効NOP信号35が出力される。実効N
OP信号35および実効NE倍信号3は命令解読部14
に入力される。
The execution control signal 36 output from the instruction decoder 1-3 is input to the instruction execution unit 14 except for the NOP signal 34 requesting execution of a know operation (hereinafter referred to as NOP) instruction.
The NOP signal 34 and the NE signal 32 indicating undefined instruction decoding are input to the test circuit 15. Test circuit 15
In addition, a test signal 3] is inputted to the test terminal 23 through a test terminal 23, and an effective NOP signal 35 and an effective NE multiplied signal 3 are outputted. The circuit is an OR circuit that outputs the logical sum of one input, and an AND circuit that outputs the logical product of two inputs.
Contains circuits. The negative of the NE signal 32 and the test signal 31 is input to the first AND circuit, and the effective NE multiplied signal 3 is output from the first AND circuit. The NE signal 32 and the test signal 31 are input to the second AND circuit, and the second AN
The output of the D circuit and the NOP signal 34 are input to the OR circuit,
An effective NOP signal 35 is output from the OR circuit. Effective N
The OP signal 35 and the effective NE multiplication signal 3 are sent to the instruction decoder 14.
is input.

尚木実雄側においては、実行制御信号36.NE信号3
2およびテス)・信号31は全てアクティブハイの信号
である。
On the Naoki side, the execution control signal 36. NE signal 3
All of the signals 31 are active high signals.

次に動作について説明する。バイナリカウンタ17はク
ロックφに同期してインクリメントするカウンタであり
、nヒツトの2進コード全てを発生し、データ端子24
から出力する。マイクロプロセッサ10]はデータ端子
21を介してコードをデータバッファ12に取り込む。
Next, the operation will be explained. The binary counter 17 is a counter that increments in synchronization with the clock φ, and generates all n binary codes and outputs them to the data terminal 24.
Output from. The microprocessor 10 takes the code into the data buffer 12 via the data terminal 21.

データバッファ12に取り込まれたコードは命令解読部
13に送られ、そこでデコードされる。以降の動作は通
常モードとテストモートで異なる。
The code taken into the data buffer 12 is sent to the instruction decoder 13 and decoded there. The subsequent operations differ between normal mode and test mode.

まず、通常コードについて説明する。テスト信号31が
論理“0″ルベル(以降ロウレベルという)であると、
テスト端子23を介してテスト回路15にデス1〜信号
31が伝わり、通常モードに設定される。通常モートで
はNOP信号34が実効NOP信号35と等しくなり、
NE信号32が実効NE倍信号3と等しくなる。命令解
読部13でデコードしたコードか定義済命令であると、
命令解読部13はNE信号32をインアクティブにする
と共に、実行制御信号36により命令実行部14にとの
ような処理を行うかの指示を与えそれに応じて命令実行
部14が実行する。テコ−1〜したコードか未定義信号
であると、実行制御信号36を全てインアクティブにす
ると共に、NE信号32をアクティブにし、それを受け
た命令実行部14は例外処理を開始する。つまり通常モ
ードでは、従来のマイクロプロセッサと同様の動作を行
なう。
First, the normal code will be explained. When the test signal 31 is a logic “0” level (hereinafter referred to as low level),
The signal 31 is transmitted to the test circuit 15 via the test terminal 23, and the normal mode is set. In a normal mote, the NOP signal 34 is equal to the effective NOP signal 35,
The NE signal 32 becomes equal to the effective NE multiplied signal 3. If it is a code decoded by the instruction decoder 13 or a defined instruction,
The instruction decoder 13 makes the NE signal 32 inactive, and uses the execution control signal 36 to instruct the instruction execution section 14 to perform the following processing, and the instruction execution section 14 executes the instruction accordingly. If the code is an undefined signal, the execution control signal 36 is made inactive, the NE signal 32 is made active, and the instruction execution unit 14 that receives this starts exception processing. In other words, in normal mode, it operates in the same way as a conventional microprocessor.

つきにテストモードについて説明する。テスト信号31
が論理“1″レベル(以降ハイレベルという)であると
、テスト端子23を介してテスト回路15にテスト信号
が伝わりテストモードに設定される。
Next, we will explain the test mode. Test signal 31
When is at the logic "1" level (hereinafter referred to as high level), a test signal is transmitted to the test circuit 15 via the test terminal 23, and the test mode is set.

命令解読部13がデコードした結果が定義済命令である
ときの動作は通常モードの動作と同である。デコードし
た結果が未定義命令であるときは、通常モードと同様に
実行制御信号36が全てインアクティブになると共に、
NE信号32がアクティブになるが、テスト回路により
NE信号32はマスクされ、実効NE倍信号3がアクテ
ィブにならないと共に、実効NOP信号35がアクティ
ブになるのでNOP命令実行の指示が命令実行部14に
与えられる。その結果命令実行部14はNOP命令を実
行する。
The operation when the result decoded by the instruction decoding unit 13 is a defined instruction is the same as the operation in the normal mode. When the decoded result is an undefined instruction, all execution control signals 36 become inactive as in the normal mode, and
The NE signal 32 becomes active, but the NE signal 32 is masked by the test circuit, the effective NE multiplication signal 3 does not become active, and the effective NOP signal 35 becomes active, so an instruction to execute the NOP instruction is sent to the instruction execution unit 14. Given. As a result, the instruction execution unit 14 executes the NOP instruction.

このように本実施例のマイクロプロセッサ101はテス
トモードにおいて未定義命令をNOP命令として実行す
る。
In this manner, the microprocessor 101 of this embodiment executes undefined instructions as NOP instructions in the test mode.

第2図はバイナリカウンタを用いた本発明の第2の実施
例のマイクロプロセッサのダイナミックBTを示すブロ
ック図である。全体の構成は第1の実施例とほぼ同様で
あるが、本実施例では、直接命令解読部13から命令実
行部14に入力される実行制御信号36はなく、実行制
御信号36の全てと、NE信号32およびテスト信号3
1がテスト回路16に入力され、テスト回路16は実効
実行制御信号37と実効NE倍信号3を出力し、それら
は命令実行部14に入力される。テスト回路16はただ
ひとつの命令の実行を指示する実行制御信号36の本数
と同Lm個のORゲートと、1個のANDゲートとリン
グカウンタ18を含んでいる。
FIG. 2 is a block diagram showing a dynamic BT of a microprocessor according to a second embodiment of the present invention using a binary counter. The overall configuration is almost the same as the first embodiment, but in this embodiment, there is no execution control signal 36 input directly from the instruction decoding section 13 to the instruction execution section 14, and all of the execution control signals 36, NE signal 32 and test signal 3
1 is input to the test circuit 16, and the test circuit 16 outputs an effective execution control signal 37 and an effective NE multiplication signal 3, which are input to the instruction execution unit 14. The test circuit 16 includes Lm OR gates, one AND gate, and a ring counter 18, the same number as the number of execution control signals 36 that instruct execution of a single instruction.

リングカウンタ18の動作タイムチャートを第3図に示
す。CEがロウレベルであるときは、Ql、Q2 、・
・・、Q□は全てロウレベルになる。
An operation time chart of the ring counter 18 is shown in FIG. When CE is at low level, Ql, Q2, ・
..., Q□ are all at low level.

一方、CEがハイレベルであるときは、CEがハイレベ
ルになってから最初のTのハイレベルでQlのみがハイ
レベルになり、次にTがロウレベルになると共に、Ql
はロウレベルになる。次のTのハイレベルで今度はQ2
のみがハイレベルになり、次にTがロウレベルになると
共にQ2はロウレベルになる。
On the other hand, when CE is at high level, only Ql becomes high level at the first high level of T after CE becomes high level, then T becomes low level, and Ql
becomes low level. Next high level of T, this time Q2
Q2 goes to high level, then T goes to low level and Q2 goes to low level.

以降Qmまで同じ動作をくり返し、Qmがハイレベルに
なった次のTのハイレベルで最初に戻ってQlがハイレ
ベルになる。以上がリングカウンタ18の動作である。
Thereafter, the same operation is repeated until Qm, and at the next high level of T after Qm becomes high level, the process returns to the beginning and Ql becomes high level. The above is the operation of the ring counter 18.

リングカウンタ18はそのT入力にNE信号32が、C
B大入力テスト信号31が入力され、Ql、Q2.・・
・、Qmを出力している。リングカウンタ18のQ+ 
、Q2 、・・・、9m出力はそれぞれm個のOR回路
に入力され、OR回路のもう一方の入力にはm本の実行
制御信号36の各1本が入力されていて、OR回路の出
力はm本の実効実行制御信号37となっている。
The ring counter 18 has an NE signal 32 at its T input and a C
B large input test signal 31 is input, Ql, Q2 .・・・
・, Qm is output. Q+ of ring counter 18
, Q2 , ..., 9m outputs are input to m OR circuits, and one of each of the m execution control signals 36 is input to the other input of the OR circuit, and the output of the OR circuit are m effective execution control signals 37.

一方、NE信号32とテスト信号31の否定はAND回
路に入力され、AND回路は実効NE倍信号3を出力す
る。
On the other hand, the negative of the NE signal 32 and the test signal 31 is input to an AND circuit, and the AND circuit outputs an effective NE multiplied signal 3.

次にその動作について説明する。通常モード、テストモ
ードの設定方法、通常モードでの動作、およびテストモ
ートでの定義済命令をデコードしたときの動作は第1の
実施例と同じであるので省略する。テストモードで未定
義命令をデコードしたときの動作について説明する。命
令解読部13が未定義命令をデコードすると、実行制御
信号36を全てインアクティブにすると共にN、E信号
32をアクティブにする。実効NE倍信号3はテスト信
号31でマスクされているのでアクティブにならない。
Next, its operation will be explained. The method of setting the normal mode and the test mode, the operation in the normal mode, and the operation when a defined instruction is decoded in the test mode are the same as in the first embodiment, and therefore will not be described here. The operation when an undefined instruction is decoded in test mode will be explained. When the instruction decoder 13 decodes the undefined instruction, it makes all the execution control signals 36 inactive and makes the N and E signals 32 active. Since the effective NE multiplication signal 3 is masked by the test signal 31, it does not become active.

一方、リングカウンタはテストモードであるのでCEに
はハイレベルが入力それており、NE信号32がアクテ
ィブになったのでTにハイレベルが入力され、その結果
Q1がハイレベルになる。
On the other hand, since the ring counter is in the test mode, a high level is input to CE, and since the NE signal 32 has become active, a high level is input to T, and as a result, Q1 becomes high level.

Qlがハイレベルになるとm個のORゲートのうち第1
のOR回路の出力がアクティブ、すなわち実効実行制御
信号37のうち第1のものがアクティブになる。したが
って、命令実行部14は第1の実効実行制御信号で指示
される実行をする。
When Ql becomes high level, the first of m OR gates
The output of the OR circuit becomes active, that is, the first one of the effective execution control signals 37 becomes active. Therefore, the instruction execution unit 14 performs the execution instructed by the first effective execution control signal.

次に再び未定義命令をデコードすると、今度はリングカ
ウンタ18のQ2がハイレベルになるので、第2のOR
回路の出力、すなわち、実効実行制御信号37のうち第
2のものがアクティブになり、命令実行部14はそれで
指示される実行をする。以降未定義命令をテコードする
度にm本の実効実行制御信号37のそれぞれが次々のア
クティブになり毎回違った命令の実行指示を命令実行部
14に与え実行させる。
Next, when the undefined instruction is decoded again, Q2 of the ring counter 18 becomes high level, so the second OR
The output of the circuit, that is, the second one of the effective execution control signals 37 becomes active, and the instruction execution unit 14 executes the instruction thereof. Thereafter, each time an undefined instruction is decoded, each of the m effective execution control signals 37 becomes active one after another, and a different command execution instruction is given to the instruction execution unit 14 each time for execution.

本実施例では、第1の実施例に比べ未定義命令をNOP
命令のみてなく、全ての定義済命令に代替して行なって
いるため、テストモードにおいてマイクロプロセッサ1
02のより広い領域がより高い頻度で動作することを期
待できる効果かある。
In this embodiment, compared to the first embodiment, undefined instructions are
Because it is executed in place of all defined instructions, not just the instructions, microprocessor 1 is executed in test mode.
This has the effect that a wider area of 02 can be expected to operate more frequently.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、未定義命令を定期済命令
に代替してマイクロプロセッサに行わせることにより、
カウンタをパターン発生器として用いたダイナミックB
Tを実現てきる効果がある。
As explained above, the present invention replaces undefined instructions with scheduled instructions and causes the microprocessor to execute them.
Dynamic B using a counter as a pattern generator
It has the effect of realizing T.

第1図は本発明の第1の実施例を示すマイクロプロセッ
サのフロック図、第2図は本発明の第2の実施例を示す
マイクロプロセッサのブロック図、第3図は第2図に示
すリングカウンタの動作を説明するための波形図、第4
図は従来例を示すマイクロプロセッサのブロック図、第
5図は命令コードを示す図である。
FIG. 1 is a block diagram of a microprocessor showing a first embodiment of the invention, FIG. 2 is a block diagram of a microprocessor showing a second embodiment of the invention, and FIG. 3 is a block diagram of a microprocessor showing a second embodiment of the invention. Waveform diagram for explaining the operation of the counter, No. 4
The figure is a block diagram of a conventional microprocessor, and FIG. 5 is a diagram showing an instruction code.

1]・・従来のマイクロプロセッサ、101゜]02・
・・本発明のマイクロプロセッサ、12・・データバッ
ファ、13・・命令解読部、14・・・命令実行部、1
5.:1.6・・・テスト回路、17・・・バイナリカ
ウンタ、18・・・リングカウンタ、21.24・・・
データ端子、22.25・・・クロック端子、23・テ
スト端子、31・・・ナス1〜信号、32・・・NE倍
信号33・・・実効NE倍信号34・・・NOP信号、
35・・・実効NOP信号、36・・・実行制御信号、
37・・実効実行制御信号。
1]...Conventional microprocessor, 101°]02.
...Microprocessor of the present invention, 12.. Data buffer, 13.. Instruction decoding section, 14.. Instruction execution section, 1
5. :1.6...Test circuit, 17...Binary counter, 18...Ring counter, 21.24...
Data terminal, 22.25...Clock terminal, 23.Test terminal, 31...Nas 1~signal, 32...NE times signal 33...Effective NE times signal 34...NOP signal,
35... Effective NOP signal, 36... Execution control signal,
37...Effective execution control signal.

Claims (1)

【特許請求の範囲】 1、外部から入力された命令コードを解読し複数の実行
制御信号を発生すると共に前記命令コードが未定義命令
であった場合に論理否定信号を発生する命令解読部と、
外部から入力されるテスト信号に応じて前記論理否定信
号を有効とするか無効とするかを制御する制御手段とを
有することを特徴とするマイクロプロセッサ。 2、前記論理否定信号が無効となる期間中、前記論理否
定信号が発生する毎に前記複数の実行制御信号のいずれ
かを有効にする手段を有することを特徴とする請求項1
記載のマイクロプロセッサ。
[Scope of Claims] 1. An instruction decoder that decodes an externally input instruction code and generates a plurality of execution control signals, and also generates a logical negation signal when the instruction code is an undefined instruction;
A microprocessor comprising: control means for controlling whether to enable or disable the logical NOT signal according to a test signal input from the outside. 2. Claim 1, further comprising means for validating any one of the plurality of execution control signals each time the logical NOT signal is generated during a period in which the logical NOT signal is invalid.
Microprocessor as described.
JP2221538A 1990-08-23 1990-08-23 Microprocessor Pending JPH04102934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2221538A JPH04102934A (en) 1990-08-23 1990-08-23 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2221538A JPH04102934A (en) 1990-08-23 1990-08-23 Microprocessor

Publications (1)

Publication Number Publication Date
JPH04102934A true JPH04102934A (en) 1992-04-03

Family

ID=16768290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2221538A Pending JPH04102934A (en) 1990-08-23 1990-08-23 Microprocessor

Country Status (1)

Country Link
JP (1) JPH04102934A (en)

Similar Documents

Publication Publication Date Title
US5511207A (en) Program control circuit determining the designated number of times a sequence of instructions is repetitively executed to prevent further execution of a jump instruction
JPS63301339A (en) Computer device
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
JP2513417B2 (en) Information processing device
JPH04102934A (en) Microprocessor
KR940011040B1 (en) Microcomputer
JPS6167148A (en) Microcomputer
JPS63200234A (en) Data processor
JPH06324906A (en) Single chip microcomputer
JPS6355090B2 (en)
JPS6242301B2 (en)
JPH01286323A (en) Integrated circuit
JPH0212436A (en) Semiconductor device
JPS6015969B2 (en) Microinstruction address generation method
JPH06161946A (en) Dma address control method
JPH01201737A (en) Microprocessor
JPH05120079A (en) Operation history storage device
JPS648381B2 (en)
JPH0792902A (en) Programmable controller
JPH01300321A (en) Information processor
JPH05108550A (en) Central processing unit
JPS63197246A (en) Microprogram controller
JPH01255037A (en) Electronic computer
JPH0619751A (en) Central processing unit
JPH05173779A (en) Digital arithmetic integrated circuit