JPH0792768B2 - Microcomputer - Google Patents
MicrocomputerInfo
- Publication number
- JPH0792768B2 JPH0792768B2 JP60288738A JP28873885A JPH0792768B2 JP H0792768 B2 JPH0792768 B2 JP H0792768B2 JP 60288738 A JP60288738 A JP 60288738A JP 28873885 A JP28873885 A JP 28873885A JP H0792768 B2 JPH0792768 B2 JP H0792768B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- microcomputer
- pointer
- program memory
- output
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
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)
- Microcomputers (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータに関し、特に半導体基板
上に構成されたワンチップマイクロコンピュータの製造
時の欠陥を効率良く検出出来る様あらかじめ検出回路を
備えたマイクロコンピュータに関する。[Field of Industrial Application] The present invention relates to a microcomputer, and in particular, is provided with a detection circuit in advance so as to efficiently detect defects in manufacturing a one-chip microcomputer formed on a semiconductor substrate. Regarding microcomputers.
従来マイクロコンピュータの動作をテストする為に行わ
れていたテスト手法はそのマイクロコンピュータが機能
する命令動作を遂一実行し、実行結果をマイクロコンピ
ュータの端子に出力し期待された結果であるかどうかを
判定していた。また一連の命令を格納するプログラムメ
モリをも備えたマイクロコンピュータにおいては期待通
りの機械詰がプログラムメモリに書き込まれているか否
かを、その命令を実行するのではなく単にプログラムメ
モリの内容を各アドレス毎に外部端子に出力し期待値と
比較する手法もとられている。Conventionally, the test method used to test the operation of the microcomputer is to execute the instruction operation that the microcomputer functions once and output the execution result to the microcomputer terminal to see if it is the expected result. I was making a decision. Also, in a microcomputer that also has a program memory that stores a series of instructions, whether the machine jam as expected is written in the program memory A method is also used in which it is output to an external terminal every time and compared with an expected value.
しかしながら最近の半導体製造技術の進歩はめざまし
く、一つの半導体チップ上の数十万トランジスタを搭載
した超LSIが製造されつつある。この様な超LSI技術を用
いて製造されるマイクロコンピュータは一昔前の大型汎
用コンピュータにも匹敵する程度のデータ処理、製造機
能を備えており前述のテスト手法を用いてこの様なマイ
クロコンピュータをテストしようとすれば実行すべき命
令の種類、及び処理すべきデータ量が非常に多くこの事
からテストのための手順が長大になってしまう。However, recent advances in semiconductor manufacturing technology have been remarkable, and VLSIs having hundreds of thousands of transistors on one semiconductor chip are being manufactured. Microcomputers manufactured using such VLSI technology have data processing and manufacturing functions comparable to those of large-scale general-purpose computers a long time ago, and are tested using the test method described above. If so, the types of instructions to be executed and the amount of data to be processed are very large, which makes the procedure for testing lengthy.
さらにマイクロコンピュータの動作不良の検出という観
点から言えば命令動作を正常に実行している事を判定し
ただけでは不十分で、ある命令の実行時に本来行われて
はならない動作が行なわれない事を確認しなければ不良
検出率を向上させる事はできない。このためさらにテス
ト手順が複雑になりテストパターン開発の為の時間は膨
大なものとなってしまう。Further, from the viewpoint of detection of malfunction of the microcomputer, it is not enough to judge that the instruction operation is normally executed, and the operation that should not be performed at the time of executing a certain instruction is not performed. Without confirmation, the defect detection rate cannot be improved. For this reason, the test procedure becomes more complicated and the time required for developing the test pattern becomes enormous.
また、マイクロコンピュータをテストする上におけるも
う一つの問題点はマイクロコンピュータの端子数に制限
がありマイクロコンピュータ内部の論理状態を判定する
には全く不十分であるという点である。Another problem in testing the microcomputer is that the number of terminals of the microcomputer is limited and it is not sufficient to judge the logic state inside the microcomputer.
従来この問題の対策として多数の内部論理ゲート信号を
時分割制御を行って端子に出力したり多数の論理ゲート
信号を少数の信号に圧縮する制御を行って端子に出力す
る方法がとられていたが、これら手法ではテストのため
の内部ハードウェアが増加してしまう欠点がある。Conventionally, as a countermeasure against this problem, a method of performing time-division control of a large number of internal logic gate signals and outputting them to terminals, or controlling to compress a large number of logic gate signals into a small number of signals and outputting them to terminals has been adopted. However, these methods have a drawback that the internal hardware for testing increases.
本発明はこれらの点に鑑みてなされたものであり本発明
の目的とするところは簡単なテスト手順でマイクロコン
ピュータ内部の複雑な制御信号の動作の判定を行えるマ
イクロコンピュータを提供する事にある。また本発明の
他の目的は外部端子に数を増す事なく多数の内部信号を
端子に導出しテスト可能ならしめるマイクロコンピュー
タを提供する事にある。The present invention has been made in view of these points, and an object of the present invention is to provide a microcomputer capable of judging the operation of a complicated control signal inside the microcomputer by a simple test procedure. Another object of the present invention is to provide a microcomputer which allows a large number of internal signals to be led to the terminals and tested without increasing the number of external terminals.
本発明のマイクロコンピュータは、命令の機械語が格納
されるプログラムメモリと、このプログラムメモリの番
地を順次指定するプログラムアドレスポインタと、命令
実行の制御手順や制御信号情報を保持するマイクロプロ
グラムメモリと、前記プログラムアドレスポインタによ
って指定された前記プログラムメモリの番地から読み出
された命令に基づき得られた番地情報が設定されるシー
ケンスポインタであって、当該番地情報を先頭番地とし
て前記マイクロプログラムメモリの番地を指定し当該指
定した番地から読み出された内容に基づき次の番地を指
定するシーケンスポインタとを備えたマイクロコンピュ
ータであって、制御信号に基づき前記プログラムアドレ
スポインタの出力を前記マイクロプログラムメモリの出
力の代わりに前記シーケンスポインタに導入する手段
と、当該導入された内容に基づき前記シーケンスポイン
タが指定した前記マイクロプログラムメモリの番地から
の出力をマイクロコンピュータの端子に導出する手段と
をさらに備えてなることを特徴とする。A microcomputer of the present invention includes a program memory in which a machine language of an instruction is stored, a program address pointer for sequentially designating addresses of the program memory, a micro program memory for holding an instruction execution control procedure and control signal information, A sequence pointer in which address information obtained based on an instruction read from the address of the program memory designated by the program address pointer is set, and the address of the microprogram memory is set with the address information as a head address. A microcomputer provided with a sequence pointer for designating the next address based on the content read out from the designated address, and outputs the output of the program address pointer based on a control signal to the output of the microprogram memory. Instead of the above Over means for introducing Ken scan pointer, and characterized in that it comprises further means for deriving an output from the address of the microprogram memory in which the sequence pointer on the basis of the introduced content specified in the microcomputer of the terminal.
次に本発明の実施例を図を参照しながら説明する。 Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明によるマイクロコンピュータの構成を示
すブロック図であり、各機能ブロック間の信号の流れを
示している。FIG. 1 is a block diagram showing the configuration of a microcomputer according to the present invention, showing a signal flow between the functional blocks.
第1図において10は命令の機械語が格納されているプロ
グラムメモリで通常マスクプログラマブルなリードオン
リーメモリで構成される。11はプログラムメモリ10の特
定アドレスを指示するプログラムアドレスポインタであ
る。20は命令実行の制御手順や制御信号情報からなるマ
イクロプログラムを格納するマイクロプログラムメモリ
で21はマイクロプログラムの流れを指定するシーケンス
ポインタである。30はマイクロプログラムメモリ21から
出力される信号を受けて各種制御信号を発生する制御部
である。50は各種記憶装置のアドレスデータを転送する
ためのアドレスバス、51は処理データの転送に用いられ
るデータバスである。本実施例ではアドレスバス50は16
ビット幅、データバス51は8ビット幅で構成されてい
る。60はプログラムメモリより出力される命令の機械語
をデータバス51を介して入力するインストラクションレ
ジスタである。41,42はアドレスバス50、データバス51
の内容をマイクロコンピュータ外部へ送出または外部情
報を内部バス51へ入力するための入出力ポートである。
本実施例では41はアドレスバス50の上位ビットを出力す
る動作のみを行うため出力ボートであり、42はデータバ
スと外部データ信号との送・受を行う動作とアドレスバ
ス50の下位ビットを出力する動作を時分割で行う様構成
された入出力ポートであるこの構成は一般にマルチプレ
クスドバスポートと呼ばれているものである。In FIG. 1, reference numeral 10 is a program memory in which the machine language of the instruction is stored, and is normally composed of a mask programmable read only memory. Reference numeral 11 is a program address pointer that points to a specific address of the program memory 10. Reference numeral 20 is a microprogram memory for storing a microprogram consisting of instruction execution control procedures and control signal information, and 21 is a sequence pointer for designating the flow of the microprogram. Reference numeral 30 denotes a control unit that receives signals output from the micro program memory 21 and generates various control signals. Reference numeral 50 is an address bus for transferring address data of various storage devices, and 51 is a data bus used for transferring processing data. In this embodiment, the address bus 50 is 16
The data width of the data bus 51 is 8 bits. Reference numeral 60 is an instruction register for inputting the machine language of the instruction output from the program memory via the data bus 51. 41 and 42 are address bus 50 and data bus 51
Is an input / output port for sending the contents of the above to the outside of the microcomputer or inputting external information to the internal bus 51.
In the present embodiment, 41 is an output port for performing only the operation of outputting the upper bits of the address bus 50, and 42 is an operation of transmitting / receiving the data bus and the external data signal and outputting the lower bits of the address bus 50. This configuration, which is an input / output port configured to perform the operation in a time division manner, is generally called a multiplexed bus port.
マイクロコンピュータの構成としてはこの他に論理算術
演算部、データの一時格納のためのレジスタファイル部
があるが図示していない。In addition to this, the microcomputer has a logical arithmetic operation unit and a register file unit for temporarily storing data, but they are not shown.
次にシーケンスポインタ21及びマイクロプログラムメモ
リ20を詳細に図示した第2図をも参照して本実施例の動
作を説明する。Next, the operation of this embodiment will be described with reference to FIG. 2 which shows the sequence pointer 21 and the micro program memory 20 in detail.
第2図において第1図と同じ機能ブロックには第1図と
同じ番号を付してある。本実施例の通常動作はプログラ
ムアドレスポインタ11によってプログラムメモリ10内の
特定命令がアクセスされ命令の機械語が読み出される。
この機械語に従って命令実行制御が行なわれるのである
がまず制御シーケンスの先頭番地情報としてインストラ
クションレジスタ60より出力される信号C1〜C8がシーケ
ンスポインタ21に入力されるこのデータをデコーダ22に
よりデコードしマイクロプログラムメモリ21の特定番地
をアクセスしこの出力として命令の最初のシーケンスで
動作すべき各種処理部への制御信号μPO1〜μPO32を得
る。この制御信号の内μPO25〜μPO32は次のシーケンス
の制御信号を得るための次ステップアドレス信号として
シーケンスポインタ21に入力されている。以上の様な手
順をくり返し命令を実行する。いまこのマイクロコンピ
ュータのテストを行うためマイクロコンピュータ外部よ
り信号を与え制御信号TESTをアクティブにする(ハイレ
ベルアクティブとする。)このときシーケンスポインタ
21にはプログラムアドレスポインタ11の出力であるプロ
グラムアドレス信号のうちAD1〜AD8が与えられる。マイ
クロプログラムメモリの出力ビット数は32ビット、アド
レスバス50は16ビット幅であるのでプログラムメモリア
ドレス信号AD0はマイクロプログラムメモリ20の出力を
マルチプレクスする信号として用いられる。マルチプレ
クスされた信号は制御信号TESTによりゲートされるバス
ドライバ501〜516を介してアドレスバス50に送出され
る。また制御信号TESTによりプログラムアドレスポイン
タは順次インクリメントされる様制御されているので、
プログラムメモリの出力はデータバス51を介して入出力
ポート42にまたマイクロプログラムメモリーの出力はア
ドレスバス50を介して出力ポート41に出力される。In FIG. 2, the same functional blocks as in FIG. 1 are assigned the same numbers as in FIG. In the normal operation of this embodiment, the program address pointer 11 accesses a specific instruction in the program memory 10 to read the machine language of the instruction.
Instruction execution control is performed according to this machine language.First, the signals C 1 to C 8 output from the instruction register 60 as the start address information of the control sequence are input to the sequence pointer 21, and this data is decoded by the decoder 22. accessing a specific address of the microprogram memory 21 to obtain a control signal μPO 1 ~μPO 32 to various processing units to operate in the first sequence of instructions as the output. Of these control signals, μPO 25 to μPO 32 are input to the sequence pointer 21 as the next step address signal for obtaining the control signal of the next sequence. The above procedure is repeated to execute the instruction. Now, in order to test this microcomputer, a signal is given from the outside of the microcomputer to activate the control signal TEST (high level active). At this time, the sequence pointer
AD 1 to AD 8 of the program address signal output from the program address pointer 11 are applied to 21. Since the number of output bits of the microprogram memory is 32 bits and the address bus 50 has a 16-bit width, the program memory address signal AD 0 is used as a signal for multiplexing the output of the microprogram memory 20. The multiplexed signal is sent to the address bus 50 via the bus drivers 501 to 516 gated by the control signal TEST. Also, since the program address pointer is controlled to be sequentially incremented by the control signal TEST,
The output of the program memory is output to the input / output port 42 via the data bus 51, and the output of the micro program memory is output to the output port 41 via the address bus 50.
以上説明した様に本発明はプログラムアドレスポインタ
の出力をマイクロプログラムメモリのシーケンスポイン
タに導入し、マイクロプログラムメモリの出力を端子に
導出する手段を有しているので、マイクロコンピュータ
内部の複雑な制御信号情報を簡単な手順で外部より検出
可能となり、よってマイクロコンピュータの製造時の不
良を低コストで除去する事が出来る。As described above, the present invention has means for introducing the output of the program address pointer into the sequence pointer of the micro program memory and deriving the output of the micro program memory to the terminal. Information can be detected from the outside by a simple procedure, and therefore, defects in manufacturing a microcomputer can be removed at low cost.
また、本発明によれば内部にプログラムメモリを内蔵し
たマイクロコンピュータにおいても、何ら端子数を増す
事なく、同時に制御信号情報とプログラムメモリの内容
を外部に導出できその効果はいっそう大である。Further, according to the present invention, even in a microcomputer having a built-in program memory, the control signal information and the contents of the program memory can be derived to the outside at the same time without increasing the number of terminals, and the effect is even greater.
第1図は本発明の実施例のブロック図。第2図はマイク
ロプログラムメモリ、20、シーケンスポインタの詳細な
ブロック図。 10……プログラムメモリ、11……プログラムアドレスポ
インタ、20……マイクロプログラムメモリ、21……シー
ケンスポインタ、22……デコーダ、30……制御部、41…
…出力ポート、42……入出力ポート、50……アドレスバ
ス、51……データバス、60……インストラクションレシ
スタ、501〜516……バスドライバ。FIG. 1 is a block diagram of an embodiment of the present invention. FIG. 2 is a detailed block diagram of the micro program memory, 20, and sequence pointer. 10 ... Program memory, 11 ... Program address pointer, 20 ... Micro program memory, 21 ... Sequence pointer, 22 ... Decoder, 30 ... Control unit, 41 ...
… Output port, 42… I / O port, 50… Address bus, 51… Data bus, 60… Instruction register, 501 to 516… Bus driver.
Claims (1)
リと、このプログラムメモリの番地を順次指定するプロ
グラムアドレスポインタと、命令実行の制御手順や制御
信号情報を保持するマイクロプログラムメモリと、前記
プログラムアドレスポインタによって指定された前記プ
ログラムメモリの番地から読み出された命令に基づき得
られた番地情報が設定されるシーケンスポインタであっ
て、当該番地情報を先頭番地として前記マイクロプログ
ラムメモリの番地を指定し当該指定した番地から読み出
された内容に基づき次の番地を指定するシーケンスポイ
ンタとを備えたマイクロコンピュータであって、制御信
号に基づき前記プログラムアドレスポインタの出力を前
記マイクロプログラムメモリの出力の代わりに前記シー
ケンスポインタに導入する手段と、当該導入された内容
に基づき前記シーケンスポインタが指定した前記マイク
ロプログラムメモリの番地からの出力をマイクロコンピ
ュータの端子に導出する手段とをさらに備えてなること
を特徴とするマイクロコンピュータ。1. A program memory in which a machine language of instructions is stored, a program address pointer for sequentially designating addresses of the program memory, a micro program memory for holding instruction execution control procedures and control signal information, and the program. A sequence pointer in which address information obtained based on an instruction read from the address of the program memory specified by the address pointer is set, and the address of the micro program memory is specified with the address information as the start address. A microcomputer having a sequence pointer for designating the next address based on the contents read from the designated address, wherein the output of the program address pointer is replaced with the output of the micro program memory based on a control signal. To the sequence pointer Microcomputer, wherein the means for entering, to become further comprising a means for deriving the output from the address of the microprogram memory in which the sequence pointer on the basis of the introduced content specified in the microcomputer of the terminal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60288738A JPH0792768B2 (en) | 1985-12-20 | 1985-12-20 | Microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60288738A JPH0792768B2 (en) | 1985-12-20 | 1985-12-20 | Microcomputer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62145438A JPS62145438A (en) | 1987-06-29 |
| JPH0792768B2 true JPH0792768B2 (en) | 1995-10-09 |
Family
ID=17734052
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60288738A Expired - Fee Related JPH0792768B2 (en) | 1985-12-20 | 1985-12-20 | Microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0792768B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2777133B2 (en) * | 1988-01-19 | 1998-07-16 | 株式会社リコー | Central processing unit |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58220298A (en) * | 1982-06-14 | 1983-12-21 | Mitsubishi Electric Corp | Semiconductor integrated circuit incorporating rom |
| JPS60233737A (en) * | 1984-05-07 | 1985-11-20 | Matsushita Electric Ind Co Ltd | Incorporated test device of microprocessor |
-
1985
- 1985-12-20 JP JP60288738A patent/JPH0792768B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62145438A (en) | 1987-06-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0095928B1 (en) | Pipeline processing apparatus having a test function | |
| US5802347A (en) | Emulator with function for detecting illegal access to special function register | |
| US5813043A (en) | Method and system including memory patching utilizing a transmission control signal and circuit | |
| JPH02133834A (en) | In-circuit emulator | |
| JPH05233352A (en) | Microprocessor | |
| JPS60175152A (en) | Method and apparatus for self-testing floating-point acceleration processor | |
| KR950009691B1 (en) | Test control circuit of data processing apparatus | |
| US4524417A (en) | Timing signal controlled information processing system | |
| US5872961A (en) | Microcomputer allowing external monitoring of internal resources | |
| US4807178A (en) | Programmable sequence controller having indirect and direct input/output apparatus | |
| JPH0792768B2 (en) | Microcomputer | |
| US5210758A (en) | Means and method for detecting and correcting microinstruction errors | |
| JPS60159951A (en) | Tracing system in information processing device | |
| JPH0581087A (en) | Processor monitoring system | |
| JPH02281341A (en) | Write data confirming method for debugging | |
| JP2531112B2 (en) | Information processing device | |
| JPH0588946A (en) | History memory write system | |
| JPS5936838A (en) | Controlling method of interface | |
| JPS6379136A (en) | Microprogram controller | |
| JPS6393045A (en) | Microprogram controller | |
| JPS648381B2 (en) | ||
| JPH05204680A (en) | Malfunction prevention method for information processing equipment | |
| JPS60193046A (en) | Instruction exception detection method | |
| JPS63174141A (en) | Diagnosing system for test of information processor | |
| JPS61198336A (en) | Scanning-in control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |