TWI760400B - System for using different chains to test differential signal and method thereof - Google Patents

System for using different chains to test differential signal and method thereof Download PDF

Info

Publication number
TWI760400B
TWI760400B TW106144142A TW106144142A TWI760400B TW I760400 B TWI760400 B TW I760400B TW 106144142 A TW106144142 A TW 106144142A TW 106144142 A TW106144142 A TW 106144142A TW I760400 B TWI760400 B TW I760400B
Authority
TW
Taiwan
Prior art keywords
scan chain
test
scan
data
module
Prior art date
Application number
TW106144142A
Other languages
Chinese (zh)
Other versions
TW201928668A (en
Inventor
段秋月
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW106144142A priority Critical patent/TWI760400B/en
Publication of TW201928668A publication Critical patent/TW201928668A/en
Application granted granted Critical
Publication of TWI760400B publication Critical patent/TWI760400B/en

Links

Images

Abstract

A system for using different chains to test differential signal and a method thereof are provided. By setting up two chains for two components on a circuit board, pushing test data of each of the two chains to each of the two chains sequentially in accordance with flow direction between the two chains for the two components generate output data, and determining a test result based on the test data of the two chains and the output data, the system and the method can use common way to test all kind of component on circuit board, and can achieve the effect of stable testing differential signal for all kind of component on circuit board.

Description

以不同掃描鏈測試差分線路之系統及其方法System and method for testing differential circuits with different scan chains

一種電路板測試系統及其方法,特別係指一種以不同掃描鏈測試差分線路之系統及其方法。A circuit board testing system and method, particularly a system and method for testing differential circuits with different scan chains.

近年來,在電路板上使用差分線路來連接不同的電子元件已經非常普及,因此,如何準確測試在兩電子元件之線的差分線路便成為各家廠商亟欲解決的問題之一。In recent years, the use of differential circuits on circuit boards to connect different electronic components has become very popular. Therefore, how to accurately test the differential circuits between two electronic components has become one of the urgent problems for manufacturers to solve.

一般而言,差分線路的測試方式通常是進行功能測試來檢測差分信號是否能正常工作。然而,通過功能測試只代表差分信號能正常接收及傳送,倘若電子元件的某一腳位如「Tx_p」或「Rx_n」出現開路或電容虛焊甚至短路時,差分信號可能仍照常傳送,也就是說,功能測試並沒有測試差分線路中的每一根線路的情況,所以測試可信度不佳。Generally speaking, the test method of differential line is usually to perform functional test to check whether the differential signal can work normally. However, passing the functional test only means that the differential signal can be received and transmitted normally. If a certain pin of an electronic component such as "Tx_p" or "Rx_n" is open or the capacitor is soldered or even shorted, the differential signal may still be transmitted as usual, that is That said, the functional test doesn't test every line in the differential line, so the test reliability is not good.

有鑑於此,便有廠商提出一種利用聯合測試工作群組(Joint Test Action Group, JTAG)的測試方式,藉由電子元件上之標準測試存取埠和邊界掃描結構來測試兩個電子元件之間的差分線路。然而,目前針對不同的電子元件通常有不同的測試方式,增加了測試的成本。In view of this, some manufacturers have proposed a test method using a Joint Test Action Group (JTAG) to test the connection between two electronic components by using a standard test access port and a boundary scan structure on the electronic components. differential line. However, there are usually different testing methods for different electronic components, which increases the testing cost.

綜上所述,可知先前技術中長期以來一直存在需要針對不同電子元件選擇不同測試方式的問題,因此有必要提出改進的技術手段,來解決此一問題。To sum up, it can be seen that there has been a long-standing problem in the prior art that different testing methods need to be selected for different electronic components, so it is necessary to propose improved technical means to solve this problem.

有鑒於先前技術存在需要針對不同電子元件選擇不同測試方式的問題,本發明遂揭露一種以不同掃描鏈測試差分線路之系統及其方法,其中:In view of the problem in the prior art that different testing methods need to be selected for different electronic components, the present invention discloses a system and method for testing differential circuits with different scan chains, wherein:

本發明所揭露之以不同掃描鏈測試差分線路之系統,用以測試目標電路板,目標電路板包含兩電子元件,且兩電子元件電性連接。本發明所揭露之系統至少包含:訊號輸入模組;測試值定義模組,用以定義第一掃描鏈及第二掃描鏈之測試值,第一掃描鏈及第二掃描鏈分別對應兩電子元件中之不同電子元件;測試資料產生模組,用以分別產生第一掃描鏈及第二掃描鏈之測試資料;掃描鏈初始化模組,用以透過訊號輸入模組分別使用第一掃描鏈及第二掃描鏈之測試值初始化第一掃描鏈及第二掃描鏈;線路測試模組,用以依據第一掃描鏈與第二掃描鏈間之資料流向,透過訊號輸入模組依序推送第一掃描鏈及第二掃描鏈之測試資料至第一掃描鏈與該第二掃描鏈;訊號獲取模組,用以取得結果資料;結果判斷模組,用以依據第一掃描鏈及第二掃描鏈之測試資料及結果資料判斷測試結果。The system for testing differential circuits with different scan chains disclosed in the present invention is used for testing a target circuit board. The target circuit board includes two electronic components and the two electronic components are electrically connected. The system disclosed by the present invention at least comprises: a signal input module; a test value definition module for defining the test values of the first scan chain and the second scan chain, the first scan chain and the second scan chain respectively correspond to two electronic components different electronic components; test data generation module for generating test data of the first scan chain and second scan chain respectively; scan chain initialization module for using the first scan chain and the second scan chain respectively through the signal input module The test value of the two scan chains initializes the first scan chain and the second scan chain; the circuit test module is used to sequentially push the first scan chain through the signal input module according to the data flow between the first scan chain and the second scan chain The test data of the chain and the second scan chain are sent to the first scan chain and the second scan chain; the signal acquisition module is used to obtain the result data; the result judgment module is used to obtain the result data according to the first scan chain and the second scan chain. Test data and result data to judge test results.

本發明所揭露之以不同掃描鏈測試差分線路之方法,用以測試目標電路板,目標電路板包含兩電子元件,且兩電子元件電性連接,其步驟至少包括:定義第一掃描鏈及第二掃描鏈之測試值,第一掃描鏈及該第二掃描鏈分別對應兩電子元件中之不同電子元件;透過訊號輸入模組分別使用第一掃描鏈及第二掃描鏈之測試值初始化第一掃描鏈及第二掃描鏈;分別產生與第一掃描鏈及第二掃描鏈對應之測試資料;依據第一掃描鏈與第二掃描鏈間之資料流向,透過訊號輸入模組依序推送第一掃描鏈及第二掃描鏈之測試資料至第一掃描鏈與第二掃描鏈,並透過訊號獲取模組取得結果資料;依據第一掃描鏈及第二掃描鏈之測試資料及結果資料判斷測試結果。The method for testing differential circuits with different scan chains disclosed in the present invention is used to test a target circuit board. The target circuit board includes two electronic components, and the two electronic components are electrically connected. The steps of the method at least include: defining a first scan chain and a second scan chain. The test values of the two scan chains, the first scan chain and the second scan chain correspond to different electronic components of the two electronic components respectively; the first scan chain and the second scan chain are respectively used to initialize the first scan chain through the signal input module. The scan chain and the second scan chain; respectively generate test data corresponding to the first scan chain and the second scan chain; according to the data flow between the first scan chain and the second scan chain, the first scan chain and the second scan chain are sequentially pushed through the signal input module The test data of the scan chain and the second scan chain are sent to the first scan chain and the second scan chain, and the result data is obtained by the signal acquisition module; the test result is judged according to the test data and the result data of the first scan chain and the second scan chain .

本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過對目標電路板上的兩電子元件建立掃描鏈,並依據兩掃描鏈之間的資料流向依序推送兩掃描鏈的測試資料給兩掃描鏈,使得電子元件產生結果資料後,依據兩掃描鏈之測試資料及結果資料判斷測試結果,藉以解決先前技術所存在的問題,並可以達成穩定對所有電子元件進行差分信號測試的技術功效。The system and method disclosed in the present invention are as above, and the difference between the present invention and the prior art lies in that the present invention establishes scan chains for two electronic components on the target circuit board, and pushes the two scan chains in sequence according to the data flow between the two scan chains The test data is sent to the two scan chains, so that after the electronic components generate the result data, the test results are judged according to the test data and the result data of the two scan chains, so as to solve the problems existing in the prior art and achieve stable differential signals for all electronic components. Technical efficacy of the test.

以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The features and implementations of the present invention will be described in detail below in conjunction with the drawings and examples, and the content is sufficient to enable any person skilled in the relevant art to easily and fully understand the technical means applied to solve the technical problems of the present invention and implement them accordingly, thereby achieving The effect that the present invention can achieve.

本發明可以檢測在目標電路板上連接兩個電子元件的線路是否正常。本發明所提之電子元件通常是積體電路,但本發明並不以此為限。The invention can detect whether the circuit connecting two electronic components on the target circuit board is normal. The electronic components mentioned in the present invention are usually integrated circuits, but the present invention is not limited thereto.

以下先以「第1圖」本發明所提之以不同掃描鏈測試差分線路之系統架構圖來說明本發明的系統運作。如「第1圖」所示,本發明之系統含有訊號輸入模組110、訊號獲取模組120、測試值定義模組150、測試資料產生模組160、掃描鏈初始化模組170、線路測試模組180、以及結果判斷模組190。First, the system operation of the present invention is described with reference to “FIG. 1” of the system architecture diagram of the present invention for testing differential circuits with different scan chains. As shown in "FIG. 1", the system of the present invention includes a signal input module 110, a signal acquisition module 120, a test value definition module 150, a test data generation module 160, a scan chain initialization module 170, and a line test module The group 180, and the result judgment module 190.

訊號輸入模組110負責將訊號推送至電路板上的電子元件中。上述之電路板可以是待測試的目標電路板,也可以是已確定可正常工作的樣本電路板。其中,樣本電路板與目標電路板的型號、規格、配置完全相同,也就是樣本電路板與目標電路板為相同的電路板。The signal input module 110 is responsible for pushing the signal to the electronic components on the circuit board. The above circuit board can be the target circuit board to be tested, or it can be a sample circuit board that has been confirmed to work normally. Among them, the model, specification and configuration of the sample circuit board and the target circuit board are exactly the same, that is, the sample circuit board and the target circuit board are the same circuit board.

訊號輸入模組110可以包含一個或多個輸入元件,輸入元件可以是一個一維或多維的位移暫存器(shift register),但本發明並不以此為限。其中,輸入元件可以透過電子元件的一個特定腳位(pin)或特定連接點與目標電路板上的電子元件連接。The signal input module 110 may include one or more input elements, and the input element may be a one-dimensional or multi-dimensional shift register, but the invention is not limited thereto. The input element can be connected to the electronic element on the target circuit board through a specific pin or a specific connection point of the electronic element.

訊號輸入模組110所包含的每一個輸入元件可以與同一張目標電路板上的一個或多個電子元件連接,當輸入元件只與一個電子元件連接時,輸入元件可以推送一組訊號至相連接的電子元件中,而當輸入元件與多個電子元件連接時,輸入元件可以由相連接的電子元件中選擇一個電子元件,並將一組訊號推送至被選擇的電子元件中。Each input element included in the signal input module 110 can be connected with one or more electronic elements on the same target circuit board. When the input element is only connected with one electronic element, the input element can push a group of signals to the connected Among the electronic components, when the input component is connected with multiple electronic components, the input component can select one electronic component from the connected electronic components, and push a group of signals to the selected electronic component.

訊號獲取模組120負責取得電路板上之電子元件所產生的訊號。上述之電路板可以是待測試的目標電路板,也可以是已確定可正常工作的樣本電路板。但訊號獲取模組120與訊號輸入模組110需要同時與同一張電路板上的電子元件連接。The signal acquisition module 120 is responsible for acquiring the signals generated by the electronic components on the circuit board. The above circuit board can be the target circuit board to be tested, or it can be a sample circuit board that has been confirmed to work normally. However, the signal acquisition module 120 and the signal input module 110 need to be connected to the electronic components on the same circuit board at the same time.

與訊號輸入模組110相似的,訊號獲取模組120可以包含一個或多個獲取元件,獲取元件可以是一個一維或多維的位移暫存器,但本發明並不以此為限。其中,獲取元件可以透過目標電路板上之電子元件的一個特定腳位或特定接點與目標電路板上的電子元件連接。Similar to the signal input module 110 , the signal acquisition module 120 may include one or more acquisition elements, and the acquisition element may be a one-dimensional or multi-dimensional displacement register, but the invention is not limited thereto. The acquisition element can be connected to the electronic element on the target circuit board through a specific pin or a specific contact of the electronic element on the target circuit board.

訊號獲取模組120所包含的每一個獲取元件可以與同一張目標電路板上的一個或多個電子元件連接,當獲取元件只與一個電子元件連接時,獲取元件可以接收相連接之電子元件所產生的一組訊號,而當獲取元件與多個電子元件連接時,獲取元件可以由相連接的電子元件中選擇一個電子元件,並接收被選擇之電子元件所產生的一組訊號。Each acquisition component included in the signal acquisition module 120 can be connected to one or more electronic components on the same target circuit board. When the acquisition component is only connected to one electronic component, the acquisition component can receive all the connected electronic components. When the acquisition element is connected with a plurality of electronic elements, the acquisition element can select one electronic element from the connected electronic elements and receive a group of signals generated by the selected electronic element.

特別要說明的是,在本發明中,目標電路板上的一個電子元件、與該電子元件連接之訊號輸入模組110中的一個輸入元件、以及與該電子元件連接之訊號獲取模組120中的一個獲取元件可以形成與該電子元件對應的一條掃描鏈,也就是說,一條掃描鏈對應目標電路板上的一個電子元件,且該條掃描鏈包含相對應之電子元件、與相對應之電子元件連接的輸入元件、以及與相對應之電子元件連接的獲取元件。由於在本發明中,目標電路板上包含兩個或兩個以上的電子元件,因此,在本發明中,至少包含兩條掃描鏈,分別稱為「第一掃描鏈」與「第二掃描鏈」。另外,與第一掃描鏈與第二掃描鏈對應的電子元件在本發明中意被稱為「第一電子元件」與「第二電子元件」。It should be noted that, in the present invention, an electronic component on the target circuit board, an input component in the signal input module 110 connected to the electronic component, and a signal acquisition module 120 connected to the electronic component An acquisition element can form a scan chain corresponding to the electronic element, that is to say, a scan chain corresponds to an electronic element on the target circuit board, and the scan chain contains the corresponding electronic element, the corresponding electronic element The input element to which the element is connected, and the acquisition element that is connected to the corresponding electronic element. Since in the present invention, the target circuit board includes two or more electronic components, therefore, in the present invention, at least two scan chains are included, which are called "first scan chain" and "second scan chain" respectively ". In addition, the electronic components corresponding to the first scan chain and the second scan chain are intended to be referred to as "first electronic components" and "second electronic components" in the present invention.

測試值定義模組150負責定義掃描鏈(第一掃描鏈與第二掃描鏈)的測試值。在本發明中,亦使用「第一測試值」與「第二測試值」分別表示第一掃描鏈之測試值與第二掃描鏈之測試值。The test value definition module 150 is responsible for defining test values of the scan chains (the first scan chain and the second scan chain). In the present invention, "first test value" and "second test value" are also used to represent the test value of the first scan chain and the test value of the second scan chain, respectively.

測試值定義模組150可以透過訊號輸入模組110將測試指令傳送到樣本電路板上的樣本元件,並可以透過訊號獲取模組120由樣本電路板上的樣本元件取得樣本資料,以及將所取得之樣本資料定義為掃描鏈的測試值。測試值定義模組150也可以將預設值定義為掃描鏈的測試值。其中,樣本元件與第二電子元件的型號與規格相同,且樣本元件在樣本電路板上的位置及功能與第二電子元件在目標電路板上的位置及功能相同。The test value definition module 150 can transmit the test command to the sample components on the sample circuit board through the signal input module 110, and can obtain the sample data from the sample components on the sample circuit board through the signal acquisition module 120, and use the obtained The sample data is defined as the test value of the scan chain. The test value definition module 150 can also define the default value as the test value of the scan chain. The model and specification of the sample component and the second electronic component are the same, and the location and function of the sample component on the sample circuit board are the same as the location and function of the second electronic component on the target circuit board.

測試資料產生模組160負責產生與掃描鏈(第一掃描鏈與第二掃描鏈)對應的測試資料。例如,測試資料產生模組160可以依據目標電路板的識別資料、第一電子元件的識別資料、及第二電子元件的識別資料讀取相對應的測試資料,但測試資料產生模組160產生測試資料的方式並不以上述為限。The test data generating module 160 is responsible for generating test data corresponding to the scan chains (the first scan chain and the second scan chain). For example, the test data generation module 160 can read the corresponding test data according to the identification data of the target circuit board, the identification data of the first electronic component, and the identification data of the second electronic component, but the test data generation module 160 generates the test data The form of information is not limited to the above.

掃描鏈初始化模組170負責透過訊號輸入模組110使用第一測試值初始化第一掃描鏈,也負責透過訊號輸入模組110使用第二測試值初始化第二掃描鏈。The scan chain initialization module 170 is responsible for initializing the first scan chain using the first test value through the signal input module 110 , and is also responsible for initializing the second scan chain using the second test value through the signal input module 110 .

更詳細的說,掃描鏈初始化模組170可以先透過訊號輸入模組110依序將採樣(SAMPLE)指令、測試值定義模組150所定義之第一測試值、第一測試值(再次發送)、測試(EXTEST)指令、以及第一測試值(第三次發送)推送給第一電子元件,並透過訊號獲取模組120由第一電子元件取得採樣資料,再將所取得之採樣資料作為新的第一測試值,並透過訊號輸入模組110依序將新的第一測試值以及脈衝(EXTEST_PULSE)指令推送至第一電子元件,接著,掃描鏈初始化模組170可以重複將透過訊號獲取模組120所取得的採樣資料作為新的第一測試值,並透過訊號輸入模組110將變更後之新的第一測試值傳送至第一電子元件,以及透過訊號獲取模組120由第一電子元件取得採樣資料數次,藉以初始化第一掃描鏈。同樣的,掃描鏈初始化模組170也可以使用上述初始化第一掃描鏈的過程,透過訊號輸入模組110依序將採樣指令、第二測試值、第二測試值、測試指令、第二測試值、採樣資料(新的第二測試值)以及脈衝指令推送至第二電子元件,並重複推送做為新的第二測試值的採樣資料數次,藉以初始化第二掃描鏈。To be more specific, the scan chain initialization module 170 can firstly transmit the sample (SAMPLE) command, the test value definition module 150 and the first test value defined by the module 150 in sequence through the signal input module 110 (send again). , the test (EXTEST) command, and the first test value (sent for the third time) are pushed to the first electronic component, and the sampling data is obtained from the first electronic component through the signal acquisition module 120, and the obtained sampling data is used as a new and push the new first test value and the pulse (EXTEST_PULSE) command to the first electronic element in sequence through the signal input module 110, and then, the scan chain initialization module 170 can repeat the acquisition mode through the signal The sampling data obtained by the group 120 is used as the new first test value, and the changed new first test value is sent to the first electronic component through the signal input module 110, and the first electronic component is sent through the signal acquisition module 120. The element obtains sampling data several times, thereby initializing the first scan chain. Similarly, the scan chain initialization module 170 can also use the above process of initializing the first scan chain, and the sampling command, the second test value, the second test value, the test command, and the second test value are sequentially transmitted through the signal input module 110 , the sampling data (the new second test value) and the pulse command are pushed to the second electronic element, and the sampling data as the new second test value is repeatedly pushed several times, thereby initializing the second scan chain.

掃描鏈初始化模組170也可以在線路測試模組180完成測試後,透過訊號輸入模組110依序將測試(EXTEST)指令、以及最後推送到第一掃描鏈之新的第一測試值推送至第一掃描鏈,使得第一掃描鏈恢復到初始化的狀態。同樣的,掃描鏈初始化模組170也可以在線路測試模組180完成測試後,透過訊號輸入模組110依序將測試指令、以及最後推送到第二掃描鏈之新的第二測試值推送至第二掃描鏈,使得第二掃描鏈恢復到初始化的狀態。The scan chain initialization module 170 can also sequentially push the test (EXTEST) command and the new first test value pushed to the first scan chain through the signal input module 110 after the line test module 180 completes the test. the first scan chain, so that the first scan chain is restored to the initialized state. Similarly, the scan chain initialization module 170 can also sequentially push the test command and the new second test value pushed to the second scan chain to the signal input module 110 after the line test module 180 completes the test. The second scan chain restores the second scan chain to an initialized state.

線路測試模組180負責依據第一掃描鏈所對應之電子元件與第二掃描鏈所對應之電子元件間的資料流向,透過訊號輸入模組110依序將測試資料產生模組160所產生之第一掃描鏈及第二掃描鏈的測試資料推送至第一掃描鏈與第二掃描鏈。舉例來說,若要測試由第一電子元件送往第二電子元件的資料或訊號是否正確,則線路測試模組180可以先透過訊號輸入模組110將第一掃描鏈的測試資料推送至第一掃描鏈,再將第二掃描鏈的測試資料推送到第二掃描鏈,相反的,若要測試由第二電子元件送往第一電子元件的資料或訊號是否正確,則線路測試模組180可以先透過訊號輸入模組110將第二掃描鏈的測試資料推送至第二掃描鏈,再將第一掃描鏈的測試資料推送到第一掃描鏈。The circuit test module 180 is responsible for sequentially generating the test data generated by the module 160 through the signal input module 110 according to the data flow between the electronic components corresponding to the first scan chain and the electronic components corresponding to the second scan chain. Test data of a scan chain and a second scan chain are pushed to the first scan chain and the second scan chain. For example, to test whether the data or signal sent from the first electronic component to the second electronic component is correct, the line test module 180 can first push the test data of the first scan chain to the second electronic component through the signal input module 110. One scan chain, and then push the test data of the second scan chain to the second scan chain. On the contrary, to test whether the data or signal sent from the second electronic element to the first electronic element is correct, the circuit test module 180 The test data of the second scan chain may be pushed to the second scan chain through the signal input module 110 first, and then the test data of the first scan chain may be pushed to the first scan chain.

值得一提的是,線路測試模組180透過訊號輸入模組110推送到掃描鏈(第一掃描鏈與第二掃描鏈)的測試資料,僅改變待測試之腳位的訊號,非被測試之腳位的訊號並不會被改變,藉以確保線路測試模組180推送到掃描鏈的測試資料符合主機板實際的工作邏輯,避免電子元件產生非預期的資料或訊號導致主機板斷電等非預期的狀況。It is worth mentioning that the line test module 180 pushes the test data to the scan chains (the first scan chain and the second scan chain) through the signal input module 110, and only changes the signal of the pin to be tested, not the test data. The signal of the pin will not be changed, so as to ensure that the test data pushed by the circuit test module 180 to the scan chain conforms to the actual working logic of the motherboard, and avoid unexpected data generated by electronic components or unexpected signals such as power failure of the motherboard. condition.

線路測試模組180也負責透過訊號獲取模組120取得結果資料。線路測試模組180所取得的結果資料包含第一電子元件的輸出結果以及第二電子元件的輸出結果。The line test module 180 is also responsible for obtaining the result data through the signal obtaining module 120 . The result data obtained by the circuit test module 180 includes the output result of the first electronic component and the output result of the second electronic component.

在部分的實施例中,可能會發生較晚取得線路測試模組180透過訊號輸入模組110所推送之測試資料的電子元件(例如第二電子元件)在取得測試資料時,先取得線路測試模組180透過訊號輸入模組110所推送之測試資料的電子元件(例如第一電子元件)尚未產生輸出訊號,或先取得線路測試模組180所推送之測試資料的電子元件所產生的輸出訊號尚未被傳送到較晚取得測試資料之電子元件,導致較晚取得測試資料之電子元件產生未知結果的情況,因此,線路測試模組180可以依據前次推送第一掃描鏈/第二掃描鏈之測試資料的順序,再次透過訊號輸入模組110將測試資料產生模組160所產生之第一掃描鏈/第二掃描鏈的測試資料推送到第一掃描鏈/第二掃描鏈,藉以避免上述第一電子元件與第二電子元件資料或訊號不同步的問題。In some embodiments, it may happen that the electronic component (such as the second electronic component) that obtains the test data pushed by the line test module 180 through the signal input module 110 later obtains the test data first, and first obtains the test data. The electronic components (such as the first electronic component) of the test data pushed by the group 180 through the signal input module 110 have not yet generated output signals, or the output signals generated by the electronic components that first obtained the test data pushed by the circuit test module 180 have not yet been generated. It is transmitted to the electronic device that obtains the test data later, resulting in the situation that the electronic device that obtains the test data later produces an unknown result. Therefore, the circuit test module 180 can push the test of the first scan chain/second scan chain according to the previous time. The sequence of data, the test data of the first scan chain/second scan chain generated by the test data generation module 160 is pushed to the first scan chain/second scan chain again through the signal input module 110, so as to avoid the above-mentioned first scan chain. The problem of out-of-sync data or signal between electronic components and second electronic components.

結果判斷模組190負責依據線路測試模組180透過訊號輸入模組110所推送之第一掃描鏈的測試資料與第二掃描鏈的測試資料、以及線路測試模組180透過訊號獲取模組120所取得之結果資料判斷測試結果。The result judgment module 190 is responsible for the test data of the first scan chain and the test data of the second scan chain pushed by the line test module 180 through the signal input module 110 , and the line test module 180 obtains the data of the module 120 through the signal. The obtained result data is used to judge the test result.

接著以一個實施例來解說本發明的運作系統與方法,並請參照「第2圖」本發明所提之以不同掃描鏈測試差分線路之方法流程圖。在本實施例中,假設目標電路板為主機板、第一電子元件為SATA控制晶片、第二電子元件為PCH晶片,且第一電子元件與第二電子元件之間為雙向的差分電路,但本發明並不以此為限。Next, an embodiment is used to explain the operation system and method of the present invention, and please refer to "FIG. 2" for the flowchart of the method for testing differential circuits with different scan chains in the present invention. In this embodiment, it is assumed that the target circuit board is a motherboard, the first electronic component is a SATA control chip, the second electronic component is a PCH chip, and there is a bidirectional differential circuit between the first electronic component and the second electronic component, but The present invention is not limited to this.

欲使用本發明對第一電子元件與第二電子元件之間的線路進行測試時,可以先透過測試值定義模組150定義第一掃描鏈與第二掃描鏈的測試值(步驟310)。在本實施例中,假設測試值定義模組150可以使用預設值定義第一掃描鏈的測試值,例如,定義第一掃描鏈之測試值的所有位元都為1。另外,訊號輸入模組110與訊號獲取模組120可以先與樣本元件連接,使測試值定義模組150可以透過訊號輸入模組110將測試指令推送到樣本電路板上的樣本元件,並透過訊號獲取模組120由樣本電路板上的樣本元件取得樣本資料,藉以將透過訊號獲取模組120所取得之樣本資料定義為第二掃描鏈的測試值。When using the present invention to test the circuit between the first electronic element and the second electronic element, the test value of the first scan chain and the second scan chain can be defined through the test value definition module 150 (step 310 ). In this embodiment, it is assumed that the test value definition module 150 can define the test value of the first scan chain by using a default value, for example, all the bits defining the test value of the first scan chain are 1. In addition, the signal input module 110 and the signal acquisition module 120 can be connected to the sample device first, so that the test value definition module 150 can push the test command to the sample device on the sample circuit board through the signal input module 110, The acquisition module 120 acquires sample data from the sample components on the sample circuit board, so as to define the sample data acquired through the signal acquisition module 120 as the test value of the second scan chain.

在測試值定義模組150定義第一掃描鏈與第二掃描鏈的測試值(步驟310)後,掃描鏈初始化模組170可以使用測試值定義模組150所定義之第一測試值初始化第一掃描鏈,並可以使用測試值定義模組150所定義之第二測試值初始化第二掃描鏈(步驟320)。在本實施例中,掃描鏈初始化模組170可以分別對第一掃描鏈與第二掃描鏈進行下列步驟:先透過訊號輸入模組110將採樣指令、掃描鏈的測試值、掃描鏈的測試值、測試指令、掃描鏈的測試值依序推送到與掃描鏈對應的電子元件,並透過訊號獲取模組120取得與掃描鏈對應之電子元件所輸出的採樣資料,之後,可以將所取得的採樣資料作為新的測試值,並再次透過訊號輸入模組110將新的測試值以及脈衝指令依序推送到與掃描鏈對應的電子元件,接著,可以透過訊號獲取模組120取得與掃描鏈對應之電子元件所輸出的採樣資料,並將測試值再次以最後取得的採樣資料取代,以及透過訊號輸入模組110將新的測試值推送到與掃描鏈對應的電子元件,最後,可以重複上述取得與掃描鏈對應之電子元件所輸出的採樣資料,並將所取得之採樣資料作為新的測試值推送到與掃描鏈對應之電子元件的步驟一定次數,藉以初始化第一掃描鏈與第二掃描鏈。After the test value definition module 150 defines the test values of the first scan chain and the second scan chain (step 310 ), the scan chain initialization module 170 may use the first test value defined by the test value definition module 150 to initialize the first scan chain The scan chain may be initialized using the second test value defined by the test value definition module 150 (step 320). In this embodiment, the scan chain initialization module 170 can respectively perform the following steps on the first scan chain and the second scan chain: first, the sampling command, the test value of the scan chain, and the test value of the scan chain are transmitted through the signal input module 110 . , the test command, and the test value of the scan chain are sequentially pushed to the electronic components corresponding to the scan chain, and the sampling data output by the electronic components corresponding to the scan chain is obtained through the signal acquisition module 120. The data is used as a new test value, and the new test value and pulse command are sequentially pushed to the electronic components corresponding to the scan chain through the signal input module 110 again. The sampling data output by the electronic component is replaced with the last obtained sampling data again, and the new test value is pushed to the electronic component corresponding to the scan chain through the signal input module 110. Finally, the above-mentioned obtaining and The sampling data output by the electronic element corresponding to the scan chain is pushed to the electronic element corresponding to the scan chain as a new test value for a certain number of steps, thereby initializing the first scan chain and the second scan chain.

同樣在測試值定義模組150定義第一掃描鏈與第二掃描鏈的測試值(步驟310)後,測試資料產生模組160可以分別產生第一掃描鏈及第二掃描鏈的測試資料(步驟330)。Also, after the test value definition module 150 defines the test values of the first scan chain and the second scan chain (step 310 ), the test data generation module 160 can respectively generate test data of the first scan chain and the second scan chain (step 310 ). 330).

在實務上,掃描鏈初始化模組170與測試資料產生模組160並沒有執行先後的次序關係,也就是說,掃描鏈初始化模組170也可以在測試資料產生模組160先產生第一掃描鏈及第二掃描鏈的測試資料(步驟330)後,才使用第一測試值與第二測試值分別初始化第一掃描鏈與第二掃描鏈(步驟320)。In practice, the scan chain initialization module 170 and the test data generation module 160 are not executed in a sequential order, that is to say, the scan chain initialization module 170 can also generate the first scan chain before the test data generation module 160 After the test data of the second scan chain is obtained (step 330 ), the first scan chain and the second scan chain are respectively initialized by using the first test value and the second test value (step 320 ).

在掃描鏈初始化模組170使用第一測試值與第二測試值分別初始化第一掃描鏈與第二掃描鏈(步驟320),以及測試資料產生模組160產生第一掃描鏈及第二掃描鏈的測試資料(步驟330)後,線路測試模組180可以依據第一電子元件與第二電子元件之間的資料流向,透過訊號輸入模組110依序推送第一掃描鏈與第二掃描鏈的測試資料至第一掃描鏈與第二掃描鏈(步驟350),使得結果判斷模組190可以透過訊號獲取模組120取得包含第一電子元件與第二電子元件所輸出之訊號的結果資料(步驟360)。在本實施例中,由於第一電子元件與第二電子元件之間為雙向電路,也就是在第一電子元件與第二電子元件之間用來傳送與接收資料或訊號的線路並不共用,因此,線路測試模組180需要測試由第一電子元件流向第二電子元件的電路,也需要測試由第二電子元件流向第一電子元件的電路。假設在測試冶具與目標電路板上的SATA插槽連接後,線路測試模組180會先測試由第一電子元件流向第二電子元件的電路,則線路測試模組180可以先透過訊號輸入模組110推送第一掃描鏈的測試資料到第一掃描鏈,再透過訊號輸入模組110推送第二掃描鏈的測試資料到第二掃描鏈,如此,第一電子元件可以依據所接收到之第一掃描鏈的測試資料,讓測試冶具所傳送的資料通過第一電子元件,而被送往第二電子元件,使得結果判斷模組190可以透過訊號獲取模組120分別取得第一電子元件所輸出的訊號,相似的,第二電子元件可以依據所接收到之第二掃描鏈的測試資料,讓來自第一電子元件的資料通過第二電子元件,使得結果判斷模組190可以透過訊號獲取模組120分別取得第二電子元件所輸出的訊號。接著,線路測試模組180可以繼續測試由第二電子元件流向第一電子元件的電路,線路測試模組180可以先透過訊號輸入模組110推送第二掃描鏈的測試資料到第二掃描鏈,再透過訊號輸入模組110推送第一掃描鏈的測試資料到第一掃描鏈,之後,結果判斷模組190可以透過訊號獲取模組120分別取得第一電子元件與第二電子元件所輸出的訊號,並將先推送第一掃描鏈之測試資料後所取得的訊號與先推送第二掃描鏈之測試資料後所取得的訊號作為結果資料。The scan chain initialization module 170 uses the first test value and the second test value to initialize the first scan chain and the second scan chain respectively (step 320 ), and the test data generation module 160 generates the first scan chain and the second scan chain After the test data (step 330), the circuit test module 180 can sequentially push the first scan chain and the second scan chain through the signal input module 110 according to the data flow between the first electronic element and the second electronic element. The test data is sent to the first scan chain and the second scan chain (step 350), so that the result determination module 190 can obtain the result data including the signals output by the first electronic component and the second electronic component through the signal acquisition module 120 (step 350). 360). In this embodiment, since there is a two-way circuit between the first electronic element and the second electronic element, that is, the lines used for transmitting and receiving data or signals between the first electronic element and the second electronic element are not shared. Therefore, the circuit test module 180 needs to test the circuit flowing from the first electronic component to the second electronic component, and also needs to test the circuit flowing from the second electronic component to the first electronic component. Assuming that after the test fixture is connected to the SATA slot on the target circuit board, the circuit test module 180 will first test the circuit flowing from the first electronic component to the second electronic component, then the circuit test module 180 can first pass the signal input module 110 pushes the test data of the first scan chain to the first scan chain, and then pushes the test data of the second scan chain to the second scan chain through the signal input module 110 . The test data of the scan chain allows the data transmitted by the test tool to pass through the first electronic component and then be sent to the second electronic component, so that the result judgment module 190 can obtain the output from the first electronic component through the signal acquisition module 120 respectively. The signal, similarly, the second electronic component can pass the data from the first electronic component through the second electronic component according to the received test data of the second scan chain, so that the result judgment module 190 can pass the signal acquisition module 120 The signals output by the second electronic components are obtained respectively. Then, the circuit test module 180 can continue to test the circuit flowing from the second electronic component to the first electronic component. The circuit test module 180 can push the test data of the second scan chain to the second scan chain through the signal input module 110 first. Then, the test data of the first scan chain is pushed to the first scan chain through the signal input module 110. After that, the result judgment module 190 can respectively obtain the signals output by the first electronic component and the second electronic component through the signal acquisition module 120. , and use the signal obtained after pushing the test data of the first scan chain and the signal obtained after pushing the test data of the second scan chain as the result data.

