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 PDFInfo
- 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
Links
Images
Abstract
Description
一種電路板測試系統及其方法,特別係指一種以不同掃描鏈測試差分線路之系統及其方法。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
訊號輸入模組110負責將訊號推送至電路板上的電子元件中。上述之電路板可以是待測試的目標電路板,也可以是已確定可正常工作的樣本電路板。其中,樣本電路板與目標電路板的型號、規格、配置完全相同,也就是樣本電路板與目標電路板為相同的電路板。The
訊號輸入模組110可以包含一個或多個輸入元件,輸入元件可以是一個一維或多維的位移暫存器(shift register),但本發明並不以此為限。其中,輸入元件可以透過電子元件的一個特定腳位(pin)或特定連接點與目標電路板上的電子元件連接。The
訊號輸入模組110所包含的每一個輸入元件可以與同一張目標電路板上的一個或多個電子元件連接,當輸入元件只與一個電子元件連接時,輸入元件可以推送一組訊號至相連接的電子元件中,而當輸入元件與多個電子元件連接時,輸入元件可以由相連接的電子元件中選擇一個電子元件,並將一組訊號推送至被選擇的電子元件中。Each input element included in the
訊號獲取模組120負責取得電路板上之電子元件所產生的訊號。上述之電路板可以是待測試的目標電路板,也可以是已確定可正常工作的樣本電路板。但訊號獲取模組120與訊號輸入模組110需要同時與同一張電路板上的電子元件連接。The
與訊號輸入模組110相似的,訊號獲取模組120可以包含一個或多個獲取元件,獲取元件可以是一個一維或多維的位移暫存器,但本發明並不以此為限。其中,獲取元件可以透過目標電路板上之電子元件的一個特定腳位或特定接點與目標電路板上的電子元件連接。Similar to the
訊號獲取模組120所包含的每一個獲取元件可以與同一張目標電路板上的一個或多個電子元件連接,當獲取元件只與一個電子元件連接時,獲取元件可以接收相連接之電子元件所產生的一組訊號,而當獲取元件與多個電子元件連接時,獲取元件可以由相連接的電子元件中選擇一個電子元件,並接收被選擇之電子元件所產生的一組訊號。Each acquisition component included in the
特別要說明的是,在本發明中,目標電路板上的一個電子元件、與該電子元件連接之訊號輸入模組110中的一個輸入元件、以及與該電子元件連接之訊號獲取模組120中的一個獲取元件可以形成與該電子元件對應的一條掃描鏈,也就是說,一條掃描鏈對應目標電路板上的一個電子元件,且該條掃描鏈包含相對應之電子元件、與相對應之電子元件連接的輸入元件、以及與相對應之電子元件連接的獲取元件。由於在本發明中,目標電路板上包含兩個或兩個以上的電子元件,因此,在本發明中,至少包含兩條掃描鏈,分別稱為「第一掃描鏈」與「第二掃描鏈」。另外,與第一掃描鏈與第二掃描鏈對應的電子元件在本發明中意被稱為「第一電子元件」與「第二電子元件」。It should be noted that, in the present invention, an electronic component on the target circuit board, an input component in the
測試值定義模組150負責定義掃描鏈(第一掃描鏈與第二掃描鏈)的測試值。在本發明中,亦使用「第一測試值」與「第二測試值」分別表示第一掃描鏈之測試值與第二掃描鏈之測試值。The test
測試值定義模組150可以透過訊號輸入模組110將測試指令傳送到樣本電路板上的樣本元件,並可以透過訊號獲取模組120由樣本電路板上的樣本元件取得樣本資料,以及將所取得之樣本資料定義為掃描鏈的測試值。測試值定義模組150也可以將預設值定義為掃描鏈的測試值。其中,樣本元件與第二電子元件的型號與規格相同,且樣本元件在樣本電路板上的位置及功能與第二電子元件在目標電路板上的位置及功能相同。The test
測試資料產生模組160負責產生與掃描鏈(第一掃描鏈與第二掃描鏈)對應的測試資料。例如,測試資料產生模組160可以依據目標電路板的識別資料、第一電子元件的識別資料、及第二電子元件的識別資料讀取相對應的測試資料,但測試資料產生模組160產生測試資料的方式並不以上述為限。The test
掃描鏈初始化模組170負責透過訊號輸入模組110使用第一測試值初始化第一掃描鏈,也負責透過訊號輸入模組110使用第二測試值初始化第二掃描鏈。The scan
更詳細的說,掃描鏈初始化模組170可以先透過訊號輸入模組110依序將採樣(SAMPLE)指令、測試值定義模組150所定義之第一測試值、第一測試值(再次發送)、測試(EXTEST)指令、以及第一測試值(第三次發送)推送給第一電子元件,並透過訊號獲取模組120由第一電子元件取得採樣資料,再將所取得之採樣資料作為新的第一測試值,並透過訊號輸入模組110依序將新的第一測試值以及脈衝(EXTEST_PULSE)指令推送至第一電子元件,接著,掃描鏈初始化模組170可以重複將透過訊號獲取模組120所取得的採樣資料作為新的第一測試值,並透過訊號輸入模組110將變更後之新的第一測試值傳送至第一電子元件,以及透過訊號獲取模組120由第一電子元件取得採樣資料數次,藉以初始化第一掃描鏈。同樣的,掃描鏈初始化模組170也可以使用上述初始化第一掃描鏈的過程,透過訊號輸入模組110依序將採樣指令、第二測試值、第二測試值、測試指令、第二測試值、採樣資料(新的第二測試值)以及脈衝指令推送至第二電子元件,並重複推送做為新的第二測試值的採樣資料數次,藉以初始化第二掃描鏈。To be more specific, the scan
掃描鏈初始化模組170也可以在線路測試模組180完成測試後,透過訊號輸入模組110依序將測試(EXTEST)指令、以及最後推送到第一掃描鏈之新的第一測試值推送至第一掃描鏈,使得第一掃描鏈恢復到初始化的狀態。同樣的,掃描鏈初始化模組170也可以在線路測試模組180完成測試後,透過訊號輸入模組110依序將測試指令、以及最後推送到第二掃描鏈之新的第二測試值推送至第二掃描鏈,使得第二掃描鏈恢復到初始化的狀態。The scan
線路測試模組180負責依據第一掃描鏈所對應之電子元件與第二掃描鏈所對應之電子元件間的資料流向,透過訊號輸入模組110依序將測試資料產生模組160所產生之第一掃描鏈及第二掃描鏈的測試資料推送至第一掃描鏈與第二掃描鏈。舉例來說,若要測試由第一電子元件送往第二電子元件的資料或訊號是否正確,則線路測試模組180可以先透過訊號輸入模組110將第一掃描鏈的測試資料推送至第一掃描鏈,再將第二掃描鏈的測試資料推送到第二掃描鏈,相反的,若要測試由第二電子元件送往第一電子元件的資料或訊號是否正確,則線路測試模組180可以先透過訊號輸入模組110將第二掃描鏈的測試資料推送至第二掃描鏈,再將第一掃描鏈的測試資料推送到第一掃描鏈。The
值得一提的是,線路測試模組180透過訊號輸入模組110推送到掃描鏈(第一掃描鏈與第二掃描鏈)的測試資料,僅改變待測試之腳位的訊號,非被測試之腳位的訊號並不會被改變,藉以確保線路測試模組180推送到掃描鏈的測試資料符合主機板實際的工作邏輯,避免電子元件產生非預期的資料或訊號導致主機板斷電等非預期的狀況。It is worth mentioning that the
線路測試模組180也負責透過訊號獲取模組120取得結果資料。線路測試模組180所取得的結果資料包含第一電子元件的輸出結果以及第二電子元件的輸出結果。The
在部分的實施例中,可能會發生較晚取得線路測試模組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
結果判斷模組190負責依據線路測試模組180透過訊號輸入模組110所推送之第一掃描鏈的測試資料與第二掃描鏈的測試資料、以及線路測試模組180透過訊號獲取模組120所取得之結果資料判斷測試結果。The
接著以一個實施例來解說本發明的運作系統與方法,並請參照「第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
在測試值定義模組150定義第一掃描鏈與第二掃描鏈的測試值(步驟310)後,掃描鏈初始化模組170可以使用測試值定義模組150所定義之第一測試值初始化第一掃描鏈,並可以使用測試值定義模組150所定義之第二測試值初始化第二掃描鏈(步驟320)。在本實施例中,掃描鏈初始化模組170可以分別對第一掃描鏈與第二掃描鏈進行下列步驟:先透過訊號輸入模組110將採樣指令、掃描鏈的測試值、掃描鏈的測試值、測試指令、掃描鏈的測試值依序推送到與掃描鏈對應的電子元件,並透過訊號獲取模組120取得與掃描鏈對應之電子元件所輸出的採樣資料,之後,可以將所取得的採樣資料作為新的測試值,並再次透過訊號輸入模組110將新的測試值以及脈衝指令依序推送到與掃描鏈對應的電子元件,接著,可以透過訊號獲取模組120取得與掃描鏈對應之電子元件所輸出的採樣資料,並將測試值再次以最後取得的採樣資料取代,以及透過訊號輸入模組110將新的測試值推送到與掃描鏈對應的電子元件,最後,可以重複上述取得與掃描鏈對應之電子元件所輸出的採樣資料,並將所取得之採樣資料作為新的測試值推送到與掃描鏈對應之電子元件的步驟一定次數,藉以初始化第一掃描鏈與第二掃描鏈。After the test
同樣在測試值定義模組150定義第一掃描鏈與第二掃描鏈的測試值(步驟310)後,測試資料產生模組160可以分別產生第一掃描鏈及第二掃描鏈的測試資料(步驟330)。Also, after the test
在實務上,掃描鏈初始化模組170與測試資料產生模組160並沒有執行先後的次序關係,也就是說,掃描鏈初始化模組170也可以在測試資料產生模組160先產生第一掃描鏈及第二掃描鏈的測試資料(步驟330)後,才使用第一測試值與第二測試值分別初始化第一掃描鏈與第二掃描鏈(步驟320)。In practice, the scan
在掃描鏈初始化模組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
在結果判斷模組190透過訊號獲取模組120取得結果資料(步驟360)後,可以依據所取得的結果資料以及測試資料產生模組160產生第一掃描鏈與第二掃描鏈的測試資料判斷測試結果(步驟370)。After the
綜上所述,可知本發明與先前技術之間的差異在於具有對目標電路板上的兩電子元件建立掃描鏈,並依據兩掃描鏈之間的資料流向依序推送兩掃描鏈的測試資料給兩掃描鏈,使得電子元件產生結果資料後,依據兩掃描鏈之測試資料及結果資料判斷測試結果之技術手段,藉由此一技術手段可以來解決先前技術所存在需要針對不同電子元件選擇不同測試方式的問題,進而達成穩定對所有電子元件進行差分信號測試的技術功效。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
另外,上述實施例中,若不僅有對目標電路板之兩個電子元件間的線路進行測試,則在結果判斷模組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
再者,本發明之以不同掃描鏈測試差分線路之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。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‧‧‧
第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)
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)
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 |
-
2017
- 2017-12-15 TW TW106144142A patent/TWI760400B/en active
Patent Citations (2)
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 |