CN102495357B - Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer - Google Patents

Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer Download PDF

Info

Publication number
CN102495357B
CN102495357B CN 201110382188 CN201110382188A CN102495357B CN 102495357 B CN102495357 B CN 102495357B CN 201110382188 CN201110382188 CN 201110382188 CN 201110382188 A CN201110382188 A CN 201110382188A CN 102495357 B CN102495357 B CN 102495357B
Authority
CN
China
Prior art keywords
output
signal
test
input
gate
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
CN 201110382188
Other languages
Chinese (zh)
Other versions
CN102495357A (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.)
Harbin Institute of Technology Shenzhen
Original Assignee
Harbin Institute of Technology Shenzhen
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 Harbin Institute of Technology Shenzhen filed Critical Harbin Institute of Technology Shenzhen
Priority to CN 201110382188 priority Critical patent/CN102495357B/en
Publication of CN102495357A publication Critical patent/CN102495357A/en
Application granted granted Critical
Publication of CN102495357B publication Critical patent/CN102495357B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

一种基于比较器响应分析器的输入向量监测并发内建自测试电路。它涉及SOC的测试装置。它解决了现有测试中存在的硬件成本过高、测试延时过大以至于一些输入引脚较多的电路无法被监测的问题。被测集成电路有n个原始输入信号,在原始输入信号中选择t个作为地址信号,n-t个为非地址信号,t个地址信号的组合后均不相同,通过二选一多路选择器选择信号发给测试集发生器和被测集成电路;比较器对选择器信号与列输出信号进行比较,并向测试集发生器发比较信号;测试集发生器和被测集成电路分别发行输出信号和实际输出信号给响应分析器,响应分析器对两个信号进行比较,并发测试结果。应用于一些原来不可测的电路中进行检测。

Figure 201110382188

An input vector monitoring concurrent built-in self-test circuit based on a comparator response analyzer. It concerns the test setup of the SOC. It solves the problems existing in the existing test that the hardware cost is too high and the test delay is too large so that some circuits with many input pins cannot be monitored. The integrated circuit under test has n original input signals, select t among the original input signals as address signals, and nt as non-address signals, The combination of t address signals is not the same, and the selection signal is sent to the test set generator and the tested integrated circuit through the two-choice multiplexer; the comparator compares the selector signal with the output signal of the column, and sends it to the test set The generator sends a comparison signal; the test set generator and the integrated circuit under test issue the output signal and the actual output signal to the response analyzer respectively, and the response analyzer compares the two signals and sends the test results concurrently. It is applied to some untestable circuits for detection.

Figure 201110382188

Description

一种基于比较器响应分析器的输入向量监测并发内建自测试电路A Comparator Response Analyzer Based Input Vector Monitoring Concurrent Built-In Self-Test Circuit

技术领域 technical field

本发明涉及SOC的测试装置。The invention relates to a testing device for SOC.

背景技术 Background technique

过去四十年间,集成电路的发展一直遵循着摩尔定律,即集成电路的规模每隔十八个月将扩大一倍,现在已经进入了深亚微米阶段。随着集成电路的规模和集成度不断提高,芯片的制造成本也随之降低,然而芯片复杂度的提高使得芯片的测试成本越来越高。由于芯片的测试成本是芯片总成本的一部分,这使得芯片测试成本占总成本的比重越来越大,因此如何降低芯片的测试成本也就成了人们非常关心的问题。In the past forty years, the development of integrated circuits has followed Moore's Law, that is, the size of integrated circuits will double every eighteen months, and now it has entered the deep submicron stage. As the scale and integration of integrated circuits continue to increase, the manufacturing cost of the chip is also reduced. However, the increase in the complexity of the chip makes the testing cost of the chip more and more high. Since the chip test cost is a part of the total chip cost, which makes the chip test cost account for an increasing proportion of the total cost, so how to reduce the chip test cost has become a problem of great concern to people.

半导体科技的发展使得超大规模集成电路特别是处理器的性能得到了大幅度的提升。然而随着晶体管和互连的尺寸减小、供电电压的降低和电路运行频率的提升,电路发生故障的可能性也越来越大。在电路的实际运行中主要会遇到以下三种故障。The development of semiconductor technology has greatly improved the performance of VLSI, especially processors. However, as the size of transistors and interconnects decreases, supply voltages decrease, and circuits operate at higher frequencies, the possibility of circuit failure increases. In the actual operation of the circuit, the following three kinds of faults will be mainly encountered.

(1)永久性故障——这种故障主要是由电路的物理缺陷引起的,随着半导体设计和加工技术的进步,这种缺陷发生概率已经越来越低,但是仍然会在芯片中存在。(1) Permanent failure-this kind of failure is mainly caused by physical defects in the circuit. With the advancement of semiconductor design and processing technology, the probability of such defects has become lower and lower, but they still exist in the chip.

(2)瞬态故障——这种故障是不可重复的,主要是由高能粒子(宇宙射线、阿尔法射线),电磁干扰等因素引起。随着集成电路集成度的提高和供电电压的降低,现在电路很容易受到高能粒子诱发的瞬态故障的影响,并且这种故障已经成为了电路失效的最主要原因,常见的有单粒子翻转和软故障。(2) Transient failure - this kind of failure is not repeatable, mainly caused by high-energy particles (cosmic rays, alpha rays), electromagnetic interference and other factors. With the improvement of integrated circuit integration and the reduction of supply voltage, circuits are now vulnerable to transient faults induced by high-energy particles, and this fault has become the most important cause of circuit failure. The common ones are single event flipping and soft fault.

