JP5832800B2 - Semiconductor integrated circuit and test method for semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit and test method for semiconductor integrated circuit Download PDF

Info

Publication number
JP5832800B2
JP5832800B2 JP2011154675A JP2011154675A JP5832800B2 JP 5832800 B2 JP5832800 B2 JP 5832800B2 JP 2011154675 A JP2011154675 A JP 2011154675A JP 2011154675 A JP2011154675 A JP 2011154675A JP 5832800 B2 JP5832800 B2 JP 5832800B2
Authority
JP
Japan
Prior art keywords
parallel
serial
bit
circuit
parallel data
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
Application number
JP2011154675A
Other languages
Japanese (ja)
Other versions
JP2013019830A (en
JP2013019830A5 (en
Inventor
戸崎 賀津雄
賀津雄 戸崎
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.)
MegaChips Corp
Original Assignee
MegaChips 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 MegaChips Corp filed Critical MegaChips Corp
Priority to JP2011154675A priority Critical patent/JP5832800B2/en
Publication of JP2013019830A publication Critical patent/JP2013019830A/en
Publication of JP2013019830A5 publication Critical patent/JP2013019830A5/ja
Application granted granted Critical
Publication of JP5832800B2 publication Critical patent/JP5832800B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Description

本発明は、半導体集積回路および半導体集積回路のテスト方法に関する。   The present invention relates to a semiconductor integrated circuit and a method for testing a semiconductor integrated circuit.

半導体集積回路には、互いに同一回路構成のメガマクロを複数の配置したものがある。このようなメガマクロとしては、例えば、パラレル信号をシリアル信号に変換するパラレルシリアル変換器や、アナログ信号をデジタル信号に変換するA/D変換器が知られている(例えば、引用文献1参照。)。   Some semiconductor integrated circuits have a plurality of mega macros having the same circuit configuration. As such a macro macro, for example, a parallel-serial converter that converts a parallel signal into a serial signal and an A / D converter that converts an analog signal into a digital signal are known (see, for example, cited document 1). .

半導体集積回路は、製造後に、回路形成上の不具合や設計上の不具合に起因する回路の異常を検出するためのテストが実施される。   A semiconductor integrated circuit is subjected to a test for detecting a circuit abnormality caused by a defect in circuit formation or a defect in design after manufacture.

例えば、引用文献1には、同一構成のメガマクロであるA/D変換器を複数搭載した半導体集積回路において、これらのメガマクロに同時にテスト用の信号を入力させるとともに、複数のメガマクロからの出力信号同士を比較し、比較結果を出力する回路を備えた構成が示されている。   For example, in Cited Document 1, in a semiconductor integrated circuit equipped with a plurality of A / D converters that are mega macros of the same configuration, test signals are simultaneously input to these mega macros, and output signals from a plurality of mega macros are A configuration including a circuit for comparing the two and outputting the comparison result is shown.

ここで引用文献1に示された技術を応用し、複数のパラレルシリアル変換回路を備えた半導体集積回路のテストにおいても、これら複数のパラレルシリアル変換回路に同じテスト用の信号を同時に入力するとともに、出力信号同士を比較し不一致であれば不良と判定する方法が考えられる。しかしこの場合、もととなるパラレルシリアル変換回路の設計の誤りに起因して特定位置のビットの処理に誤りが生じるような場合、半導体集積回路内の複数のパラレルシリアル変換回路の出力信号は誤りも含めて一致する。このため、出力信号を比較しても不良を検知できない。   In the test of the semiconductor integrated circuit provided with a plurality of parallel-serial conversion circuits by applying the technique shown in the cited document 1, the same test signal is simultaneously input to the plurality of parallel-serial conversion circuits. A method is conceivable in which the output signals are compared with each other and if they do not match, it is determined as defective. However, in this case, if an error occurs in the processing of a bit at a specific position due to an error in the design of the original parallel-serial conversion circuit, the output signals of multiple parallel-serial conversion circuits in the semiconductor integrated circuit are incorrect. Matches. For this reason, a defect cannot be detected even if the output signals are compared.

そこで、複数のパラレルシリアル変換回路のそれぞれを独立にテストすることが考えられる。   Therefore, it is conceivable to test each of the plurality of parallel-serial conversion circuits independently.

図1は、従来技術におけるテストの例を示すブロック図である。図1のパート(A)には、パラレルシリアル変換回路(パラシリ変換回路)71を有するテスト対象の半導体集積回路7をテストする例が示されている。   FIG. 1 is a block diagram showing an example of a test in the prior art. Part (A) of FIG. 1 shows an example in which a test target semiconductor integrated circuit 7 having a parallel-serial conversion circuit (paraserial conversion circuit) 71 is tested.

半導体集積回路7は、パラレル信号をシリアル信号に変換するパラレルシリアル変換回路71に加え、テスト用シーケンスを生成するPRBS(Psudo Random Bit Sequence:疑似ランダムビットシーケンス)生成回路72、および、波形の信号振幅を調整するバッファ回路73を備えている。図1のパート(A)に示す半導体集積回路7のテスト時には、半導体集積回路7にテスト治具8が接続される。テスト治具8は、信号振幅を調整するバッファ回路81と、シリアル信号をパラレル信号に変換するシリアルパラレル変換回路(シリパラ変換回路)82と、PRBSチェッカー83とを備えている。PRBSチェッカー83は、半導体集積回路7におけるPRBS生成回路72が生成するテスト用シーケンスと同じ内容のシーケンスを生成し、シリアルパラレル変換回路82の出力と比較することができる。   The semiconductor integrated circuit 7 includes a parallel-to-serial conversion circuit 71 that converts a parallel signal into a serial signal, a PRBS (Psudo Random Bit Sequence) generation circuit 72 that generates a test sequence, and a signal amplitude of the waveform Is provided with a buffer circuit 73 for adjusting the above. When testing the semiconductor integrated circuit 7 shown in Part (A) of FIG. 1, a test jig 8 is connected to the semiconductor integrated circuit 7. The test jig 8 includes a buffer circuit 81 that adjusts the signal amplitude, a serial / parallel conversion circuit (serial-parallel conversion circuit) 82 that converts a serial signal into a parallel signal, and a PRBS checker 83. The PRBS checker 83 can generate a sequence having the same contents as the test sequence generated by the PRBS generation circuit 72 in the semiconductor integrated circuit 7 and can compare it with the output of the serial / parallel conversion circuit 82.

図1のパート(A)に示すテストでは、半導体集積回路7内で、PRBS生成回路72がパラレル信号であるテスト用シーケンスを生成して、パラレルシリアル変換回路71に供給する。パラレルシリアル変換回路71はテスト用シーケンスをシリアル信号に変換し、シリアル信号を、バッファ回路73を経由して出力する。テスト治具8では、シリアルパラレル変換回路82がバッファ回路81を経由して供給されてきたシリアル信号をパラレル信号に変換する。PRBSチェッカー83は、半導体集積回路7におけるPRBS生成回路72が生成するテスト用シーケンスと同じ内容のシーケンスを生成し、シリアルパラレル変換回路82の出力と比較する。比較の結果、両者が一致すればパラレルシリアル変換回路71が良品であると判定され、不一致の場合には不良品であると判定される。   In the test shown in Part (A) of FIG. 1, the PRBS generation circuit 72 generates a test sequence that is a parallel signal in the semiconductor integrated circuit 7 and supplies it to the parallel-serial conversion circuit 71. The parallel / serial conversion circuit 71 converts the test sequence into a serial signal and outputs the serial signal via the buffer circuit 73. In the test jig 8, the serial / parallel conversion circuit 82 converts the serial signal supplied via the buffer circuit 81 into a parallel signal. The PRBS checker 83 generates a sequence having the same contents as the test sequence generated by the PRBS generation circuit 72 in the semiconductor integrated circuit 7 and compares it with the output of the serial / parallel conversion circuit 82. As a result of the comparison, if the two match, the parallel-serial conversion circuit 71 is determined to be a non-defective product, and if the two do not match, it is determined to be a defective product.

図1のパート(B)に示す半導体集積回路9は、パラレルシリアル変換回路91、PRBS生成回路92、およびバッファ回路93に加えて、PRBSチェッカー94も内蔵している。PRBSチェッカー94は、図示は省略するが、図1のパート(A)に示すシリアルパラレル変換回路82とPRBSチェッカー83との組み合わせに相当する。   The semiconductor integrated circuit 9 shown in part (B) of FIG. 1 includes a PRBS checker 94 in addition to the parallel-serial conversion circuit 91, the PRBS generation circuit 92, and the buffer circuit 93. Although not shown, the PRBS checker 94 corresponds to a combination of the serial-parallel conversion circuit 82 and the PRBS checker 83 shown in part (A) of FIG.

特開平8−122413号公報JP-A-8-122413

しかしながら、図1のパート(A)に示すテストでは、シリアル信号を半導体集積回路7から外部に出力し、ボード上の配線を介してテスト治具8に入力する必要がある。このため、シリアル信号が高速化した場合の対応が困難である。一方、図1のパート(B)に示す半導体集積回路9では、シリアル信号を半導体集積回路の外部に出力する必要が無く、高速化への対応は可能である。しかし、実動作においては不要なPRBSチェッカー94を内蔵する必要があるため、半導体集積回路に備えられるパラレルシリアル変換回路の数(チャネル数)が増加した場合、テストに回路を含めた回路全体の規模が著しく増大する。   However, in the test shown in Part (A) of FIG. 1, it is necessary to output a serial signal from the semiconductor integrated circuit 7 to the outside and input it to the test jig 8 via the wiring on the board. For this reason, it is difficult to cope with the case where the serial signal is increased in speed. On the other hand, in the semiconductor integrated circuit 9 shown in Part (B) of FIG. 1, it is not necessary to output a serial signal to the outside of the semiconductor integrated circuit, and it is possible to cope with high speed. However, since it is necessary to incorporate an unnecessary PRBS checker 94 in actual operation, when the number of parallel serial conversion circuits (number of channels) provided in the semiconductor integrated circuit increases, the scale of the entire circuit including the circuit in the test Increases significantly.

これに対し、複数のパラレルシリアル変換回路からの信号を順次切り換えて、1つのPRBSチェッカーに供給することで、複数のパラレルシリアル変換回路を1つずつ順にテストすることも考えられる。しかしこの場合、切換え数が増加すると、切換えの回路による遅延のずれに起因してシリアル信号のタイミングずれが生じるため、タイミングを含めたテストが困難になる。   On the other hand, it is also conceivable to test the plurality of parallel-serial conversion circuits one by one by sequentially switching the signals from the plurality of parallel-serial conversion circuits and supplying the signals to one PRBS checker. However, in this case, if the number of switching increases, a serial signal timing shift occurs due to a delay shift caused by the switching circuit, making it difficult to test including the timing.

本発明は上記問題点を解決し、小さな回路規模で複数のパラレルシリアル変換回路を確実にテストすることが可能な半導体集積回路および半導体集積回路のテスト方法を提供することを目的とするものである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a semiconductor integrated circuit and a method for testing a semiconductor integrated circuit capable of reliably testing a plurality of parallel-serial conversion circuits with a small circuit scale. .

上記目的を達成する本発明の半導体集積回路は、
所定のビット幅のパラレルデータからなるパラレルデータ列を受信し、このパラレルデータ列を構成するそれぞれのパラレルデータのビットを所定の順番に配列したシリアルデータに変換する、第1および第2のパラレルシリアル変換回路と、
上記所定のビット幅の共通のテスト用パラレルデータ列に基づいて、上記第1のパラレルシリアル変換回路に供給する第1のテスト用パラレルデータ列と、上記第2のパラレルシリアル変換回路に供給する第2のテスト用パラレルデータ列とを生成するテスト用パラレルデータ列生成回路と、
上記第1のパラレルシリアル変換回路が上記第1のテスト用パラレルデータ列を変換した第1のシリアルデータビットと、上記第2のシリアルパラレル変換回路が上記第2のテスト用パラレルデータ列を変換した第2のシリアルデータのビットとの一致/不一致を検出する検出回路とを備えた半導体集積回路であって、
上記テスト用パラレルデータ列生成回路が、上記共通のテスト用パラレルデータ列を構成するそれぞれのパラレルデータのビットを、順番に、上記所定の順番において後になる方向に上記所定ビット幅未満の第1のビット数だけシフトし、あふれたビットを、次のパラレルデータの上記所定の順番において先になる位置にシフトして、上記第2のテスト用パラレルデータ列を生成するパラレルビットシフト回路を含むことにより、上記共通のテスト用パラレルデータ列の同一のビットに対応するビットのパラレルデータ内での位置が相互にシフトした上記第1のテスト用パラレルデータ列と上記第2のテスト用パラレルデータ列とを生成し、
上記検出回路が、同一のタイミングで入力された上記第1のシリアルデータのビットと上記第2のシリアルデータのビットとを比較する比較回路と、上記テスト用パラレルデータ生成回路から供給されるときのシフトに応じて上記第1のシリアルデータと上記第2のシリアルデータとの少なくとも一方のビットをシフトして、上記共通のテスト用パラレルデータ列の同一のビットに対応する上記第1のシリアルデータのビットおよび上記第2のシリアルデータのビットが上記比較回路に入力されるタイミングをそろえるシリアルビットシフト回路とを含むことを特徴とする。
The semiconductor integrated circuit of the present invention that achieves the above object is as follows.
1st and 2nd parallel serial which receives the parallel data sequence which consists of parallel data of a predetermined | prescribed bit width, and converts each parallel data bit which comprises this parallel data sequence into the serial data arranged in the predetermined order A conversion circuit;
Based on the common test parallel data string having the predetermined bit width, a first test parallel data string supplied to the first parallel-serial conversion circuit and a second parallel-serial conversion circuit supplied to the second parallel-serial conversion circuit A test parallel data string generation circuit for generating two test parallel data strings;
The first parallel-serial conversion circuit converts the first test parallel data string, the first serial data bit, and the second serial-parallel conversion circuit converts the second test parallel data string. A semiconductor integrated circuit comprising a detection circuit for detecting coincidence / mismatch with a bit of the second serial data,
The test Parallel data string generating circuit, the bits of each parallel data constituting the common test parallel data for row, in turn, first in a direction in which later in the predetermined order of less than the predetermined bit width 1 And a parallel bit shift circuit for generating the second test parallel data string by shifting the overflow bits to the previous position in the predetermined order of the next parallel data. Thus, the first test parallel data sequence and the second test parallel data sequence in which the positions in the parallel data of the bits corresponding to the same bits of the common test parallel data sequence are mutually shifted, Produces
When the detection circuit is supplied from the comparison circuit for comparing the bit of the first serial data and the bit of the second serial data inputted at the same timing, and the test parallel data generation circuit In accordance with the shift, at least one bit of the first serial data and the second serial data is shifted, and the first serial data corresponding to the same bit of the common test parallel data string is shifted. And a serial bit shift circuit for aligning the timing at which the bit and the bit of the second serial data are input to the comparison circuit.

本発明の半導体集積回路では、互いに第1のビット数だけシフトした関係にある第1のテスト用パラレルデータ列および第2のテスト用パラレルデータ列を、第1および第2のパラレルシリアル変換回路にそれぞれ供給し、それぞれシリアル変換されたシリアルデータを第1のビット数に応じた分だけシリアルビットシフト回路でシフトしてから比較する。この結果、パラレルデータ列におけるシフトが比較時に戻るので、2つのシリアルデータが一致すれば良品、不一致であれば不良品と判定される。また、例えば設計時の欠陥で、第1および第2のパラレルシリアル変換回路の両方において同じ位置のビットの処理に誤りが生じるような場合であっても、シフトが戻され比較される2つのシリアルデータにおける誤り位置がずれているため、不良が検出される。またさらに、テストのためのPRBSチェッカーを内蔵する必要が無い。したがって、1つのテスト用パラレルデータ列生成回路に、パラレルシフト回路とシリアルシフト回路を加えるのみで、第1および第2のパラレルシリアル変換回路の両方がテストできる。よって、小さな回路規模で複数のパラレルシリアル変換回路が確実にテストできる。   In the semiconductor integrated circuit of the present invention, the first test parallel data string and the second test parallel data string that are shifted by the first number of bits are used as the first and second parallel / serial conversion circuits. Each serial data is supplied, and serially converted serial data is shifted by a serial bit shift circuit by an amount corresponding to the first number of bits and then compared. As a result, the shift in the parallel data string is returned at the time of comparison. Therefore, if the two serial data match, it is determined as a non-defective product, and if they do not match, it is determined as a defective product. Further, for example, even if a defect in design causes an error in the processing of the bit at the same position in both the first and second parallel / serial conversion circuits, the two serials to be shifted back and compared are compared. Since the error position in the data is shifted, a defect is detected. Furthermore, there is no need to incorporate a PRBS checker for testing. Therefore, both the first and second parallel / serial conversion circuits can be tested by simply adding a parallel shift circuit and a serial shift circuit to one test parallel data string generation circuit. Therefore, a plurality of parallel-serial conversion circuits can be reliably tested with a small circuit scale.

ここで、上記本発明の半導体集積回路において、上記検出回路が、上記比較器が不一致を検出したときに、上記第1のパラレルシリアル変換回路と上記第2のパラレルシリアル変換回路とのいずれかが不良であることを示す検出信号を生成する検出信号生成回路を含むことが好ましい。   Here, in the semiconductor integrated circuit according to the present invention, when the detection circuit detects a mismatch, any one of the first parallel-serial conversion circuit and the second parallel-serial conversion circuit is detected. It is preferable to include a detection signal generation circuit that generates a detection signal indicating a failure.

検出信号生成回路を含むことによって、半導体集積回路から出力される検出信号を検査するだけで、第1のパラレルシリアル変換回路と上記第2のパラレルシリアル変換回路のいずれかの不良が判別できる。   By including the detection signal generation circuit, it is possible to determine the failure of either the first parallel-serial conversion circuit or the second parallel-serial conversion circuit only by examining the detection signal output from the semiconductor integrated circuit.

また、上記目的を達成する本発明の半導体集積回路のテスト方法は、上記本発明の半導体集積回路を用い、上記検出信号の生成の有無により、上記第1および第2のパラレルシリアル変換回路の少なくとも一方の不良を検出することを特徴とする。   According to another aspect of the present invention, there is provided a semiconductor integrated circuit testing method that uses the semiconductor integrated circuit of the present invention, and at least one of the first and second parallel / serial conversion circuits depending on whether the detection signal is generated. One of the defects is detected.

本発明のテスト方法では、小さな回路規模で複数のパラレルシリアル変換回路が確実にテストできる。   The test method of the present invention can reliably test a plurality of parallel-serial conversion circuits with a small circuit scale.

以上説明したように、本発明によれば、小さな回路規模で複数のパラレルシリアル変換回路を確実にテストすることが可能な半導体集積回路および半導体集積回路のテスト方法が実現する。   As described above, according to the present invention, a semiconductor integrated circuit and a test method for a semiconductor integrated circuit capable of reliably testing a plurality of parallel-serial conversion circuits with a small circuit scale are realized.

従来技術におけるテストの例を示すブロック図である。It is a block diagram which shows the example of the test in a prior art. 本発明の一実施形態である半導体集積回路の構成を示すブロック図である。It is a block diagram which shows the structure of the semiconductor integrated circuit which is one Embodiment of this invention. 図2に示すパラレルビットシフト回路の構成を示す回路図である。FIG. 3 is a circuit diagram showing a configuration of a parallel bit shift circuit shown in FIG. 2. 第1および第2のパラシリ変換回路の入出力データの配列を説明する図である。It is a figure explaining the arrangement | sequence of the input-output data of a 1st and 2nd parallel-serial conversion circuit. 第1および第2のパラシリ変換回路の出力データと、検出回路のシリアルビットシフトレジスタを経た後のデータを示すタイミングチャートである。It is a timing chart which shows the output data of the 1st and 2nd parallel-serial conversion circuit, and the data after passing through the serial bit shift register of a detection circuit. 第1および第2のパラシリ変換回路の入出力データの配列を説明する図である。It is a figure explaining the arrangement | sequence of the input-output data of a 1st and 2nd parallel-serial conversion circuit. 図6に示した異常がある場合における第1および第2のパラシリ変換回路の出力データと、検出回路のシリアルビットシフトレジスタを経た後のデータを示すタイミングチャートである。7 is a timing chart showing output data of the first and second parallel-serial conversion circuits and data after passing through the serial bit shift register of the detection circuit when there is an abnormality shown in FIG. 6. 2ビットシフト回路におけるシフトおよびシリアルビットシフトレジスタにおけるシフトの双方が実施されない参考例の、第1および第2のパラシリ変換回路の入出力データの配列を説明する図である。It is a figure explaining the arrangement | sequence of the input-output data of the 1st and 2nd parallel-serial conversion circuit of the reference example in which both the shift in a 2-bit shift circuit and the shift in a serial bit shift register are not implemented.

以下図面を参照して本発明の実施の形態を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

[半導体集積回路]
図2は、本発明の一実施形態である半導体集積回路の構成を示すブロック図である。
[Semiconductor integrated circuit]
FIG. 2 is a block diagram showing a configuration of a semiconductor integrated circuit according to an embodiment of the present invention.

図2に示す半導体集積回路1は、第1のパラレルシリアル変換回路11、第2のパラレルシリアル変換回路12、テスト用パラレルデータ列生成回路13、検出回路14、第1の出力バッファ15、および、第2の出力バッファ16を備えている。以降、「パラレルシリアル変換回路」を、略して「パラシリ変換回路」とも称する。   A semiconductor integrated circuit 1 shown in FIG. 2 includes a first parallel-serial conversion circuit 11, a second parallel-serial conversion circuit 12, a test parallel data string generation circuit 13, a detection circuit 14, a first output buffer 15, and A second output buffer 16 is provided. Hereinafter, the “parallel-serial conversion circuit” is also referred to as “parasiri conversion circuit” for short.

第1のパラシリ変換回路11および第2のパラシリ変換回路12は、8ビットのパラレルデータからなるパラレルデータ列を受信してシリアルデータに変換する。第1および第2のパラシリ変換回路11,12はシフトレジスタを有し、パラレルデータ列を構成するそれぞれのパラレルデータの8つのビットをLSB(Least Significant Bit)先頭の順番(LSB first)で配列したシリアルデータに変換する。第1および第2のパラシリ変換回路11,12における8ビットのパラレルデータの入力は図示しないパラレルクロックに同期し、シリアルデータの1ビットごとの出力は図示しないシリアルクロックに同期する。テスト以外の通常動作では、第1および第2のパラシリ変換回路11,12には、半導体集積回路1の外部から供給されてくる2系統のパラレル入力データINDATA1,2が入力される。ただし、本発明の半導体集積回路はこれに限られず、例えば、データの演算処理等を行う2つのデータ処理回路を内蔵し、上記の第1および第2のパラシリ変換回路は、2つのデータ処理回路から出力されるパラレルデータをシリアルデータに変換するものであってもよい。   The first parallel-serial conversion circuit 11 and the second parallel-serial conversion circuit 12 receive a parallel data string composed of 8-bit parallel data and convert it into serial data. The first and second parallel-serial conversion circuits 11 and 12 have shift registers, and the eight bits of each parallel data constituting the parallel data string are arranged in the LSB (Least Significant Bit) head order (LSB first). Convert to serial data. Input of 8-bit parallel data in the first and second parallel-serial conversion circuits 11 and 12 is synchronized with a parallel clock (not shown), and an output for each bit of serial data is synchronized with a serial clock (not shown). In normal operation other than the test, the first and second parallel-serial conversion circuits 11 and 12 receive two systems of parallel input data INDATA 1 and 2 supplied from the outside of the semiconductor integrated circuit 1. However, the semiconductor integrated circuit of the present invention is not limited to this, and includes, for example, two data processing circuits that perform data processing and the like, and the first and second parallel-serial conversion circuits described above include two data processing circuits. The parallel data output from may be converted into serial data.

第1および第2のパラシリ変換回路11,12から出力されたシリアルデータは、第1および第2の出力バッファ15,16をそれぞれ経由して半導体集積回路1の外部に出力される。

The serial data output from the first and second parallel-serial conversion circuits 11 and 12 are output to the outside of the semiconductor integrated circuit 1 via the first and second output buffers 15 and 16, respectively.

テスト用パラレルデータ列生成回路13および検出回路14は、第1および第2のパラシリ変換回路11,12をテストするために用いられる回路である。   The test parallel data string generation circuit 13 and the detection circuit 14 are circuits used for testing the first and second parallel-serial conversion circuits 11 and 12.

[テスト用パラレルデータ列生成回路]
テスト用パラレルデータ列生成回路13は、第1のパラシリ変換回路11に供給する第1のテスト用パラレルデータ列TEST1と、第2のパラシリ変換回路12に供給する第2のテスト用パラレルデータ列TEST2とを生成する。第1のテスト用パラレルデータ列TEST1および第2のテスト用パラレルデータ列TEST2は、共通のテスト用パラレルデータTEST0に基づいて生成される。
[Parallel data string generator for testing]
The test parallel data string generation circuit 13 includes a first test parallel data string TEST1 supplied to the first parallel-serial conversion circuit 11 and a second test parallel data string TEST2 supplied to the second parallel-serial conversion circuit 12. And generate The first test parallel data string TEST1 and the second test parallel data string TEST2 are generated based on the common test parallel data TEST0.

テスト用パラレルデータ列生成回路13は、PRBS生成回路131、パラレルビットシフト回路132、および、テスト切換えスイッチ133,134を備えている。   The test parallel data string generation circuit 13 includes a PRBS generation circuit 131, a parallel bit shift circuit 132, and test changeover switches 133 and 134.

テスト切換えスイッチ133,134は、第1および第2のパラシリ変換回路11,12をテストする場合に、半導体集積回路1外部からのパラレル入力データINDATA1,2に代えて、第1および第2のテスト用パラレルデータ列TEST1,TEST2を供給するスイッチである。切換えは、例えば、外部から供給される図示しない制御信号に応じて実行される。これ以降は、テストの場合について説明する。   When the first and second parallel-serial conversion circuits 11 and 12 are tested, the test changeover switches 133 and 134 replace the parallel input data INDATA1 and 2 from the outside of the semiconductor integrated circuit 1 with the first and second test switches. This is a switch for supplying parallel data strings TEST1, TEST2. The switching is executed in accordance with, for example, a control signal (not shown) supplied from the outside. In the following, the test case will be described.

PRBS生成回路131は、共通のテスト用パラレルデータTEST0を生成する。共通のテスト用パラレルデータ列TEST0は8ビット幅を有している。すなわち、PRBS生成回路131は、共通のテスト用パラレルデータ列TEST0として、8ビットの疑似乱数をパラレルデータ形式で順次出力する。   The PRBS generation circuit 131 generates common test parallel data TEST0. The common test parallel data string TEST0 has an 8-bit width. That is, the PRBS generation circuit 131 sequentially outputs 8-bit pseudo random numbers in a parallel data format as a common test parallel data string TEST0.

パラレルビットシフト回路132は、共通のテスト用パラレルデータ列TEST0のデータをラッチするラッチ部1321と、ラッチされた共通のテスト用パラレルデータ列TEST0のデータを2ビット分だけシフトする2ビットシフト回路1322とを有する。   The parallel bit shift circuit 132 latches the data in the common test parallel data string TEST0, and the 2-bit shift circuit 1322 shifts the latched common test parallel data string TEST0 by 2 bits. And have.

ここで、図4を参照してパラレルデータ列の操作について説明する。図4は、第1および第2のパラシリ変換回路の入出力データの配列を説明する図である。ただし、図4全体の説明は後に譲る。   Here, the operation of the parallel data string will be described with reference to FIG. FIG. 4 is a diagram illustrating the arrangement of input / output data of the first and second parallel-serial conversion circuits. However, the entire description of FIG. 4 will be given later.

図4には、第1のテスト用パラレルデータ列TEST1と、第2のテスト用パラレルデータ列TEST2とが示されている。第1のテスト用パラレルデータ列TEST1には、3つの8ビットパラレルデータw1,w2、w3が含まれている。各パラレルデータw1,w2、w3の枠内に付された番号は、各ビットを識別するための番号である。例えば、パラレルデータw1,w2,w3のうち、1番目に第1のパラシリ変換回路11に入力される8ビットのパラレルデータw1は、LSBである「10」からMSBである「17」まで8ビットのデータで構成されている。その次に入力されるパラレルデータw2は、LSBである「20」からMSBである「27」まで8ビットのデータで構成されている。その次に入力されるパラレルデータw3についても同様である。   FIG. 4 shows a first test parallel data string TEST1 and a second test parallel data string TEST2. The first test parallel data string TEST1 includes three 8-bit parallel data w1, w2, and w3. The number given in the frame of each parallel data w1, w2, and w3 is a number for identifying each bit. For example, among the parallel data w1, w2, and w3, the 8-bit parallel data w1 that is first input to the first parallel-serial conversion circuit 11 is 8 bits from “10” that is LSB to “17” that is MSB. It is composed of data. The next input parallel data w2 is composed of 8-bit data from “20” which is LSB to “27” which is MSB. The same applies to the parallel data w3 input next.

この一方、第2のテスト用パラレルデータ列TEST2では、パラレルビットシフト回路132によって、第1のテスト用パラレルデータ列TEST1に対し、MSBに向かって2ビットだけシフトされる。また、シフトによってあふれた2ビットのデータは、次のパラレルデータのLSB側に配置される。   On the other hand, in the second test parallel data string TEST2, the parallel bit shift circuit 132 shifts the first test parallel data string TEST1 by 2 bits toward the MSB. The 2-bit data overflowed by the shift is arranged on the LSB side of the next parallel data.

図3は、図2に示すパラレルビットシフト回路の構成を示す回路図である。図3には、パラレルビットシフト回路132のラッチ部1321と2ビットシフト回路1322とが示されている。   FIG. 3 is a circuit diagram showing a configuration of the parallel bit shift circuit shown in FIG. FIG. 3 shows the latch unit 1321 and the 2-bit shift circuit 1322 of the parallel bit shift circuit 132.

図3における信号O[0]〜O[7]は、共通のテスト用パラレルデータ列TEST0(図2参照)を構成する8ビットのパラレルデータの各ビットを示している。ラッチ部1321は、パラレルクロックでビットの値を保持する8つのフリップフロップF1を備えている。   Signals O [0] to O [7] in FIG. 3 indicate each bit of 8-bit parallel data constituting a common test parallel data string TEST0 (see FIG. 2). The latch unit 1321 includes eight flip-flops F1 that hold bit values with a parallel clock.

図3における信号a[0]〜a[7]は、第1のテスト用パラレルデータ列TEST1(図2参照)を構成する8ビットのパラレルデータの各ビットを示している。パラレルビットシフト回路132は、第1のテスト用パラレルデータ列TEST1として、共通のテスト用パラレルデータ列TEST0の各ビットの値をシフトせずそのまま出力している。   Signals a [0] to a [7] in FIG. 3 indicate each bit of 8-bit parallel data constituting the first test parallel data string TEST1 (see FIG. 2). The parallel bit shift circuit 132 outputs the value of each bit of the common test parallel data string TEST0 as it is without shifting as the first test parallel data string TEST1.

図3における信号b[0]〜b[7]は、第2のテスト用パラレルデータ列TEST2(図2参照)を構成する8ビットのパラレルデータの各ビットを示している。2ビットシフト回路1322は、ラッチ部1321でラッチされた、共通のテスト用パラレルデータ列TEST0を構成するパラレルデータのビットを、MSB(Most Significant Bit)の方向に2ビット分だけシフトすなわち2つ桁上げし、あふれた2ビットの値を、フリップフロップF2を介してパラレルデータのLSB側に出力することで、第2のテスト用パラレルデータ列TEST2(信号b[0]〜b[7])を生成している。ここで、MSBは、第1および第2のパラシリ変換回路11,12においてシリアルデータに変換された場合、後に出力されるビットであり、LSBは、第1および第2のパラシリ変換回路11,12においてシリアルデータに変換された場合、先に出力されるビットを意味する。つまり、第2のテスト用パラレルデータ列TEST2(信号b[0]〜b[7])は、第1のテスト用パラレルデータ列TEST1(信号a[0]〜a[7])のLSB側における6ビットが2ビット分だけMSB側にシフトし、MSB側における2ビットは、次のパラレルデータのLSB側2ビットとされる。このようにして、図2に示すパラレルビットシフト回路132により、各ビットの位置が相互にシフトした、第1のテスト用パラレルデータ列TEST1と第2のテスト用パラレルデータ列TEST2とが生成される。   Signals b [0] to b [7] in FIG. 3 indicate each bit of 8-bit parallel data constituting the second test parallel data string TEST2 (see FIG. 2). The 2-bit shift circuit 1322 shifts the bits of the parallel data constituting the common test parallel data string TEST0 latched by the latch unit 1321 by 2 bits in the MSB (Most Significant Bit) direction, that is, two digits. And output the overflowing 2-bit value to the LSB side of the parallel data via the flip-flop F2, thereby generating the second test parallel data string TEST2 (signals b [0] to b [7]). Is generated. Here, the MSB is a bit that is output later when converted into serial data in the first and second parallel-serial conversion circuits 11 and 12, and the LSB is the first and second parallel-serial conversion circuits 11 and 12. When converted to serial data in, it means the bit output first. That is, the second test parallel data string TEST2 (signals b [0] to b [7]) is on the LSB side of the first test parallel data string TEST1 (signals a [0] to a [7]). The 6 bits are shifted to the MSB side by 2 bits, and the 2 bits on the MSB side are the 2 bits on the LSB side of the next parallel data. In this way, the parallel bit shift circuit 132 shown in FIG. 2 generates the first test parallel data string TEST1 and the second test parallel data string TEST2 in which the positions of the respective bits are mutually shifted. .

[検出回路]
検出回路14は、第1のパラレルシリアル変換回路11が第1のテスト用パラレルデータ列TEST1を変換した第1のシリアルデータビットSER1と、第2のシリアルパラレル変換回路12が第2のテスト用パラレルデータ列TEST2を変換した第2のシリアルデータビットSER2との一致/不一致を検出する。
[Detection circuit]
The detection circuit 14 includes a first serial data bit SER1 obtained by the first parallel-serial conversion circuit 11 converting the first test parallel data string TEST1, and a second serial-parallel conversion circuit 12 configured as a second test parallel. A match / mismatch with the second serial data bit SER2 obtained by converting the data string TEST2 is detected.

検出回路14は、シリアルビットシフトレジスタ141、比較回路142、および検出信号生成回路143を備えている。   The detection circuit 14 includes a serial bit shift register 141, a comparison circuit 142, and a detection signal generation circuit 143.

シリアルビットシフトレジスタ141は、直列に接続されシリアルクロックで動作する図示しない2つのフリップフロップを有しており、テスト用パラレルデータ列生成回路13におけるパラレルビットシフト回路132の2ビットのシフトに応じて、第1のシリアルデータビットSER1を2ビット分シフトする。シリアルビットシフトレジスタ141のシフトによって、共通のテスト用パラレルデータ列TEST0における同一のビットに対応する、第1のシリアルデータSER1のビットおよび第2のシリアルデータSER2のビットが比較回路142に入力されるタイミングをそろえられる。   The serial bit shift register 141 includes two flip-flops (not shown) that are connected in series and operate with a serial clock, and according to the 2-bit shift of the parallel bit shift circuit 132 in the test parallel data string generation circuit 13. The first serial data bit SER1 is shifted by 2 bits. By the shift of the serial bit shift register 141, the bit of the first serial data SER1 and the bit of the second serial data SER2 corresponding to the same bit in the common test parallel data string TEST0 are input to the comparison circuit 142. The timing is aligned.

比較回路142は、同一のタイミングで入力された第1のシリアルデータSER1のビットと第2のシリアルデータSER2のビットとを比較する。   The comparison circuit 142 compares the bit of the first serial data SER1 and the bit of the second serial data SER2 input at the same timing.

検出信号生成回路143は、比較回路142が不一致を検出したときに、第1のパラレルシリアル変換回路11と第2のパラレルシリアル変換回路12とのいずれかが不良であることを示す検出信号を生成する。   The detection signal generation circuit 143 generates a detection signal indicating that either the first parallel-serial conversion circuit 11 or the second parallel-serial conversion circuit 12 is defective when the comparison circuit 142 detects a mismatch. To do.

ここでシリアルビットシフトレジスタ141が、本発明にいうシリアルビットシフト回路の一例に相当する。   Here, the serial bit shift register 141 corresponds to an example of a serial bit shift circuit according to the present invention.

[テストの動作]
続いて、図2および図4を参照しながら半導体集積回路1におけるテストの動作を説明する。
[Test behavior]
Next, a test operation in the semiconductor integrated circuit 1 will be described with reference to FIGS.

図4に示す第1のテスト用パラレルデータ列TEST1は第1のパラシリ変換回路11の入力であり、第2のテスト用パラレルデータ列TEST2は第2のパラシリ変換回路12の入力である。第1のパラシリ変換回路11には、第1のテスト用パラレルデータ列TEST1が有する3つの8ビットパラレルデータw1,w2、w3が順に供給される。第1のパラシリ変換回路11にまず1番目のパラレルデータw1が入力されると、第1のパラシリ変換回路11は、LSBから順番にビットの値をシリアルデータとして出力する。図4には、第1のパラシリ変換回路11の出力として、第1のシリアルデータビットSER1における始めの8ビット分のデータがビット識別の番号とともに示されている。データは時間の経過に伴い、パラレルデータw1を構成する「10」から「17」までの8ビットのデータの値を1ビットずつ順に出力する。   The first test parallel data string TEST1 shown in FIG. 4 is an input of the first parallel-serial conversion circuit 11, and the second test parallel data string TEST2 is an input of the second parallel-serial conversion circuit 12. Three 8-bit parallel data w1, w2, and w3 included in the first test parallel data string TEST1 are sequentially supplied to the first parallel-serial conversion circuit 11. When the first parallel data w1 is first input to the first parallel-serial conversion circuit 11, the first parallel-serial conversion circuit 11 sequentially outputs bit values as serial data from the LSB. In FIG. 4, as the output of the first parallel-serial conversion circuit 11, the first 8 bits of data in the first serial data bit SER1 are shown together with the bit identification number. As time elapses, 8-bit data values from “10” to “17” constituting the parallel data w1 are sequentially output bit by bit.

この一方、第2のパラシリ変換回路12には、第2のテスト用パラレルデータ列TEST2が有する3つの8ビットパラレルデータw1,w2、w3が順に供給される。第2のテスト用パラレルデータ列TEST2では、データが、パラレルビットシフト回路132(図2参照)によって、第1のテスト用パラレルデータ列TEST1に対し、MSBに向かって2ビットだけシフトされている。またシフトによってあふれた2ビットのデータは、次のパラレルデータのLSB側に配置されている。第2のパラシリ変換回路12に1番目のパラレルデータw1が入力されると、第2のパラシリ変換回路12は、LSBから順番にビットの値をシリアルデータとして出力する。図4には、第2のパラシリ変換回路12の出力として、第2のシリアルデータビットSER2における始めの8ビット分のデータが示されている。第2のシリアルデータビットSER2は、第1のシリアルデータビットSER1に対し、シリアルクロックで2クロック分遅れた状態となる。すなわち、始めにパラレルデータw1に含まれていた「10」から「15」までの値が、1ビットずつ順に出力する。この後は、次に入力されるパラレルデータw2の各ビットの値「16」,「17,」「20」〜「25」と続くこととなる。   On the other hand, three 8-bit parallel data w1, w2, and w3 included in the second test parallel data string TEST2 are sequentially supplied to the second parallel-serial conversion circuit 12. In the second test parallel data string TEST2, the data is shifted by 2 bits toward the MSB with respect to the first test parallel data string TEST1 by the parallel bit shift circuit 132 (see FIG. 2). The 2-bit data overflowed by the shift is arranged on the LSB side of the next parallel data. When the first parallel data w1 is input to the second parallel-serial conversion circuit 12, the second parallel-serial conversion circuit 12 outputs bit values as serial data in order from the LSB. FIG. 4 shows the first 8-bit data in the second serial data bit SER2 as the output of the second parallel-serial conversion circuit 12. The second serial data bit SER2 is delayed by two clocks with respect to the first serial data bit SER1. That is, the values from “10” to “15” included in the parallel data w1 at the beginning are sequentially output bit by bit. After this, the values “16”, “17,” “20” to “25” of each bit of the next input parallel data w2 are continued.

図5は、第1および第2のパラシリ変換回路の出力データと、検出回路のシリアルビットシフトレジスタを経た後のデータを示すタイミングチャートである。図5の上部には、第1および第2のパラシリ変換回路の出力データSER1,SER2が時間軸に沿って並んで示されている。図4を参照して説明したように、第2のシリアルデータビットSER2は、第1のシリアルデータビットSER1に対し、2段分すなわちシリアルクロックにおける2クロック分遅れた値を有する。図5の下部には、第1および第2のパラシリ変換回路の出力データSER1,SER2が検出回路のシリアルビットシフトレジスタ141を経て比較回路142に入力される状態が示されている。シリアルビットシフトレジスタ141は第1のシリアルデータビットSER1を2ビット分シフトする。このシフトによって、第1および第2のパラシリ変換回路の出力データSER1,SER2の中の、共通のテスト用パラレルデータTEST0のビットに対応する各ビットが比較回路142に入力されるタイミングが揃う。   FIG. 5 is a timing chart showing the output data of the first and second parallel-serial conversion circuits and the data after passing through the serial bit shift register of the detection circuit. In the upper part of FIG. 5, the output data SER1 and SER2 of the first and second parallel-serial conversion circuits are shown along the time axis. As described with reference to FIG. 4, the second serial data bit SER2 has a value delayed by two stages, that is, by two clocks in the serial clock with respect to the first serial data bit SER1. The lower part of FIG. 5 shows a state in which the output data SER1 and SER2 of the first and second parallel-serial conversion circuits are input to the comparison circuit 142 via the serial bit shift register 141 of the detection circuit. The serial bit shift register 141 shifts the first serial data bit SER1 by 2 bits. By this shift, the timing at which each bit corresponding to the bit of the common test parallel data TEST0 in the output data SER1 and SER2 of the first and second parallel-serial conversion circuits is input to the comparison circuit 142 is aligned.

ここで、第1および第2のパラシリ変換回路に異常がなければ、比較回路142に入力される2つのシリアルデータの各ビットの値は、図5の下部に示すように、同時刻で同一内容となる。比較回路142は、単純に2つの入力信号の一致不一致をビット毎すなわちシリアルクロックごとに比較する。したがって、第1および第2のパラシリ変換回路の出力データを検査する部分には、PRBSチェッカーが不要である。   If there is no abnormality in the first and second parallel-serial conversion circuits, the values of the bits of the two serial data input to the comparison circuit 142 have the same contents at the same time as shown in the lower part of FIG. It becomes. The comparison circuit 142 simply compares the coincidence / non-coincidence of two input signals for each bit, that is, for each serial clock. Therefore, the PRBS checker is not necessary for the portion that checks the output data of the first and second parallel-serial conversion circuits.

[不良の検出]
続いて、第1および第2のパラシリ変換回路11,12に異常がある場合の動作を説明する。
[Defect detection]
Next, the operation when the first and second parallel-serial conversion circuits 11 and 12 are abnormal will be described.

図6は、第1および第2のパラシリ変換回路の入出力データの配列を説明する図である。図6には、図4と同様に、第1のテスト用パラレルデータ列TEST1と第2のテスト用パラレルデータ列TEST2が示されている。ここで、例えば、第1および第2のパラシリ変換回路11,12の双方に同じ種類の異常があると仮定する。図6に示す例では、1および第2のパラシリ変換回路11,12の双方とも、8ビットのパラレルデータのうちLSBから6番目のビットにおける変換が失敗するものと仮定する。   FIG. 6 is a diagram for explaining the arrangement of input / output data of the first and second parallel-serial conversion circuits. FIG. 6 shows a first test parallel data string TEST1 and a second test parallel data string TEST2, as in FIG. Here, for example, it is assumed that both the first and second parallel-serial conversion circuits 11 and 12 have the same type of abnormality. In the example shown in FIG. 6, it is assumed that both the first and second parallel-serial conversion circuits 11 and 12 fail to convert the sixth bit from the LSB of the 8-bit parallel data.

この場合、第1および第2のパラシリ変換回路11,12の出力である第1および第2のシリアルデータビットSRE1,SER2では、互いに同じタイミングでデータに異常が現れる。   In this case, in the first and second serial data bits SRE1 and SER2, which are the outputs of the first and second parallel-serial conversion circuits 11 and 12, data appears abnormal at the same timing.

図7は、図6に示した異常がある場合における第1および第2のパラシリ変換回路の出力データと、検出回路のシリアルビットシフトレジスタを経た後のデータを示すタイミングチャートである。シリアルビットシフトレジスタ141は第1のシリアルデータビットSER1を2ビット分シフトする。このシフトによって、第1および第2のパラシリ変換回路の出力データSER1,SER2の中の、共通のテスト用パラレルデータTEST0のビットに対応する各ビットが比較回路142に入力されるタイミングが揃う。そして、このシフトによって、変換が失敗したビットの位置が互いにずれる。図7に示す例では、比較回路142に入力される2つのシリアルデータビットでは、始めから4番目、6番目、11番目、14番目…で不一致が検出される。この結果、検出信号生成回路143では、比較回路142が不一致を検出したときに、第1のパラレルシリアル変換回路11と第2のパラレルシリアル変換回路12とのいずれかが不良であることを示す検出信号が生成される。したがって、半導体集積回路1の不良が容易に判別できる。   FIG. 7 is a timing chart showing the output data of the first and second parallel-serial conversion circuits and the data after passing through the serial bit shift register of the detection circuit when there is an abnormality shown in FIG. The serial bit shift register 141 shifts the first serial data bit SER1 by 2 bits. By this shift, the timing at which each bit corresponding to the bit of the common test parallel data TEST0 in the output data SER1 and SER2 of the first and second parallel-serial conversion circuits is input to the comparison circuit 142 is aligned. This shift shifts the positions of bits for which conversion failed. In the example shown in FIG. 7, in the two serial data bits input to the comparison circuit 142, mismatch is detected at the fourth, sixth, eleventh, fourteenth, etc. from the beginning. As a result, in the detection signal generation circuit 143, when the comparison circuit 142 detects a mismatch, the detection signal generation circuit 143 indicates that one of the first parallel-serial conversion circuit 11 and the second parallel-serial conversion circuit 12 is defective. A signal is generated. Therefore, the defect of the semiconductor integrated circuit 1 can be easily determined.

このように、本実施形態の半導体集積回路1によれば、例えば設計時の欠陥で、図7を参照して説明したように、第1および第2のパラレルシリアル変換回路の両方において同じ位置のビットの処理に誤りが生じるような場合であっても、シフトが戻され比較される2つのシリアルデータにおける誤り位置がずれるため、不良が検出される。本実施形態の、テスト用パラレルデータ列生成回路は、第1および第2のパラレルシリアル変換回路で共有される。したがって、1つのテスト用パラレルデータ列生成回路に、パラレルシフト回路とシリアルシフト回路を加えるのみで、第1および第2のパラレルシリアル変換回路の両方がテストできる。よって、小さな回路規模で複数のパラレルシリアル変換回路が確実にテストできる。   Thus, according to the semiconductor integrated circuit 1 of the present embodiment, for example, due to a design defect, as described with reference to FIG. 7, both the first and second parallel serial conversion circuits have the same position. Even if an error occurs in the bit processing, the error position in the two serial data to be shifted back and compared is shifted, so that a defect is detected. The test parallel data string generation circuit of this embodiment is shared by the first and second parallel / serial conversion circuits. Therefore, both the first and second parallel / serial conversion circuits can be tested by simply adding a parallel shift circuit and a serial shift circuit to one test parallel data string generation circuit. Therefore, a plurality of parallel-serial conversion circuits can be reliably tested with a small circuit scale.

図8は、2ビットシフト回路におけるシフトおよびシリアルビットシフトレジスタにおけるシフトの双方が実施されない参考例の、第1および第2のパラシリ変換回路の入出力データの配列を説明する図である。   FIG. 8 is a diagram for explaining the arrangement of input / output data of the first and second parallel-serial conversion circuits in a reference example in which both the shift in the 2-bit shift circuit and the shift in the serial bit shift register are not performed.

この参考例でも、図6の場合と同様に、1および第2のパラシリ変換回路の双方とも、8ビットのパラレルデータのうちLSBから6番目のビットの変換が失敗するものと仮定する。この場合、第1および第2のパラシリ変換回路の出力である第1および第2のシリアルデータビットでは、互いに同じタイミングでデータに異常が現れる。すなわち、入力されるテスト用パラレルデータによらず、常に”1”もしくは”0”の値を持つ。第1および第2のシリアルデータビットについて比較を行うと、異常状態が同じになるため、データの不一致が検出されないこととなる。   Also in this reference example, as in FIG. 6, it is assumed that both the first and second parallel-serial conversion circuits fail to convert the sixth bit from the LSB of the 8-bit parallel data. In this case, in the first and second serial data bits that are the outputs of the first and second parallel-serial conversion circuits, an abnormality appears in the data at the same timing. That is, it always has a value of “1” or “0” regardless of the input test parallel data. When the first and second serial data bits are compared, the abnormal state is the same, so that no data mismatch is detected.

これに対し、本実施形態の半導体集積回路1によれば、図7を参照して説明したように、第1および第2のパラレルシリアル変換回路の両方において同じ位置のビットの処理に誤りが生じるような場合であっても、シフトが戻され比較される2つのシリアルデータにおける誤り位置がずれるため、不良が確実に検出される。   On the other hand, according to the semiconductor integrated circuit 1 of the present embodiment, as described with reference to FIG. 7, an error occurs in the processing of the bit at the same position in both the first and second parallel / serial conversion circuits. Even in such a case, since the error position in the two serial data to be compared is returned and compared, a defect is reliably detected.

なお、上述した実施形態には、本発明にいう第1および第2のパラシリ変換回路の例として、LSB先頭の順番(LSB first)でシリアルデータに変換する第1および第2のパラシリ変換回路11,12が示されている。しかし、本発明はこれに限られるものではなく、本発明にいう所定の順番は、例えば、MSB先頭であってもよい。   In the above-described embodiment, as an example of the first and second parallel-serial conversion circuits according to the present invention, the first and second parallel-serial conversion circuits 11 that convert serial data in the order of LSB first (LSB first). , 12 are shown. However, the present invention is not limited to this, and the predetermined order in the present invention may be, for example, the MSB head.

また、上述した実施形態では、第2のパラシリ変換回路12に供給する第2のテスト用パラレルデータ列TEST2をシフトするとともに、第1のパラシリ変換回路11の出力である第1のシリアルデータビットSER1をシフトしている。しかし、本発明はこれに限られるものではなく、第1のシリアルデータと第2のシリアルデータとの少なくとも一方のビットをシフトするものであればよい。例えば、第2のパラシリ変換回路に供給する第2のテスト用パラレルデータ列をシフトするとともに、第1のパラシリ変換回路の入力をパラレルクロックの1周期だけ遅らせた上で、第2のパラシリ変換回路の出力をシフトさせて両者の出力タイミングをそろえるものであってもよい。   In the above-described embodiment, the second test parallel data string TEST2 supplied to the second parallel-serial conversion circuit 12 is shifted, and the first serial data bit SER1 that is the output of the first parallel-serial conversion circuit 11 is shifted. Is shifting. However, the present invention is not limited to this, as long as it shifts at least one bit of the first serial data and the second serial data. For example, the second parallel-serial conversion circuit is provided after shifting the second test parallel data string supplied to the second parallel-serial conversion circuit and delaying the input of the first parallel-serial conversion circuit by one cycle of the parallel clock. It is also possible to align both output timings by shifting the outputs.

また、上述した実施形態では、第1および第2のパラシリ変換回路11,12の入力の一方のみをシフトさせてパラレルデータ内でのビットをずらした上で、第1および第2のパラシリ変換回路11,12の出力の一方のみをシフトさせてタイミングをそろえる例が説明されている。しかし、本発明はこれに限られるものではなく、第1および第2のパラシリ変換回路の入力の両方を異なるビット数シフトするととに、第1および第2のパラシリ変換回路の出力の両方を相応したビット数シフトするものであってもよい。   Further, in the above-described embodiment, only one of the inputs of the first and second parallel-serial conversion circuits 11 and 12 is shifted to shift the bit in the parallel data, and then the first and second parallel-serial conversion circuits. An example is described in which only one of the outputs of 11 and 12 is shifted to align the timing. However, the present invention is not limited to this, and both the inputs of the first and second parallel-serial conversion circuits are shifted by a different number of bits, and both the outputs of the first and second parallel-serial conversion circuits are appropriately adapted. The number of bits may be shifted.

また、上述した実施形態では、パラレルデータが8ビット幅を有する例が説明されている。しかし、本発明はこれに限られるものではなく、パラレルデータのビット数は8ビット以外でもよい。   In the above-described embodiment, an example in which parallel data has an 8-bit width is described. However, the present invention is not limited to this, and the number of bits of parallel data may be other than 8 bits.

1 半導体集積回路
11,12 パラレルシリアル変換回路
14 検出回路
141 シリアルビットシフトレジスタ
142 比較回路
143 検出信号生成回路
131 PRBS生成回路
132 パラレルビットシフト回路
1321 ラッチ部
1322 2ビットビットシフト回路
DESCRIPTION OF SYMBOLS 1 Semiconductor integrated circuit 11, 12 Parallel serial conversion circuit 14 Detection circuit 141 Serial bit shift register 142 Comparison circuit 143 Detection signal generation circuit 131 PRBS generation circuit 132 Parallel bit shift circuit 1321 Latch part 1322 2 bit bit shift circuit

Claims (4)

所定のビット幅のパラレルデータからなるパラレルデータ列を受信し、該パラレルデータ列を構成するそれぞれのパラレルデータのビットを所定の順番に配列したシリアルデータに変換する、第1および第2のパラレルシリアル変換回路と、
前記所定のビット幅の共通のテスト用パラレルデータ列に基づいて、前記第1のパラレルシリアル変換回路に供給する第1のテスト用パラレルデータ列と、前記第2のパラレルシリアル変換回路に供給する第2のテスト用パラレルデータ列とを生成するテスト用パラレルデータ列生成回路と、
前記第1のパラレルシリアル変換回路が前記第1のテスト用パラレルデータ列を変換した第1のシリアルデータビットと、前記第2のパラレルシリアル変換回路が前記第2のテスト用パラレルデータ列を変換した第2のシリアルデータのビットとの一致/不一致を検出する検出回路とを備えた半導体集積回路であって、
前記テスト用パラレルデータ列生成回路が、前記共通のテスト用パラレルデータ列を構成するそれぞれのパラレルデータのビットを、順番に、前記所定の順番において後になる方向に前記所定のビット幅未満の第1のビット数だけシフトし、あふれたビットを、次のパラレルデータの前記所定の順番において先になる位置にシフトして、前記第2のテスト用パラレルデータ列を生成するパラレルビットシフト回路を含むことにより、前記共通のテスト用パラレルデータ列の同一のビットに対応するビットのパラレルデータ内での位置が相互にシフトした前記第1のテスト用パラレルデータ列と前記第2のテスト用パラレルデータ列とを生成し、
前記検出回路が、同一のタイミングで入力された前記第1のシリアルデータのビットと前記第2のシリアルデータのビットとを比較する比較回路と、前記テスト用パラレルデータ生成回路から供給されるときのシフトに応じて前記第1のシリアルデータと前記第2のシリアルデータとの少なくとも一方のビットをシフトして、前記共通のテスト用パラレルデータ列の同一のビットに対応する前記第1のシリアルデータのビットおよび前記第2のシリアルデータのビットが前記比較回路に入力されるタイミングをそろえるシリアルビットシフト回路とを含むことを特徴とする半導体集積回路。
First and second parallel serials for receiving a parallel data string composed of parallel data having a predetermined bit width and converting the bits of the parallel data constituting the parallel data string into serial data arranged in a predetermined order A conversion circuit;
A first test parallel data string supplied to the first parallel-serial conversion circuit and a second parallel-serial conversion circuit supplied to the first parallel-serial conversion circuit based on the common test parallel data string having the predetermined bit width. A test parallel data string generation circuit for generating two test parallel data strings;
The first parallel-serial conversion circuit converts the first test parallel data string, the first serial data bit, and the second parallel-serial conversion circuit converts the second test parallel data string A semiconductor integrated circuit comprising a detection circuit for detecting coincidence / mismatch with a bit of the second serial data,
The test parallel data string generation circuit sets the bits of the parallel data constituting the common test parallel data string in a first order less than the predetermined bit width in a direction that is later in the predetermined order. And a parallel bit shift circuit for generating the second test parallel data string by shifting the overflowed bits to the previous position in the predetermined order of the next parallel data. Thus, the first test parallel data sequence and the second test parallel data sequence in which the positions in the parallel data of the bits corresponding to the same bits of the common test parallel data sequence are mutually shifted, Produces
When the detection circuit is supplied from a comparison circuit that compares the bit of the first serial data and the bit of the second serial data input at the same timing, and the test parallel data generation circuit In response to the shift, at least one bit of the first serial data and the second serial data is shifted, and the first serial data corresponding to the same bit of the common test parallel data string is shifted. And a serial bit shift circuit for aligning the timing at which the bit and the bit of the second serial data are input to the comparison circuit.
前記パラレルビットシフト回路は、前記共通のテスト用パラレルデータ列を構成するそれぞれのパラレルデータのビットを、順番に、前記所定の順番において後になる方向に前記所定のビット幅未満の第2のビット数だけシフトし、あふれたビットを、次のパラレルデータの前記所定の順番において先になる位置にシフトして、前記第1のテスト用パラレルデータ列を生成し、
前記第1及び第2のビット数は互いに異なる請求項1記載の半導体集積回路。
The parallel bit shift circuit converts the bits of the parallel data constituting the common test parallel data sequence into a second number of bits less than the predetermined bit width in order in the predetermined order. And shifting the overflow bit to the previous position in the predetermined order of the next parallel data to generate the first test parallel data string,
2. The semiconductor integrated circuit according to claim 1, wherein the first and second bit numbers are different from each other .
前記検出回路が、前記比較器が不一致を検出したときに、前記第1のパラレルシリアル変換回路と前記第2のパラレルシリアル変換回路とのいずれかが不良であることを示す検出信号を生成する検出信号生成回路を含むことを特徴とする請求項1及び請求項2のいずれか一つに記載の半導体集積回路。 Detection in which the detection circuit generates a detection signal indicating that either the first parallel-serial conversion circuit or the second parallel-serial conversion circuit is defective when the comparator detects a mismatch. 3. The semiconductor integrated circuit according to claim 1, further comprising a signal generation circuit. 請求項3記載の半導体集積回路を用い、前記検出信号の生成の有無により、前記第1および第2のパラレルシリアル変換回路の少なくとも一方の不良を検出することを特徴とする半導体集積回路のテスト方法。  4. A test method for a semiconductor integrated circuit, comprising: using the semiconductor integrated circuit according to claim 3; and detecting at least one defect of the first and second parallel / serial conversion circuits based on whether or not the detection signal is generated. .
JP2011154675A 2011-07-13 2011-07-13 Semiconductor integrated circuit and test method for semiconductor integrated circuit Expired - Fee Related JP5832800B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011154675A JP5832800B2 (en) 2011-07-13 2011-07-13 Semiconductor integrated circuit and test method for semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011154675A JP5832800B2 (en) 2011-07-13 2011-07-13 Semiconductor integrated circuit and test method for semiconductor integrated circuit

Publications (3)

Publication Number Publication Date
JP2013019830A JP2013019830A (en) 2013-01-31
JP2013019830A5 JP2013019830A5 (en) 2014-07-10
JP5832800B2 true JP5832800B2 (en) 2015-12-16

Family

ID=47691400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011154675A Expired - Fee Related JP5832800B2 (en) 2011-07-13 2011-07-13 Semiconductor integrated circuit and test method for semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP5832800B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111183517B (en) * 2018-01-17 2023-06-16 默升科技集团有限公司 IC die with parallel PRBS testing of interposer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60200632A (en) * 1984-03-26 1985-10-11 Fujitsu Ltd Code error detecting circuit
JPS6116368A (en) * 1984-07-02 1986-01-24 Mitsubishi Electric Corp Inspecting instrument of picture processor
JPH0653938A (en) * 1992-07-30 1994-02-25 Nec Corp Serial data transmission system
US7447965B2 (en) * 2005-05-03 2008-11-04 Agere Systems Inc. Offset test pattern apparatus and method

Also Published As

Publication number Publication date
JP2013019830A (en) 2013-01-31

Similar Documents

Publication Publication Date Title
TWI403745B (en) Asynchronous scan chain circuit
JP4594896B2 (en) Testing the device under test by sampling the clock and data signals of the device under test
JP2008275479A (en) Scan test circuit, scan test control method
US6073260A (en) Integrated circuit
JP5832800B2 (en) Semiconductor integrated circuit and test method for semiconductor integrated circuit
US6941498B2 (en) Technique for debugging an integrated circuit having a parallel scan-chain architecture
JP4842876B2 (en) Failure diagnosis apparatus and failure diagnosis method
KR100974669B1 (en) A built off self test circuit system or a pattern generating system that have look up table and a method for outputting test data for device under test using the system
US7480844B2 (en) Method for eliminating hold error in scan chain
US8093919B2 (en) Test circuit, method, and semiconductor device
JP2009122009A (en) Test circuit
US20160043029A1 (en) Semiconductor device and method of testing semiconductor device
JP2007102877A (en) Semiconductor memory device and memory test circuit
JP2010025903A (en) Circuit and method for specifying faulty flip-flop in scan chain
JP2017059185A (en) Scan test circuit and scan test device
US8539327B2 (en) Semiconductor integrated circuit for testing logic circuit
JP2738297B2 (en) Semiconductor integrated circuit
JP7147372B2 (en) Semiconductor device and test method for semiconductor device
JP2013131274A (en) Semiconductor device
JP3570944B2 (en) Semiconductor integrated circuit
JP2007300362A (en) Serializer circuit
US20100313091A1 (en) Apparatus and method for testing semiconductor integrated circuit
JP2000338188A (en) Testing circuit for semiconductor integrated circuit
JP2008134067A (en) Semiconductor integrated circuit
US20050216804A1 (en) Semiconductor device and test method therefor

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130430

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130516

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130516

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140526

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140526

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150324

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150507

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150615

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151013

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151028

R150 Certificate of patent or registration of utility model

Ref document number: 5832800

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees