TWI431299B - Multiple scan tree synthesis method and chip test device - Google Patents
Multiple scan tree synthesis method and chip test device Download PDFInfo
- Publication number
- TWI431299B TWI431299B TW99118755A TW99118755A TWI431299B TW I431299 B TWI431299 B TW I431299B TW 99118755 A TW99118755 A TW 99118755A TW 99118755 A TW99118755 A TW 99118755A TW I431299 B TWI431299 B TW I431299B
- Authority
- TW
- Taiwan
- Prior art keywords
- scan
- cells
- compatible
- group
- groups
- Prior art date
Links
- 238000012360 testing method Methods 0.000 title claims description 80
- 238000001308 synthesis method Methods 0.000 title claims description 14
- 238000000034 method Methods 0.000 claims description 17
- 238000005192 partition Methods 0.000 claims description 13
- 230000015572 biosynthetic process Effects 0.000 claims description 9
- 238000003786 synthesis reaction Methods 0.000 claims description 9
- 230000011218 segmentation Effects 0.000 claims description 7
- 230000002194 synthesizing effect Effects 0.000 claims description 2
- 210000004027 cell Anatomy 0.000 description 72
- 235000012431 wafers Nutrition 0.000 description 25
- 238000004804 winding Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 15
- 239000011159 matrix material Substances 0.000 description 7
- 238000007906 compression Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 210000004692 intercellular junction Anatomy 0.000 description 3
- 230000012447 hatching Effects 0.000 description 2
- HILUWRPVFKJTAD-ZGHMGGRHSA-N GA21 Chemical compound O=C(O)[C@H]1[C@@H]2[C@]3(C(=O)O)C(=O)O[C@@]2([C@H]2[C@]41CC(=C)[C@@](O)(C4)CC2)CCC3 HILUWRPVFKJTAD-ZGHMGGRHSA-N 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Tests Of Electronic Circuits (AREA)
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
- Analysing Materials By The Use Of Radiation (AREA)
Description
本發明係有關於一種多掃描樹測試結構的測試合成方法以及晶片測試裝置,且特別係有關於同時考量繞線長度與掃描輸出的位置與數量的試合成方法以及晶片測試裝置。The present invention relates to a test synthesis method and a wafer test apparatus for a multi-scan tree test structure, and in particular to a test synthesis method and a wafer test apparatus for simultaneously considering the position and number of winding lengths and scan outputs.
隨著製程技術的進步,系統的可測試性設計越來越重要。相對於多掃描鏈方法,傳統單掃描鏈(scan chain)的測試架構具有測試資料與測試時間較長的缺點。而掃描鏈長度與測試時間呈現正向相關係,多掃描鏈的方法可將原本單一掃描鏈分解成多掃描鏈,使得掃描鏈的整體的長度降低,進而大幅減少所需的測試時間。然而,多掃描鏈方法具有有繞線長度過長與掃描輸出(Scan out)的個數過多的缺點。With the advancement of process technology, the testability design of the system is becoming more and more important. Compared to the multi-scan chain method, the traditional single scan chain test architecture has the disadvantages of long test data and long test time. The scan chain length is positively related to the test time. The multi-scan chain method can decompose the original single scan chain into multiple scan chains, which reduces the overall length of the scan chain, thereby greatly reducing the required test time. However, the multi-scan chain method has the disadvantage that the winding length is too long and the number of scan outs is excessive.
此外,測試資料量會隨著電路變大而大幅增加,而掃描鏈的架構在現今複雜的超大型積體電路設計中,無論單一掃描鏈或多掃描鏈皆需要大量的測試資料來進行測試,對於測試機記憶體需求與測試時間隨測試資料量增加也提高了測試成本。因此,測試資料壓縮的重要性亦與日俱增。In addition, the amount of test data will increase greatly as the circuit becomes larger, and the architecture of the scan chain requires a large amount of test data to be tested in a single scan chain or multiple scan chains in today's complex ultra-large integrated circuit design. The tester memory requirements and test time increase with the amount of test data also increases the cost of testing. Therefore, the importance of compression of test data is increasing.
因此本發明之一方面係在於提供一種之多掃描樹測試結構的測試合成方法以及晶片測試裝置,用以測試晶片,藉以同時考量繞線長度與掃描輸出的位置與數量,而可大幅地降低掃描樹所需的繞線長度與達到符合原始輸出的限制。Therefore, an aspect of the present invention is to provide a test synthesis method for a multi-scan tree test structure and a wafer test device for testing a wafer, thereby simultaneously considering the length of the winding and the position and number of scan outputs, thereby greatly reducing scanning. The length of the winding required for the tree is up to the limit of the original output.
根據本發明之實施例,本發明之多掃描樹測試結構的測試合成方法係用以測試晶片,其包含下列步驟:(a)將該晶片的電路分割成複數個分割區域(Partition),其中每一該些分割區域的面積皆相同,且每一該些分割區域具有複數個掃描細胞;(b)在每一該些分割區域中,依據每一該些分割區域的複數個原始輸入(Primary In)和複數個原始輸出(Primary Out)的位置,決定一掃描方向;(c)依照該些掃描細胞的位置及每一該些分割區域的該掃描方向,將該些掃描細胞分割成複數個分層群組(Level),其中每一該些分層群組內的該些掃描細胞的數量為前一該分層群組內的該些掃描細胞之數量的一預設倍數;(d)在每一該些分層群組中,找尋具有最少路徑長度之複數個相容群,其中該些相容群之複數個掃描輸出(Scan Out)的數量係小於一門檻值;(e)將該些相容群依序進行連接,以合成複數個掃描樹;以及(f)將不屬於該些相容群的該些掃描細胞連接成一掃描鏈。According to an embodiment of the present invention, the test synthesis method of the multi-scan tree test structure of the present invention is for testing a wafer, comprising the steps of: (a) dividing the circuit of the wafer into a plurality of partitions, wherein each Each of the divided regions has the same area, and each of the divided regions has a plurality of scanned cells; (b) in each of the divided regions, a plurality of original inputs according to each of the divided regions (Primary In And a plurality of positions of the primary output determine a scanning direction; (c) dividing the scanning cells into a plurality of points according to the positions of the scanned cells and the scanning direction of each of the divided regions a layer group, wherein the number of the scanned cells in each of the hierarchical groups is a predetermined multiple of the number of the scanned cells in the previous hierarchical group; (d) Each of the hierarchical groups finds a plurality of compatible groups having a minimum path length, wherein the number of scan outs of the compatible groups is less than a threshold; (e) Some compatible groups are connected in order to A plurality of scan tree; the plurality of scan cells, and (f) does not belong to the group of the plurality of connection to a compatible scan chain.
在本發明之一實施例中,在每一該些分割區域中,該掃描方向係朝向該些原始輸出最密集的位置。In an embodiment of the invention, in each of the divided regions, the scanning direction is toward the most densely spaced locations.
在本發明之一實施例中,在尋找該些相容群之前,先建立一相容群圖,並由該相容群圖中找該些相容群之間的關係。In an embodiment of the present invention, before finding the compatible groups, a compatible group map is established, and the relationship between the compatible groups is found in the compatible group map.
在本發明之一實施例中,當進行電路的分割時,其分割的順序係以該些原始輸出的數量來決定,而依原始輸出的數量由大到小來依序執行分割。In an embodiment of the present invention, when the circuit is divided, the order of the division is determined by the number of the original outputs, and the segmentation is sequentially performed according to the number of the original outputs from large to small.
在本發明之一實施例中,位於該電路之正中間的該分割區域係最後執行掃描樹的合成。In one embodiment of the invention, the segmentation area located in the middle of the circuit is the last synthesis of the scan tree.
在本發明之一實施例中,該(f)步驟包含:將不屬於該些相容群的該些掃描細胞依照一測試應用時間限制來插入該掃描樹中;以及將剩下來的該些掃描細胞進行連接,形成多掃描鏈。In an embodiment of the present invention, the step (f) includes: inserting the scan cells not belonging to the compatible groups into the scan tree according to a test application time limit; and leaving the scans remaining The cells are ligated to form a multi-scan strand.
在本發明之一實施例中,在該(a)步驟後,找尋具有最多輸出個數且尚未合成該些掃描樹的該分割區域。In an embodiment of the present invention, after the step (a), the divided area having the maximum number of outputs and having not synthesized the scan trees is found.
在本發明之一實施例中,在該(e)步驟後,檢查該些分割區域內之該些掃描樹的數量是否小於一預先定義之掃描樹數量。In an embodiment of the present invention, after the step (e), it is checked whether the number of the scan trees in the divided regions is less than a predefined number of scan trees.
又,根據本發明之實施例,本發明之晶片測試裝置包含掃描輸入、掃描輸出、分割部、掃描方向決定部、分層群組部、相容群產生部及掃描細胞連接部。分割部係用以將該晶片的電路分割成複數個分割區域,其中每一該些分割區域的面積皆相同,且每一該些分割區域具有複數個掃描細胞。掃描方向決定部係用以在每一該些分割區域中,依據每一該些分割區域的複數個原始輸入和複數個原始輸出的位置,決定一掃描方向。分層群組部係用以依照該些掃描細胞的位置及每一該些分割區域的該掃描方向,將該些掃描細胞分割成複數個分層群組,其中每一該些分層群組內的該些掃描細胞的數量為前一該分層群組內的該些掃描細胞之數量的一預設倍數。相容群產生部係用以在每一該些分層群組中,找尋具有最少路徑長度之複數個相容群,其中該些相容群之該些掃描輸出的數量係小於一門檻值。掃描細胞連接部係用以將該些相容群依序進行連接,以合成複數個掃描樹,且將不屬於該些相容群的該些掃描細胞連接成一掃描鏈。Moreover, according to an embodiment of the present invention, a wafer testing apparatus according to the present invention includes a scan input, a scan output, a division unit, a scanning direction determining unit, a hierarchical group unit, a compatible group generating unit, and a scanning cell connecting unit. The dividing portion is configured to divide the circuit of the wafer into a plurality of divided regions, wherein each of the divided regions has the same area, and each of the divided regions has a plurality of scanned cells. The scanning direction determining unit is configured to determine a scanning direction according to a plurality of original inputs and a plurality of original output positions of each of the divided regions in each of the divided regions. The layered group is configured to divide the scanned cells into a plurality of hierarchical groups according to the positions of the scanned cells and the scanning direction of each of the divided regions, wherein each of the hierarchical groups The number of the scanned cells within the previous one is a predetermined multiple of the number of the scanned cells in the previous hierarchical group. The compatible group generating unit is configured to find, in each of the hierarchical groups, a plurality of compatible groups having a minimum path length, wherein the number of the scan outputs of the compatible groups is less than a threshold. The scanning cell junction is used to sequentially connect the compatible groups to synthesize a plurality of scanning trees, and connect the scanning cells not belonging to the compatible groups into a scan chain.
因此,本發明的多掃描樹測試結構的測試合成方法以及晶片測試裝置可同時考量繞線長度與掃描輸出的位置與數量,以降低使用多掃描樹測試架構所需要的成本。且本發明可大幅地降低掃描樹所需的繞線長度與達到符合原始輸出的限制,而合成出來的掃描樹於測試時間與測試資料量上仍有極佳的結果。Therefore, the test synthesis method and the wafer test apparatus of the multi-scan tree test structure of the present invention can simultaneously consider the winding length and the position and number of scan outputs to reduce the cost required to use the multi-scan tree test architecture. Moreover, the present invention can greatly reduce the length of the winding required for scanning the tree and reach the limit of the original output, and the synthesized scanning tree still has excellent results in the test time and the amount of test data.
為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,本說明書將特舉出一系列實施例來加以說明。但值得注意的係,此些實施例只係用以說明本發明之實施方式,而非用以限定本發明。The above and other objects, features, advantages and embodiments of the present invention will become more apparent and understood. It is to be understood that the embodiments are merely illustrative of the embodiments of the invention and are not intended to limit the invention.
請參閱圖1,其顯示依照本發明之一實施例之測試裝置之方塊圖。測試裝置200係用來測試一晶片100。晶片100例如可包含複數個邏輯閘,其可組成複數個用以實現各種功能的邏輯電路。由於組成邏輯電路的邏輯閘數量相當地龐大,因此為了測試邏輯閘是否能正常運作,可設置此測試裝置200,用來掃描晶片100的電路是否正常運作。Please refer to FIG. 1, which shows a block diagram of a test apparatus in accordance with an embodiment of the present invention. Test device 200 is used to test a wafer 100. Wafer 100, for example, can include a plurality of logic gates that can form a plurality of logic circuits for performing various functions. Since the number of logic gates constituting the logic circuit is rather large, in order to test whether the logic gate can operate normally, the test apparatus 200 can be provided to scan whether the circuit of the wafer 100 is operating normally.
由於需測試的晶片100的電路數量(如邏輯閘個數)可能相當龐大,距而為節省測試時間,可應用多重掃描樹的方式來減少測試時間。其中,掃描樹(Scan tree)是一種用來增加測試資料壓縮的架構。Since the number of circuits (such as the number of logic gates) of the wafer 100 to be tested may be quite large, in order to save test time, multiple scan trees can be applied to reduce the test time. Among them, the Scan Tree is an architecture used to increase the compression of test data.
如圖1所示,此晶片測試裝置200包含複數個掃描輸入(Scan In)SI、複數個掃描輸出(Scan Out)SO、分割部202、掃描方向決定部204、分層群組部206、相容群產生部208及掃描細胞連接部210。分割部202係用以將晶片100的電路分割成複數個分割區域(Partition)212,其中每一分割區域212的面積皆相同,且每一分割區域212具有複數個掃描細胞214,其中每一掃描單元214可視為一待測試的邏輯閘或線路。掃描方向決定部204係用以在每一分割區域212中,依據分割區域的原始輸入(Primary In)PI和原始輸出(Primary Out)PO的位置來決定一掃描方向。分層群組部206係用以依照掃描細胞214的位置及分割區域212的掃描方向,將掃描細胞分割成複數個分層群組(Level)216,其中每一分層群組216內的掃描細胞214的數量為前一分層群組216內的掃描細胞214之數量的一預設倍數。相容群產生部208係用以在每一分層群組216中,找尋具有最少路徑長度之複數個相容群218,其中相容群218之掃描輸出SO的數量係小於一門檻值(Threshold)。掃描細胞連接部210係用以將相容群218依序進行連接,以合成複數個掃描樹(Scan Tree,ST),且將不屬於相容群218的掃描細胞214連接成一掃描鏈(Scan Chain)。As shown in FIG. 1, the wafer testing apparatus 200 includes a plurality of scan inputs SI (Scan In) SI, a plurality of scan outputs (Scan Out) SO, a dividing unit 202, a scanning direction determining unit 204, a hierarchical grouping unit 206, and a phase. The volume generating unit 208 and the scanning cell connecting unit 210. The dividing portion 202 is configured to divide the circuit of the wafer 100 into a plurality of partitions 212, wherein each of the divided regions 212 has the same area, and each of the divided regions 212 has a plurality of scanning cells 214, wherein each scan Unit 214 can be viewed as a logic gate or line to be tested. The scanning direction determining unit 204 is configured to determine a scanning direction in each divided area 212 based on the positions of the primary input PI and the primary output PO of the divided area. The hierarchical grouping unit 206 is configured to divide the scanned cells into a plurality of hierarchical groups 216 according to the position of the scanned cells 214 and the scanning direction of the divided regions 212, wherein the scanning in each hierarchical group 216 The number of cells 214 is a predetermined multiple of the number of scanned cells 214 in the previous stratified group 216. The compatible group generation unit 208 is configured to find a plurality of compatible groups 218 having the least path length in each hierarchical group 216, wherein the number of scan output SOs of the compatible group 218 is less than a threshold (Threshold) ). The scanning cell connection unit 210 is configured to sequentially connect the compatible groups 218 to synthesize a plurality of scanning trees (Scan Tree, ST), and connect the scanning cells 214 not belonging to the compatible group 218 into a scan chain (Scan Chain) ).
請參閱圖2和圖3,圖2顯示依照本發明之一實施例之多掃描樹測試結構的測試合成方法流程圖,圖3顯示依照本發明之一實施例之晶片的分割及決定掃描方向的示意圖。當進行本實施例之多掃描樹測試結構的測試合成方法時,首先,將晶片100的電路分割成多個分割區域212,其中每一分割區域212的面積皆相同,且每一分割區域212具有複數個掃描細胞(步驟S301)。為了具有較短的繞線距離,在本實施例中,將一個電路進行分割(Partition),使每一分割區域212的面積相等,但每一分割區域212中所包含的掃描細胞214、原始輸入PI與原始輸出PO的數量可不一定相同。在本實施例中,當進行電路的分割時,其分割的順序係以原始輸出PO的數量來決定,依原始輸出PO的數量由大到小來依序執行分割。因此,先找尋具有最多輸出(output pad)個數且尚未合成掃描樹的分割區域212(步驟S307),來執行掃描樹合成法。Referring to FIG. 2 and FIG. 3, FIG. 2 is a flowchart showing a test synthesis method of a multi-scan tree test structure according to an embodiment of the present invention, and FIG. 3 is a view showing a wafer splitting and determining a scan direction according to an embodiment of the present invention. schematic diagram. When performing the test synthesis method of the multi-scan tree test structure of the present embodiment, first, the circuit of the wafer 100 is divided into a plurality of divided regions 212, wherein each of the divided regions 212 has the same area, and each of the divided regions 212 has A plurality of scanned cells are detected (step S301). In order to have a shorter winding distance, in the present embodiment, a circuit is partitioned so that the area of each divided area 212 is equal, but the scanned cells 214 and the original input contained in each divided area 212 are included. The number of PIs and the original output PO may not be the same. In the present embodiment, when the division of the circuit is performed, the order of division is determined by the number of original output POs, and the division is sequentially performed according to the number of original output POs from large to small. Therefore, the scan area synthesis method is performed by first finding the divided area 212 having the largest number of output pads and having not synthesized the scan tree (step S307).
如圖2和圖3所示,接著,在此分割區域212中,依據分割區域212的原始輸入PI和原始輸出PO的位置來決定一掃描方向(步驟S302)。當進行掃描測試時,測試資料會由原始輸入PI輸入至電路中,並完成測試之後由原始輸出PO處來輸出至電路外。因此,在合成掃描樹時,需使得掃描輸入SI盡可能靠近原始輸入PI,掃描輸出SO盡可能靠近原始輸出PO,以盡量減少測試架構中掃描輸入輸出與界面(boundary)間所需繞線路徑長減少掃描樹所需耗費之繞線路徑長度,因此,掃描樹的合成需具有方向性,在此稱之為掃描方向(scan direction)。As shown in FIGS. 2 and 3, next, in this divided area 212, a scanning direction is determined in accordance with the original input PI of the divided area 212 and the position of the original output PO (step S302). When the scan test is performed, the test data is input to the circuit from the original input PI, and is output from the original output PO to the outside of the circuit after the test is completed. Therefore, when synthesizing the scan tree, the scan input SI should be made as close as possible to the original input PI, and the scan output SO should be as close as possible to the original output PO to minimize the required winding path between the scan input and output and the boundary in the test architecture. The length of the winding path required to reduce the scanning tree is long. Therefore, the synthesis of the scanning tree needs to be directional, which is referred to herein as the scan direction.
如圖3所示,在本實施例中,掃描方向係定義為測試資料在電路上傳輸的方向。測試資料係自原始輸入PI由左至右地傳至原始輸出PO。在實際的設計中,原始輸入PI的數量多半大於掃描樹的數量。在個數上,原始輸入PI並未對掃描樹的合成造成限制。反觀掃描輸出SO,在掃描樹的架構中,掃描樹的掃描輸出SO之數量是掃描輸入SI之數量的百倍以上,但晶片100的電路不一定具有對應數量的原始輸出PO個數來供掃描輸出SO使用。因此,在本實施例的方法中主要以原始輸出PO的位置與數量來作為主要的參考,藉以使合成後之掃描樹之掃描輸出SO可盡量靠近原始輸出PO,進而可得到較少的繞線路徑長。As shown in FIG. 3, in the present embodiment, the scanning direction is defined as the direction in which test data is transmitted on the circuit. The test data is passed from left to right from the original input PI to the original output PO. In the actual design, the number of original input PIs is mostly greater than the number of scan trees. In terms of number, the original input PI does not impose restrictions on the synthesis of the scan tree. In contrast, in the scan tree architecture, the number of scan outputs SO of the scan tree is more than one hundred times the number of scan inputs SI, but the circuit of the chip 100 does not necessarily have a corresponding number of original output PO numbers for scan output. SO use. Therefore, in the method of the embodiment, the position and quantity of the original output PO are mainly used as a main reference, so that the scan output SO of the synthesized scan tree can be as close as possible to the original output PO, thereby obtaining fewer windings. The path is long.
請參閱圖4A、圖4B及圖4C,其顯示依照本發明之一實施例之掃描樹的合成示意圖。當決定掃描方向時,首先找出原始輸出PO最密集的分割處,而將掃描方向設定為朝向原始輸出PO。因此,可根據此方向以及此分割區域212的原始輸出PO進行掃描樹合成。在掃描樹合成結束後,將已使用之原始輸出PO排除,再找出剩下的分割區域212中原始輸出PO最密集處,來重新設定掃描方向,並繼續合成下一掃描樹。以圖3為例,最右下角的分割區域212具有最多的掃描細胞214,因此,最早執行分割。在此分割區域212中,右邊擁有5個原始輸出PO為數量最多的方向,因而其掃描方向為往右邊,亦即掃描樹的合成方向是由左往右。但由圖3可觀察到,在正中間的分割區域212是無法找到任何的原始輸出PO,此種分割區域212,可稱為internal partition。在internal partition中,由於無法由原始輸出PO的數量去決定掃描方向,因此,在本實施例中,提出了一個虛擬墊(pseudo pad)方法使得internal partition也可以正常執行掃描樹的合成法。Please refer to FIG. 4A, FIG. 4B and FIG. 4C, which are schematic diagrams showing the synthesis of a scan tree according to an embodiment of the present invention. When determining the scanning direction, first find the most dense division of the original output PO, and set the scanning direction to face the original output PO. Therefore, scan tree synthesis can be performed according to this direction and the original output PO of this divided region 212. After the scanning tree synthesis is finished, the used original output PO is excluded, and the original output PO in the remaining divided area 212 is found to be the most dense, to re-set the scanning direction, and continue to synthesize the next scanning tree. Taking FIG. 3 as an example, the divided area 212 at the lower right corner has the most scanned cells 214, and therefore, the segmentation is performed at the earliest. In this divided area 212, the right side has five original output POs in the most number of directions, so the scanning direction is to the right, that is, the scanning direction of the scanning tree is from left to right. However, it can be observed from FIG. 3 that the original output PO cannot be found in the middle of the divided area 212. Such a divided area 212 may be referred to as an internal partition. In the internal partition, since the scanning direction cannot be determined by the number of original output POs, in the present embodiment, a pseudo pad method is proposed so that the internal partition can also perform the scanning tree synthesis method normally.
如4A、圖4B及圖4C所示,以分割區域212的執行順序可得知,internal partition為最後執行。在執行internal partition時,可先得到相鄰分割區域212所產生的掃描樹。接著由這些相鄰分割區域212內的掃描樹中找最多掃描輸出(scan in)的掃描樹,再將此掃描輸出的掃描樹連接到internal partition的邊界,以成為虛擬墊,這些虛擬墊即可被當成為internal partition的原始輸出PO,接著,再執行合成掃描樹法,在建立完掃描樹後進行連接。As shown in FIG. 4A, FIG. 4B and FIG. 4C, it can be known from the execution order of the divided regions 212 that the internal partition is the last execution. When the internal partition is executed, the scan tree generated by the adjacent partition area 212 can be obtained first. Then, by scanning the scan tree in the scan tree in the adjacent divided regions 212, the scan tree of the scan output is connected to the boundary of the internal partition to become a virtual pad, and the virtual pads can be It is treated as the original output PO of the internal partition, and then the synthetic scan tree method is executed, and the connection is made after the scan tree is established.
請參閱圖2和圖5,圖5顯示依照本發明之一實施例之晶片的分層群組的示意圖。接著,依照掃描細胞214的位置及分割區域212的掃描方向,將掃描細胞214分割成複數個分層群組216,其中每一分層群組216內的掃描細胞214的數量為前一分層群組216內的掃描細胞214之數量的預設倍數(步驟S303)。掃描細胞214之間是否相容需視其對應之測試向量而定,通常,在一群掃描細胞214中找尋相容群218時,掃描細胞越214多,則找到較大相容群的機會廚越大。因此,在本實施例中,可利用密度導向的掃描細胞分割(scan cell partition),以有效地控制每一分層群組(level)216內之掃描細胞214的個數,進而可在後續步驟中找到所預期的相容群218大小。Please refer to FIG. 2 and FIG. 5. FIG. 5 is a schematic diagram showing a hierarchical group of wafers according to an embodiment of the present invention. Next, the scanned cells 214 are divided into a plurality of hierarchical groups 216 according to the position of the scanned cells 214 and the scanning direction of the divided regions 212, wherein the number of scanned cells 214 in each hierarchical group 216 is the previous layer. A predetermined multiple of the number of scanned cells 214 within the group 216 (step S303). The compatibility between the scanned cells 214 depends on the corresponding test vector. Generally, when the compatible group 218 is searched in a group of scanned cells 214, the more than 214 cells are scanned, the chance of finding a larger compatible group is greater. Big. Thus, in this embodiment, a density-directed scan cell partition can be utilized to effectively control the number of scanned cells 214 in each hierarchical level 216, which can be followed in subsequent steps. Find the expected compatibility group 218 size.
在掃描樹合成時,每一分層群組216內之相容群218的大小可依照掃描方向來呈現非遞減的排列(Non-decreasing order)。若掃描樹中由掃描輸入SI到掃描輸出SO有n個掃描樹分層群組216(Level0 ~Leveln-1 ),假設分層群組216(Level0 ~Leveln-1 )內具有的掃描細胞為N0 ~Nn-1 ,則N0 ≦N1 ≦...≦Nn-1 。In scanning tree synthesis, the size of the compatible group 218 within each hierarchical group 216 may exhibit a non-decreasing order in accordance with the scanning direction. If there are n scan tree hierarchical groups 216 (Level 0 ~ Level n-1 ) from the scan input SI to the scan output SO in the scan tree, it is assumed that the hierarchical group 216 (Level 0 ~ Level n-1 ) has The scanning cells are N 0 ~N n-1 , then N 0 ≦N 1 ≦...≦N n-1 .
執行密度導向分割的主要目的係在於有效地控制掃描樹內每一分層群組216內掃描細胞的個數。在密度導向的分層群組(levelizing)中,每一分層群組216的掃描細胞214的個數皆須與前一分層群組216內的掃描細胞214的個數有等比的關係。假設公比為α(亦即為預設倍數),則可將此等比關係以下列公式(1)表示:The primary purpose of performing density directed segmentation is to effectively control the number of cells scanned within each hierarchical group 216 within the scan tree. In density-oriented levelizing, the number of scanned cells 214 per stratified group 216 must be proportional to the number of scanned cells 214 in the previous hierarchical group 216. . Assuming that the common ratio is α (that is, a preset multiple), the equivalence relation can be expressed by the following formula (1):
N i +1 =N i ×α,α≧1 (1)N i +1 =N i ×α,α≧1 (1)
因此,由掃描細胞214的座標,可依照掃描方向切割成n個分層群組216。Thus, by scanning the coordinates of the cells 214, n hierarchical groups 216 can be cut in accordance with the scanning direction.
在每一個分層群組216內的掃描細胞214個數皆為前一個分層群組216的α倍。例如,在α=1.1且level=3的條件之下,N0 =5,則N1 =5×1.1=6、N2 =6×1.1=7,最後將剩下的掃描細胞214指定給最後一個分層群組216,因此,N2 最後的數量為8。The number of scanned cells 214 in each hierarchical group 216 is a multiple of the previous hierarchical group 216. For example, under the condition of α=1.1 and level=3, N 0 =5, then N 1 =5×1.1=6, N 2 =6×1.1=7, and finally the remaining scanned cells 214 are assigned to the last. A hierarchical group 216, therefore, the last number of N 2 is 8.
在分層群組(Levelizing)後,可知每一掃描細胞214分別在那一分層群組216之中,而有助於在後續尋找相容群218的步驟中進行繞線的考量。After leveling, it is known that each scanned cell 214 is in that hierarchical group 216, which facilitates the consideration of routing in the subsequent step of finding a compatible group 218.
如圖2所示,接著,在每一分層群組216中,找尋具有最少路徑長度之相容群218,其中相容群218之掃描輸出SO的數量係小於門檻值(步驟S304)。為了不增加掃描輸出SO數量,因此在建立掃描樹時,必須符合下式(2):As shown in FIG. 2, next, in each hierarchical group 216, a compatible group 218 having the least path length is sought, wherein the number of scan outputs SO of the compatible group 218 is less than the threshold value (step S304). In order not to increase the number of scan output SOs, the following formula (2) must be met when building the scan tree:
CG 0 ≦CG 1 ≦...≦CG n - 1 (2) CG 0 ≦ CG 1 ≦...≦ CG n - 1 (2)
CG i 代表在某一分層群組216中所找到的相容群218大小。 CG i represents the size of the compatible group 218 found in a certain hierarchical group 216.
在步驟S303中,可得到每一掃描細胞214在那一分層群組216與分割區域212的資訊。定義一個比值(ratio)λ,在尋找分層群組216的相容群218時,相容群218中位於分層群組216的掃描細胞214的個數需大於整個相容群218大小的λ倍,λ介於0到1之間。當λ=0,表示不限制相容群218中的掃描細胞214所在分層群組216的比例,若有較大的相容群大小,則有較好的測試壓縮率。相對的,由於不需考慮掃描細胞214的位置,而會有較差的繞線長度。當λ=1時,表示嚴格地限制每一分層群組216中之相容群218內的掃描細胞214皆必須位於同一分層群組216。由於需位在同一的相容群218才可被選取,因而所找到的相容群218的大小會較小,而具有較多的測試資料量。但同時,亦會具有較少的繞線長度。當0<λ<1時,表示會有特定比例的掃描細胞214會位於同一個分層群組216,對於繞線與測試資料量皆有影響,因此,可彈性地調整λ值來符合實際需求。In step S303, information of each of the scanned cells 214 and the segmentation region 212 is obtained. Defining a ratio λ, when looking for the compatible group 218 of the hierarchical group 216, the number of scanned cells 214 in the contig group 216 in the compatible group 218 needs to be greater than the size of the entire compatible group 218. Times, λ is between 0 and 1. When λ=0, it means that the proportion of the layered group 216 in which the scanned cells 214 are located in the compatible group 218 is not limited, and if there is a large compatible group size, there is a better test compression ratio. In contrast, since there is no need to consider the position of the scanned cells 214, there may be a poor winding length. When λ = 1, it means that the scanned cells 214 within the compatible group 218 in each hierarchical group 216 are strictly limited to be in the same hierarchical group 216. Since the same compatible group 218 needs to be selected, the size of the compatible group 218 found will be smaller and have more test data. But at the same time, it will have less winding length. When 0<λ<1, it means that a certain proportion of scanned cells 214 will be located in the same hierarchical group 216, which has an influence on the winding and the amount of test data. Therefore, the lambda value can be flexibly adjusted to meet the actual demand. .
請參閱圖6,其顯示依照本發明之一實施例之相容群圖的示意圖。為限制每一掃描樹之掃描輸出SO的數量,設定一門檻值(threshold),初始為scan output pad個數。在尋找相容群218前,可先建立一個相容群圖,再由此相容群圖中找其關係。如圖6所示,圖6中的12個點可代表掃描細胞214,點之間的連線代表掃描細胞214有無相容,如果有相容則進行連線,點的剖面線代表所在的分層群組216,相同剖面線代表位於同一個分層群組216。在分層群組216(leveln-1 )時,找尋小於門檻值之最大相容群(CG)218,且此相容群218位於leveln-1 內之掃描細胞214的比例需大於整體大小的λ倍。接著再將門檻值設定為CG之大小。繼續利用相同的方式找尋leveln-2 到level0 的相容群218。Please refer to FIG. 6, which shows a schematic diagram of a compatible group diagram in accordance with an embodiment of the present invention. To limit the number of scan outputs SO for each scan tree, set a threshold, initially the number of scan output pads. Before finding the compatible group 218, a compatible group map can be established, and then the relationship is found in the compatible group map. As shown in Fig. 6, the 12 points in Fig. 6 can represent the scanned cells 214, and the lines between the points represent the compatibility of the scanned cells 214. If there is compatibility, the lines are connected, and the hatching points of the points represent the points. Layer group 216, the same hatching represents the same hierarchical group 216. In the hierarchical group 216 (level n-1 ), the largest compatible group (CG) 218 smaller than the threshold value is searched, and the proportion of the scanned cells 214 in the compatible group 218 located in the level n-1 needs to be larger than the overall size. λ times. Then set the threshold to the size of CG. Continue to find the compatible group 218 of level n-2 to level 0 in the same way.
請參閱圖7,其顯示依照本發明之一實施例之相容群的示意圖。例如,當λ=0.5,且尋找的為level2 的相容群時,此時虛線內的相容群218即為符合λ限制的相容群218,接著再選出大小最大的相容群218即為所求。圖7為找出相容群218的完成圖,此時λ=0.5、level=3,所以總共會有三個相容群218。Please refer to FIG. 7, which shows a schematic diagram of a compatible group in accordance with an embodiment of the present invention. For example, when λ=0.5 and looking for a compatible group of level 2 , the compatible group 218 in the dotted line at this time is the compatible group 218 conforming to the λ limit, and then the compatible group 218 having the largest size is selected. For what you ask for. Figure 7 is a complete view of finding a compatible group 218, where λ = 0.5, level = 3, so there will be a total of three compatible groups 218.
請參閱圖2和圖8,圖8顯示依照本發明之一實施例之連接相容群的示意圖。接著,將相容群218依序地進行連接(步驟S305),以合成多個掃描樹。在步驟S304中所找到的相容群218皆符合公式(2),因此,若CGi 要與CGi+1 連接,CGi 的掃描細胞214必須要全部與CGi+1 的掃描細胞214相連,藉此,在CGi 中則不會產生掃描輸出SO。因此可將此問題視為一指派問題(assignment problem),因而可利用匈牙利法(Hungarian method)來解決此指派問題的演算法。匈牙利演算法是Harold Kuhn在1955年所提出,其具有polynomial time的時間複雜度,因而可快速地解決指派問題且可降低整體成本。匈牙利演算法的執行步驟如下:Please refer to FIG. 2 and FIG. 8. FIG. 8 is a schematic diagram showing a connection compatible group according to an embodiment of the present invention. Next, the compatible groups 218 are sequentially connected (step S305) to synthesize a plurality of scan trees. In step S304 compatible group found 218 are in compliance with Equation (2), therefore, to be connected to I if CG CG i + 1, the scan cells CG I must be connected to all scan cells CG i + 1 of 214,214 Thereby, the scan output SO is not generated in the CG i . This problem can therefore be considered as an assignment problem, so the Hungarian method can be used to solve the algorithm for this assignment problem. The Hungarian algorithm was proposed by Harold Kuhn in 1955. It has a time complexity of polynomial time, so it can quickly solve the assignment problem and reduce the overall cost. The execution steps of the Hungarian algorithm are as follows:
1. 建立距離矩陣1. Establish a distance matrix
假設|CGi |=n、|CGi+1 |=m,建立一個距離矩陣,其記錄CGi 和CGi+1 兩個相容群掃描細胞之間的距離。但方陣才適用於匈牙利演算法,因而需對大小較小的CG補上pseudo cell,直到形成方陣為止。Assuming |CG i |=n, |CG i+1 |=m, a distance matrix is created which records the distance between two compatible group of scanned cells, CG i and CG i+1 . However, the square matrix is applicable to the Hungarian algorithm, so it is necessary to fill the smaller cell CG with the pseudo cell until the square matrix is formed.
2. 距離矩陣的縮減2. Reduction of the distance matrix
由各行中尋找最小的值,並將該行所有的元素皆減去此最小值,這步驟稱之為column reducing。接著如上式,從每列中找做小值並將之減去,這步驟稱之為row reducing。Find the smallest value from each row and subtract all the elements of the row from this minimum. This step is called column reducing. Then, as in the above formula, find a small value from each column and subtract it. This step is called row reducing.
3. 找出最大的相配3. Find the biggest match
從做完column和row reducing的距離矩陣中的0去尋找最大的相配(matching),每找到一個matching,就觀察包含此數值的行(column)和列(row),若column包含的0比較多,則將此column全部標記,若是row,就標記row。若找到的最大matching數量等於row的個數,演算法即結束,否則進行下一步驟。Find the largest matching from the 0 in the distance matrix of column and row reducing. Each time you find a matching, observe the column and column containing the value. If the column contains more 0, , then mark all the columns, if it is a row, mark the row. If the maximum number of matching found is equal to the number of rows, the algorithm ends, otherwise the next step is taken.
4. 找出最大的相配4. Find the biggest match
此時,需修改距離矩陣,以產生更多的0值。修改的條件:(1)從尚未被標記的元素裡面選出一個最小值,接著將所有尚未被標記過的元素皆減去此最小值。(2)將任兩個標記其相交的元素加上此最小值。(3)其它位於標記內且不在相交的元素則保持不變。此步驟完成則跳到步驟3繼續執行。At this point, the distance matrix needs to be modified to produce more zero values. Modified conditions: (1) Select a minimum value from the elements that have not been marked, and then subtract all the elements that have not been marked. (2) Add this minimum value to any two elements that mark their intersection. (3) Other elements that are within the mark and that are not intersecting remain unchanged. When this step is completed, skip to step 3 to continue.
經過以上步驟的匈牙利演算法,即可確保CGi 所有掃描細胞皆與CGi+1 的掃描細胞連接。剩下的CGi+1 尚未被連接的掃描細胞,只需找離其最近的掃描細胞作連接即可,如圖1所示。之後,檢查此分割區域212內的掃描樹數量是否小於預先定義之掃描樹數量(步驟S308)。若小於預先定義之掃描樹數量,則再回到步驟S302來繼續找下一棵樹。若等於自定義的掃描樹數量,則確認是否全部的分割區域都執行完畢,若全部的分割區域都執行完畢,則進行下一步驟,若尚有分割區域未執行,則找下一個具有最多輸出(output pad)個數且未合成掃描樹的分割區域212來執行掃描樹合成法。Hungarian algorithm after the above steps, to ensure that all scan cells I CG are connected CG +. 1 scan cells in I. The remaining CG i+1 has not been connected to the scanned cells, just look for the nearest scanned cells to connect, as shown in Figure 1. Thereafter, it is checked whether the number of scan trees in the divided area 212 is less than a predefined number of scan trees (step S308). If it is less than the predefined number of scan trees, then return to step S302 to continue to find a tree. If it is equal to the number of custom scan trees, confirm whether all the split regions have been executed. If all the split regions have been executed, proceed to the next step. If the split region is not executed, find the next one with the most output. The scan tree synthesis method is performed by dividing the number of regions and not dividing the segmentation area 212 of the scan tree.
如圖2所示,接著,將不屬於此些相容群218的掃描細胞214(scattered point)連接成掃描鏈(步驟S306)。為了考量繞線與測試應用時間(TAT),設定一TAT值,以作為TAT的限制。再依據可利用的掃描輸出SO個數,將剩下的掃描細胞214建立成掃描鏈,而整體的掃描輸出SO數量不能超過原始輸出PO的數量。在本實施例中,此處理步驟分為兩種:A.插入到掃描樹;B.建立成多掃描鏈。As shown in FIG. 2, next, the scanned cells 214 (scattered points) not belonging to the compatible groups 218 are connected into a scan chain (step S306). In order to consider the winding and test application time (TAT), a TAT value is set as a limitation of TAT. Then, according to the available scan output SO number, the remaining scanned cells 214 are established as a scan chain, and the overall scan output SO number cannot exceed the number of original output POs. In this embodiment, the processing steps are divided into two types: A. Inserting into a scan tree; B. Establishing a multi-scan chain.
A. 插入到掃描樹A. Insert into the scan tree
此步驟分成兩個部份。第一個部份是將scattered point依照TAT的限制插入樹中。在此,先假設一TAT的限制,希望所有的掃描樹與建立出來的掃描鏈其高度都不能超過此TAT的限制。此時,對每一樹插入scattered point,使得每一樹的樹高皆等於TAT。插入的方式就找距離掃描輸入SI或掃描輸出SO最近的scattered point開始連接,每連接一個scattered point掃描樹高度就會增加1,直到樹高等於TAT就停止。而第二部份是將目前剩下的scattered point去對所有的tree level做相容群測試,若測試結果為相容,表示這個scattered point可以插入到此tree level,每插入一個scattered point就會增加一掃描輸出SO,因此必須對插入的數量有所限制。掃描輸出SO數量的最大值等於電路的原始輸出PO數量,在這條件之下,若此時掃描輸出SO數量還是小於原始輸出PO,則可得:This step is divided into two parts. The first part is to insert the scattered point into the tree according to the TAT limit. Here, assuming a TAT limitation, it is hoped that all scan trees and the established scan chains will not exceed the limit of this TAT. At this point, a scattered point is inserted for each tree so that the tree height of each tree is equal to TAT. The method of inserting starts to find the closest scattered point of the scan input input SI or the scan output SO. The height of the scan tree is increased by 1 every time a scattered point is connected, and stops when the height of the tree is equal to TAT. The second part is to perform the compatibility group test on all the tree levels in the remaining scattered point. If the test result is compatible, it means that the scattered point can be inserted into the tree level, and each time a scattered point is inserted. Add a scan output SO, so you must limit the number of inserts. The maximum value of the number of scan output SO is equal to the number of original output PO of the circuit. Under this condition, if the number of scan output SO is still smaller than the original output PO, then:
其中,Rso 代表可再增加的掃描輸出SO數量。但是還預留一些掃描輸出SO數量來給多掃描鏈使用,設#sca為此時剩下的scattered point數量,則可以再算出:Where R so represents the number of scan output SOs that can be further increased. However, some scan output SO numbers are reserved for use in multiple scan chains. Let #sca be the number of scattered points remaining at this time, then we can calculate:
#SC =#sca/TAT (4)# SC =# sca/TAT (4)
其中,#SC代表初始的掃描鏈個數。設Tsp為總共可以插入的數量,由(3)(4)得知:Among them, #SC represents the initial number of scan chains. Let Tsp be the total number that can be inserted, and know from (3)(4):
Tsp =RSO -#SC (5)T sp =R SO -#SC (5)
因而可得到Tsp 值。在做tree level相容群測試時會將插入所增加的繞線長度做紀錄。在每一scattered point皆做完相容群測試後,再對繞線長度作由小到大的排序,取前Tsp 個scattered point來作插入,因而避免超過整體原始輸出PO的限制。Thus, the Tsp value can be obtained. When doing the tree level compatibility group test, the added winding length will be recorded. After the compatible group test is completed at each scattered point, the winding length is sorted from small to large, and the pre-T sp scattered points are taken for insertion, thereby avoiding exceeding the limit of the overall original output PO.
B. 建立成多掃描鏈B. Establish multiple scan chains
此部分是將剩下來的scattered point作連接使其形成多掃描鏈(multiple scan chain)。由(5)得知已經有Tsp 個scattered point被使用,所以此時掃描鏈的數量為:This part is to connect the remaining scattered points to form a multiple scan chain. It is known from (5) that T sp scattered points have been used, so the number of scan chains at this time is:
其中,#SC’為所要建立的掃描鏈個數。建立出來的掃描鏈較佳需符合以下限制:Where #SC' is the number of scan chains to be established. The established scan chain preferably needs to meet the following restrictions:
1) 每棵樹的高度皆要相同,而高度為Hmax不可超過。1) The height of each tree should be the same, and the height should not exceed Hmax.
2) 擁有較短的繞線長度。2) Have a shorter winding length.
3) 每一掃描鏈的兩端能盡量靠近界面(boundary)。3) The two ends of each scan chain can be as close as possible to the interface.
請參閱圖9A至圖9C,其顯示依照本發明之一實施例之掃描細胞的示意圖。為了滿足以上限制,在本實施例中,提出了一同時考量繞線與boundary限制的演算法。此演算法分為以下三個部分:Referring to Figures 9A through 9C, there are shown schematic views of scanned cells in accordance with an embodiment of the present invention. In order to satisfy the above limitation, in the present embodiment, an algorithm for considering both the winding and the boundary limit is proposed. This algorithm is divided into the following three parts:
1) Modified DB scan1) Modified DB scan
對任意的一個掃描鏈SCi ,尋找電路上的任一個PI與PO當成掃描鏈的SI與SO。在此假設ai 、bi (如a1 、a2 、b1 、b2 )為找到的掃描輸入SI與掃描輸出SO,對ai 、bi 作連線(ab),再找兩條平行線Pi 、Qi (如P1 、P2 、Q1 、Q2 )分別與ab距離皆為1,在Pi 、Qi 中的scattered point,在此將其權重(weight)加1,如圖9A所示。每一scattered point的weight代表此scattered point被Pi 、Qi 包含的次數,初始值是0。接著,使用上述方式,重複執行,直到所有樹都被找出。此時,還剩下一些沒被經過的scattered point,如圖9B所示,因而將1的值加大,重複以上動作,直到所有的scattered point index值>0才停止,如圖9C所示。For any one scan chain SC i , look for any PI and PO on the circuit as the SI and SO of the scan chain. It is assumed here that a i , b i (such as a 1 , a 2 , b 1 , b 2 ) are the found scan input SI and the scan output SO, and connect a i and b i (ab), and then find two The parallel lines P i , Q i (such as P 1 , P 2 , Q 1 , Q 2 ) are each at a distance of 1 from ab, and the scattered points in P i and Q i are added to their weights by one. As shown in Figure 9A. The weight of each scattered point represents the number of times this scattered point is contained by P i , Q i , and the initial value is 0. Then, using the above method, the execution is repeated until all the trees are found. At this point, there are still some scattered points that have not passed, as shown in Figure 9B, thus increasing the value of 1 and repeating the above actions until all scattered point index values > 0 are stopped, as shown in Figure 9C.
2) 選取scan chain的點2) Select the point of the scan chain
由上一個步驟,可得知每一掃描鏈皆有各自的a、b和P、Q所包含的scattered point。Hmax 為掃描鏈i所需scan chain的長度,接著選取Pi 、Qi 之間的scattered point,由weight值的遞增依序選擇,直到滿足Hmax 。From the previous step, it can be known that each scan chain has its own scattered points included in a, b, and P, and Q. H max is the length of the scan chain required for the scan chain i, and then the scattered point between P i and Q i is selected, and the weight values are sequentially selected until the H max is satisfied.
3) 將掃描細胞214連接成掃描鏈3) Connect the scanned cells 214 into a scan chain
在上步驟中,可得到每一掃描鏈所需要的掃描細胞214,接著,將這些掃描細胞214連接成掃描鏈。在固定scan in/out的情形之下,可確保連接出來的掃描鏈的長度為最短,因此,可得到一組掃描鏈的連接順序且其繞線距離是最短。最後,再將掃描細胞14依照此連接順序來進行連接,因而完成掃描鏈。In the above step, the scanned cells 214 required for each scan chain are obtained, and then these scanned cells 214 are joined into a scan chain. In the case of fixed scan in/out, it is ensured that the length of the connected scan chain is the shortest, so that the connection order of a set of scan chains can be obtained and the winding distance is the shortest. Finally, the scanning cells 14 are connected in accordance with this connection sequence, thus completing the scan chain.
由上述本發明的實施例可知,本發明之用以測試晶片之多掃描樹測試結構的測試合成方法以及晶片測試裝置可同時考量繞線長度與掃描輸出的位置與數量,以降低使用多掃描樹測試架構所需要的成本。相較於傳統的測試方法和裝置,本發明可大幅地降低掃描樹所需的繞線長度與達到符合原始輸出的限制,而合成出來的掃描樹於測試時間與測試資料量上仍有極佳的結果。再者,由於本發明同時也考量掃描樹的掃描輸出與原始輸出的距離,使其有較短的繞線距離,並保持掃描樹既有的高資料壓縮率與低測試時間等優點。It can be seen from the above embodiments of the present invention that the test synthesis method and the wafer test apparatus of the multi-scan tree test structure for testing a wafer of the present invention can simultaneously consider the position and number of the winding length and the scan output to reduce the use of the multi-scan tree. The cost of testing the architecture. Compared with the conventional testing method and device, the invention can greatly reduce the length of the winding required for scanning the tree and meet the limitation of the original output, and the synthesized scanning tree is still excellent in the test time and the amount of test data. the result of. Furthermore, since the present invention also considers the distance between the scan output of the scan tree and the original output, it has a shorter winding distance and maintains the advantages of high data compression rate and low test time of the scan tree.
綜上所述,雖然本發明已用較佳實施例揭露如上,然其並非用以限定本發明,本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。In view of the above, the present invention has been disclosed in the above preferred embodiments, and is not intended to limit the invention, and the present invention may be made without departing from the spirit and scope of the invention. Various modifications and refinements are made, and the scope of the present invention is defined by the scope of the appended claims.
PI...原始輸入PI. . . Original input
PO...原始輸出PO. . . Raw output
SI...掃描輸入SI. . . Scan input
SO...掃描輸出SO. . . Scan output
100...晶片100. . . Wafer
200...測試裝置200. . . Test device
202...分割部202. . . Division
204...掃描方向決定部204. . . Scanning direction decision
206...分層群組部206. . . Hierarchical group
208...相容群產生部208. . . Compatible group generation
210...掃描細胞連接部210. . . Scanning cell junction
212...分割區域212. . . Split area
214...掃描細胞214. . . Scanning cells
216...分層群組216. . . Hierarchical group
218...相容群218. . . Compatible group
S301...將晶片的電路分割成多個分割區域S301. . . Dividing the circuit of the wafer into multiple divided regions
S302...決定掃描方向S302. . . Determine the scanning direction
S303...將掃描細胞分割成複數個分層群組S303. . . Split the scanned cells into a plurality of hierarchical groups
S304...找尋相容群S304. . . Find compatible groups
S305...將相容群依序地進行連接S305. . . Connect the compatible groups sequentially
S306...將不屬於相容群的掃描細胞連接成掃描鏈S306. . . Connect scanned cells that are not part of a compatible group into a scan chain
S307...找尋具有最多輸出個數且尚未合成掃描樹的分割區域S307. . . Find the partition with the most output and not yet synthesized the scan tree
S308...分割區域內的掃描樹數量是否小於預先定義之掃描樹數量S308. . . Whether the number of scan trees in the split area is less than the number of predefined scan trees
為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之詳細說明如下:The above and other objects, features, advantages and embodiments of the present invention will become more apparent and understood.
圖1顯示依照本發明之一實施例之測試裝置之方塊圖。1 shows a block diagram of a test apparatus in accordance with an embodiment of the present invention.
圖2顯示依照本發明之一實施例之多掃描樹測試結構的測試合成方法流程圖。2 is a flow chart showing a test synthesis method of a multi-scan tree test structure in accordance with an embodiment of the present invention.
圖3顯示依照本發明之一實施例之晶片的分割及決定掃描方向的示意圖。3 is a schematic diagram showing the division of a wafer and determining the scanning direction in accordance with an embodiment of the present invention.
圖4A、圖4B及圖4C,其顯示依照本發明之一實施例之掃描樹的合成示意圖。4A, 4B and 4C are schematic diagrams showing the synthesis of a scan tree in accordance with an embodiment of the present invention.
圖5顯示依照本發明之一實施例之晶片的分層群組的示意圖。Figure 5 shows a schematic diagram of a hierarchical group of wafers in accordance with an embodiment of the present invention.
圖6顯示依照本發明之一實施例之相容群圖的示意圖。Figure 6 shows a schematic diagram of a compatible group map in accordance with an embodiment of the present invention.
圖7顯示依照本發明之一實施例之相容群的示意圖。Figure 7 shows a schematic diagram of a compatible group in accordance with an embodiment of the present invention.
圖8顯示依照本發明之一實施例之連接相容群的示意圖。Figure 8 shows a schematic diagram of a connection compatible group in accordance with an embodiment of the present invention.
圖9A至圖9C顯示依照本發明之一實施例之掃描細胞的示意圖。9A-9C show schematic views of scanned cells in accordance with an embodiment of the present invention.
SI...掃描輸入SI. . . Scan input
SO...掃描輸出SO. . . Scan output
100...晶片100. . . Wafer
200...測試裝置200. . . Test device
202...分割部202. . . Division
204...掃描方向決定部204. . . Scanning direction decision
206...分層群組部206. . . Hierarchical group
208...相容群產生部208. . . Compatible group generation
210...掃描細胞連接部210. . . Scanning cell junction
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW99118755A TWI431299B (en) | 2010-06-09 | 2010-06-09 | Multiple scan tree synthesis method and chip test device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW99118755A TWI431299B (en) | 2010-06-09 | 2010-06-09 | Multiple scan tree synthesis method and chip test device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201144839A TW201144839A (en) | 2011-12-16 |
| TWI431299B true TWI431299B (en) | 2014-03-21 |
Family
ID=46765734
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW99118755A TWI431299B (en) | 2010-06-09 | 2010-06-09 | Multiple scan tree synthesis method and chip test device |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI431299B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102654561B (en) * | 2012-04-17 | 2014-06-11 | 清华大学 | Scanning and testing method based on three-dimensional chips |
-
2010
- 2010-06-09 TW TW99118755A patent/TWI431299B/en not_active IP Right Cessation
Also Published As
| Publication number | Publication date |
|---|---|
| TW201144839A (en) | 2011-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5787268A (en) | Interactive circuit designing apparatus | |
| EP0133466A2 (en) | Simultaneous placement and wiring for VLSI chips | |
| CN112666451B (en) | Integrated circuit scanning test vector generation method | |
| KR101228674B1 (en) | Failure analyzing device and failure analyzing method | |
| CN113449481A (en) | Method and device for automatically generating top-level circuit diagram of embedded FPGA IP core and storage medium | |
| US8510703B1 (en) | Method and mechanism for implementing PCB routing | |
| Zhang et al. | CROP: Fast and effective congestion refinement of placement | |
| US6681356B1 (en) | Scan chain connectivity | |
| CN112257365B (en) | Method for establishing timing diagram in parallel based on geometric information | |
| CN107209793B (en) | IP block design with folded blocks and replicated pins for 3D integrated circuits | |
| TWI431299B (en) | Multiple scan tree synthesis method and chip test device | |
| CN103678817A (en) | Hierarchical design method for three-dimensional field-programmable gate array based on three-dimensional reunion | |
| Lin et al. | An effective netlist planning approach for double-sided signal routing | |
| US8381159B2 (en) | Method of semiconductor integrated circuit, and computer readable medium | |
| CN100405379C (en) | A Fast Method for Routability Analysis of Integrated Circuits | |
| Krishna et al. | Optimization of wire-length and block rearrangements for a modern IC placement using evolutionary techniques | |
| US10444282B2 (en) | Test point insertion for low test pattern counts | |
| Bandeira et al. | Fast and scalable I/O pin assignment with divide-and-conquer and hungarian matching | |
| CN109829019A (en) | A kind of data transfer device of vector data, device and electronic equipment | |
| CN118114622A (en) | Standard unit checking method, device and equipment | |
| Chen et al. | Performance-driven pre-assignment routing for high-speed package designs | |
| JP4783268B2 (en) | Semiconductor layout design equipment | |
| US7512923B2 (en) | Automatic estimation method, apparatus, and recording medium | |
| US20060043427A1 (en) | Automatic-arrangement-wiring apparatus for and program for performing layout of integrated circuit | |
| Lu et al. | Leveraging GPU for better detailed placement quality |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |