JP2002099446A - Register test circuit - Google Patents

Register test circuit

Info

Publication number
JP2002099446A
JP2002099446A JP2000291474A JP2000291474A JP2002099446A JP 2002099446 A JP2002099446 A JP 2002099446A JP 2000291474 A JP2000291474 A JP 2000291474A JP 2000291474 A JP2000291474 A JP 2000291474A JP 2002099446 A JP2002099446 A JP 2002099446A
Authority
JP
Japan
Prior art keywords
data
register
address
integrated circuit
read
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
JP2000291474A
Other languages
Japanese (ja)
Inventor
Shinya Miyazaki
慎也 宮崎
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000291474A priority Critical patent/JP2002099446A/en
Publication of JP2002099446A publication Critical patent/JP2002099446A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain a register test circuit to test a register in an integrated circuit automatically and at high speed with a few input/output from/to outside. SOLUTION: The test circuit comprises an address generator 2 to specify a register address of a target of writing or reading of data among more than one register into the integrated circuit, a data generator 1 to generate data should be written into the register having the specified address, a read/write timing generator 3 to generate read/write timing into/from the register and switching circuits 4, 5 and 6 to switch an access signal to the register responding at a time of a test or an actual operation, so that the test is attained by performing read/write to all registers in the integrated circuit automatically along with updating the address and the data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、レジスタテスト回
路に関し、特に集積回路内に設けられ集積回路内のレジ
スタをテストするレジスタテスト回路に関する。
The present invention relates to a register test circuit, and more particularly to a register test circuit provided in an integrated circuit for testing a register in the integrated circuit.

【0002】[0002]

【従来の技術】従来、集積回路内のレジスタをテストす
るレジスタテスト回路として集積回路の外部からデータ
を入力してテストするものが報告されている。例えば、
特開平2−031239号公報に示されるレジスタテス
ト回路装置は、データを蓄えるテスト用レジスタを含ん
で集積回路内に設けられるもので、この集積回路内のテ
スト用レジスタに集積回路の外部より直接データを入力
することができるようになっていて、これを用いて集積
回路内の各レジスタのテストを容易に、かつ高速に行う
ことができる。
2. Description of the Related Art Conventionally, there has been reported a register test circuit for testing a register in an integrated circuit by inputting data from outside the integrated circuit. For example,
The register test circuit device disclosed in Japanese Patent Application Laid-Open No. 2-031239 is provided in an integrated circuit including a test register for storing data, and the test register in the integrated circuit is directly provided with data from outside the integrated circuit. Can be input, and the register can be easily and rapidly tested in the integrated circuit by using this.

【0003】しかしながら、集積回路の外部から直接任
意のレジスタにアクセスして、アクセスしたレジスタの
各ビットを“H”としたり“L”にしたりし、書き込み
を行った結果と読み出した結果を比較して異常を検査す
る従来の方法では、書き込みたいアドレス指定と書き込
みたいデータとを、その都度、指定しなければならない
ため、テストパターンとしては単純ではあるが長いもの
が必要になる。そのため異常があった場合、テストパタ
ーンをみてデバッグを行うと、単純ではあるが他の似た
ような情報に惑わされて誤った結果を出してしまう虞が
ある。
However, an arbitrary register is directly accessed from outside the integrated circuit, and each bit of the accessed register is set to “H” or “L”, and the result of writing and the result of reading are compared. In the conventional method of inspecting for abnormalities, it is necessary to specify an address to be written and data to be written each time, so that a simple but long test pattern is required. For this reason, when there is an abnormality, when debugging is performed by looking at the test pattern, there is a risk that a simple but confusing other similar information may give an incorrect result.

【0004】また、近年の回路規模の大容量化、機能の
増加に伴って、集積回路内に設けられるデータを蓄える
レジスタの数が急激に増えてきている。これらの多くの
レジスタをテストする場合、各レジスタに対して、高速
に両レベルの“H”と“L”信号を書き込んで、読み出
す作業が少なくとも必要となってくる。実際にテストす
る場合には、処理速度の向上が要求され、テストパター
ン選択の影響が顕著に現れることになり、従来のレジス
タテスト回路では必ずしも十分とはいえないという問題
がある。
[0004] Further, with the recent increase in circuit size and functions, the number of registers for storing data provided in an integrated circuit has rapidly increased. When testing many of these registers, it is necessary to at least write and read both levels of "H" and "L" signals at high speed to each register. In an actual test, an improvement in processing speed is required, and the effect of test pattern selection becomes noticeable, and there is a problem that conventional register test circuits are not always sufficient.

【0005】[0005]

【発明が解決しようとする課題】上述のごとく、従来の
レジスタテスト回路では、外部からその都度データを入
力する必要があるため手間がかかり、誤りがおきやすい
という問題があった。さらに、最近の多数のレジスタを
有する集積回路をテストするためには処理速度が十分と
いえないという問題があった。本発明は、比較的簡単な
方法でこの問題を解決して、集積回路内部にアドレス、
データ、リード/ライトタイミングを発生させる発生回
路を用意することで、データ、アドレス、リード/ライ
トタイミングを発生させ、それらの信号線を切り替える
ことにより、外部に対してのデータの入出力が少なく、
自動的にかつ高速に集積回路内のレジスタのテストを行
うレジスタテスト回路の実現を課題とする。
As described above, in the conventional register test circuit, it is necessary to input data each time from the outside, so that there is a problem that it is troublesome and an error easily occurs. Furthermore, there is a problem that the processing speed cannot be said to be sufficient for testing a recent integrated circuit having many registers. The present invention solves this problem in a relatively simple manner, and addresses,
By preparing a generation circuit for generating data and read / write timing, data, addresses and read / write timing are generated, and by switching those signal lines, data input / output to the outside is reduced.
An object of the present invention is to realize a register test circuit for automatically and quickly testing a register in an integrated circuit.

【0006】[0006]

【課題を解決するための手段】上記課題を達成するた
め、本発明は、複数のレジスタを有する集積回路内の各
レジスタの動作をテストするレジスタテスト回路におい
て、前記集積回路内に、前記複数のレジスタ中からデー
タを書き込む先またはデータを読み出す先のレジスタの
アドレスを指定するアドレス発生手段と、このアドレス
発生手段で指定したアドレスのレジスタヘ書き込むべき
データを発生するデータ発生手段と、このデータ発生手
段で発生したデータを前記アドレス発生手段で指定した
アドレスのレジスタに書き込むタイミングと読み出すタ
イミングとを作るリードライトタイミング発生手段と、
テスト時と実動作時とでレジスタにアクセスする信号を
切り替える切り替え手段とを具備し、前記アドレス発生
手段と前記データ発生手段を用いてアドレスとデータを
更新しながら自動的に集積回路内のすべてのレジスタに
リード/ライトしてテストを行うことを特徴とする。こ
れにより、集積回路内の各レジスタに自動的にデータを
書き込んでは読み出して、容易にかつ高速にレジスタの
テストを行うことが可能なレジスタテスト回路を実現す
ることができる。
In order to achieve the above object, the present invention provides a register test circuit for testing the operation of each register in an integrated circuit having a plurality of registers. Address generating means for designating the address of a register from which data is to be written or from which data is to be read; data generating means for generating data to be written to the register at the address designated by the address generating means; Read / write timing generating means for generating timing for writing and reading the generated data to the register at the address specified by the address generating means;
Switching means for switching a signal for accessing a register between a test and an actual operation, and automatically updating all addresses in the integrated circuit while updating addresses and data using the address generating means and the data generating means. A test is performed by reading / writing to / from a register. This makes it possible to realize a register test circuit that can automatically write and read data to and from each register in the integrated circuit and perform a register test easily and at high speed.

【0007】[0007]

【発明の実施の形態】以下、本発明にかかるレジスタテ
スト回路を添付図面を参照にして詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a register test circuit according to the present invention will be described in detail with reference to the accompanying drawings.

【0008】図1は、本発明のレジスタテスト回路の一
実施の形態の基本構成を示すブロック図である。図1に
おいて、符号1はレジスタに書き込むためのデータを発
生させるデータ発生装置である。符号2はどの番地のレ
ジスタに書き込むかを決めるためのアドレスを発生させ
るアドレス発生装置である。符号3はレジスタにデータ
を書き込んだり読み出したりするためのタイミングを発
生させるタイミング発生装置である。符号4、5、6は
それぞれ実動作時のデータ信号、アドレス信号、リード
/ライト信号と、テスト回路から出力されるデータ信
号、アドレス信号、リード/ライト信号とを切り替える
切り替え回路である。符号7は実動作時のデータ信号、
符号8は実動作時のアドレス信号、符号9は実動作時の
リード/ライト信号である。符号10は集積回路に搭載
され、それぞれ異なった機能に用いられるレジスタであ
る。
FIG. 1 is a block diagram showing a basic configuration of an embodiment of a register test circuit according to the present invention. In FIG. 1, reference numeral 1 denotes a data generator for generating data to be written to a register. Reference numeral 2 denotes an address generator for generating an address for deciding which register to write to. Reference numeral 3 denotes a timing generator for generating timing for writing and reading data to and from a register. Reference numerals 4, 5, and 6 denote switching circuits for switching between a data signal, an address signal, and a read / write signal in an actual operation, and a data signal, an address signal, and a read / write signal output from a test circuit. Reference numeral 7 is a data signal during actual operation,
Reference numeral 8 denotes an address signal during actual operation, and reference numeral 9 denotes a read / write signal during actual operation. Reference numeral 10 denotes a register mounted on the integrated circuit and used for different functions.

