JPS62278645A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPS62278645A
JPS62278645A JP61122662A JP12266286A JPS62278645A JP S62278645 A JPS62278645 A JP S62278645A JP 61122662 A JP61122662 A JP 61122662A JP 12266286 A JP12266286 A JP 12266286A JP S62278645 A JPS62278645 A JP S62278645A
Authority
JP
Japan
Prior art keywords
micro
instructions
address
microsteps
alu
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
JP61122662A
Other languages
Japanese (ja)
Inventor
Ikuko Akita
秋田 育子
Shigeru Takayama
高山 茂
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 JP61122662A priority Critical patent/JPS62278645A/en
Publication of JPS62278645A publication Critical patent/JPS62278645A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To ensure a test of a microcomputer with high efficiency by using a means which designates a micro-ROM address based on the address value supplied to an external input terminal in a test mode and executes selectively a microstep regardless of an execution flow of a series of microsteps proper to instructions through execution of instructions. CONSTITUTION:In a test mode the test signal is set at a high level and therefore a micro-ROM address selection switch circuit 19 selects the address value supplied from an external input terminal 20. Then the circuit 19 works regardless of the execution flow of a series of microsteps proper to instructions through execution of instructions and executes successively the microsteps designated by the input addresses. Therefore the addresses are successively supplied through the terminal 20 to execute repetitively only each microstep where each arithmetic action of an ALU is carried out in case a certain hardware, e.g., the ALU is checked. As a result, the ALU can be checked without executing all arithmetic instructions and therefore a test pattern is reduced.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明はマイクロプログラム方式のマイクロコンピュー
タに関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a microprogram type microcomputer.

〔従来の技術〕[Conventional technology]

従来のマイクロプログラム方式のマイクロコンビエータ
のブロック図を第2図に示す。
FIG. 2 shows a block diagram of a conventional microprogram type micro combinator.

1は命令ROM、2は命令レジスタ、3はマイクロEL
OMアドレスレジスタ、4はマイクロROM部でデコー
ダとマイクロROMとで構成される。5はラッチ回路、
6はラッチ回路5の出力の一部(数ビット)で1次マイ
クロステップのマイクロROMアドレス情報となる。7
は制御信号発生回路、8は制御信号である。
1 is instruction ROM, 2 is instruction register, 3 is micro EL
OM address register 4 is a micro ROM section which is composed of a decoder and a micro ROM. 5 is a latch circuit,
6 is a part (several bits) of the output of the latch circuit 5, which becomes the micro ROM address information of the primary micro step. 7
is a control signal generation circuit, and 8 is a control signal.

従来技術の動作を説明する。命令ROMxより読み出さ
れた命令コードが命令レジスタ2に入り、命令レジスタ
2の内容がマイクロROMアドレスレジスタ31C転送
され、命令固有な一連のマイクロステップの実行が開始
される。マイクロ)LOMアドレスレジスタ3の出力が
マイクロROM部4のデコーダへ入力され、該アドレス
のマイクロROMが選択されると、ラッチ回路5がマイ
クロROM部4の出力をラッチする。マイクロFLOM
4には、各マイクロステップに於て出すべき制御信号情
報が記憶されており、制御信号発生回路7がラッチ回路
5の出力に基づき制御信号8を出ヵする。一方、ラッチ
回路5の数ビット分の出力6は、マイクロROMアドレ
スレジスタ4に入力されており、これにより次マイクロ
ステップに選択すべきマイクロROMのアドレスが決定
され、引き続きマイクロステップの実行が行なわれる。
The operation of the prior art will be explained. The instruction code read from the instruction ROMx enters the instruction register 2, the contents of the instruction register 2 are transferred to the micro ROM address register 31C, and execution of a series of instruction-specific microsteps is started. The output of the micro) LOM address register 3 is input to the decoder of the micro ROM section 4, and when the micro ROM of the address is selected, the latch circuit 5 latches the output of the micro ROM section 4. Micro FLOM
4 stores control signal information to be output at each microstep, and a control signal generating circuit 7 outputs a control signal 8 based on the output of the latch circuit 5. On the other hand, the output 6 of several bits from the latch circuit 5 is input to the micro ROM address register 4, which determines the address of the micro ROM to be selected for the next micro step, and the micro step is subsequently executed. .

以上の動作を繰り返すことで命令固有な一連のマイクロ
プログラムが実行される。
By repeating the above operations, a series of instruction-specific microprograms is executed.

上述のマイクロコンビエータのテストは、命令実行する
ことによりハードウェアのチェックを行なう。例えばA
LUをチェックする場合、ALUの全洩算命令に対して
一連のマイクロステップのフローを実行させ、各演算機
能を確認することによつALUのチェックが行なわれろ
The micro combinator test described above checks the hardware by executing instructions. For example, A
When checking the LU, the ALU should be checked by executing a series of microstep flows for all arithmetic instructions in the ALU and checking each arithmetic function.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述したマイクロプログラム方式のマイクロコンビエー
タでは、テスト時にあるハードウェアをチェックする場
合は該ハードウェアを動作させる命令を実行し、命令固
有な一連のマイクロステップのフローで該ハードウェア
を動作させ、各機能を確認することによりハードウェア
のチェックな行なった。
In the above-mentioned microprogram-based microcombinator, when checking certain hardware during a test, it executes an instruction to operate the hardware, operates the hardware in a series of instruction-specific microstep flows, and then checks each piece of hardware. Checked the hardware by verifying functionality.

例えば、複数の演算命令を実行するハードウェアをチェ
ックするためには、上記の動作を□全演算命令に対して
実行することが必要である。ところが、これら命令実行
する一連のマイクロステップのフローは加算あるいは減
算など演算動作を決定するマイクロステップのみ異なり
、その池のマイクロステップは同一である場合が多い。
For example, in order to check hardware that executes multiple arithmetic instructions, it is necessary to perform the above operation for all arithmetic instructions. However, the flow of a series of microsteps for executing these instructions differs only in the microsteps that determine an arithmetic operation such as addition or subtraction, and the microsteps in the series are often the same.

従って。Therefore.

マイクロステップのフローが重複しテストバタンか膨大
なものとなりテストの効率が悪いという欠点があった。
This method had the disadvantage that the microstep flow was duplicated, resulting in a huge number of test clicks, which resulted in poor test efficiency.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明のマイクロプログラム方式のマイクロコンピュー
タは、テスト時に外部入力端子に入力されたアドレス値
に基づいてマイクロROMアドレスを指定し、命令実行
による命令固有な一連のマイクロステップの実行フロー
とは関係なくマイクロステップを選択し実行する手段を
有する。
The microprogram type microcomputer of the present invention specifies the micro ROM address based on the address value input to the external input terminal during testing, and the micro ROM address is specified based on the address value input to the external input terminal during testing, and the micro ROM address is specified based on the address value input to the external input terminal. It has means for selecting and executing steps.

〔実施例〕〔Example〕

本発明の一実施例を第1図に示j、11〜18は第2図
に示す従来技術の構成要素1〜8と同一機能である。1
9は、マイクロROMアドレス選択切換回路で、TES
T信号がハイレベルの場合マイクロROMアドレスレジ
スタ13に設定されたアドレス値を、ロウレベルの場合
20から入力されるアドレス値を選択するように切換え
る回路である。20は外部入力端子で、テスト時に外部
からアドレス値を入力する端子である。
An embodiment of the present invention is shown in FIG. 1, and 11-18 have the same functions as the prior art components 1-8 shown in FIG. 1
9 is a micro ROM address selection switching circuit;
This circuit switches the address value set in the micro ROM address register 13 when the T signal is high level, and selects the address value input from 20 when the T signal is low level. Reference numeral 20 denotes an external input terminal, which is a terminal for inputting address values from the outside during testing.

本実施例の動作を説明する。通常の命令実行時は、Tg
ST信号をロウレベルに設定しておく。
The operation of this embodiment will be explained. During normal instruction execution, Tg
The ST signal is set to low level.

