JPS59211123A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPS59211123A
JPS59211123A JP58085279A JP8527983A JPS59211123A JP S59211123 A JPS59211123 A JP S59211123A JP 58085279 A JP58085279 A JP 58085279A JP 8527983 A JP8527983 A JP 8527983A JP S59211123 A JPS59211123 A JP S59211123A
Authority
JP
Japan
Prior art keywords
data
output
test
circuit
control signal
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
JP58085279A
Other languages
Japanese (ja)
Inventor
Osamu Kondo
修 近藤
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 JP58085279A priority Critical patent/JPS59211123A/en
Publication of JPS59211123A publication Critical patent/JPS59211123A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the efficiency of a working test by obtaining a device which delivers the data on an internal bus to an output port in a test mode with a simple constitution. CONSTITUTION:The logic level of a test input signal TEST is set at 1 and therefore the output of an OR circuit 21 is set at 1 regardless of PAout. Then the data on an internal bus 18 is read into a flip-flop 19 with the cycle of a clock signal and delivered to a port PA. Thus it is possible to monitor an optional internal bus from outside. This improves the test efficiency.

Description

【発明の詳細な説明】 本発明は半導体集積回路に関し、特に、データを並列転
送するためのデータバスと、このデータバスのデータを
入出力させるボートを有する半導体集積回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a semiconductor integrated circuit, and more particularly to a semiconductor integrated circuit having a data bus for transferring data in parallel and a port for inputting and outputting data on the data bus.

従来、メモリ部、演算部、データバス、入出力ボート等
を有する半導体集積回路を製造したとき。
Conventionally, when manufacturing a semiconductor integrated circuit that has a memory section, arithmetic section, data bus, input/output board, etc.

テストを行って正しく動作するかどうかの動作確認を行
っている。
We are conducting tests to confirm that it works correctly.

例えは、プログラムメモリ、データメモリ、汎用レジス
タ、アキュムレータ、算術論理演算部、入出力ボート、
データバス等を同一半導体基板上に備えたシングルチッ
プマイクロコンピュータの動作テストにおいて、従来各
命令の実行後、その結果をボートへ出力する命令を実行
しなければ動作の良否を検出できなかった。このため、
動作テストの検出率向上を図ると、テスト時間の増加、
およびテスタで碧するパターンメモリの増加を招く欠点
があった。これを図面を用いて説明しよう。
For example, program memory, data memory, general-purpose registers, accumulators, arithmetic and logic units, input/output ports,
In the operation test of a single-chip microcomputer equipped with a data bus and the like on the same semiconductor substrate, it has conventionally been necessary to execute an instruction to output the result to the board after each instruction is executed in order to detect whether the operation is good or bad. For this reason,
If you try to improve the detection rate of operational tests, the test time will increase,
Also, there was a drawback of increasing the pattern memory required by the tester. Let's explain this using drawings.

第1図は従来のシ/グルテツプマイクロコンビエータの
一例の太部のブロック図である。
FIG. 1 is a block diagram in bold part of an example of a conventional si/gle step micro combinator.

図示していないが、マイクロコンビエータ内部における
各回路の動作タイミングは基本クロックによシ定められ
ている。また、各命令は基本クロックと制御回路によシ
作られるマシンサイクルを基本として実行され、1命令
の実行に1マシンサイクル以上必要である。
Although not shown, the operation timing of each circuit inside the micro combinator is determined by a basic clock. Further, each instruction is basically executed on the basis of a machine cycle generated by a basic clock and a control circuit, and one or more machine cycles are required to execute one instruction.

第1図のマイクロコンビニータで、汎用レジスタ4でア
ドレスされたデータメモリ6の内容と既に内容の定まっ
ているアキュムレータ8との算術演算を行ない、その結
果をデータメモリへ格納する命令の実行過程について説
明する。
Regarding the execution process of an instruction to perform an arithmetic operation on the contents of the data memory 6 addressed by the general-purpose register 4 and the accumulator 8 whose contents have already been determined, and to store the result in the data memory in the micro combinator shown in Fig. 1. explain.

第1のマシンサイクルで、プログラムメモリ5の内容を
読出して命令レジスタ10ヘセツトし。
In the first machine cycle, the contents of program memory 5 are read and set into instruction register 10.

これを命令デコーダ11によシテコードして命令に応じ
た各種の制御信号を発生する。第2のマシンサイクルで
、汎用レジスタ4でアドレスされたデータメモリ6の内
容を読出し、一時記憶レジスタ7ヘセツトする。第3の
マシンサイクルでは。
This is coded by an instruction decoder 11 to generate various control signals according to the instruction. In the second machine cycle, the contents of data memory 6 addressed by general register 4 are read and set into temporary storage register 7. In the third machine cycle.

算術論理演算部9によシアキエムレータ8.一時記憶レ
ジスタフとの算術演算を行なう。第4のマシンサイクル
で演算結果をデータメモリ6へ書込む。命令の実行中、
各ブロック間のデータ転送は内部データバス18を介し
て行なわれ、また、プログラムメモリタ3は各命令に従
ってカウントアツプされる。
The arithmetic logic operation unit 9 performs a synergistic emulator 8. Performs arithmetic operations with temporary storage registers. The calculation result is written to the data memory 6 in the fourth machine cycle. During the execution of an instruction,
Data transfer between each block is performed via an internal data bus 18, and the program memory 3 is counted up according to each instruction.

上記の命令が実行され、この命令が正常に行なわれたこ
とを確認する場合、従来の構成ではこの後プログラムに
よりデータメモリ6の内容をボート12または13へ出
力せねばならず、このために二つの命令を実行しなけれ
に命令の動作確認が出来なかった。
When the above instruction is executed and it is confirmed that this instruction has been executed normally, in the conventional configuration, the contents of the data memory 6 must be output to the port 12 or 13 by a program after this, and for this purpose, two It was not possible to check the operation of an instruction without executing one instruction.

各命令の動作を確認する場合、外部からの制御信号によ
シブログラムメモリ5の読出しを禁止し。
When checking the operation of each command, reading from the siprogram memory 5 is prohibited by an external control signal.

データバスボート16を介してテストプログラムによシ
任意の命令コードおよびデータを与え、結果をボー)1
2または13へ出力するように構成することは可能であ
る。しかし、この手段を用いても、検出率の向上を図っ
た場合、ボー)12または13への出力命令の追加によ
るテストプログラムステップの大幅な増加はまぬがれな
い。このことは、テスト時間及びテスターに必要なパタ
ーンメモリの大幅な増加を伴なうことを意味する。
Give any instruction code and data to the test program via the data bus port 16, and send the result to the test program (baud) 1
It is possible to configure the output to 2 or 13. However, even if this means is used, if the detection rate is to be improved, the number of test program steps will inevitably increase significantly due to the addition of an output command to the baud 12 or 13. This means a significant increase in test time and pattern memory required in the tester.

また、構成上の制限から、プログラムメモリ5の内容を
順次読出して各命令の動作を確認する場合、プログラム
上にボートへの出力命令が現われなければ、それ以前の
命令の動作確認が行なわれない。従って、不良が検出さ
れても、不良個所の確認に支障があるばかシでなく、不
良動作の検出率低下を招く欠点があった。
Furthermore, due to configuration limitations, when reading the contents of the program memory 5 sequentially to check the operation of each instruction, if no output instruction to the boat appears on the program, the operation of the previous instructions will not be checked. . Therefore, even if a defect is detected, it is not only difficult to confirm the location of the defect, but also has the drawback of causing a decrease in the detection rate of defective operations.

本発明は上記欠点を除去し、僅かな回路の追加によりテ
スト時に内部バスのデータをボートに出力するようにし
て動作テストの効率化が実現できるようにした半導体集
積回路を提供するものである。
The present invention eliminates the above-mentioned drawbacks and provides a semiconductor integrated circuit in which data on an internal bus is output to a board during testing by adding a small number of circuits, thereby increasing the efficiency of operational testing.