【0009】図1にそって本実施の形態の動作を説明す
る。説明を簡単にするために、一例としてデータ幅を8
ビットとして説明を行う。図6および図7に各部の波形
を示す。図6(a)、図7(a)はクロック、図6
(b)、図7(b)は書き込みデータ、図6(c)、図
7(c)はレジスタのアドレス、図6(d)、図7
(d)はリード/ライト信号、図6(e)、図7(e)
はレジスタの出力データである。アドレスバスに対象レ
ジスタのアドレス(c)を、データバスに書き込みデー
タ(b)を設定し、リード/ライト信号(d)をハイと
すると、クロック(a)によってデータ(b)が対象レ
ジスタに書き込まれる。アドレスバスに対象レジスタの
アドレス(c)を設定し、リード/ライト信号(d)を
ローとすると、クロック(a)によってデータ(e)が
対象レジスタからデータバスに読み出される。
The operation of this embodiment will be described with reference to FIG. For simplicity, the data width is set to 8 as an example.
Description will be made as bits. FIG. 6 and FIG. 7 show the waveforms of each part. 6 (a) and 7 (a) are clocks, FIG.
7 (b) and 7 (b) are write data, FIGS. 6 (c) and 7 (c) are register addresses, and FIGS. 6 (d) and 7
(D) is a read / write signal, FIGS. 6 (e) and 7 (e)
Is output data of the register. When the address (c) of the target register is set to the address bus, the write data (b) is set to the data bus, and the read / write signal (d) is set high, the data (b) is written to the target register by the clock (a). It is. When the address (c) of the target register is set on the address bus and the read / write signal (d) is set to low, data (e) is read from the target register to the data bus by the clock (a).

【0010】ここで、たとえば図6のように、同一アド
レスのレジスタの8ビットに対して01hを書き込む。
次にその書き込んだデータ01hをこのレジスタより読
み出す。さらに同一アドレスのレジスタに02hを書き
込む。次にその書き込んだデータ02hをレジスタより
読み出す。このようにレジスタの各データビットに順次
“H”を立て、次のタイミングで立てた“H”を読み出
す。これにより、対象レジスタの全ビットをテストする
ことができる。または、図7のように同一アドレスのす
べてのデータビットに00hを書き込み、次のタイミン
グでそのデータを読み出し、さらに次のタイミングでf
fhを書き込み、その書き込んだデータffhを読み出
すように簡略化することもできる。このようにレジスタ
に書き込んだデータをレジスタより読み出すことにより
レジスタのテストを行う。なお、テスト方法は図6、図
7に示した方法に限られるものではない。
Here, for example, as shown in FIG. 6, 01h is written to 8 bits of a register at the same address.
Next, the written data 01h is read from this register. Further, 02h is written to the register at the same address. Next, the written data 02h is read from the register. As described above, "H" is sequentially set for each data bit of the register, and the "H" set at the next timing is read. Thus, all bits of the target register can be tested. Alternatively, as shown in FIG. 7, 00h is written to all data bits of the same address, the data is read out at the next timing, and fh is written at the next timing.
fh may be written and the written data ffh may be read. A test of the register is performed by reading the data written in the register from the register. The test method is not limited to the methods shown in FIGS.

【0011】このように、集積回路内部にアドレス、デ
ータ、リード/ライトタイミングを発生させる回路を用
意し、テスト時にはそれらの回路からの信号線を通常の
動作の場合の信号線に切り替えることにより、自動的に
アドレス、データ、リード/ライトタイミングを発生さ
せ、集積回路内のレジスタのテストを行う。このことに
より集積回路外部から信号を入力しなくても自動的にレ
ジスタに必要な情報を書き込むことができ、その情報を
読み出すことにより集積回路内のレジスタをテストする
ことが可能で、テストを容易に行うことができる。
As described above, circuits for generating addresses, data, and read / write timings are prepared in the integrated circuit, and signal lines from these circuits are switched to signal lines for normal operation during a test. An address, data, and read / write timing are automatically generated to test a register in the integrated circuit. As a result, necessary information can be automatically written to the register without inputting a signal from outside the integrated circuit, and the register in the integrated circuit can be tested by reading the information, thereby facilitating the test. Can be done.

【0012】図2は、本発明のレジスタテスト回路の他
の実施の形態の基本構成を示すブロック図である。図2
において、符号1〜符号10は図1と同じものを示す。
符号11はリードされるデータとライトされたデータを
比較するデータ比較手段で、図6、図7でのレジスタに
書き込まれるデータ(b)と読み出されたデータ(e)
とを比較する。比較した結果、一致しているか間違えて
いるかを判断する信号により、レジスタのテストを行
う。この場合、発生回路自体がアドレス、データを自動
的に発生させているため、どのデータをどのアドレスに
書き込んでいるかがわかっている。したがって、実際に
何が書き込まれていて何が読み出されているかと言う情
報は集積回路内部でクローズされているため、必要以上
の情報を集積回路外部に読み出す必要がなく、高速にレ
ジスタのテストを行うことができる。
FIG. 2 is a block diagram showing a basic configuration of another embodiment of the register test circuit of the present invention. FIG.
, Reference numerals 1 to 10 indicate the same components as those in FIG.
Numeral 11 denotes data comparing means for comparing read data and written data, and the data (b) written to the register and the read data (e) in FIGS.
Compare with As a result of the comparison, the register is tested based on a signal for determining whether the register matches or is incorrect. In this case, since the generation circuit itself automatically generates addresses and data, it is known which data is written to which address. Therefore, since information on what is actually written and what is being read is closed inside the integrated circuit, it is not necessary to read more information than necessary outside the integrated circuit, and the register test can be performed at high speed. It can be performed.

【0013】図3は、本発明のレジスタテスト回路の他
の実施の形態の基本構成を示すブロック図である。図3
において、符号1〜符号10は図1と同じものを示す。
図3の符号12は任意にデータを決めることのできるデ
ータレジスタである。たとえば、図7での00h、ff
hを書き込むテストのように、データレジスタ12に0
0hを書き込み、テスト対象のレジスタに00hのみを
書き込み、読み出すテストを行う動作だけのテストパタ
ーンをまず作る。次に、データレジスタ12にffhを
書き込み、テスト対象のレジスタにffhのみを書き込
み、読み出すテストを行う動作だけのテストパターンを
作る。これにより、レジスタに書き込むデータを任意に
設定することにより、テストパターン1本の長さを単純
にコントロールすることができる。また、テストパター
ンを用途別に工夫し、たとえばすべて“H”を書き込ん
だテストパターンを作る、などパターン作成の自由度を
増す事ができる。
FIG. 3 is a block diagram showing a basic configuration of another embodiment of the register test circuit of the present invention. FIG.
, Reference numerals 1 to 10 indicate the same components as those in FIG.
Reference numeral 12 in FIG. 3 is a data register for arbitrarily determining data. For example, 00h, ff in FIG.
h, as in the test for writing
First, a test pattern consisting only of an operation of writing 0h and writing only 00h to the register to be tested and reading is prepared. Next, a test pattern for only the operation of writing ffh to the data register 12 and writing only ffh to the register to be tested and reading is prepared. Thus, the length of one test pattern can be simply controlled by arbitrarily setting the data to be written to the register. In addition, it is possible to increase the degree of freedom in pattern creation, for example, by devising test patterns for each application, for example, creating test patterns in which all "H" s are written.

【0014】図4は、本発明のレジスタテスト回路の他
の実施の形態の基本構成を示すブロック図である。図4
において、符号1〜符号10は図1と同じものを示す。
符号13はレジスタのビットの空き状態すなわちデータ
ビット長を検知するデータビット長検知手段である。ま
た符号14はレジスタの情報をデータビット長検知手段
13に入力するための情報信号ラインで、符号15はデ
ータビット長検知手段13からデータ発生装置1に検出
信号を送り、どこまでのデータ、どのようなデータを発
生させればよいかの情報を帰還させるための情報帰還ラ
インである。各レジスタはだいたいの場合、それぞれの
データ長を持っている。したがって、すべてのアドレス
がすべてのデータ幅を必要としない場合がほとんどで、
また、集積回路ごとでも、そのアドレスのレジスタのデ
ータ有効ビット長はまちまちである。したがって、デー
タ有効ビット長に応じたデータ幅を書き込めば良い。す
なわち、データビット長検知手段13でビットの空きを
検知し、たとえば8ビットのうち4ビットしか使われて
いないレジスタに対する場合には、データ発生装置1で
データを発生させる場合に、空きビットには0を書き込
めば、すなわち0fhを書き込めば、すべてのビットに
“H”が立つことになり、これによって、レジスタのテ
ストを容易にすることができる。
FIG. 4 is a block diagram showing a basic configuration of another embodiment of the register test circuit of the present invention. FIG.
, Reference numerals 1 to 10 indicate the same components as those in FIG.
Reference numeral 13 denotes data bit length detecting means for detecting the empty state of the register bits, that is, the data bit length. Reference numeral 14 denotes an information signal line for inputting the information of the register to the data bit length detecting means 13. Reference numeral 15 sends a detection signal from the data bit length detecting means 13 to the data generator 1, and how much data and how. This is an information feedback line for feeding back information as to whether or not to generate important data. Each register generally has its own data length. Therefore, most addresses do not require all data widths,
Also, the data valid bit length of the register of the address varies depending on the integrated circuit. Therefore, it is sufficient to write a data width corresponding to the data effective bit length. That is, the data bit length detecting means 13 detects the vacancy of a bit. For example, in the case of a register in which only 4 bits out of 8 bits are used, when data is generated by the data generator 1, When 0 is written, that is, when 0fh is written, "H" is set in all the bits, thereby facilitating the test of the register.

【0015】図5は、本発明のレジスタテスト回路の他
の実施の形態の基本構成を示すブロック図である。図5
において、符号1〜符号10は図1と同じものを示す。
また符号11は図2に示したデータ比較手段と同じ物で
あり、また、符号13はデータビット長検知手段、符号
14は情報信号ライン、符号15は情報帰還ラインで、
これらは図4に示したものと同一である。どの様な集積
回路もその機能をコントロールするために複数のレジス
タを持っている。このレジスタのテストを行うには通常
その集積回路の機能に合わせたレジスタテスト回路を設
けることになる。しかし、図5に示すように、レジスタ
テスト回路にデータビット長検知手段13とデータ比較
手段11とを具備することにより、集積回路の機能とは
関係なく同一のレジスタテスト回路を異なった種類の集
積回路に共通に用いることが可能になり、レジスタテス
ト回路を設計するための工数を削減することができる。
FIG. 5 is a block diagram showing a basic configuration of another embodiment of the register test circuit of the present invention. FIG.
, Reference numerals 1 to 10 indicate the same components as those in FIG.
Reference numeral 11 is the same as the data comparison unit shown in FIG. 2, reference numeral 13 is a data bit length detection unit, reference numeral 14 is an information signal line, reference numeral 15 is an information feedback line,
These are the same as those shown in FIG. Every integrated circuit has multiple registers to control its function. In order to test this register, usually, a register test circuit corresponding to the function of the integrated circuit is provided. However, as shown in FIG. 5, by providing the register test circuit with the data bit length detecting means 13 and the data comparing means 11, the same register test circuit can be integrated with different types of integrated circuits regardless of the function of the integrated circuit. This allows the circuit to be used in common for the circuits, and the number of steps for designing the register test circuit can be reduced.

【0016】[0016]

【発明の効果】以上説明したように本発明の請求項1の
発明は、複数のレジスタを有する集積回路内の各レジス
タの動作をテストするレジスタテスト回路において、集
積回路内に設けられた、複数のレジスタ中からデータを
書き込む先またはデータを読み出す先のレジスタのアド
レスを指定するアドレス発生手段と、このアドレス発生
手段で指定したアドレスのレジスタヘ書き込むべきデー
タを発生するデータ発生手段と、このデータ発生手段で
発生したデータをアドレス発生手段で指定したアドレス
のレジスタに書き込むタイミングと読み出すタイミング
とを作るリードライトタイミング発生手段と、テスト時
と実動作時とでレジスタにアクセスする信号を切り替え
る切り替え手段とを具備し、アドレス発生手段とデータ
発生手段を用いてアドレスとデータを更新しながら自動
的に集積回路内のすべてのレジスタにリード/ライトし
てテストを行うことを特徴とする。このように集積回路
内部にアドレス、データ、リード/ライトタイミングを
発生させる発生回路を用意し、それらの信号線を切り替
えることにより自動的にアドレス、データ、リード/ラ
イトタイミングを発生させ、集積回路内のレジスタのテ
ストを自動的に行う。これにより集積回路外部から信号
を入れなくても自動的にレジスタに必要な情報を書き込
みその情報を読み出すことで、自動的に集積回路内のレ
ジスタをテストすることができ、テストを容易に高速に
行うことができる。
As described above, according to the first aspect of the present invention, there is provided a register test circuit for testing the operation of each register in an integrated circuit having a plurality of registers. Address generation means for designating the address of a register to which data is to be written or data to be read from among the registers, data generation means for generating data to be written to the register at the address designated by the address generation means, and data generation means Read / write timing generating means for generating a timing for writing and reading timing of the data generated at the address specified by the address generating means and a switching means for switching a signal for accessing the register between a test and an actual operation. And using address generation means and data generation means And performing test and read / write all registers in the automatic integrated circuit while updating address and data. As described above, the generation circuit for generating the address, data, and read / write timing is prepared in the integrated circuit, and the address, data, and read / write timing are automatically generated by switching those signal lines, and Tests the registers automatically. By automatically writing necessary information to the register and reading the information without inputting a signal from the outside of the integrated circuit, the register in the integrated circuit can be automatically tested. It can be carried out.