命令R,OMI 1より読み出された命令コードが命令
レジスタ12に入るが、TENT信号がロウレベルであ
るので命令が格納されている命令レジスタ12の内容が
マイクロROMアドレスレジスタ13に転送され、マイ
クロROMアドレス選択切換回路19はマイクロROM
アドレスレジスタ13にセットされたアドレス値を選択
し、命令固有な一連のマイクロステップの実行が開始さ
れる。
The instruction code read from instruction R, OMI 1 enters the instruction register 12, but since the TENT signal is low level, the contents of the instruction register 12 where the instruction is stored are transferred to the micro ROM address register 13, and the contents of the instruction register 12 are transferred to the micro ROM address register 13. The address selection switching circuit 19 is a micro ROM.
The address value set in the address register 13 is selected and execution of a series of instruction-specific microsteps is started.

マイクロROM部14から先頭アドレスのマイクロRO
Mが読み出されラッチ回路15はマイクロROMが読み
出され、ラッチ回路15はマイクロ80M部14の出力
をラッチするので制御信号発生回路17はマイクロRO
Mに記憶されていた情報に基づき制御信号18を出力す
る。一方、ラッチ回路15の数ピット分の出力16がマ
イクロROMアドレスレジスタ13に入力され1次のマ
イクロステップのマイクロROMアドレスが決定し、引
き続きマイクロステップの実行が行なわれる。
Micro RO of the first address from the micro ROM section 14
M is read out, the latch circuit 15 reads out the micro ROM, and the latch circuit 15 latches the output of the micro 80M section 14, so the control signal generation circuit 17 outputs the micro ROM.
A control signal 18 is output based on the information stored in M. On the other hand, the output 16 of several pits of the latch circuit 15 is input to the micro ROM address register 13, the micro ROM address of the first micro step is determined, and the micro step is subsequently executed.