在結果判斷模組190透過訊號獲取模組120取得結果資料(步驟360)後,可以依據所取得的結果資料以及測試資料產生模組160產生第一掃描鏈與第二掃描鏈的測試資料判斷測試結果(步驟370)。After the result judging module 190 obtains the result data through the signal obtaining module 120 (step 360 ), the test can be judged according to the obtained result data and the test data generating module 160 to generate the test data of the first scan chain and the second scan chain result (step 370).

綜上所述,可知本發明與先前技術之間的差異在於具有對目標電路板上的兩電子元件建立掃描鏈,並依據兩掃描鏈之間的資料流向依序推送兩掃描鏈的測試資料給兩掃描鏈,使得電子元件產生結果資料後,依據兩掃描鏈之測試資料及結果資料判斷測試結果之技術手段,藉由此一技術手段可以來解決先前技術所存在需要針對不同電子元件選擇不同測試方式的問題,進而達成穩定對所有電子元件進行差分信號測試的技術功效。To sum up, it can be seen that the difference between the present invention and the prior art lies in establishing scan chains for two electronic components on the target circuit board, and sequentially pushing the test data of the two scan chains to the two scan chains according to the data flow between the two scan chains. Two scan chains, so that after the electronic components generate the result data, the technical means of judging the test results according to the test data and the result data of the two scan chains, this technical means can solve the need to select different tests for different electronic components in the prior art Therefore, the technical effect of stably performing differential signal testing on all electronic components is achieved.

上述實施例中,在線路測試模組180依據第一電子元件與第二電子元件之間的資料流向,透過訊號輸入模組110依序推送第一掃描鏈與第二掃描鏈的測試資料至第一掃描鏈與第二掃描鏈(步驟350)後,線路測試模組180可以再次依序推送第一掃描鏈與第二掃描鏈的測試資料至第一掃描鏈與第二掃描鏈,之後,才由結果判斷模組190透過訊號獲取模組120取得包含第一電子元件與第二電子元件所輸出之訊號的結果資料(步驟360)。In the above embodiment, the circuit test module 180 sequentially pushes the test data of the first scan chain and the second scan chain to the first scan chain through the signal input module 110 according to the data flow direction between the first electronic element and the second electronic element. After one scan chain and the second scan chain (step 350 ), the circuit test module 180 can push the test data of the first scan chain and the second scan chain to the first scan chain and the second scan chain in sequence again, and then The result judging module 190 obtains result data including the signals output by the first electronic component and the second electronic component through the signal obtaining module 120 (step 360 ).

另外,上述實施例中,若不僅有對目標電路板之兩個電子元件間的線路進行測試,則在結果判斷模組190透過訊號獲取模組120取得包含第一電子元件與第二電子元件所輸出之訊號的結果資料(步驟360)後,掃描鏈初始化模組170可以透過訊號輸入模組110將測試指令、以及第一測試值推送到第一掃描鏈中,藉以讓第一掃描鏈回到初始的狀態,也可以透過訊號輸入模組110將測試指令、以及第二測試值推送到第二掃描鏈中,藉以讓第二掃描鏈回到初始的狀態(步驟380)。In addition, in the above-mentioned embodiment, if not only the circuit between the two electronic components of the target circuit board is tested, the result judgment module 190 obtains the circuit including the first electronic component and the second electronic component through the signal acquisition module 120. After outputting the result data of the signal (step 360 ), the scan chain initialization module 170 can push the test command and the first test value to the first scan chain through the signal input module 110 , so that the first scan chain can return to the first scan chain. In the initial state, the test command and the second test value can also be pushed to the second scan chain through the signal input module 110, so as to return the second scan chain to the initial state (step 380).

再者,本發明之以不同掃描鏈測試差分線路之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method for testing differential circuits with different scan chains of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or with different components dispersed in several mutuals. Lianzhi's computer system is implemented in a decentralized manner.

雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the embodiments disclosed in the present invention are as above, the above-mentioned contents are not intended to directly limit the scope of the patent protection of the present invention. Any person with ordinary knowledge in the technical field to which the present invention pertains, without departing from the spirit and scope disclosed by the present invention, makes slight modifications to the form and details of the implementation of the present invention, all belong to the patent protection of the present invention scope. The scope of patent protection of the present invention shall still be defined by the appended patent application scope.

110‧‧‧訊號輸入模組120‧‧‧訊號獲取模組150‧‧‧測試值定義模組160‧‧‧測試資料產生模組170‧‧‧掃描鏈初始化模組180‧‧‧線路測試模組190‧‧‧結果判斷模組步驟310‧‧‧定義第一掃描鏈及第二掃描鏈之測試值步驟320‧‧‧使用第一掃描鏈及第二掃描鏈之測試值初始化第一掃描鏈及第二掃描鏈步驟330‧‧‧產生第一掃描鏈及第二掃描鏈之測試資料步驟350‧‧‧依據第一掃描鏈與第二掃描鏈間之資料流向,依序推送第一掃描鏈及第二掃描鏈之測試資料至第一掃描鏈與第二掃描鏈步驟360‧‧‧取得結果資料步驟370‧‧‧依據第一掃描鏈及第二掃描鏈之測試資料及結果資料判斷測試結果步驟380‧‧‧依序推送測試指令及第一掃描鏈及第二掃描鏈之測試值至第一掃描鏈與第二掃描鏈110‧‧‧Signal input module 120‧‧‧Signal acquisition module 150‧‧‧Test value definition module 160‧‧‧Test data generation module 170‧‧‧Scan chain initialization module 180‧‧‧Line test module Set 190‧‧‧Result Judgment Module Step 310‧‧‧Define Test Values of the First Scan Chain and Second Scan Chain Step 320‧‧‧Use the test values of the first scan chain and the second scan chain to initialize the first scan chain and the second scan chain step 330‧‧‧generate the test data of the first scan chain and the second scan chain step 350‧‧‧ according to the data flow between the first scan chain and the second scan chain, push the first scan chain in sequence and the test data of the second scan chain to the first scan chain and the second scan chain Step 360‧‧‧obtain the result data Step 370‧‧‧ determine the test result according to the test data and the result data of the first scan chain and the second scan chain Step 380‧‧‧sequentially push the test command and the test values of the first scan chain and the second scan chain to the first scan chain and the second scan chain

第1圖為本發明所提之以不同掃描鏈測試差分線路之系統架構圖。 第2圖為本發明所提之以不同掃描鏈測試差分線路之方法流程圖。FIG. 1 is a schematic diagram of a system for testing differential circuits with different scan chains according to the present invention. FIG. 2 is a flowchart of a method for testing differential circuits with different scan chains according to the present invention.

步驟310‧‧‧定義第一掃描鏈及第二掃描鏈之測試值 Step 310‧‧‧Define the test values of the first scan chain and the second scan chain

步驟320‧‧‧使用第一掃描鏈及第二掃描鏈之測試值初始化第一掃描鏈及第二掃描鏈 Step 320‧‧‧Initialize the first scan chain and the second scan chain using the test values of the first scan chain and the second scan chain

步驟330‧‧‧產生第一掃描鏈及第二掃描鏈之測試資料 Step 330‧‧‧generate test data of the first scan chain and the second scan chain

步驟350‧‧‧依據第一掃描鏈與第二掃描鏈間之資料流向,依序推送第一掃描鏈及第二掃描鏈之測試資料至第一掃描鏈與第二掃描鏈 Step 350‧‧‧sequentially push the test data of the first scan chain and the second scan chain to the first scan chain and the second scan chain according to the data flow direction between the first scan chain and the second scan chain

步驟360‧‧‧取得結果資料 Step 360‧‧‧Get the result data

步驟370‧‧‧依據第一掃描鏈及第二掃描鏈之測試資料及結果資料判斷測試結果 Step 370‧‧‧Determine the test result according to the test data and result data of the first scan chain and the second scan chain