(3)间歇性故障——这种故障主要是由电路运行频率、电压以及其他环境因素引起的并且在相同的条件下可以重复发生。(3) Intermittent failure - this kind of failure is mainly caused by circuit operating frequency, voltage and other environmental factors and can occur repeatedly under the same conditions.

瞬态故障已经成为危害芯片工作的最主要故障,然而离线内建自测试不能检测电路瞬态故障,所以人们提出了很多在线内建自测试,输入向量监测并发内建自测试就是其中的一种。Transient faults have become the most important faults that endanger the work of chips. However, offline built-in self-test cannot detect circuit transient faults. Therefore, many online built-in self-tests have been proposed. Input vector monitoring concurrent built-in self-test is one of them. .

之前人们提出了输入向量监测并发内建自测试,如C-BIST、RC-BIST、MCBIST、SWIM等等方法,但是当被测电路的输入引脚较多时,这些方法都存在硬件成本和测试延时过大而导致被测电路不可测的情况。Previously, people put forward input vector monitoring and built-in self-test methods, such as C-BIST, RC-BIST, MCBIST, SWIM, etc., but when the circuit under test has many input pins, these methods have hardware costs and test delays. When the time is too large, the circuit under test cannot be tested.

发明内容 Contents of the invention

本发明的目的是为了解决现有输入向量监测并发内建自测试中存在的硬件成本过高、测试延时过大以至于一些输入引脚较多的电路无法被监测的问题,而提出了一种基于比较器响应分析器的输入向量监测并发内建自测试电路。The purpose of the present invention is to solve the problems of high hardware cost and excessive test delay in the existing input vector monitoring concurrent built-in self-test, so that some circuits with more input pins cannot be monitored, and a new method is proposed. An input vector monitoring concurrent built-in self-test circuit based on a comparator response analyzer.

本发明的基于比较器响应分析器的输入向量监测并发内建自测试电路包括测试集发生器、输出响应分析器、比较器和二选一多路选择器;被测集成电路有n位输入端,所述的输入端的输入信号为上一级电路输出的原始输入信号,上一级电路输出的原始输入信号为0或1信号,在n位上一级电路输出的原始输入信号中选择t位作为上一级电路输出的地址信号,余下的n-t位作为上一级电路输出的非地址信号,其中,

Figure BDA0000112603590000021
二选一多路选择器的个数为n+t个,其中,第一个二选一多路选择器至第t个二选一多路选择器分别用于选择计数器的输出信号或上一级电路输出的地址信号发送给测试集发生器的t个输入端,第t+1个二选一多路选择器至第2t个二选一多路选择器分别用于选择计数器的输出信号或上一级电路输出的地址信号发送给被测集成电路的第一个输入引脚至第t个输入引脚,当所述n>t+1时,第2t+1个二选一多路选择器至第n+t个的二选一多路选择器分别用于选择上一级电路输出的非地址信号或测试集发生器的列输出端的列输出信号发送给被测集成电路的第t+1个输入引脚至第n个输入引脚,第2t+1个二选一多路选择器至第n+t个的二选一多路选择器还分别用于选择上一级电路输出的非地址信号或测试集发生器的列输出端的列输出信号发送给比较器的第一个信号输入端至第n-t个信号输入端,比较器,用于对其输入端接收到的所有信号进行比较,并向测试集发生器的比较信号输入端发送比较结果信号;测试集发生器的行输出端发送行输出信号给响应分析器的发生信号输入端,被测集成电路的输出端发送实际输出信号给响应分析器的实际信号输入端,响应分析器用于将接收到的发生信号整理生成的测试信号,还用于将所述测试信号与实际信号进行比较,并向通过故障位标志输出端向外发送测试结果。The input vector monitoring and built-in self-test circuit based on the comparator response analyzer of the present invention includes a test set generator, an output response analyzer, a comparator and a two-to-one multiplexer; the integrated circuit to be tested has n-bit input terminals , the input signal at the input terminal is the original input signal output by the upper stage circuit, the original input signal output by the upper stage circuit is a 0 or 1 signal, and t bits are selected among the original input signals output by the n bit upper stage circuit As the address signal output by the upper-level circuit, the remaining nt bits are used as the non-address signal output by the upper-level circuit, wherein,
Figure BDA0000112603590000021
The number of two-to-one multiplexers is n+t, wherein, the first two-to-one multiplexer to the tth two-to-one multiplexer are respectively used to select the output signal of the counter or the last The address signal output by the stage circuit is sent to the t input terminals of the test set generator, and the t+1th two-to-one multiplexer to the 2t two-to-one multiplexer are respectively used to select the output signal of the counter or The address signal output by the upper circuit is sent to the first input pin to the tth input pin of the integrated circuit under test. When the n>t+1, the 2t+1th two-to-one multi-way selection The two-to-one multiplexer from the device to the n+tth is used to select the non-address signal output by the upper stage circuit or the column output signal of the column output terminal of the test set generator to send to the t+th integrated circuit under test 1 input pin to the nth input pin, the 2t+1th two-to-one multiplexer to the n+tth two-to-one multiplexer are also used to select the output of the upper stage circuit A non-address signal or a column output signal from the column output of the test set generator is sent to the first signal input to the ntth signal input of the comparator, which is used to compare all signals received at its input terminals , and send the comparison result signal to the comparison signal input terminal of the test set generator; the line output terminal of the test set generator sends the line output signal to the generation signal input terminal of the response analyzer, and the output terminal of the integrated circuit under test sends the actual output signal To the actual signal input terminal of the response analyzer, the response analyzer is used to sort out the received signal to generate a test signal, and also to compare the test signal with the actual signal, and send the output terminal through the fault bit flag to the outside Send test results.

本发明是通过降低测试集发生器(test generator)以及输出响应分析器2两部分的硬件成本来实现的,采取的方法是在测试集发生器1部分由于或门是有与非门构成,n输入的或门是由n个两输入的与门构成,所以减少或门的输入端口个数可以减少实际需要的与非门个数。实验结果表明,和之前人们提出的输入向量监测并发内建自测试相比,本发明的可以在很大程度上降低测试电路的并发测试延时和硬件成本,使得一些原来不可测的电路可以被检测。The present invention is realized by reducing the hardware cost of two parts of the test set generator (test generator) and the output response analyzer 2, and the method that takes is because the OR gate is formed with a NAND gate in the test set generator 1 part, n The input OR gate is composed of n two-input AND gates, so reducing the number of input ports of the OR gate can reduce the number of NAND gates actually needed. Experimental results show that, compared with the input vector monitoring concurrent built-in self-test proposed by people before, the present invention can greatly reduce the concurrent test delay and hardware cost of the test circuit, so that some circuits that were originally untestable can be tested detection.

附图说明 Description of drawings

图1为基于比较器响应分析器的输入向量监测并发内建自测试电路的结构示意图,图2为测试集发生器1的结构示意图,图3为输出响应分析器2的结构示意图。FIG. 1 is a schematic structural diagram of an input vector monitoring concurrent built-in self-test circuit based on a comparator response analyzer, FIG. 2 is a structural schematic diagram of a test set generator 1 , and FIG. 3 is a structural schematic diagram of an output response analyzer 2 .

具体实施方式 Detailed ways

具体实施方式一:结合图1说明本实施方式,本实施方式的基于比较器响应分析器的输入向量监测并发内建自测试电路包括测试集发生器1、输出响应分析器2、比较器3和二选一多路选择器4;Embodiment 1: This embodiment is described in conjunction with FIG. 1 . The input vector monitoring and built-in self-test circuit based on the comparator response analyzer in this embodiment includes a test set generator 1, an output response analyzer 2, a comparator 3 and Two to one multiplexer 4;

被测集成电路5有n位输入端,所述的输入端的输入信号为上一级电路输出的原始输入信号,上一级电路输出的原始输入信号为0或1信号,在n位上一级电路输出的原始输入信号中选择t位作为上一级电路输出的地址信号,余下的n-t位作为上一级电路输出的非地址信号,其中, log 2 T ≤ t ≤ n , The integrated circuit 5 under test has an n-bit input terminal, the input signal of the input terminal is the original input signal output by the upper stage circuit, and the original input signal output by the upper stage circuit is a 0 or 1 signal, and the n-bit upper stage In the original input signal output by the circuit, the t bit is selected as the address signal output by the upper circuit, and the remaining nt bits are used as the non-address signal output by the upper circuit, wherein, log 2 T ≤ t ≤ no ,

二选一多路选择器4的个数为n+t个,其中,The number of two-to-one multiplexers 4 is n+t, wherein,

第一个二选一多路选择器4至第t个二选一多路选择器4分别用于选择计数器的输出信号或上一级电路输出的地址信号发送给测试集发生器1的t个输入端,The first two-to-one multiplexer 4 to the t-th two-to-one multiplexer 4 are respectively used to select the output signal of the counter or the address signal output by the upper stage circuit to send to the t of the test set generator 1 input terminal,

第t+1个二选一多路选择器4至第2t个二选一多路选择器4分别用于选择计数器的输出信号或上一级电路输出的地址信号发送给被测集成电路5的第一个输入引脚至第t个输入引脚,The t+1th two-to-one multiplexer 4 to the 2t two-to-one multiplexer 4 are respectively used to select the output signal of the counter or the address signal output by the upper circuit to send to the integrated circuit 5 under test. the first input pin to the tth input pin,

当所述n>t+1时,第2t+1个二选一多路选择器4至第n+t个的二选一多路选择器4分别用于选择上一级电路输出的非地址信号或测试集发生器1的列输出端的列输出信号发送给被测集成电路5的第t+1个输入引脚至第n个输入引脚,第2t+1个二选一多路选择器4至第n+t个的二选一多路选择器4还分别用于选择上一级电路输出的非地址信号或测试集发生器1的列输出端的列输出信号发送给比较器3的第一个信号输入端至第n-t个信号输入端,当n=t时,则无上述信号发送;When said n>t+1, the 2t+1th two-to-one multiplexer 4 to the n+tth two-to-one multiplexer 4 are respectively used to select the non-address output by the upper stage circuit The column output signal of the column output terminal of the signal or test set generator 1 is sent to the t+1th input pin to the nth input pin of the integrated circuit 5 under test, and the 2t+1th two-to-one multiplexer The 4th to n+tth two-to-one multiplexer 4 is also used to select the non-address signal output by the upper stage circuit or the column output signal of the column output terminal of the test set generator 1 to send to the comparator 3's column output signal. From one signal input terminal to the n-tth signal input terminal, when n=t, no above-mentioned signal is sent;

比较器3,用于对其输入端接收到的所有信号进行比较,并向测试集发生器1的比较信号输入端发送比较结果信号;The comparator 3 is used to compare all the signals received by its input terminal, and send a comparison result signal to the comparison signal input terminal of the test set generator 1;

测试集发生器1的行输出端发送行输出信号给响应分析器2的发生信号输入端,The line output of the test set generator 1 sends the line output signal to the generation signal input of the response analyzer 2,

被测集成电路5的输出端发送实际输出信号给响应分析器2的实际信号输入端,The output end of the integrated circuit 5 under test sends the actual output signal to the actual signal input end of the response analyzer 2,

响应分析器2用于将接收到的发生信号整理生成的测试信号,还用于将所述测试信号与实际信号进行比较,并向通过故障位标志输出端向外发送测试结果。The response analyzer 2 is used for sorting the received generated signal to generate a test signal, and is also used for comparing the test signal with the actual signal, and sending the test result to the output terminal of the fault bit flag.