本発明の半導体集積回路は、nビットのデータを並列転
送するためのデータバスと、出力命令によシ発生する第
1の制御信号と外部よ少入力されるテスト入力信号との
論理和を出力するオア回路と、該オア回路の出力とクロ
ック信号との論理積5− を第2の制御信号として出力するアンド回路と。
The semiconductor integrated circuit of the present invention has a data bus for transferring n-bit data in parallel, and outputs a logical sum of a first control signal generated by an output command and a test input signal input from the outside. an AND circuit that outputs the AND of the output of the OR circuit and a clock signal as a second control signal.

該第2の制御信号を入力し、前記テスト入力信号が第1
の論理レベルにあるときは前記第1の制御信号の論理レ
ベルに応じて前記データバスの各ビットのデータをボー
HC出力し、前記テスト入力信号が第2の論理レベルに
あるときは前記第1の制御信号とは無関係に前記クロッ
ク信号の周期で前記データバスの各ピットのデータをボ
ートへ出力するフリップフロップとを含んで構成される
the second control signal; and the test input signal is the first control signal.
When the test input signal is at a second logic level, the data of each bit of the data bus is output as a baud HC according to the logic level of the first control signal, and when the test input signal is at a second logic level, the first control signal and a flip-flop that outputs the data of each pit of the data bus to the boat at the cycle of the clock signal, regardless of the control signal of the data bus.

次に本発明の実施例について図面を用いて説明する。Next, embodiments of the present invention will be described using the drawings.

第2図は本発明の一実施例のブロック図である。FIG. 2 is a block diagram of one embodiment of the present invention.

第2図には第1図の化カポ−) 12に対応する化カポ
−)FAに出力される1ビツトのみを代表して示してい
る。この実施例は、nビットのデータを並列転送するた
めのデータバス18と、出力命令によシ発生する第1の
制御信号PAoutと外部よ少入力されるテスト入力信
号’l’estとの論理和を出力するオア回12!21
と、とのオア回路21の出力とクロック信号φとの論理
横倉第2の制御6− 信号として出力するアンド回路20と、この第2の制御
信号を入力し、テスト入力信号Te5tが第1の論理レ
ベルにあるときは第1の制御信号PAoutの論理レベ
ルに応じてデータバス18の各ピットのデータをボー)
PAに出力し、テスト入力信号Tes tが第2の論理
レベルにあるときは第第1の制御信号PAoutとは無
関係にクロック信号φの周期でデータバス18の各ビッ
トのデータをボートへ出力するフリップフロップ19と
を含んで構成される。
In FIG. 2, only one bit outputted to the conversion capo) FA corresponding to the conversion capo) 12 in FIG. 1 is representatively shown. This embodiment is based on the logic of a data bus 18 for transferring n-bit data in parallel, a first control signal PAout generated by an output command, and a test input signal 'l'est input from the outside. OR times that output the sum 12!21
Logic of the output of the OR circuit 21 and the clock signal φ Yokokura Second control 6- The AND circuit 20 outputs as a signal, and this second control signal is input, and the test input signal Te5t is (When it is at the logic level, the data in each pit of the data bus 18 is baud according to the logic level of the first control signal PAout.)
When the test input signal Test is at the second logic level, the data of each bit of the data bus 18 is output to the boat at the cycle of the clock signal φ, regardless of the first control signal PAout. It is configured to include a flip-flop 19.

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