步驟380‧‧‧依序推送測試指令及第一掃描鏈及第二掃描鏈之測試值至第一掃描鏈與第二掃描鏈 Step 380‧‧‧sequentially push the test command and the test values of the first scan chain and the second scan chain to the first scan chain and the second scan chain

Claims (10)

一種以不同掃描鏈測試差分線路之方法,係用以測試一目標電路板,該目標電路板包含兩電子元件,該兩電子元件電性連接,該方法至少包含下列步驟: 定義一第一掃描鏈及一第二掃描鏈之測試值,該第一掃描鏈及該第二掃描鏈分別對應該兩電子元件中之不同電子元件; 透過一訊號輸入模組使用該第一掃描鏈及該第二掃描鏈之測試值初始化該第一掃描鏈及該第二掃描鏈; 分別產生與該第一掃描鏈及該第二掃描鏈對應之測試資料; 依據該第一掃描鏈與該第二掃描鏈間之資料流向,透過該訊號輸入模組依序推送該第一掃描鏈及該第二掃描鏈之測試資料至該第一掃描鏈與該第二掃描鏈,並透過一訊號獲取模組取得一結果資料;及 依據該第一掃描鏈及該第二掃描鏈之測試資料及該結果資料判斷測試結果。A method for testing differential circuits with different scan chains is used to test a target circuit board, the target circuit board includes two electronic components, and the two electronic components are electrically connected, and the method at least includes the following steps: defining a first scan chain and a test value of a second scan chain, the first scan chain and the second scan chain respectively correspond to different electronic components of the two electronic components; using the first scan chain and the second scan chain through a signal input module initializing the first scan chain and the second scan chain with the test value of the chain; generating test data corresponding to the first scan chain and the second scan chain respectively; according to the relationship between the first scan chain and the second scan chain Data flow direction, push the test data of the first scan chain and the second scan chain to the first scan chain and the second scan chain in sequence through the signal input module, and obtain a result data through a signal acquisition module ; and judge the test result according to the test data of the first scan chain and the second scan chain and the result data. 如申請專利範圍第1項所述之以不同掃描鏈測試差分線路之方法,其中定義該第一掃描鏈之測試值之步驟為透過該訊號輸入模組傳送一測試指令至一樣本電路板之一樣本元件後,透過該訊號獲取模組接收該樣本元件所輸出之一樣本資料,並定義該樣本資料為該第一掃描鏈之測試值。The method for testing differential circuits with different scan chains as described in claim 1, wherein the step of defining the test value of the first scan chain is the same as sending a test command to a sample circuit board through the signal input module After the device, a sample data output by the sample device is received through the signal acquisition module, and the sample data is defined as the test value of the first scan chain. 如申請專利範圍第1項所述之以不同掃描鏈測試差分線路之方法,其中透過該訊號輸入模組使用該第一掃描鏈及該第二掃描鏈之測試值初始化該第一掃描鏈及該第二掃描鏈之步驟為透過該訊號輸入模組依序傳送一次一採樣指令、兩次與該第一掃描鏈/該第二掃描鏈對應之測試值、一測試指令、及一次與該第一掃描鏈/該第二掃描鏈對應之測試值至與該第一掃描鏈/該第二掃描鏈對應之電子元件後,透過該訊號獲取模組接收與該第一掃描鏈/該第二掃描鏈對應之電子元件所輸出之一採樣資料,並將該採樣資料作為該測試值後,透過該訊號輸入模組依序將與該第一掃描鏈/該第二掃描鏈對應之測試值及一脈衝指令傳送至與該第一掃描鏈/該第二掃描鏈對應之電子元件,及重複將該訊號輸入模組接收自與該第一掃描鏈/該第二掃描鏈對應之電子元件之該採樣資料作為該測試值,並透過該訊號輸入模組將該測試值傳送至與該第一掃描鏈/該第二掃描鏈對應之電子元件。The method for testing differential circuits with different scan chains as described in claim 1, wherein the first scan chain and the second scan chain are initialized through the signal input module using the test values of the first scan chain and the second scan chain The step of the second scan chain is to sequentially transmit a sampling command once, a test value corresponding to the first scan chain/the second scan chain twice, a test command, and a time corresponding to the first scan chain through the signal input module. After the test value corresponding to the scan chain/the second scan chain is sent to the electronic component corresponding to the first scan chain/the second scan chain, the signal acquisition module receives the corresponding test value from the first scan chain/the second scan chain A sampled data output by the corresponding electronic component, and after the sampled data is used as the test value, the test value and a pulse corresponding to the first scan chain/the second scan chain are sequentially input through the signal input module The command is sent to the electronic element corresponding to the first scan chain/the second scan chain, and the sampling data received by the signal input module from the electronic element corresponding to the first scan chain/the second scan chain is repeated As the test value, the test value is transmitted to the electronic components corresponding to the first scan chain/the second scan chain through the signal input module. 如申請專利範圍第1項所述之以不同掃描鏈測試差分線路之方法,其中依據該第一掃描鏈與該第二掃描鏈間之資料流向透過該訊號輸入模組依序推送該第一掃描鏈及該第二掃描鏈之測試資料至該第一掃描鏈與該第二掃描鏈之步驟更包含透過該訊號輸入模組再次推送該第一掃描鏈及該第二掃描鏈之測試資料至該第一掃描鏈及該第二掃描鏈之步驟。The method for testing differential circuits with different scan chains as described in claim 1, wherein the first scan is sequentially pushed through the signal input module according to the data flow between the first scan chain and the second scan chain The step of sending the test data of the first scan chain and the second scan chain to the first scan chain and the second scan chain further includes pushing the test data of the first scan chain and the second scan chain to the second scan chain again through the signal input module. Steps of the first scan chain and the second scan chain. 如申請專利範圍第1項所述之以不同掃描鏈測試差分線路之方法,其中該方法於透過該訊號獲取模組取得該結果資料之步驟後,更包含透過該訊號輸入模組分別推送一測試指令、該第一掃描鏈及該第二掃描鏈之測試值至該第一掃描鏈及該第二掃描鏈之步驟。The method for testing differential circuits with different scan chains as described in claim 1, wherein after the step of obtaining the result data through the signal acquisition module, the method further includes respectively pushing a test through the signal input module Steps of commanding, testing values of the first scan chain and the second scan chain to the first scan chain and the second scan chain. 一種以不同掃描鏈測試差分線路之系統,係用以測試一目標電路板,該目標電路板包含兩電子元件,該兩電子元件電性連接,該系統至少包含: 一訊號輸入模組; 一測試值定義模組,用以定義一第一掃描鏈及一第二掃描鏈之測試值,該第一掃描鏈及該第二掃描鏈分別對應該兩電子元件中之不同電子元件; 一測試資料產生模組,用以產生與該第一掃描鏈及該第二掃描鏈對應之測試資料; 一掃描鏈初始化模組,用以透過該訊號輸入模組使用該第一掃描鏈及該第二掃描鏈之測試值初始化該第一掃描鏈及該第二掃描鏈; 一線路測試模組,用以依據該第一掃描鏈與該第二掃描鏈間之資料流向,透過該訊號輸入模組依序推送該第一掃描鏈及該第二掃描鏈之測試資料至該第一掃描鏈與該第二掃描鏈; 一訊號獲取模組,用以取得一結果資料;及 一結果判斷模組,用以依據該第一掃描鏈及該第二掃描鏈之測試資料及該結果資料判斷測試結果。A system for testing differential circuits with different scan chains is used to test a target circuit board, the target circuit board includes two electronic components, and the two electronic components are electrically connected, the system at least includes: a signal input module; a test a value definition module for defining test values of a first scan chain and a second scan chain, the first scan chain and the second scan chain are respectively corresponding to different electronic components in the two electronic components; a test data generation a module for generating test data corresponding to the first scan chain and the second scan chain; a scan chain initialization module for using the first scan chain and the second scan chain through the signal input module The test value initializes the first scan chain and the second scan chain; a line test module is used for sequentially pushing through the signal input module according to the data flow between the first scan chain and the second scan chain The test data of the first scan chain and the second scan chain are sent to the first scan chain and the second scan chain; a signal acquisition module is used to obtain a result data; and a result judgment module is used according to The test data of the first scan chain and the second scan chain and the result data determine the test result. 如申請專利範圍第6項所述之以不同掃描鏈測試差分線路之系統,其中該測試值定義模組是將該訊號獲取模組自一樣本電路板之一樣本元件所取得之一樣本資料定義為該第一掃描鏈之測試值,其中,該樣本資料係該樣本元件依據該訊號輸入模組傳送之一測試指令所產生。The system for testing differential circuits with different scan chains as described in claim 6, wherein the test value definition module is a sample data definition obtained by the signal acquisition module from a sample component of a sample circuit board is the test value of the first scan chain, wherein the sample data is generated by the sample element according to a test command sent by the signal input module. 如申請專利範圍第6項所述之以不同掃描鏈測試差分線路之系統,其中該掃描鏈初始化模組是透過該訊號輸入模組依序傳送一次一採樣指令、兩次與該第一掃描鏈/該第二掃描鏈對應之測試值、一測試指令、及一次與該第一掃描鏈/該第二掃描鏈對應之測試值至與該第一掃描鏈/該第二掃描鏈對應之電子元件,並透過該訊號獲取模組由與該第一掃描鏈/該第二掃描鏈對應之電子元件取得一採樣資料後,將該採樣資料作為該測試值,並透過該訊號輸入模組依序將與該第一掃描鏈/該第二掃描鏈對應之測試值及一脈衝指令傳送至與該第一掃描鏈/該第二掃描鏈對應之電子元件,及重複將透過該訊號獲取模組由與該第一掃描鏈/該第二掃描鏈對應之電子元件所取得之該採樣資料作為該測試值,並透過該訊號輸入模組將變更後之該測試值傳送至與該第一掃描鏈/該第二掃描鏈對應之電子元件。The system for testing differential circuits with different scan chains as described in claim 6, wherein the scan chain initialization module sequentially transmits a sampling command once, twice with the first scan chain through the signal input module / A test value corresponding to the second scan chain, a test command, and a test value corresponding to the first scan chain/the second scan chain to the electronic components corresponding to the first scan chain/the second scan chain , and obtain a sampled data from the electronic components corresponding to the first scan chain/the second scan chain through the signal acquisition module, use the sampled data as the test value, and use the signal input module to sequentially The test value and a pulse command corresponding to the first scan chain/the second scan chain are transmitted to the electronic components corresponding to the first scan chain/the second scan chain, and the signal acquisition module is repeatedly sent from and The sampling data obtained by the electronic components corresponding to the first scan chain/the second scan chain is used as the test value, and the changed test value is transmitted to the first scan chain/the test value through the signal input module Electronic components corresponding to the second scan chain. 如申請專利範圍第6項所述之以不同掃描鏈測試差分線路之系統,其中該線路測試模組更用以透過該訊號輸入模組再次推送該第一掃描鏈及該第二掃描鏈之測試資料至該第一掃描鏈及該第二掃描鏈。The system for testing differential circuits with different scan chains as described in claim 6, wherein the circuit test module is further used to push the test of the first scan chain and the second scan chain again through the signal input module data to the first scan chain and the second scan chain. 如申請專利範圍第6項所述之以不同掃描鏈測試差分線路之系統,其中該掃描鏈初始化模組更用以透過該訊號輸入模組推送一測試指令、該第一掃描鏈/該第二掃描鏈之測試值至該第一掃描鏈/該第二掃描鏈。The system for testing differential circuits with different scan chains as described in claim 6, wherein the scan chain initialization module is further used to push a test command, the first scan chain/the second scan chain through the signal input module The test value of the scan chain is to the first scan chain/the second scan chain.
TW106144142A 2017-12-15 2017-12-15 System for using different chains to test differential signal and method thereof TWI760400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106144142A TWI760400B (en) 2017-12-15 2017-12-15 System for using different chains to test differential signal and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106144142A TWI760400B (en) 2017-12-15 2017-12-15 System for using different chains to test differential signal and method thereof