【0017】本発明の請求項2の発明は、集積回路の内
部に設けられたデータ発生手段で発生しアドレス発生手
段で指定したアドレスのレジスタに書き込んだデータと
そのレジスタから読み出したデータとを比較するデータ
比較手段を具備し、書き込んだデータと読み出したデー
タとを集積回路内部で比較することを特徴とする。これ
により、発生回路自体がアドレス、データを自動的に発
生させて、アドレス、データ情報が集積回路内部でクロ
ーズされているため、集積回路外部にデータを出力する
必要がなく、必要以上の情報を集積回路外部に読み出す
ことなく高速にレジスタのテストを行うことができる。
According to a second aspect of the present invention, the data generated by the data generating means provided inside the integrated circuit and written in the register at the address designated by the address generating means is compared with the data read from the register. And comparing the written data and the read data inside the integrated circuit. As a result, the generation circuit itself automatically generates the address and data, and since the address and data information are closed inside the integrated circuit, there is no need to output data to the outside of the integrated circuit. A register test can be performed at high speed without reading out to the outside of the integrated circuit.

【0018】本発明の請求項3の発明は、集積回路の内
部に設けられた任意のデータ値を収納するデータ値収納
手段を有し、データ発生手段はこのデータ値収納手段に
収納されたデータを読み取ってそれに応じてデータを発
生することを特徴とする。これにより、レジスタに書き
込むデータを任意に設定することができ、テストパター
ン1本の長さをコントロールすることができる。また、
テストパターンを用途別に作るなどパターン作成に関す
る自由度を増すことができる。
According to a third aspect of the present invention, there is provided a data value storing means provided in an integrated circuit for storing an arbitrary data value, and the data generating means comprises a data value storing means for storing the data value stored in the data value storing means. Is read and data is generated accordingly. Thus, the data to be written to the register can be set arbitrarily, and the length of one test pattern can be controlled. Also,
The degree of freedom regarding pattern creation can be increased, such as creating test patterns for each application.

【0019】本発明の請求項4の発明は、集積回路の内
部に設けられたレジスタに記憶され得るデータの有効ビ
ット長を検知するデータビット長検知手段と、このビッ
ト検知手段が検知したデータ有効ビット長情報をデータ
発生手段に帰還させる帰還手段とを具備し、データ発生
手段はビット検知手段が検知した有効ビット長情報に応
じてデータを発生することを特徴とする。これにより、
レジスタのデータ長に合わせたデータをデータ発生手段
で発生させることができ、レジスタごとの有効データビ
ット長が異なる場合や集積回路の違いによって有効デー
タビット長が異なる場合にも対応することが可能なレジ
スタテスタ回路を実現することができる。
According to a fourth aspect of the present invention, there is provided a data bit length detecting means for detecting an effective bit length of data which can be stored in a register provided in an integrated circuit, and a data validity length detected by the bit detecting means. Feedback means for feeding back the bit length information to the data generation means, wherein the data generation means generates data in accordance with the effective bit length information detected by the bit detection means. This allows
Data according to the data length of the register can be generated by the data generation means, and it is possible to cope with the case where the effective data bit length differs for each register or the case where the effective data bit length differs due to the difference of the integrated circuit. A register tester circuit can be realized.

【0020】本発明の請求項5の発明は、集積回路の内
部に設けられ、データ発生手段で発生しアドレス発生手
段で指定したアドレスのレジスタに書き込んだデータと
そのレジスタから読み出したデータとを比較するデータ
比較手段と、レジスタに記憶され得るデータの有効ビッ
ト長を検知するビット検知手段と、このビット検知手段
が検知したデータ有効ビット長情報をデータ発生手段に
帰還させる帰還手段とを具備し、異なった種類の集積回
路に共通に利用可能なことを特徴とする。これにより、
集積回路の機能とは関係なく、異なった種類の集積回路
に共通に用いることが可能なレジスタテスト回路を実現
することができ、レジスタテスト回路を設計するための
工数を削減することができる。
According to a fifth aspect of the present invention, the data which is provided in an integrated circuit and which is generated by a data generating means and written into a register at an address designated by an address generating means is compared with data read from the register. Data comparing means, a bit detecting means for detecting an effective bit length of data that can be stored in the register, and a feedback means for feeding back the data effective bit length information detected by the bit detecting means to the data generating means, It is characterized in that it can be commonly used for different types of integrated circuits. This allows
Regardless of the function of the integrated circuit, a register test circuit that can be commonly used for different types of integrated circuits can be realized, and the number of steps for designing the register test circuit can be reduced.

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

【図1】本発明のレジスタテスト回路の一実施の形態の
基本構成を示すブロック図。
FIG. 1 is a block diagram showing a basic configuration of an embodiment of a register test circuit of the present invention.

【図2】本発明のレジスタテスト回路の他の実施の形態
の基本構成を示すブロック図。
FIG. 2 is a block diagram showing a basic configuration of another embodiment of the register test circuit of the present invention.

【図3】本発明のレジスタテスト回路のさらに他の実施
の形態の基本構成を示すブロック図。
FIG. 3 is a block diagram showing a basic configuration of still another embodiment of the register test circuit of the present invention.

【図4】本発明のレジスタテスト回路のさらに他の実施
の形態の基本構成を示すブロック図。
FIG. 4 is a block diagram showing a basic configuration of still another embodiment of the register test circuit of the present invention.

【図5】本発明のレジスタテスト回路のさらに他の実施
の形態の基本構成を示すブロック図。
FIG. 5 is a block diagram showing a basic configuration of still another embodiment of the register test circuit of the present invention.

【図6】本発明のレジスタテスト回路の各部の波形を示
す波形図。
FIG. 6 is a waveform chart showing waveforms at various parts of the register test circuit of the present invention.

【図7】本発明のレジスタテスト回路の各部の波形を示
す波形図。
FIG. 7 is a waveform chart showing waveforms at various parts of the register test circuit of the present invention.

【符号の説明】[Explanation of symbols]

1 データ発生装置 2 アドレス発生装置 3 タイミング発生装置 4、5、6 切り替え回路 7 実動作時のデータ信号 8 実動作時のアドレス信号 9 実動作時のリード/ライト信号 10 レジスタ 11 データ比較手段 12 データレジスタ 13 データビット長検知手段 14 情報信号ライン 15 情報帰還ライン DESCRIPTION OF SYMBOLS 1 Data generator 2 Address generator 3 Timing generator 4, 5, 6 Switching circuit 7 Data signal at the time of actual operation 8 Address signal at the time of actual operation 9 Read / write signal at the time of actual operation 10 Register 11 Data comparison means 12 Data Register 13 Data bit length detecting means 14 Information signal line 15 Information feedback line

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11C 29/00 671 G01R 31/28 V Q ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G11C 29/00 671 G01R 31/28 V Q

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のレジスタを有する集積回路内の各
レジスタの動作をテストするレジスタテスト回路におい
て、 前記集積回路内に設けられた、 前記複数のレジスタ中からデータを書き込む先またはデ
ータを読み出す先のレジスタのアドレスを指定するアド
レス発生手段と、 このアドレス発生手段で指定したアドレスのレジスタヘ
書き込むべきデータを発生するデータ発生手段と、 このデータ発生手段で発生したデータを前記アドレス発
生手段で指定したアドレスのレジスタに書き込むタイミ
ングと読み出すタイミングとを作るリードライトタイミ
ング発生手段と、 テスト時と実動作時とでレジスタにアクセスする信号を
切り替える切り替え手段とを具備し、 前記アドレス発生手段と前記データ発生手段を用いてア
ドレスとデータを更新しながら自動的に集積回路内のす
べてのレジスタにリード/ライトしてテストを行うこと
を特徴とするレジスタテスト回路。
1. A register test circuit for testing an operation of each register in an integrated circuit having a plurality of registers, wherein: a data write destination or a data read destination from the plurality of registers provided in the integrated circuit. Address generating means for designating an address of a register of the following; data generating means for generating data to be written to a register at an address specified by the address generating means; and an address designated by the address generating means for data generated by the data generating means. Read / write timing generating means for generating a write timing and a read timing for the register, and switching means for switching a signal for accessing the register between a test time and an actual operation time, wherein the address generating means and the data generating means Update address and data using A register test circuit which automatically reads / writes all registers in the integrated circuit and performs a test.
【請求項2】 前記集積回路の内部に設けられた前記デ
ータ発生手段で発生し前記アドレス発生手段で指定した
アドレスのレジスタに書き込んだデータとそのレジスタ
から読み出したデータとを比較するデータ比較手段を具
備し、 前記書き込んだデータと前記読み出したデータとを集積
回路内部で比較することを特徴とする請求項1に記載の
レジスタテスト回路。
2. A data comparing means for comparing data generated in the data generating means provided in the integrated circuit and written in a register at an address designated by the address generating means with data read from the register. 2. The register test circuit according to claim 1, further comprising: comparing the written data with the read data inside an integrated circuit.
【請求項3】 前記集積回路の内部に設けられた任意の
データ値を収納するデータ値収納手段を有し、前記デー
タ発生手段はこのデータ値収納手段に収納されたデータ
を読み取ってそれに応じてデータを発生することを特徴
とする請求項1に記載のレジスタテスト回路。
3. A data value storing means provided in the integrated circuit for storing an arbitrary data value, wherein the data generating means reads data stored in the data value storing means and responds accordingly. The register test circuit according to claim 1, wherein the register test circuit generates data.
【請求項4】 前記集積回路の内部に設けられたレジス
タに記憶され得るデータの有効ビット長を検知するデー
タビット長検知手段と、このビット検知手段が検知した
データ有効ビット長情報を前記データ発生手段に帰還さ
せる帰還手段とを具備し、 前記データ発生手段は前記ビット検知手段が検知した有
効ビット長情報に応じてデータを発生することを特徴と
する請求項1に記載のレジスタテスト回路。
4. A data bit length detecting means for detecting an effective bit length of data which can be stored in a register provided inside the integrated circuit, and data effective bit length information detected by the bit detecting means is generated by the data generation means. 2. The register test circuit according to claim 1, further comprising feedback means for feeding back to said means, wherein said data generation means generates data in accordance with the effective bit length information detected by said bit detection means.
【請求項5】 前記集積回路の内部に設けられ、前記デ
ータ発生手段で発生し前記アドレス発生手段で指定した
アドレスのレジスタに書き込んだデータとそのレジスタ
から読み出したデータとを比較するデータ比較手段と、
レジスタに記憶され得るデータの有効ビット長を検知す
るビット検知手段と、このビット検知手段が検知したデ
ータ有効ビット長情報を前記データ発生手段に帰還させ
る帰還手段とを具備し、 異なった種類の集積回路に共通に利用可能なことを特徴
とする請求項1に記載のレジスタテスト回路。
5. A data comparing means provided inside the integrated circuit, for comparing data generated in the data generating means and written in a register at an address designated by the address generating means with data read from the register. ,
A bit detection means for detecting an effective bit length of data that can be stored in the register; and feedback means for feeding back the data effective bit length information detected by the bit detection means to the data generation means. The register test circuit according to claim 1, wherein the register test circuit can be commonly used for the circuits.
JP2000291474A 2000-09-26 2000-09-26 Register test circuit Pending JP2002099446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000291474A JP2002099446A (en) 2000-09-26 2000-09-26 Register test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000291474A JP2002099446A (en) 2000-09-26 2000-09-26 Register test circuit

Publications (1)

Publication Number Publication Date
JP2002099446A true JP2002099446A (en) 2002-04-05

Family

ID=18774539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000291474A Pending JP2002099446A (en) 2000-09-26 2000-09-26 Register test circuit

Country Status (1)

Country Link
JP (1) JP2002099446A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007248120A (en) * 2006-03-14 2007-09-27 Yokogawa Electric Corp Jtag test system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007248120A (en) * 2006-03-14 2007-09-27 Yokogawa Electric Corp Jtag test system

Similar Documents

Publication Publication Date Title
US6829728B2 (en) Full-speed BIST controller for testing embedded synchronous memories
JP3871384B2 (en) Defect analysis memory for semiconductor memory test equipment
KR100295546B1 (en) Semiconductor device testing apparatus
US6006350A (en) Semiconductor device testing apparatus and method for testing memory and logic sections of a semiconductor device
JP2002312252A (en) Memory diagnostic device and diagnostic method
JP2002099446A (en) Register test circuit
KR100276504B1 (en) Failure-data storage system
KR100939199B1 (en) Testing device, testing method, program, and recording medium
JP2007058450A (en) Semiconductor integrated circuit
US7783942B2 (en) Integrated circuit device with built-in self test (BIST) circuit
JPWO2002056043A1 (en) Semiconductor device testing apparatus and method
JP2934608B2 (en) Semiconductor memory test method and apparatus
JP3791757B2 (en) Semiconductor integrated circuit with diagnostic function
KR20060019609A (en) Test device and program
US6915470B2 (en) Data log acquisition circuit and data log acquisition method
US20090248347A1 (en) Testing module, testing apparatus and testing method
JP2824853B2 (en) Pattern data writing method
JP2583056B2 (en) IC test system
JP2877505B2 (en) LSI mounting board and data processing device
JPH05144297A (en) Memory tester
US20070168775A1 (en) Programmable Memory Test Controller
KR100345673B1 (en) integrated circuit capable of self-testing
KR19990058871A (en) How to Find Broken Address Lines in Enbit Memory Using Software
JP3284949B2 (en) Apparatus and method for storing bus trace in storage device and recording medium
JP2720761B2 (en) Semiconductor integrated circuit test equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041221

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070502