具体实施方式二:结合图2说明本实施方式,本实施方式与具体实施方式一不同点在于测试集发生器1包括T个测试向量、T个行输出与门和n-t个列输出或门;Specific embodiment two: this embodiment is described in conjunction with Fig. 2, the difference between this embodiment and specific embodiment one is that the test set generator 1 includes T test vectors, T row output AND gates and n-t column output OR gates;

测试集发生器1的t个输入端接收上一级电路输出的t位地址信号,上一级电路输出的t位地址信号组合成多个不相同的输入信号,每一个输入信号对应一个测试向量,并将对应的输入信号发送给测试向量发生器的输入端,The t input terminals of the test set generator 1 receive the t-bit address signal output by the upper-level circuit, and the t-bit address signal output by the upper-level circuit is combined into a plurality of different input signals, and each input signal corresponds to a test vector , and send the corresponding input signal to the input of the test vector generator,

所述的测试向量的个数为T,并且每个测试向量的位数均为n,则测试集发生器1中的测试集构成一个T×n的矩阵;The number of the test vectors is T, and the number of bits of each test vector is n, then the test set in the test set generator 1 forms a matrix of T×n;

Figure BDA0000112603590000041
Figure BDA0000112603590000041

所述矩阵中的n列中的t列被选作地址位,把测试集构成一个T×n的矩阵中的每一行做为一个集合,若所有行的子集vi1、vi2、vi3…vit都是不相同的,其中1≤i≤T,即称vi1、vi2、vi3…vit为行不同;The t column in the n columns in the matrix is selected as the address bit, and each row in the test set constitutes a T×n matrix as a set, if the subsets v i1 , v i2 , v i3 of all rows ...v it is all different, where 1≤i≤T, that is, v i1 , v i2 , v i3 ...v it are different rows;

每一个测试向量都有一个输出总线,输出总线的个数为T个,每个输出总线输出的输出信号分别为vi(t+1)、vi(t+2)、vi(t+3)…vinEach test vector has an output bus, the number of output buses is T, and the output signals output by each output bus are v i(t+1) , v i(t+2) , v i(t+ 3) ... v in ,

Figure BDA0000112603590000042
Figure BDA0000112603590000042

输出总线输出的一列信号对应一个列输出或门,当输出总线输出的列信号为高电平,则列输出或门的输入端接收逻辑值1,所述的列输出或门的输出端输出逻辑值1,列输出或门的输出端为测试集发生器1的列输出端,则列输出端为n-t个,A column signal output by the output bus corresponds to a column output OR gate. When the column signal output by the output bus is high level, the input terminal of the column output OR gate receives a logic value 1, and the output terminal of the column output OR gate outputs logic Value 1, the output end of the column output OR gate is the column output end of the test set generator 1, then there are n-t column output ends,

输出总线输出的一行信号对应一个行输出与门,当输出总线输出的行信号为高电平,则行输出与门的一个输入端接收逻辑值1,所述行输出与门的另一个输入端为测试集发生器1的比较信号输入端,行输出与门的另一个输入端接收比较信号,行输出与门的输出端为测试集发生器1的行输出端,则行输出端为T个。The row signal output by the output bus corresponds to a row output AND gate. When the row signal output by the output bus is high level, one input terminal of the row output AND gate receives a logic value 1, and the other input terminal of the row output AND gate is the comparison signal input terminal of the test set generator 1, the other input terminal of the row output AND gate receives the comparison signal, and the output terminal of the row output AND gate is the row output terminal of the test set generator 1, then the row output terminals are T .

其它结构和连接方式与具体实施方式一相同。Other structures and connection methods are the same as those in the first embodiment.

例如,在表一中有5个测试向量,用a到f六个字母表示每个测试向量中包含的6个输入位。选择a、b和d可以作为地址位,因为对于这5个测试向量来说它们的a、b和d的组合都是不同,也就是说a、b和d是行不同(row-distinct),同样还可以选取a、b和c等。但是c、e和f组合就不可以作为地址位,因为组合(1,0,1)在测试向量1和5中部出现了,它们不是行不同(row-distinct)。For example, there are 5 test vectors in Table 1, and six letters from a to f represent the 6 input bits contained in each test vector. Selecting a, b, and d can be used as address bits, because the combinations of a, b, and d are different for these 5 test vectors, that is to say, a, b, and d are row-distinct, Similarly, a, b, and c can also be selected. But the combination of c, e and f cannot be used as address bits, because the combination (1, 0, 1) appears in the middle of test vectors 1 and 5, and they are not row-distinct.

表一、测试集示意表Table 1. Schematic representation of the test set

  a a   b b   c c   d d   e e   f f   vector1 vector1   0 0   0 0   1 1   1 1   0 0   1 1   vector2 vector2   0 0   1 1   1 1   0 0   1 1   1 1   vector3 vector3   1 1   0 0   1 1   1 1   1 1   0 0   vector4 vector4   0 0   0 0   0 0   0 0   1 1   1 1   vector5 vector5   1 1   1 1   1 1   0 0   0 0   1 1

表二、测试集的输出总线输出的输出信号示意表Table 2. Schematic diagram of the output signal of the output bus output of the test set

  d d   e e   f f   vector1 vector1   1 1   0 0   1 1   vector2 vector2   0 0   1 1   1 1   vector3 vector3   1 1   1 1   0 0   vector4 vector4   0 0   1 1   1 1   vector5 vector5   0 0   0 0   1 1

具体实施方式三:结合图3说明本实施方式,本实施方式与具体实施方式一或二不同点在于输出响应分析器2包括m个或门和m个响应分析比较器,输出响应分析器2的输入总线为响应分析器2的发生信号输入端,输入总线输出的信号对应一个或门,当输入总线输出的信号为高电平,则或门输入端接收逻辑值1,所述的或门的输出端输出逻辑值1,或门的输出端连接响应分析比较器的测试信号输入端,响应分析比较器的实际信号输入端为响应分析器2的实际信号输入端,响应分析比较器的实际信号输入端连接被测集成电路5的输出端,m个响应分析比较器的输出端与输出或门的m个输入端连接,输出或门的输出端为响应分析器2的输出端。其它结构和连接方式与具体实施方式一或二相同。Specific embodiment three: this embodiment is described in conjunction with Fig. 3, and the difference between this embodiment and specific embodiment one or two is that the output response analyzer 2 includes m OR gates and m response analysis comparators, and the output response analyzer 2 The input bus is the signal input end of the response analyzer 2, and the signal output by the input bus corresponds to an OR gate. When the signal output by the input bus is high level, the OR gate input terminal receives a logic value 1, and the OR gate The output terminal outputs a logic value 1, and the output terminal of the OR gate is connected to the test signal input terminal of the response analysis comparator, the actual signal input terminal of the response analysis comparator is the actual signal input terminal of the response analyzer 2, and the actual signal input terminal of the response analysis comparator The input terminal is connected to the output terminal of the integrated circuit 5 under test, the output terminals of the m response analysis comparators are connected to the m input terminals of the output OR gate, and the output terminals of the output OR gate are the output terminals of the response analyzer 2 . Other structures and connection modes are the same as those in Embodiment 1 or 2.

本实施方式包括在线和离线两个测试模式。为了便于叙述电路的运行过程,同样假设被测集成电路5输入位的[1∶3]位为地址位。This embodiment includes two test modes, online and offline. For the convenience of describing the operation process of the circuit, it is also assumed that the [1:3] bit of the input bit of the integrated circuit 5 under test is the address bit.

在线测试,本发明的基于比较器响应分析器的输入向量监测并发内建自测试电路的在线测试运行方式和现有输入向量监测并发内建自测试在线测试运行方式的相似,只是本发明测试不需要在测试集中所有测试向量都产生hit信号以后再检查输出响应分析器2中的值是否和期望值相等。在基于比较器响应分析器的输入向量监测并发内建自测试电路中,输出响应分析器2已经存储了测试集中每个测试向量的输出响应。当测试集中任何一个测试向量达到被测电路时都将检查电路此时的输出相应和期望值是否相同。另外,在现有输入向量监测并发内建自测试中逻辑单元Li是只能记录测试集中任何一个测试向量的第一次到来,而在基于比较器响应分析器的输入向量监测并发内建自测试电路中则不需要采用这种逻辑单元,因为测试集中测试向量无论到来多次基于比较器响应分析器的输入向量监测并发内建自测试电路都将会比较被测电路的输出响应是否和输出响应分析器2中存的期望值相同。On-line test, the present invention is based on the input vector monitoring of the comparator response analyzer and the online test operation mode of the built-in self-test circuit is similar to the existing input vector monitoring and the concurrent built-in self-test online test operation mode, but the test of the present invention is not It is necessary to check whether the value in the output response analyzer 2 is equal to the expected value after all the test vectors in the test set generate hit signals. In the input vector monitoring concurrent built-in self-test circuit based on the comparator response analyzer, the output response analyzer 2 has stored the output response of each test vector in the test set. When any test vector in the test set reaches the circuit under test, it will be checked whether the output response of the circuit at this time is the same as the expected value. In addition, in the existing input vector monitoring concurrent built-in self-test, the logic unit Li can only record the first arrival of any test vector in the test set, while in the input vector monitoring concurrent built-in self-test based on the comparator response analyzer There is no need to use this logic unit in the circuit, because no matter how many times the test vector comes in the test set, based on the input vector monitoring of the comparator response analyzer and the concurrent built-in self-test circuit will compare the output response of the circuit under test with the output response The expected values stored in analyzer 2 are the same.

离线测试,在某些情况下,当电路在正常运行时测试集中某些测试向量一直没有达到被测电路的输入端,此时为了检测电路对所有故障的检测情况需要将电路转为离线测试模式。同时在制造测试等测试中也需要电路的离线测试,所以在基于比较器响应分析器的输入向量监测并发内建自测试电路中加入离线测试模式同时也可以消除在电路中另外加离线测试所需要的硬件成本。Off-line test, in some cases, when the circuit is running normally, some test vectors in the test set have not reached the input of the circuit under test. At this time, in order to detect the detection of all faults in the circuit, the circuit needs to be converted to offline test mode . At the same time, the off-line test of the circuit is also required in the manufacturing test and other tests, so adding the off-line test mode to the input vector monitoring and built-in self-test circuit based on the comparator response analyzer can also eliminate the need for additional off-line testing in the circuit hardware cost.

和基于累加器的响应分析器的输入向量监测并发内建自测试电路的在线测试一样,基于比较器响应分析器的输入向量监测并发内建自测试电路的离线测试和现有输入向量监测并发内建自测试的离线测试的区别同样是不需要在测试集中所有的测试向量都产生hit信号以后再检查输出响应分析器2中数据是否和期望值一样,而是只要测试集中任何一个测试向量产生hit时都会检查此时的输出响应是否和输出响应分析器2中已存储的期望值相等。Like accumulator-based response analyzer input vector monitoring concurrent with on-line testing of BTS circuits, comparator-based response analyzer input vector monitoring concurrent BTS offline testing of existing input vector monitoring concurrent built-in self-test circuits The difference of the offline test built from the test is also that it is not necessary to check whether the data in the output response analyzer 2 is the same as the expected value after all the test vectors in the test set generate hit signals, but only when any test vector in the test set generates a hit It will be checked whether the output response at this time is equal to the expected value stored in the output response analyzer 2.