Publications (2)

Publication Number Publication Date
TW201928668A TW201928668A (en) 2019-07-16
TWI760400B true TWI760400B (en) 2022-04-11

Family

ID=68049119

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106144142A TWI760400B (en) 2017-12-15 2017-12-15 System for using different chains to test differential signal and method thereof

Country Status (1)

Country Link
TW (1) TWI760400B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627314A (en) * 2007-03-08 2010-01-13 晶像股份有限公司 Circuitry to prevent peak power problems during scan shift
CN107340467A (en) * 2017-07-04 2017-11-10 北京兆芯电子科技有限公司 Test system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627314A (en) * 2007-03-08 2010-01-13 晶像股份有限公司 Circuitry to prevent peak power problems during scan shift
CN107340467A (en) * 2017-07-04 2017-11-10 北京兆芯电子科技有限公司 Test system

Also Published As

Publication number Publication date
TW201928668A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
US6505317B1 (en) System and method for testing signal interconnections using built-in self test
US6977960B2 (en) Self test circuit for evaluating a high-speed serial interface
US7049839B1 (en) Method and related apparatus for chip testing
US7484188B2 (en) On-chip test circuit and method for testing of system-on-chip (SOC) integrated circuits
US20180164368A1 (en) Testing Circuit Board With Self-Detection Function And Self-Detection Method Thereof
KR101848741B1 (en) Input/output delay testing for devices utilizing on-chip delay generation
JP4728238B2 (en) Method and apparatus for performing interconnect testing
KR20170007585A (en) Auxiliary test device, test board having the same, and test method thereof
US9043662B2 (en) Double data rate memory physical interface high speed testing using self checking loopback
US7650540B2 (en) Detecting and differentiating SATA loopback modes
US7610513B2 (en) Debug device for detecting bus transmission and method thereof
US6880118B2 (en) System and method for testing operational transmissions of an integrated circuit
US20200132769A1 (en) SAS Connector Conduction Detecting System And Method Thereof
TWI760400B (en) System for using different chains to test differential signal and method thereof
CN109901048B (en) System and method for testing differential line by different scan chains
JP2007199055A (en) Diagnostic mode switching device and method therefor
US20230305058A1 (en) Embedded PHY (EPHY) IP Core for FPGA
CN109508271B (en) Device and method for detecting dynamic single event upset of clock resource of FPGA
TWI498577B (en) Differential signal testing system and method thereof
KR101452959B1 (en) Mount-type test equipment and method thereof
TW202032147A (en) Test system
US20230161729A1 (en) Detection System for PCIe CEM Connection Interface of Circuit Board and Method Thereof
CN110907857B (en) Automatic connector detection method based on FPGA
US7243318B1 (en) Integrated test processor (ITP) for a system on chip (SOC) that includes a network on chip (NOC)
CN115328708A (en) Parameter testing method and device for serial peripheral interface timing sequence