[go: up one dir, main page]

CN102305911B - Scanning chain balancing method for carrying out secondary allocation by utilizing difference value - Google Patents

Scanning chain balancing method for carrying out secondary allocation by utilizing difference value Download PDF

Info

Publication number
CN102305911B
CN102305911B CN 201110162065 CN201110162065A CN102305911B CN 102305911 B CN102305911 B CN 102305911B CN 201110162065 CN201110162065 CN 201110162065 CN 201110162065 A CN201110162065 A CN 201110162065A CN 102305911 B CN102305911 B CN 102305911B
Authority
CN
China
Prior art keywords
scan chain
adj
length
scan
core
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 201110162065
Other languages
Chinese (zh)
Other versions
CN102305911A (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 201110162065 priority Critical patent/CN102305911B/en
Publication of CN102305911A publication Critical patent/CN102305911A/en
Application granted granted Critical
Publication of CN102305911B publication Critical patent/CN102305911B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

利用差值进行二次分配的扫描链平衡方法。它涉及系统芯片SOC测试技术领域。它为了缩短SOC的测试时间,进而降低测试费用。首先,将IP核内部各扫描链按照降序排列,从中找到最大的扫描链S(max),将最大的扫描链S(max)除以调整系数adj的长度作为基准长度,最接近于基准长度的扫描链设定为基准的扫描链S(adj);然后,将IP核内部各扫描链的长度与基准的扫描链S(adj)的长度进行比较,大于基准的扫描链S(adj)则设定为长扫描链S,小于等于基准的扫描链S(adj)则设定为短扫描链S,将所有长扫描链S按照基准的扫描链S(adj)的长度进行第一次分配;再计算出每一个长扫描链S与基准的扫描链S(adj)的差值di’,将所有短扫描链S与所有差值di’从大到小排序后,进行第二次分配。它应用于集成电路中。

Figure 201110162065

A scan chain balancing method for quadratic allocation using difference. It relates to the technical field of system chip SOC testing. It is in order to shorten the test time of SOC, and then reduce the test cost. First, arrange the scan chains inside the IP core in descending order, find the largest scan chain S(max), divide the largest scan chain S(max) by the length of the adjustment coefficient adj as the reference length, and the one closest to the reference length The scan chain is set as the benchmark scan chain S(adj); then, the length of each scan chain inside the IP core is compared with the length of the benchmark scan chain S(adj), and the scan chain S(adj) that is greater than the benchmark is set It is set as long scan chain S > , and the scan chain S(adj ) less than or equal to the benchmark is set as short scan chain S . Allocation; then calculate the difference di' between each long scan chain S > and the benchmark scan chain S(adj), sort all the short scan chains S and all the differences di' from large to small, and then perform the second allocation. It is used in integrated circuits.

Figure 201110162065

Description

利用差值进行二次分配的扫描链平衡方法A Scan Chain Balance Method Using Difference Values for Quadratic Allocation

技术领域technical field

本发明涉及系统芯片SOC测试技术领域。The invention relates to the technical field of system chip SOC testing.

背景技术Background technique

基于IP核复用的SOC(system-on-a-chip)已成为当今电子设备的主流技术,它大大缩短了产品的上市时间,提高了系统的稳定性。但是却给测试带来了很大的挑战,主要表现在:嵌入到SOC内部的IP核的端口远远大于SOC的管脚,因此无法直接测试访问这些IP核;随着IP核复杂度的提升,对SOC的测试时间也成倍的增加,进而导致测试费用的迅猛提升,并接近了SOC的制造费用。测试问题已成为制约SOC发展的瓶颈问题,因此必须采取有效的措施。由于嵌入到SOC内部的IP核的输入输出管脚不可能都与SOC的管脚连接,因此无法对IP核直接进行测试。文献The Core Test Wrapper Handbook:Rationale and Application of IEEE Std.1500[M].2005.提出了核测试体系结构,其中包含三个部分:测试源/测试宿、测试存取机制(Test Access Michanism,TAM)和测试封装(TestWrapper)。测试源产生被测电路所需的测试激励;测试宿收集测试响应,评估测试电路的功能正常性。测试存取机制为数据传输提供通路,将测试激励传输到IP核,并将测试响应从IP核传输到信宿。测试封装不仅能实现SOC中各个IP核测试数据的快速传输通道,而且要完成IP核内部扫描链的分配,从而使其更好的适应为其分配的TAM宽度。SOC (system-on-a-chip) based on IP core multiplexing has become the mainstream technology of today's electronic equipment, which greatly shortens the time to market of products and improves the stability of the system. However, it has brought great challenges to the test, mainly in the following aspects: the ports of the IP core embedded in the SOC are much larger than the pins of the SOC, so it is impossible to directly test and access these IP cores; as the complexity of the IP core increases , the test time for SOC is also doubled, which in turn leads to a rapid increase in test cost, and is close to the manufacturing cost of SOC. The test problem has become a bottleneck restricting the development of SOC, so effective measures must be taken. Since the input and output pins of the IP core embedded in the SOC cannot all be connected to the pins of the SOC, it is impossible to directly test the IP core. Document The Core Test Wrapper Handbook: Rationale and Application of IEEE Std.1500[M].2005. Proposes the core test architecture, which includes three parts: test source/test sink, test access mechanism (Test Access Michanism, TAM ) and test wrapper (TestWrapper). The test source generates the test stimulus required by the circuit under test; the test sink collects the test response and evaluates the function normality of the test circuit. The test access mechanism provides a path for data transmission, transmits the test stimulus to the IP core, and transmits the test response from the IP core to the sink. The test package can not only realize the fast transmission channel of the test data of each IP core in the SOC, but also complete the allocation of the internal scan chain of the IP core, so that it can better adapt to the allocated TAM width.

文献Vikram Iyengar,Krishnendu Chakrabarty and Erik Jan Marinissen,Test WrapperandTest Access Mechanism Co-Optimization for System-on-Chip(针对SoC的测试封装及测试访问机制的联合优化)Internationl Test Conference 2001,该文献中提出了一种基于BFD(BestFit Decrease)的算法,该BFD算法最初被设计用于解决装箱问题。该方法提出比较早,而且具有运行效率高、结构简单等优点,因此被广泛采用。该方法的缺点是:BFD算法并不具备全局优化的能力。运用该方法将IP核内部扫描链逐条添加到Wrapper扫描链上时,只考虑当前每条Wrapper扫描链长度,而没有一个全局性的指导原则。因此BFD算法最后得到的是局部最优解,而在某些情况下,局部最优解不等同于全局最优解。该文献所介绍的方法具有简单、高效的优点,但不具备全局优化的能力。Document Vikram Iyengar, Krishnendu Chakrabarty and Erik Jan Marinissen, Test Wrapper and Test Access Mechanism Co-Optimization for System-on-Chip (joint optimization of test package and test access mechanism for SoC) International Test Conference 2001, which proposed a Based on the BFD (Best Fit Decrease) algorithm, the BFD algorithm was originally designed to solve the bin packing problem. This method was proposed earlier, and has the advantages of high operating efficiency and simple structure, so it is widely used. The disadvantage of this method is: the BFD algorithm does not have the ability of global optimization. When using this method to add the internal scan chains of the IP core to the Wrapper scan chain one by one, only the current length of each Wrapper scan chain is considered, and there is no global guiding principle. Therefore, the BFD algorithm finally obtains a local optimal solution, and in some cases, the local optimal solution is not equal to the global optimal solution. The method introduced in this document has the advantages of simplicity and high efficiency, but it does not have the ability of global optimization.

为了克服上述基于BFD算法的不具有全局优化这一缺点,文献Niu Daoheng,WangHong,Yang ShiYuan,Cheng BenMao,Jin Yang,Re-Optimization Algorithm forSoCWrapper-Chain Balance Using Mean-Value Approximation(基于平均值近似的SoC扫描链平衡算法)Tsinghua Science and Technology 2007July P61~66提出一种基于平均值的Wrapper扫描链平衡算法实现SOC测试的方法。对于一个特定的IP核及给定的Wrapper扫描链数目,该算法首先计算Wrapper扫描链长度平均值,然后以这个Wrapper扫描链长度平均值作为全局指导原则,将内部扫描链分别添加到Wrapper扫描链上。因此,对于某给定的IP核,按照基于平均值的Wrapper扫描链平衡算法,最理想的结果就是最后每条Wrapper扫描链长度均相等且等于其平均值。但是在实际处理问题过程中,最后Wrapper扫描链很少有机会每条均相等且等于平均值。更实际的情况是,Wrapper扫描链的最终长度在其平均值附近波动,波动大小由Wrapper扫描链平衡算法及IP核的内部扫描链长度等因数共同决定。In order to overcome the shortcoming of the above-mentioned BFD-based algorithm that does not have global optimization, the literature Niu Daoheng, WangHong, Yang ShiYuan, Cheng BenMao, Jin Yang, Re-Optimization Algorithm for SoCWrapper-Chain Balance Using Mean-Value Approximation (SoC based on average approximation Scan chain balance algorithm) Tsinghua Science and Technology 2007July P61~66 proposed a method based on the average value Wrapper scan chain balance algorithm to realize SOC testing. For a specific IP core and a given number of Wrapper scan chains, the algorithm first calculates the average length of the Wrapper scan chains, and then uses the average length of the Wrapper scan chains as a global guideline to add the internal scan chains to the Wrapper scan chains respectively. superior. Therefore, for a given IP core, according to the Wrapper scan chain balance algorithm based on the average value, the ideal result is that the length of each Wrapper scan chain is equal and equal to its average value. But in the process of actually dealing with the problem, there is very little chance that the last Wrapper scan chain is equal and equal to the average value. More realistically, the final length of the Wrapper scan chain fluctuates around its average value, and the size of the fluctuation is determined by factors such as the Wrapper scan chain balance algorithm and the internal scan chain length of the IP core.

另外上述的基于平均值的Wrapper扫描链平衡算法实现SOC测试的方法并不总是优先处理当前最长内部扫描链,这样做带来诸多弊端。该种方法虽然具有全局优化的能力,但是它并不总是优先处理当前最长内部扫描链,而且其全局优化的指导原则并不贴近实际情况。In addition, the above-mentioned method of implementing the SOC test based on the Wrapper scan chain balance algorithm based on the average value does not always give priority to the current longest internal scan chain, which brings many disadvantages. Although this method has the ability of global optimization, it does not always give priority to the current longest internal scan chain, and its guiding principle of global optimization is not close to the actual situation.

发明内容Contents of the invention

本发明为了缩短SOC的测试时间,进而降低测试费用,而提供了一种利用差值进行二次分配的扫描链平衡方法。In order to shorten the test time of the SOC and further reduce the test cost, the present invention provides a scan chain balance method for secondary distribution by using the difference.

本发明所述的利用差值进行二次分配的扫描链平衡方法的过程为:The process of the scan chain balancing method using the difference for secondary distribution according to the present invention is:

首先,将IP核内部各扫描链按照降序排列,从中找到最大的扫描链S(max),将最大的扫描链S(max)除以调整系数adj的长度作为基准长度,最接近于基准长度的扫描链设定为基准的扫描链S(adj);First, arrange the scan chains inside the IP core in descending order, find the largest scan chain S(max), divide the largest scan chain S(max) by the length of the adjustment coefficient adj as the reference length, and the one closest to the reference length The scan chain is set as the reference scan chain S(adj);

然后,将IP核内部各扫描链的长度与基准的扫描链S(adj)的长度进行比较,大于基准的扫描链S(adj)则设定为长扫描链S>,小于等于基准的扫描链S(adj)则设定为短扫描链S≤,将所有长扫描链S>按照基准的扫描链S(adj)的长度进行第一次分配;再计算出每一个长扫描链S>与基准的扫描链S(adj)的差值di’,将所有短扫描链S≤与所有差值di’从大到小排序后,进行第二次分配。Then, compare the length of each scan chain inside the IP core with the length of the reference scan chain S(adj). If the scan chain S(adj) is larger than the reference, it is set as long scan chain S>, and the scan chain is less than or equal to the reference. S(adj) is set as the short scan chain S≤, and all long scan chains S> are allocated for the first time according to the length of the reference scan chain S(adj); and then each long scan chain S> is calculated according to the reference The difference di' of the scan chain S(adj), after sorting all the short scan chains S ≤ and all the difference di' from large to small, the second distribution is performed.

本发明的方法通过将扫描链按照一个基准长度进行第一分配,再根据各条扫描链与基准扫描链之间的差异情况进行第二次分配,该方法具有实现简单,算法复杂度低等优点。通过在ITC’02标准测试集中的实验数据得出,本方法在算法通用性、寻优能力等方面均优于其他现有方法。In the method of the present invention, the scan chains are first allocated according to a reference length, and then the second allocation is performed according to the difference between each scan chain and the reference scan chain. This method has the advantages of simple implementation and low algorithm complexity. . According to the experimental data in the ITC'02 standard test set, this method is superior to other existing methods in terms of algorithm versatility and optimization ability.

附图说明Description of drawings

图1是核测试体系结构的示意图。Figure 1 is a schematic diagram of the nuclear test architecture.

具体实施方式Detailed ways

具体实施方式一:结合图1说明本实施方式,本实施方式的所述的利用差值进行二次分配的扫描链平衡方法的过程为:Specific implementation mode 1: This implementation mode is described in conjunction with FIG. 1 . The process of the scan chain balancing method for secondary allocation using difference values in this implementation mode is as follows:

首先,将IP核内部各扫描链按照降序排列,从中找到最大的扫描链S(max),将最大的扫描链S(max)除以调整系数adj的长度作为基准长度,最接近于基准长度的扫描链设定为基准的扫描链S(adj);First, arrange the scan chains inside the IP core in descending order, find the largest scan chain S(max), divide the largest scan chain S(max) by the length of the adjustment coefficient adj as the reference length, and the one closest to the reference length The scan chain is set as the reference scan chain S(adj);

然后,将IP核内部各扫描链的长度与基准的扫描链S(adj)的长度进行比较,大于基准的扫描链S(adj)则设定为长扫描链S>,小于等于基准的扫描链S(adj)则设定为短扫描链S≤,将所有长扫描链S>按照基准的扫描链S(adj)的长度进行第一次分配;再计算出每一个长扫描链S>与基准的扫描链S(adj)的差值di’,将所有短扫描链S≤与所有差值di’从大到小排序后,进行第二次分配。Then, compare the length of each scan chain inside the IP core with the length of the reference scan chain S(adj). If the scan chain S(adj) is larger than the reference, it is set as long scan chain S>, and the scan chain is less than or equal to the reference. S(adj) is set as the short scan chain S≤, and all long scan chains S> are allocated for the first time according to the length of the reference scan chain S(adj); and then each long scan chain S> is calculated according to the reference The difference di' of the scan chain S(adj), after sorting all the short scan chains S ≤ and all the difference di' from large to small, the second distribution is performed.

下面提供实现本实施方式所述方法(记为TAD(ADJ))的伪代码:The following provides the pseudocode for implementing the method described in this embodiment (referred to as TAD(ADJ)):

假设:IP核的内部扫描链数量为n,封装后的扫描链数量为NAssumption: the number of internal scan chains of the IP core is n, and the number of encapsulated scan chains is N

S=sort(S,descend)S = sort(S, descend)

find S(adj)。将所有大于S(adj)的记为S>,记S>的个数为n>;所有不大于S(adj)的记为S≤find S(adj). All those greater than S(adj) are marked as S>, and the number of S> is n>; all those not greater than S(adj) are marked as S≤

di’=S>-S(adj)di'=S>-S(adj)

di=di’∪S≤di=di’∪S≤

%第一次分配% first allocation

将n>个长度为S(adj)的扫描链平均分配到N条封装后的扫描链TAM(1:N)中Evenly distribute n>scan chains of length S(adj) to N packaged scan chains TAM(1:N)

每条TAM中含有的内部扫描链个数记为No_TAM(1:N)The number of internal scan chains contained in each TAM is recorded as No_TAM(1:N)

每条TAM含有的内部扫描链之和记为Sum_TAM(1:N)The sum of the internal scan chains contained in each TAM is recorded as Sum_TAM(1:N)

%第二次分配% second allocation

Figure GDA00002663952500031
Figure GDA00002663952500031

Figure GDA00002663952500041
Figure GDA00002663952500041

本实施方式方法的计算结果如表1所示(调整系数adj=2.1),可以看出改进的算法在内部扫描链长度差异较大的情况下,计算的结果有很大的改进。p22810的第5号IP核,它包含29条内部扫描链,长度分别为[214,106,106,105,105,103,102,101,101,101,100,93,92,84,84,75,75,73,73,73,73,27,27,27,27,27,27,27,27]。BFD、MVA、TAD(ADJ)三种方法的数据见表1,The calculation results of the method in this embodiment are shown in Table 1 (adjustment coefficient adj=2.1), it can be seen that the improved algorithm has greatly improved the calculation results when the internal scan chain lengths differ greatly. The No. 5 IP core of p22810, which contains 29 internal scan chains, the lengths are [214, 106, 106, 105, 105, 103, 102, 101, 101, 101, 100, 93, 92, 84, 84, 75, 75, 73, 73, 73, 73, 27, 27, 27, 27, 27, 27, 27, 27]. The data of the three methods of BFD, MVA, and TAD (ADJ) are shown in Table 1.

表1  p22810的core5数据Table 1 core5 data of p22810

具体实施方式二:本实施方式是具体实施方式一的特例,调整系数adj>S(max)/S(min)情况下的特例:Embodiment 2: This embodiment is a special case of Embodiment 1, a special case of the adjustment coefficient adj>S(max)/S(min):

首先,将IP核内部各扫描链按照降序排列,从中找到最大的扫描链S(max),将最大的扫描链S(max)除以调整系数adj的长度小于最小的扫描链S(min),小于最小的扫描链S(min)的长度作为基准长度;First, arrange the scan chains inside the IP core in descending order, find the largest scan chain S(max), divide the largest scan chain S(max) by the length of the adjustment coefficient adj less than the smallest scan chain S(min), The length less than the minimum scan chain S(min) is used as the reference length;

然后,将所有扫描链按照基准的扫描链S(adj)的长度进行第一次分配;再计算出所有扫描链与最小的扫描链S(min)的差值di,将差值di’从大到小排序后,进行第二次分配。Then, all the scan chains are allocated for the first time according to the length of the reference scan chain S(adj); then calculate the difference di between all scan chains and the smallest scan chain S(min), and change the difference di' from large to large After the small sort, the second allocation is performed.

下面提供实现本实施方式所述方法(记为TAD(MIN))的伪代码:The following provides pseudo-codes for implementing the method described in this embodiment (denoted as TAD(MIN)):

设:IP核的内部扫描链数量为n,封装后的扫描链数量为NSuppose: the number of internal scan chains of the IP core is n, and the number of encapsulated scan chains is N

S=sort(S,descend)S = sort(S, descend)

S(min)=S(n)S(min)=S(n)

di=S-S(min)di=S-S(min)

%第一次分配% first allocation

将n个长度为S(min)的扫描链平均分配到N条封装后的扫描链TAM(1:N)中Evenly distribute n scan chains of length S(min) to N packaged scan chains TAM(1:N)

每条TAM中含有的内部扫描链个数记为No_TAM(1:N)The number of internal scan chains contained in each TAM is recorded as No_TAM(1:N)

每条TAM含有的内部扫描链之和记为Sum_TAM(1:N)The sum of the internal scan chains contained in each TAM is recorded as Sum_TAM(1:N)

%第二次分配% second allocation

Figure GDA00002663952500051
Figure GDA00002663952500051

以八条扫描链长度分别为[9,9,8,8,7,7,6,6],封装为三组TAM为例子,扫描链已经按照从大到小的顺序排列,其中的最小扫描链长度S(min)=6,差值di=[3,3,2,2,1,1,0,0]。第一次分配:将八条扫描链都按照长度为6进行平均分配为三组,于是TAM(1)包含[6,6,6],TAM(2)包含[6,6,6],TAM(3)包含[6,6];第二次分配:将di分配到可以分配的最小Sum_TAM中,于是经过本次分配后TAM(1)中包含[6,6,6,2,1,0]即[8,7,6]三条内部扫描链,TAM(2)中包含[6,6,6,2,1,0]即[8,7,6]三条内部扫描链,TAM(3)包含[6,6,3,3]即[9,9]两条内部扫描链。所以三条封装后的扫描链长度为(21,21,18),较BFD和MVA方法结果更优。为了验证各方法在实际电路中的效果,我们将BFD、MVA、TAD(MIN)三种方法应用于ITC’02中的p93791中的第6号IP核上,它含有46条内部扫描链,长度分别为[521,521,521,521,521,521,521,521,521,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,520,500,500,500,500,500,500,500]。将后两种方法分别与BFD方法进行比较,计算出各种TAM宽度下最长测试封装扫描链长度及缩短量,数据见如表1。Take the eight scan chains whose lengths are [9, 9, 8, 8, 7, 7, 6, 6] respectively, packaged into three sets of TAMs as an example, the scan chains have been arranged in order from large to small, and the smallest scan chain Length S(min)=6, difference di=[3, 3, 2, 2, 1, 1, 0, 0]. The first allocation: the eight scan chains are divided into three groups evenly according to the length of 6, so TAM (1) contains [6, 6, 6], TAM (2) contains [6, 6, 6], TAM ( 3) Contains [6, 6]; the second allocation: allocate di to the smallest Sum_TAM that can be allocated, so after this allocation, TAM(1) contains [6, 6, 6, 2, 1, 0] That is [8, 7, 6] three internal scan chains, TAM (2) contains [6, 6, 6, 2, 1, 0] that is [8, 7, 6] three internal scan chains, TAM (3) contains [6, 6, 3, 3] that is [9, 9] two internal scan chains. Therefore, the length of the three encapsulated scan chains is (21, 21, 18), which is better than the results of the BFD and MVA methods. In order to verify the effect of each method in the actual circuit, we applied BFD, MVA, TAD (MIN) three methods to the No. 6 IP core in p93791 in ITC'02, which contains 46 internal scan chains, the length Respectively [521, 521, 521, 521, 521, 521, 521, 521, 521, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520 , 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, 500, 500, 500, 500, 500, 500, 500]. Comparing the latter two methods with the BFD method respectively, the length and shortening of the longest test package scan chain under various TAM widths are calculated. The data are shown in Table 1.

表1  p93791的core6数据Table 1 core6 data of p93791

Figure GDA00002663952500061
Figure GDA00002663952500061

由表2数据可知,在TAM宽度为3~64情况下,计算封装后的最长扫描链长度之和,较BFD方法相比,MVA缩短了296,TAD(MIN)缩短了356。并且TAD(MIN)在所有的TAM宽度下效果都优于BFD和MVA方法。以提供TAM宽度等于3时举例,本文方法的最长测试封装扫描链长度缩短量为83,但是由于该IP核的测试向量个数为218,经过封装后IP核的最长输入扫描链为Si,最长的输出扫描链为So,该IP核的测试向量的个数为P,则对该IP核测试的时间(单位:测试时钟周期数)T为:T=(1+max{Si,So})*P+min{Si,So},测试时间缩短了18177(单位:测试时钟周期数)。其它组成和连接方式与具体实施方式一相同。It can be seen from the data in Table 2 that when the TAM width is 3-64, the sum of the longest scan chain lengths after encapsulation is calculated. Compared with the BFD method, the MVA is shortened by 296, and the TAD(MIN) is shortened by 356. And TAD(MIN) outperforms BFD and MVA methods at all TAM widths. Taking the case where the TAM width is equal to 3 as an example, the length of the longest test package scan chain shortened by the method in this paper is 83, but since the number of test vectors of the IP core is 218, the longest input scan chain of the IP core after packaging is Si , the longest output scan chain is So, the number of test vectors of this IP core is P, then the time (unit: test clock cycle number) T to this IP core test is: T=(1+max{Si, So})*P+min{Si, So}, the test time is shortened by 18177 (unit: number of test clock cycles). Other compositions and connection methods are the same as those in Embodiment 1.

Claims (1)

1.利用差值进行二次分配的扫描链平衡方法,其特征在于它的过程为:1. utilize difference to carry out the scan chain balance method of secondary distribution, it is characterized in that its process is: 首先,将IP核内部各扫描链按照降序排列,从中找到最大的扫描链S(max),将最大的扫描链S(max)除以调整系数adj的长度作为基准长度,最接近于基准长度的扫描链设定为基准的扫描链S(adj);First, arrange the scan chains inside the IP core in descending order, find the largest scan chain S(max), divide the largest scan chain S(max) by the length of the adjustment coefficient adj as the reference length, and the one closest to the reference length The scan chain is set as the reference scan chain S(adj); 然后,将IP核内部各扫描链的长度与基准的扫描链S(adj)的长度进行比较,大于基准的扫描链S(adj)则设定为长扫描链S,小于等于基准的扫描链S(adj)则设定为短扫描链S,将所有长扫描链S按照基准的扫描链S(adj)的长度进行第一次分配;再计算出每一个长扫描链S与基准的扫描链S(adj)的差值di’,将所有短扫描链S与所有差值di’从大到小排序后,进行第二次分配。Then, compare the length of each scan chain inside the IP core with the length of the reference scan chain S(adj). If the scan chain S(adj) is greater than the reference, it is set as a long scan chain S > , and if it is less than or equal to the reference scan chain S(adj) is set as the short scan chain S , and all long scan chains S > are allocated for the first time according to the length of the reference scan chain S(adj); and then calculate each long scan chain S > and the reference The difference di' of the scan chain S(adj), after sorting all the short scan chains S and all the difference di' from large to small, the second distribution is performed.
CN 201110162065 2011-06-16 2011-06-16 Scanning chain balancing method for carrying out secondary allocation by utilizing difference value Expired - Fee Related CN102305911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110162065 CN102305911B (en) 2011-06-16 2011-06-16 Scanning chain balancing method for carrying out secondary allocation by utilizing difference value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110162065 CN102305911B (en) 2011-06-16 2011-06-16 Scanning chain balancing method for carrying out secondary allocation by utilizing difference value

Publications (2)

Publication Number Publication Date
CN102305911A CN102305911A (en) 2012-01-04
CN102305911B true CN102305911B (en) 2013-05-01

Family

ID=45379787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110162065 Expired - Fee Related CN102305911B (en) 2011-06-16 2011-06-16 Scanning chain balancing method for carrying out secondary allocation by utilizing difference value

Country Status (1)

Country Link
CN (1) CN102305911B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768337B (en) * 2012-08-07 2014-11-19 哈尔滨工业大学 A method for testing and packaging scan chain balance of 3D IP core based on average floating amount
CN104007383B (en) * 2014-03-07 2016-05-11 合肥工业大学 The optimization method of three-dimensional IP kernel test shell scan chain

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5949692A (en) * 1996-08-28 1999-09-07 Synopsys, Inc. Hierarchical scan architecture for design for test applications
CN101183140A (en) * 2007-12-26 2008-05-21 中国科学院计算技术研究所 A test circuit for on-chip multi-core processor and its testability design method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7823035B2 (en) * 2007-05-15 2010-10-26 International Business Machines Corporation System and methods of balancing scan chains and inserting the balanced-length scan chains into hierarchically designed integrated circuits

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5949692A (en) * 1996-08-28 1999-09-07 Synopsys, Inc. Hierarchical scan architecture for design for test applications
CN101183140A (en) * 2007-12-26 2008-05-21 中国科学院计算技术研究所 A test circuit for on-chip multi-core processor and its testability design method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Niu Daoheng et al.Re-Optimization Algorithm for SoC Wrapper-Chain Balance Using Mean-Value Approximation.《Tsinghua science and technology》.2007,第12卷(第S1期),61-66.
Re-Optimization Algorithm for SoC Wrapper-Chain Balance Using Mean-Value Approximation;Niu Daoheng et al;《Tsinghua science and technology》;20070731;第12卷(第S1期);61-66 *
Wrapper扫描链均衡与系统芯片测试调度的联合优化算法;王佳 等;《上海大学学报(自然科学版)》;20090831;第15卷(第4期);336-341 *
王佳 等.Wrapper扫描链均衡与系统芯片测试调度的联合优化算法.《上海大学学报(自然科学版)》.2009,第15卷(第4期),336-341.

Also Published As

Publication number Publication date
CN102305911A (en) 2012-01-04

Similar Documents

Publication Publication Date Title
Cota et al. Reliability, Availability and Serviceability of Networks-on-chip
CN102906580B (en) Test scheduling and test access in a test compression environment
CN102305911B (en) Scanning chain balancing method for carrying out secondary allocation by utilizing difference value
Henzen et al. Developing a hardware evaluation method for SHA-3 candidates
Amory et al. Wrapper design for the reuse of networks-on-chip as test access mechanism
Sheshadri et al. Optimum test schedule for SoC with specified clock frequencies and supply voltages
CN108226763A (en) For method, equipment and the computer program product of scan chain rearrangement
CN103279405A (en) Testing shell suitable for on-chip network embedded type IP core
US8793546B2 (en) Integrated circuit comprising scan test circuitry with parallel reordered scan chains
Keller et al. Efficient testing of hierarchical core-based SOCs
Waayers et al. Definition of a robust modular SOC test architecture; resurrection of the single TAM daisy-chain
US9171125B2 (en) Limiting skew between different device types to meet performance requirements of an integrated circuit
Vartziotis et al. Multi-site test optimization for multi-V dd SoCs using space-and time-division multiplexing
Pfeifer et al. On measurement of parameters of programmable microelectronic nanostructures under accelerating extreme conditions (Xilinx 28nm XC7Z020 Zynq FPGA)
CN104484525A (en) Method for weakening process deviation influence in hardware Trojan detection
US9915702B2 (en) Channel sharing for testing circuits having non-identical cores
Ewetz et al. MCMM clock tree optimization based on slack redistribution using a reduced slack graph
Manna et al. Thermal-aware Preemptive Test Scheduling for Network-on-Chip based 3D ICs
CN203811768U (en) Hot carrier testing circuit
JP2022031892A (en) Method for testing mosfet
Li et al. Channel width utilization improvement in testing NoC-based systems for test time reduction
Wu et al. Spatial mapping of non-uniform time-to-breakdown and physical evidence of defect clustering
US8832613B1 (en) Tunable design of an interlaken region of an integrated circuit
CN207148302U (en) Integrated circuit test system Time Transmission standard group
Dalmasso et al. Systems-on-Chip: Use of Test Data Compression Technique for Reducing Test Time

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

Granted publication date: 20130501

CF01 Termination of patent right due to non-payment of annual fee