当被测电路的输入端口数过多时(大于四十),采用现有输入向量监测并发内建自测试电路的测试延时将达到人们不能接受的地步。所以为了降低测试电路的并发测试延时,和现有输入向量监测并发内建自测试相比,基于比较器响应分析器的输入向量监测并发内建自测试电路最主要的改进是将基于累加器的输出响应分析器2改为基于比较器的输出响应分析器2。因为基于比较器的输出响应分析器2需要将测试集中所有测试向量的输出相应存储起来,所以将基于累加器的输出响应分析器2改为基于比较器的输出响应分析器2会造成测试电路硬件成本的提高。为了解决硬件成本过大的问题本文还提出了可以有效降低硬件成本的方法,它主要是在两个方而降低电路的硬件成本1)测试集发生器,通过减少两输入与非门个数来降低测试集发生器的硬件成本。2)输出响应分析器2,通过输出端口优化减少需要被监测的输出端口数目从而降低输出响应分析器2的硬件成本。When the number of input ports of the circuit under test is too large (greater than forty), the test delay of the concurrent built-in self-test circuit using the existing input vector monitoring will reach an unacceptable level. Therefore, in order to reduce the concurrent test delay of the test circuit, compared with the existing input vector monitoring concurrent built-in self-test, the main improvement of the input vector monitoring concurrent built-in self-test circuit based on the comparator response analyzer is that the accumulator-based The output of Response Analyzer2 was changed to Comparator-based Output Response Analyzer2. Because the output response analyzer 2 based on the comparator needs to store the output of all test vectors in the test set correspondingly, changing the output response analyzer 2 based on the accumulator to the output response analyzer 2 based on the comparator will cause the test circuit hardware cost increase. In order to solve the problem of excessive hardware cost, this paper also proposes a method that can effectively reduce hardware cost. It mainly reduces the hardware cost of the circuit in two ways: 1) the test set generator, by reducing the number of two-input NAND gates Reduce hardware costs for test set generators. 2) The output response analyzer 2 reduces the hardware cost of the output response analyzer 2 by reducing the number of output ports to be monitored through output port optimization.

本发明内容不仅限于上述各实施方式的内容,其中一个或几个具体实施方式的组合同样也可以实现发明的目的。The content of the present invention is not limited to the content of the above-mentioned embodiments, and a combination of one or several specific embodiments can also achieve the purpose of the invention.

Claims (3)

1.一种基于比较器响应分析器的输入向量监测并发内建自测试电路,其特征在于它包括测试集发生器(1)、响应分析器(2)、比较器(3)和二选一多路选择器(4);1. A kind of input vector monitoring concurrent built-in self-test circuit based on comparator response analyzer, it is characterized in that it comprises test set generator (1), response analyzer (2), comparator (3) and two select one multiplexer(4); 测试集发生器(1)包括T个测试向量、T个行输出与门和n-t个列输出或门;The test set generator (1) includes T test vectors, T row output AND gates and n-t column output OR gates; 被测集成电路(5)有n位输入端,所述的输入端的输入信号为上一级电路输出的原始输入信号,上一级电路输出的原始输入信号为0或1信号,在n位上一级电路输出的原始输入信号中选择t位作为上一级电路输出的地址信号,余下的n-t位作为上一级电路输出的非地址信号,其中, log 2 T ≤ t ≤ n , The integrated circuit (5) under test has an n-bit input terminal, the input signal of the input terminal is the original input signal output by the upper stage circuit, and the original input signal output by the upper stage circuit is a 0 or 1 signal. In the original input signal output by the first-level circuit, the t bit is selected as the address signal output by the upper-level circuit, and the remaining nt bits are used as the non-address signal output by the upper-level circuit, wherein, log 2 T ≤ t ≤ no , 二选一多路选择器(4)的个数为n+t个,其中,Two choose one multiplexer (4) number is n+t, wherein, 第一个二选一多路选择器(4)至第t个二选一多路选择器(4)分别用于选择计数器的输出信号或上一级电路输出的地址信号发送给测试集发生器(1)的t个输入端,The first two-to-one multiplexer (4) to the tth two-to-one multiplexer (4) are respectively used to select the output signal of the counter or the address signal output by the upper stage circuit to send to the test set generator t inputs of (1), 第t+1个二选一多路选择器(4)至第2t个二选一多路选择器(4)分别用于选择计数器的输出信号或上一级电路输出的地址信号发送给被测集成电路(5)的第一个输入引脚至第t个输入引脚,The t+1th two-to-one multiplexer (4) to the 2t two-to-one multiplexer (4) are respectively used to select the output signal of the counter or the address signal output by the upper circuit to send to the measured The first input pin to the tth input pin of the integrated circuit (5), 当所述n>t+1时,第2t+1个二选一多路选择器(4)至第n+t个的二选一多路选择器(4)分别用于选择上一级电路输出的非地址信号或测试集发生器(1)的列输出端的列输出信号发送给被测集成电路(5)的第t+1个输入引脚至第n个输入引脚,第2t+1个二选一多路选择器(4)至第n+t个的二选一多路选择器(4)还分别用于选择上一级电路输出的非地址信号或测试集发生器(1)的列输出端的列输出信号发送给比较器(3)的第一个信号输入端至第n-t个信号输入端,When said n>t+1, the 2t+1th two-to-one multiplexer (4) to the n+tth two-to-one multiplexer (4) are respectively used to select the upper-level circuit The output non-address signal or the column output signal of the column output terminal of the test set generator (1) is sent to the t+1th input pin to the nth input pin of the integrated circuit (5) under test, the 2t+1th input pin The two-to-one multiplexer (4) to the n+tth two-to-one multiplexer (4) are also used to select the non-address signal output by the upper stage circuit or the test set generator (1) respectively The column output signal of the column output terminal is sent to the first signal input terminal to the n-t signal input terminal of the comparator (3), 比较器(3),用于对其输入端接收到的所有信号进行比较,并向测试集发生器(1)的比较信号输入端发送比较结果信号;The comparator (3) is used for comparing all signals received by its input terminal, and sends a comparison result signal to the comparison signal input terminal of the test set generator (1); 测试集发生器(1)的行输出端发送行输出信号给响应分析器(2)的发生信号输入端,The line output of the test set generator (1) sends the line output signal to the generation signal input of the response analyzer (2), 被测集成电路(5)的输出端发送实际输出信号给响应分析器(2)的实际信号输入端,The output terminal of the integrated circuit under test (5) sends the actual output signal to the actual signal input terminal of the response analyzer (2), 响应分析器(2)用于将接收到的发生信号整理生成的测试信号,还用于将所述测试信号与实际信号进行比较,并向通过故障位标志输出端向外发送测试结果。The response analyzer (2) is used for sorting the generated test signal from the received generated signal, and is also used for comparing the test signal with the actual signal, and sending the test result to the output terminal of the fault bit flag. 2.根据权利要求1所述的一种基于比较器响应分析器的输入向量监测并发内建自测试电路,其特征在于2. A kind of input vector monitoring concurrent built-in self-test circuit based on the comparator response analyzer according to claim 1, it is characterized in that 测试集发生器(1)的t个输入端接收上一级电路输出的t位地址信号,上一级电路输出的t位地址信号组合成多个不相同的输入信号,每一个输入信号对应一个测试向量,并将对应的输入信号发送给测试向量发生器的输入端,The t input terminals of the test set generator (1) receive the t-bit address signals output by the upper-level circuit, and the t-bit address signals output by the upper-level circuit are combined into a plurality of different input signals, and each input signal corresponds to a test vector, and send the corresponding input signal to the input of the test vector generator, 所述的测试向量的个数为T,并且,每个测试向量的位数均为n,则测试集发生器(1)中的测试集构成一个T×n的矩阵;The number of the test vectors is T, and the number of bits of each test vector is n, then the test set in the test set generator (1) forms a matrix of T × n; vv 1111 vv 1212 vv 11 nno vv 21twenty one vv 22twenty two vv 22 nno vv TT 11 vv TT 22 vv TnTn 所述矩阵中的n列中的t列被选作地址位,把测试集构成一个T×n的矩阵中的每一行做为一个集合,若所有行的子集vi1、vi2、vi3…vit都是不相同的,其中1≤i≤T,即称vi1、vi2、vi3…vit为行不同;The t column in the n columns in the matrix is selected as the address bit, and each row in the test set constitutes a T×n matrix as a set, if the subsets v i1 , v i2 , v i3 of all rows ...v it is all different, where 1≤i≤T, that is, v i1 , v i2 , v i3 ...v it are different rows; 每一个测试向量都有一个输出总线,输出总线的个数为T个,每个输出总线输出的输出信号分别为vi(t+1)、vi(t+2)、vi(t+3)…vinEach test vector has an output bus, the number of output buses is T, and the output signals output by each output bus are v i(t+1) , v i(t+2) , v i(t+ 3) ... v in , vv 11 (( tt ++ 11 )) vv 11 (( tt ++ 22 )) vv 11 nno vv 22 (( tt ++ 11 )) vv 22 (( tt ++ 22 )) vv 22 nno vv TT (( tt ++ 11 )) vv TT (( tt ++ 22 )) vv TnTn 输出总线输出的一列信号对应一个列输出或门,当输出总线输出的列信号为高电平,则列输出或门的输入端接收逻辑值1,所述的列输出或门的输出端输出逻辑值1,列输出或门的输出端为测试集发生器(1)的列输出端,则列输出端为n-t个,A column signal output by the output bus corresponds to a column output OR gate. When the column signal output by the output bus is high level, the input terminal of the column output OR gate receives a logic value 1, and the output terminal of the column output OR gate outputs logic Value 1, the output end of the column output OR gate is the column output terminal of the test set generator (1), then the column output terminals are n-t, 输出总线输出的一行信号对应一个行输出与门,当输出总线输出的行信号为高电平,则行输出与门的一个输入端接收逻辑值1,所述行输出与门的另一个输入端为测试集发生器(1)的比较信号输入端,行输出与门的另一个输入端接收比较结果信号,行输出与门的输出端为测试集发生器(1)的行输出端,则行输出端为T个。The row signal output by the output bus corresponds to a row output AND gate. When the row signal output by the output bus is high level, one input terminal of the row output AND gate receives a logic value 1, and the other input terminal of the row output AND gate is the comparison signal input end of the test set generator (1), the other input end of the row output AND gate receives the comparison result signal, and the output end of the row output AND gate is the row output end of the test set generator (1), then row There are T output ports. 3.根据权利要求2所述的一种基于比较器响应分析器的输入向量监测并发内建自测试电路,其特征在于响应分析器(2)包括m个或门和m个响应分析比较器,响应分析器(2)的输入总线为响应分析器(2)的发生信号输入端,输入总线输出的信号对应一个或门,当输入总线输出的信号为高电平,则或门输入端接收逻辑值1,所述的或门的输出端输出逻辑值1,或门的输出端连接响应分析比较器的测试信号输入端,响应分析比较器的实际信号输入端为响应分析器(2)的实际信号输入端,响应分析比较器的实际信号输入端连接被测集成电路(5)的输出端,m个响应分析比较器的输出端与输出或门的m个输入端连接,输出或门的输出端为响应分析器(2)的输出端。3. A kind of input vector monitoring based on comparator response analyzer according to claim 2 is characterized in that response analyzer (2) comprises m OR gates and m response analysis comparators, The input bus of the response analyzer (2) is the occurrence signal input terminal of the response analyzer (2), and the signal output by the input bus corresponds to an OR gate. When the signal output by the input bus is high level, the OR gate input terminal receives a logic value 1, the output terminal of the OR gate outputs logic value 1, the output terminal of the OR gate is connected to the test signal input terminal of the response analysis comparator, and the actual signal input terminal of the response analysis comparator is the actual signal input terminal of the response analyzer (2). The signal input end, the actual signal input end of the response analysis comparator is connected to the output end of the integrated circuit (5) under test, the output ends of the m response analysis comparators are connected with the m input ends of the output OR gate, and the output of the output OR gate Terminal is the output terminal of response analyzer (2).
CN 201110382188 2011-11-25 2011-11-25 Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer Expired - Fee Related CN102495357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110382188 CN102495357B (en) 2011-11-25 2011-11-25 Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110382188 CN102495357B (en) 2011-11-25 2011-11-25 Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer

Publications (2)

Publication Number Publication Date
CN102495357A CN102495357A (en) 2012-06-13
CN102495357B true CN102495357B (en) 2013-09-11

Family

ID=46187198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110382188 Expired - Fee Related CN102495357B (en) 2011-11-25 2011-11-25 Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer

Country Status (1)

Country Link
CN (1) CN102495357B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103308850B (en) * 2013-07-03 2016-02-24 苏州磐启微电子有限公司 The built-in framework that touch-control IC AFE (analog front end) is tested oneself and method of testing
CN106526456B (en) * 2016-12-02 2023-03-21 河南中烟工业有限责任公司 Integrated circuit on-line testing device and testing method
CN108008284A (en) * 2017-11-28 2018-05-08 上海华力微电子有限公司 A kind of chip test system
CN114460447B (en) * 2021-01-19 2023-03-28 沐曦集成电路(上海)有限公司 Self-test circuit of latch and self-test method thereof
CN113255157B (en) * 2021-06-16 2021-10-01 知行汽车科技(苏州)有限公司 Excel-based failure mode influence diagnosis and analysis tool and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395674A (en) * 2006-03-03 2009-03-25 高通股份有限公司 Method and apparatus for testing data steering logic for data storage having independently addressable subunits
CN101551439A (en) * 2009-02-24 2009-10-07 北京时代民芯科技有限公司 Built-in self-testing method of FPGA input/output module

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3893238B2 (en) * 2000-07-14 2007-03-14 富士通株式会社 Semiconductor memory device failure analysis device
US6829728B2 (en) * 2000-11-13 2004-12-07 Wu-Tung Cheng Full-speed BIST controller for testing embedded synchronous memories
JP2004246979A (en) * 2003-02-14 2004-09-02 Fujitsu Ltd Semiconductor test circuit, semiconductor memory device, and semiconductor test method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395674A (en) * 2006-03-03 2009-03-25 高通股份有限公司 Method and apparatus for testing data steering logic for data storage having independently addressable subunits
CN101551439A (en) * 2009-02-24 2009-10-07 北京时代民芯科技有限公司 Built-in self-testing method of FPGA input/output module

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-246979A 2004.09.02

Also Published As

Publication number Publication date
CN102495357A (en) 2012-06-13

Similar Documents

Publication Publication Date Title
US8935584B2 (en) System and method for performing scan test
CN102495357B (en) Input vector monitoring concurrency built-in self-test circuit based on comparator and response analyzer
US7676709B2 (en) Self-test output for high-density BIST
Voyiatzis et al. Input vector monitoring concurrent BIST architecture using SRAM cells
US9483599B1 (en) Circuit design-specific failure in time rate for single event upsets
Schanstra et al. Industrial evaluation of stress combinations for march tests applied to SRAMs
Voyiatzis et al. An input vector monitoring concurrent BIST architecture based on a precomputed test set
US20070300131A1 (en) Register file cell with soft error detection and circuits and methods using the cell
Devtaprasanna et al. A unified method to detect transistor stuck-open faults and transition delay faults
Huang et al. Using fault model relaxation to diagnose real scan chain defects
Ye et al. Substantial fault pair at-a-time (SFPAT): An automatic diagnostic pattern generation method
US8527232B2 (en) Diagnostic test pattern generation for small delay defect
US6735729B1 (en) Compression circuit for testing a memory device
Zhang et al. When optimized N-detect test sets are biased: an investigation of cell-aware-type faults and N-detect stuck-at ATPG
Wu et al. A Repair-for-Diagnosis Methodology for Logic Circuits
US6920621B1 (en) Methods of testing for shorts in programmable logic devices using relative quiescent current measurements
US7882454B2 (en) Apparatus and method for improved test controllability and observability of random resistant logic
US9869718B1 (en) Scan test architecture and method for scan testing
US6611935B1 (en) Method and system for efficiently testing circuitry
Pomeranz et al. Functionally Possible Path Delay Faults With High Functional Switching Activity
Hussain et al. Identification of faulty locations in digital circuits using SVM classifier
US9372771B1 (en) Method of grouping embedded memories for testing
Bareisa et al. On delay test generation for non-scan sequential circuits at functional level
US6421810B1 (en) Scalable parallel test bus and testing method
Nisha et al. VLSI implementation of an efficient MBIST architecture using RLFSR

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130911