テスト入力信号Te5tの論理レベルがtlO”であれ
ば、出力命令によって第1の制御信号PAoutが11
”となるとオア回路21の出力は61″となシクロツク
信号φが11″となったときに内部データバスのデータ
がフリップ70ツブ19に読込まれ、ボートPAに出力
される。ボートPAに出力されたデータは次の出力命令
まで保持される。次に、テスト入力信号Te5tの論理
レベルを”t”とすると、この間PA 011 (と無
関係にオア回路21の出力は11″であり、クロック信
号φの周期で内部データバス18のデータが7リツプフ
ロツプ19に読込まれ、ボートPAに出力される。上記
のようにテスト入力信号Tes tの論理レベル11″
とすることによシ、クロック信号φの周期でデータを外
部へ出力でき、外部より任意に内部データバスをモニタ
ーすることが可能となる。
If the logic level of the test input signal Te5t is tlO'', the first control signal PAout is set to 11 by the output command.
", then the output of the OR circuit 21 is 61". When the clock signal φ becomes 11", the data on the internal data bus is read into the flip 70 block 19 and output to the boat PA. The output data is held until the next output command. Next, if the logic level of the test input signal Te5t is "t", the output of the OR circuit 21 is 11'' regardless of PA 011 during this time, and the clock signal φ The data on the internal data bus 18 is read into the 7-lip flop 19 and output to the port PA at the cycle of .
By doing so, data can be outputted to the outside at the cycle of the clock signal φ, and the internal data bus can be arbitrarily monitored from the outside.

各命令において、各種メモリ、レジスタ、ボート等間の
データの転送は全てデータバスを介して行なわれるため
、データバスをモニターすることによシ各命令の動作の
検出率は大幅に向上できる。
For each instruction, all data transfer between various memories, registers, ports, etc. is performed via the data bus, so by monitoring the data bus, the detection rate of the operation of each instruction can be greatly improved.

また、検出率向上のために要するボートへの出力命令も
不要となるため、大幅にテストプログラムを減少できる
。従って、テスター等におけるテスト時間の短縮、必要
パターンメモリの減少を図ることができる。
Furthermore, since there is no need to issue an output command to the boat required to improve the detection rate, the number of test programs can be significantly reduced. Therefore, it is possible to shorten the test time in a tester or the like and reduce the required pattern memory.

テスト入力信号Te5tで制御されるボートは。The boat controlled by the test input signal Te5t is:

第1図に示す出力ポート12に限定されるものではなく
、入出力兼用ボート13であっても良い。
The port 12 is not limited to the output port 12 shown in FIG. 1, and may be an input/output port 13.

以上詳細に説明したように、本発明は、複雑な制御回路
を付加することを髪せず、単にテスト入力信号の追加と
ボート部回路の僅かな変更によシ半導体集積回路のテス
トにおける不良検出率の大幅な向上を図ることができる
という効果を有する。
As described above in detail, the present invention enables defect detection in semiconductor integrated circuit testing by simply adding a test input signal and making slight changes to the board circuit without adding a complicated control circuit. This has the effect of making it possible to significantly improve the rate.

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

第1図は従来のシングルチップマイクロコンピュータの
一例の要部ブロック図、第2図は本発明の一実施例の回
路図である。 l・・・・・・発振部、2・・・・・・制御部、3・・
・・・・プログラムカウンタ、4・・・・・・汎用レジ
スタ、5・・・・・・プログラムメモリ、6・・・・・
・データメモリ、7・・・・・・一時記憶レジスタ、8
・・・・・・アキニムレータ、9・・・・・・算術論理
演算部、10・・・・・・命令レジスタ、11・・・・
・・命令デコーダ、12・・・・・・出力ボート、13
・・・・・・入出力兼用ボート、14・・・・・・入力
ボート% 15・・・・・・アドレス出力ボート、16
・・・・・・データバスボート、17・・・・・・内部
アドレスバス、18・・・・・・内部データバス、19
・・・・・・フリップフロップ% 20・・・・・・ア
ンド回路、21・・・・・・オア回路、PA・・・・・
・ボート、9− PA□ut・・・・・・第1の制御信号。Te5t・・
・・・・テスト入力信号。 io−
FIG. 1 is a block diagram of a main part of an example of a conventional single-chip microcomputer, and FIG. 2 is a circuit diagram of an embodiment of the present invention. l...Oscillating unit, 2...Control unit, 3...
...Program counter, 4...General-purpose register, 5...Program memory, 6...
・Data memory, 7...Temporary storage register, 8
...Akinimulator, 9...Arithmetic logic operation unit, 10...Instruction register, 11...
...Instruction decoder, 12...Output port, 13
...Input/output port, 14...Input boat% 15...Address output port, 16
...Data bus port, 17...Internal address bus, 18...Internal data bus, 19
...Flip-flop% 20...AND circuit, 21...OR circuit, PA...
- Boat, 9-PA□ut...First control signal. Te5t...
...Test input signal. io-

Claims (1)

【特許請求の範囲】[Claims] nビットのデータを並列転送するためのデータバスと、
出力命令によ多発生する第1の制御信号と外部より入力
されるテスト入力信号との論理和を出力するオア回路と
、該オア回路の出力とクロック信号との論理積を第2の
制御信号として出力するアンド回路と、該第2の制御信
号を入力し、前記テスト入力信号が第1の論理レベルに
あるときは前記第1の制御信号の論理レベルに応じて前
記データバスの各ビットのデータをボートに出力し、前
記テスト入力信号が第2の論理レベルにあるときは前記
第1の制御信号とは無関係に前記クロック信号の周期で
前記データバスの各ビットのデータをボートへ出力する
スリップ70ツブとを含むことを特徴とする半導体集積
回路。
a data bus for transferring n-bit data in parallel;
An OR circuit that outputs the logical sum of a first control signal frequently generated by an output command and a test input signal input from the outside, and a second control signal that outputs a logical product of the output of the OR circuit and a clock signal. and an AND circuit that inputs the second control signal, and when the test input signal is at a first logic level, outputs each bit of the data bus according to the logic level of the first control signal. outputting data to a boat, and when the test input signal is at a second logic level, outputting data of each bit of the data bus to the boat at a cycle of the clock signal, regardless of the first control signal; A semiconductor integrated circuit comprising: a slip 70 tab.
JP58085279A 1983-05-16 1983-05-16 Semiconductor integrated circuit Pending JPS59211123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58085279A JPS59211123A (en) 1983-05-16 1983-05-16 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58085279A JPS59211123A (en) 1983-05-16 1983-05-16 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPS59211123A true JPS59211123A (en) 1984-11-29

Family

ID=13854120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58085279A Pending JPS59211123A (en) 1983-05-16 1983-05-16 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPS59211123A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0239247A (en) * 1988-07-28 1990-02-08 Fujitsu Ltd Microprocessor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55110349A (en) * 1979-01-29 1980-08-25 Fujitsu Ltd Test processing system of one-chip microprocessor
JPS57182248A (en) * 1981-05-01 1982-11-10 Toshiba Corp Arithmetic processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55110349A (en) * 1979-01-29 1980-08-25 Fujitsu Ltd Test processing system of one-chip microprocessor
JPS57182248A (en) * 1981-05-01 1982-11-10 Toshiba Corp Arithmetic processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0239247A (en) * 1988-07-28 1990-02-08 Fujitsu Ltd Microprocessor

Similar Documents

Publication Publication Date Title
US20030120974A1 (en) Programable multi-port memory bist with compact microcode
US5677913A (en) Method and apparatus for efficient self testing of on-chip memory
JPH0548494B2 (en)
JPH04178580A (en) Self diagnostic device for semiconductor memory
JPS6211734B2 (en)
JPH11282709A (en) In-circuit emulator
JPS59211123A (en) Semiconductor integrated circuit
US6445205B1 (en) Method of testing integrated circuits
TWI783898B (en) Test circuit and method for reading data from a memory device during memory dump
US6256761B1 (en) Integrated electronic module with hardware error infeed for checking purposes
JPS6044702B2 (en) semiconductor equipment
JPH1040130A (en) Microcomputer
CN116994638A (en) Test circuit and method for reading memory device data in memory dump operation
US20040107388A1 (en) Microcomputer
KR100345673B1 (en) integrated circuit capable of self-testing
JPS6153579A (en) Tester for function of logical circuit
JPH0223432A (en) Self-diagnostic system
JPH0238879A (en) Logical circuit
JP2004302727A (en) Operation check system of fpga
JPH077345B2 (en) Self-diagnosis circuit of logic circuit block
JPS63174141A (en) Diagnosing system for test of information processor
JPS6210390B2 (en)
JPH09106359A (en) Semiconductor integrated circuit
JPS62150181A (en) Test system for large-scale integrated circuit
JPH0517756U (en) One-chip micro computer