’rgs’rは、TgST信号をハイレベルに設定して
お(。’rE8T信号がハイレベルであるのでマイクロ
ROMアドレス選択切換回路19は外部入力端20から
入力されたアドレス値を選択しており、命令実行による
命令固有な一連のマイクロステップの実行フローとは関
係な(動作し、入力されたアドレスで指定されたマイク
ロステップが順次実行される。
'rgs'r sets the TgST signal to high level ('rE8T signal is at high level, so the micro ROM address selection switching circuit 19 selects the address value input from the external input terminal 20. , is unrelated to the execution flow of a series of instruction-specific microsteps due to instruction execution (operation), and the microsteps specified by the input address are sequentially executed.

従っであるハードウェア例えばALUをチェックする場
合は、人LUの各演算動作が実行される各マイクロステ
ップのみを繰り返し実行させるように外部入力端子より
アドレスを順次入力すれば。
Therefore, when checking a piece of hardware such as an ALU, addresses can be input sequentially from the external input terminal so as to repeatedly execute only each microstep in which each arithmetic operation of the human LU is executed.

全演算命令を実行することな(ALUがチェックできる
のでテストパタンは短縮される。
The test pattern is shortened because the ALU can be checked without executing all operation instructions.

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

以上説明したように本発明は、TB8T信号でマイクロ
ROMアドレス選択切換回路が選択するアドレス値を切
換え、外部入力端子からアドレス値を順次入力すること
により命令実行による命令固有は一連のマイクロステッ
プの実行フローとは関係なくマイクロステップを動作さ
せることができるので、ハードウェアの動作と直接関連
したマイクロ命令レベルのチェックが可能となりテスト
バタンか短縮でき効率の良いテストが行なえるという利
点がある。
As explained above, the present invention switches the address value selected by the micro ROM address selection switching circuit using the TB8T signal, and sequentially inputs the address values from the external input terminal. Since the microsteps can be operated independently of the flow, it is possible to check the microinstruction level directly related to the operation of the hardware, which has the advantage of shortening the number of test clicks and enabling efficient testing.

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

第1図は、本発明によるマイクロプログラム方式のマイ
クロコンビエータのブロック図である。 11・・・・・・命令ROM、12・・・・・・命令レ
ジスタ、13・・・・・・マイクロROMアドレスレジ
スタ、14・−・・・・マイクロ8,0M部、15・−
・・−・ラッチ回路、16・・・・・・15の出力の数
ビット分、17・−・・−・制御信号発生回路、18・
・・・−・制御信号、19・・・・・・マイクロROM
アドレス選択切換回路、2o・−・・・・外部入力端子
。 第2図は、従来のマイクロプログラム方式のマイクロコ
ンピュータのブロック図である。 1・・・・・・命令ROM、2・・・・・・命令レジス
タ、3・−・・・・マイクロROMアドレスレジスタ、
4・・・・・・マイクロROM部、5・・・・−・ラッ
チ回路、6・・・・・・5の出力の数ビット分、7・・
・・・・制御信号発生回路、8・・・・・・制御信号。 代理人 弁理士  内 原   晋   、第1図
FIG. 1 is a block diagram of a microprogrammed microcomviator according to the present invention. 11...Instruction ROM, 12...Instruction register, 13...Micro ROM address register, 14...Micro 8,0M section, 15...-
...... Latch circuit, 16... Several bits of the output of 15, 17... Control signal generation circuit, 18.
...-Control signal, 19...Micro ROM
Address selection switching circuit, 2o...external input terminal. FIG. 2 is a block diagram of a conventional microprogram type microcomputer. 1...Instruction ROM, 2...Instruction register, 3...Micro ROM address register,
4...Micro ROM section, 5...--Latch circuit, 6...Several bits of the output of 5, 7...
. . . Control signal generation circuit, 8 . . . Control signal. Agent: Susumu Uchihara, patent attorney, Figure 1

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラム方式のマイクロコンピュータにおい
て、テスト時には外部入力端子に入力されたアドレス値
に基づいてマイクロメモリのアドレスを指定し、命令実
行による一連のマイクロステップの実行フローとは無関
係にマイクロステップを選択し実行する手段を有するこ
とを特徴とするマイクロコンピュータ。
In microprogram-based microcomputers, during testing, the micromemory address is specified based on the address value input to the external input terminal, and a microstep is selected and executed regardless of the execution flow of a series of microsteps by executing instructions. A microcomputer characterized by having means for.
JP61122662A 1986-05-27 1986-05-27 Microcomputer Pending JPS62278645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61122662A JPS62278645A (en) 1986-05-27 1986-05-27 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61122662A JPS62278645A (en) 1986-05-27 1986-05-27 Microcomputer

Publications (1)

Publication Number Publication Date
JPS62278645A true JPS62278645A (en) 1987-12-03

Family

ID=14841528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61122662A Pending JPS62278645A (en) 1986-05-27 1986-05-27 Microcomputer

Country Status (1)

Country Link
JP (1) JPS62278645A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105230A (en) * 1988-10-13 1990-04-17 Nec Corp Semiconductor integrated circuit
JPH07182199A (en) * 1993-12-22 1995-07-21 Nec Corp Information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105230A (en) * 1988-10-13 1990-04-17 Nec Corp Semiconductor integrated circuit
JPH07182199A (en) * 1993-12-22 1995-07-21 Nec Corp Information processor

Similar Documents

Publication Publication Date Title
JPS62278645A (en) Microcomputer
JP2806075B2 (en) Microcomputer
JPH11259291A (en) Device for decoding instruction of microcomputer
JPS6167148A (en) Microcomputer
JPS6015969B2 (en) Microinstruction address generation method
JPH02187834A (en) Microprocessor
JPH0731611B2 (en) Device operation mode switching circuit
JPH02126341A (en) Central processing unit
JP2919841B2 (en) Testing method for data processing equipment
JPS5935245A (en) Pseudo fault generator
KR19990061516A (en) How to execute debugging command in electronic exchange
JPH0310324A (en) Microcomputer
JPH04112341A (en) Microcomputer lsi
JPS6379144A (en) Microprocessor
JPH07225750A (en) Digital signal processor
JPS61201346A (en) Control method for microprogram
JPS60159942A (en) Data processor
JPH05181696A (en) Microcomputer system
JPS6143347A (en) Simulation method of vector instruction
JPH0320830A (en) System for evading fault of microprocessor
JPH05334113A (en) Microcomputer
JPH03105633A (en) Microprogram control system
JPH09114640A (en) Bit operation circuit
JPS62140142A (en) Instruction decoding device
JPH04116475A (en) Semiconductor integration circuit