TWI606246B - System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof - Google Patents

System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof Download PDF

Info

Publication number
TWI606246B
TWI606246B TW105141289A TW105141289A TWI606246B TW I606246 B TWI606246 B TW I606246B TW 105141289 A TW105141289 A TW 105141289A TW 105141289 A TW105141289 A TW 105141289A TW I606246 B TWI606246 B TW I606246B
Authority
TW
Taiwan
Prior art keywords
pin
data
boundary scan
wafer
chip
Prior art date
Application number
TW105141289A
Other languages
Chinese (zh)
Other versions
TW201821819A (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 TW105141289A priority Critical patent/TWI606246B/en
Application granted granted Critical
Publication of TWI606246B publication Critical patent/TWI606246B/en
Publication of TW201821819A publication Critical patent/TW201821819A/en

Links

Description

基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統及其方法System and method for testing non-boundary scan wafer and its peripheral lines based on boundary scan

[0001 ] 一種測試系統及其方法,尤其是指一種基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統及其方法。[0001] A test system and method thereof, and more particularly to a system and method for testing a non-boundary scan wafer and its peripheral lines based on boundary scan.

[0002 ] 現有對於邊界掃描晶片彼此之間的測試是透過邊界掃描技術來進行,然而當邊界掃描晶片之間的連線中有非邊界掃描晶片時,邊界掃描晶片與非邊界掃描晶片彼此之間的連線則無法透過邊界掃描技術來進行。 [0003 ] 綜上所述,可知先前技術中長期以來一直存在現有技術無法透過邊界掃描對非邊界掃描晶片進行測試的問題,因此有必要提出改進的技術手段,來解決此一問題。[0002] Existing testing of boundary scan wafers with each other is performed by boundary scan technology, whereas when there are non-boundary scan wafers in the wiring between boundary scan wafers, boundary scan wafers and non-boundary scan wafers are mutually The connection cannot be made through boundary scan technology. In summary, it has been known in the prior art that the prior art has not been able to test non-boundary scanning wafers by boundary scanning, and therefore it is necessary to propose an improved technical means to solve this problem.

[0004 ] 有鑒於先前技術存在現有技術無法透過邊界掃描對非邊界掃描晶片進行測試的問題,本發明遂揭露一種基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統及其方法,其中: [0005 ] 本發明所揭露的基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,其包含:至少一非邊界掃描(Boundary Scan)晶片以及至少一邊界掃描晶片。 [0006 ] 其中,非邊界掃描晶片包含至少一晶片驅動腳位、至少一第一資料輸出腳位以及至少一第一資料輸入腳位。 [0007 ] 邊界掃描晶片更包含至少一控制腳位、至少一第二資料輸出腳位以及至少一第二資料輸入腳位;控制腳位與晶片驅動腳位電性連接,並透過邊界掃描技術設置晶片驅動腳位;第二資料輸出腳位與第一資料輸入腳位電性連接,透過邊界掃描技術設置第一資料輸入腳位的輸入資料;第二資料輸入腳位與第一資料輸出腳位電性連接,用以讀取第一資料輸出腳位的輸出資料。 [0008 ] 其中,控制腳位透過邊界掃描技術設置晶片驅動腳位、第二資料輸出腳位透過邊界掃描技術設置第一資料輸入腳位的輸入資料以及第二資料輸入腳位讀取第一資料輸出腳位的輸出資料以模擬非邊界掃描晶片的工作時序,邊界掃描晶片判斷第一資料輸出腳位的輸出資料是否與預設資料相符: [0009 ] 當第一資料輸出腳位的輸出資料與預設資料相符時,則非邊界掃描晶片通過測試為正常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為正常; [0010 ] 當第一資料輸出腳位的輸出資料與預設資料不相符時,則非邊界掃描晶片未通過測試即為非正常工作狀態或是非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為異常。 [0011 ] 本發明所揭露的基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法,其包含下列步驟: [0012 ] 首先,提供至少一非邊界掃描(Boundary Scan)晶片,非邊界掃描晶片包含至少一晶片驅動腳位、至少一第一資料輸出腳位以及至少一第一資料輸入腳位;接著,提供至少一邊界掃描晶片,包含至少一控制腳位、至少一第二資料輸出腳位以及至少一第二資料輸入腳位;接著,控制腳位與晶片驅動腳位電性連接,並透過邊界掃描技術設置晶片驅動腳位;接著,第二資料輸出腳位與第一資料輸入腳位電性連接,透過邊界掃描技術提設置第一資料輸入腳位的輸入資料;接著,第二資料輸入腳位與第一資料輸出腳位電性連接,用以讀取第一資料輸出腳位的輸出資料;接著,邊界掃描晶片判斷第一資料輸出腳位的輸出資料是否與預設資料相符;接著,當第一資料輸出腳位的輸出資料與預設資料相符時,則非邊界掃描晶片通過測試為正常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為正常;最後,當第一資料輸出腳位的輸出資料與預設資料不相符時,則非邊界掃描晶片未通過測試即為非正常工作狀態或是非邊界掃描晶片與邊界掃描晶片腳位之間連線為異常;其中,控制腳位透過邊界掃描技術設置晶片驅動腳位、第二資料輸出腳位透過邊界掃描技術設置第一資料輸入腳位的輸入資料以及第二資料輸入腳位讀取第一資料輸出腳位的輸出資料以模擬所述非邊界掃描晶片的工作時序。 [0013 ] 本發明所揭露的系統及方法如上,與先前技術之間的差異在於透過邊界掃描晶片模擬非邊界掃描晶片的工作時序以驅動非邊界掃描晶片,邊界掃描晶片判斷非邊界掃描晶片的輸出資料與預設資料相符時,非邊界掃描晶片通過測試為正常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為正常;邊界掃描晶片判斷非邊界掃描晶片的輸出資料與預設資料不相符時,非邊界掃描晶片通過測試為異常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為異常。 [0014 ] 透過上述的技術手段,本發明可以達成基於邊界掃描測試非邊界掃描晶片及其周邊線路的技術功效。[0004] In view of the prior art, there is a problem that the prior art cannot test a non-border scan wafer by boundary scan, and the present invention discloses a system and method for testing a non-border scan wafer and its peripheral lines based on boundary scan, wherein: 0005] A system for testing a non-border scan wafer and its peripheral lines based on boundary scan, comprising: at least one Boundary Scan wafer and at least one boundary scan wafer. [0006] The non-border scan chip includes at least one chip driving pin, at least one first data output pin, and at least one first data input pin. [0007] The boundary scan chip further includes at least one control pin, at least one second data output pin, and at least one second data input pin; the control pin is electrically connected to the chip driving pin, and is configured by a boundary scan technology. The chip driving pin position; the second data output pin is electrically connected to the first data input pin, and the input data of the first data input pin is set by the boundary scan technology; the second data input pin and the first data output pin Electrical connection for reading the output data of the first data output pin. [0008] wherein, the control pin sets the chip driving pin through the boundary scan technology, the second data output pin sets the input data of the first data input pin through the boundary scan technology, and the second data input pin reads the first data. The output data of the output pin is used to simulate the working timing of the non-border scan chip, and the boundary scan chip determines whether the output data of the first data output pin matches the preset data: [0009] When the output data of the first data output pin is When the preset data matches, the non-border scan wafer passes the test to be in a normal working state and the connection state between the non-border scan wafer and the boundary scan wafer pin is normal; [0010] when the output data of the first data output pin is When the preset data does not match, the non-border scan wafer fails to pass the test, that is, the abnormal working state or the connection state between the non-border scan wafer and the boundary scan wafer pin is abnormal. [0011] The method for testing a non-border scan wafer and its peripheral lines based on boundary scan according to the present invention comprises the following steps: [0012] First, at least one Boundary Scan wafer is provided, and the non-border scan wafer includes At least one chip driving pin, at least one first data output pin, and at least one first data input pin; then, providing at least one boundary scan chip, including at least one control pin, at least one second data output pin, and At least one second data input pin; then, the control pin is electrically connected to the chip drive pin, and the chip drive pin is set by the boundary scan technology; then, the second data output pin and the first data input pin are electrically Sexual connection, the boundary data scanning technology is used to set the input data of the first data input pin; then, the second data input pin is electrically connected with the first data output pin to read the output of the first data output pin Data; then, the boundary scan chip determines whether the output data of the first data output pin is associated with the preset data Then, when the output data of the first data output pin matches the preset data, the non-border scan wafer passes the test to be in a normal working state and the connection state between the non-boundary scan chip and the boundary scan chip pin is normal; Finally, when the output data of the first data output pin does not match the preset data, the non-border scan wafer fails to pass the test, that is, the abnormal working state or the connection between the non-border scan chip and the boundary scan chip pin is An abnormality; wherein the control pin sets the chip driving pin through the boundary scan technology, the second data output pin sets the input data of the first data input pin through the boundary scan technology, and the second data input pin reads the first data output. The output data of the pin is used to simulate the operational timing of the non-border scan wafer. [0013] The system and method disclosed by the present invention are as above, and the difference from the prior art is that the boundary timing of the non-border scan wafer is simulated by the boundary scan wafer to drive the non-border scan wafer, and the boundary scan wafer determines the output of the non-border scan wafer. When the data is consistent with the preset data, the non-border scan wafer passes the test to be in a normal working state and the connection state between the non-border scan wafer and the boundary scan wafer pin is normal; the boundary scan wafer judges the output data and the pre-border scan wafer output data. When the data is inconsistent, the non-border scan wafer passes the test to be in an abnormal working state and the connection state between the non-border scan wafer and the boundary scan wafer pin is abnormal. [0014] Through the above technical means, the present invention can achieve the technical effect of testing the non-boundary scan wafer and its peripheral lines based on boundary scan.

[0016 ] 以下將配合圖式及實施例來詳細說明本發明的實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。 [0017 ] 以下首先要說明本發明所揭露的基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,並請參考「第1圖」所示,「第1圖」繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統方塊圖。 [0018 ] 本發明所揭露的基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,其包含:至少一非邊界掃描晶片10以及至少一邊界掃描晶片20。 [0019 ] 非邊界掃描(Boundary Scan)晶片10即為不符合聯合測試工作群組(Joint Test Action Group,JTAG)規範的晶片,亦即不支援邊界掃描技術的晶片,例如:移位暫存器(shift register)、邏輯閘…等,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。 [0020 ] 非邊界掃描晶片10包含至少一晶片驅動腳位11、至少一第一資料輸出腳位12以及至少一第一資料輸入腳位13,非邊界掃描晶片10的晶片驅動腳位11例如是:時脈(clock,CLK)腳位、移位(SHFTLD)腳位…等,在此僅為舉例說明之,並不以此侷限本發明的應用範疇,對應不同的晶片,驅動晶片的晶片驅動腳位11可能相同、可能不相同、或是可能部分相同而部分不相同。 [0021 ] 非邊界掃描晶片10的第一資料輸出腳位12即為一般資料輸入腳位以及第一資料輸入腳位13即為一般資料輸出腳位。 [0022 ] 邊界掃描晶片20即為符合聯合測試工作群組規範的晶片,亦即支援邊界掃描技術的晶片,邊界掃描晶片20的包含至少一控制腳位21、至少一第二資料輸出腳位22以及至少一第二資料輸入腳位23,邊界掃描晶片20的控制腳位21、第二資料輸出腳位22以及第二資料輸入腳位23皆可使用邊界掃描技術。 [0023 ] 邊界掃描晶片20的控制腳位21與非邊界掃描晶片10的晶片驅動腳位11電性連接,邊界掃描晶片20的控制腳位21透過邊界掃描技術設置非邊界掃描晶片10的晶片驅動腳位11。 [0024 ] 邊界掃描晶片20的第二資料輸出腳位22與非邊界掃描晶片10的第一資料輸入腳位13電性連接,邊界掃描晶片20的第二資料輸出腳位22透過邊界掃描技術設置非邊界掃描晶片10的第一資料輸入腳位13的輸入資料。 [0025 ] 邊界掃描晶片20的第二資料輸入腳位23與非邊界掃描晶片10的第一資料輸出腳位12電性連接,邊界掃描晶片20的第二資料輸入腳位23用以讀取非邊界掃描晶片10的第一資料輸出腳位12的輸出資料。 [0026 ] 上述邊界掃描晶片20的控制腳位21透過邊界掃描技術設置非邊界掃描晶片10的晶片驅動腳位11、邊界掃描晶片20的第二資料輸出腳位22透過邊界掃描技術設置非邊界掃描晶片10的第一資料輸入腳位13的輸入資料以及邊界掃描晶片20的第二資料輸入腳位23讀取非邊界掃描晶片10的第一資料輸出腳位12的輸出資料以模擬非邊界掃描晶片10的工作時序。 [0027 ] 接著,邊界掃描晶片20會進一步判斷非邊界掃描晶片10的第一資料輸出腳位12的輸出資料是否與預設資料相符。 [0028 ] 當邊界掃描晶片20判斷出非邊界掃描晶片10的第一資料輸出腳位12的輸出資料與預設資料相符時,則非邊界掃描晶片10通過測試為正常工作狀態且非邊界掃描晶片10與邊界掃描晶片20腳位之間連線狀態為正常。 [0029 ] 當邊界掃描晶片20判斷出非邊界掃描晶片10的第一資料輸出腳位12的輸出資料與預設資料不相符時,則非邊界掃描晶片10未通過測試即為非正常工作狀態或是非邊界掃描晶片10與邊界掃描晶片20腳位之間連線狀態為異常。 [0030 ] 值得注意的是,非邊界掃描晶片10以及邊界掃描晶片20可以設置於相同的電路板上,非邊界掃描晶片10以及邊界掃描晶片20可以設置於不相同的電路板上,或是非邊界掃描晶片10以及邊界掃描晶片20部分可以設置於相同的電路板上,非邊界掃描晶片10以及邊界掃描晶片20部分可以設置於不相同的電路板上,在此僅為舉例說明之,並不以此侷限本發明的應用範疇。 [0031 ] 接著,以下將以第一個實施例來說明本發明第一實施態樣的運作系統與方法,並請同時參考「第1圖」以及「第2圖」所示,「第2圖」繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法流程圖。 [0032 ] 請參考「第3圖」所示,「第3圖」繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路第一實施例的測試架構示意圖。 [0033 ] 在「第3圖」中是以非邊界掃描晶片10(8bit移位暫存器)設置於第一電路板、第一邊界掃描晶片201設置於第二電路板以及第二邊界掃描晶片202設置於第三電路板作為舉例說明,本發明並不以此為限制,第一邊界掃描晶片201包含有第一控制腳位N1、第二控制腳位N2以及第二資料輸入腳位N3(步驟102),第二邊界掃描晶片202包含有第二資料輸出腳位M1以及第二資料輸出腳位M2(步驟102),非邊界掃描晶片10包含有第一晶片驅動腳位CLK、第二晶片驅動腳位SHFTLD、第一資料輸出腳位DATA_Q、第一資料輸入腳位G以及第一資料輸入腳位H(步驟101)。 [0034 ] 第一邊界掃描晶片201的第一控制腳位N1與非邊界掃描晶片10的第一晶片驅動腳位CLK腳位電性連接(步驟103),第一邊界掃描晶片201的第二控制腳位N2與非邊界掃描晶片10的第二晶片驅動腳位SHFTLD電性連接(步驟103)。 [0035 ] 第一邊界掃描晶片201的第二資料輸入腳位N3與非邊界掃描晶片10的第一資料輸出腳位DATA_Q電性連接(步驟105),第二邊界掃描晶片202的第二資料輸出腳位M1與非邊界掃描晶片10的第一資料輸入腳位G電性連接(步驟104),第二邊界掃描晶片202的第二資料輸出腳位M2與非邊界掃描晶片10的第一資料輸入腳位H電性連接(步驟104)。 [0036 ] 透過邊界掃描技術控制第一邊界掃描晶片201的第一控制腳位N1以及第二控制腳位N2設置非邊界掃描晶片10的第一晶片驅動腳位CLK以及第二晶片驅動腳位SHFTLD(步驟103);透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2設置非邊界掃描晶片10的第一資料輸入腳位G以及非邊界掃描晶片10的第一資料輸入腳位H的輸入資料(步驟104),並由第一邊界掃描晶片201的第二資料輸入腳位N3讀取非邊界掃描晶片10的第一資料輸出腳位DATA_Q的輸出資料(步驟105),以模擬非邊界掃描晶片10的的工作時序。 [0037 ] 在第一階段的測試中,透過邊界掃描技術控制第一邊界掃描晶片201的第二控制腳位N2的邊界值設為“1”,再透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2的邊界值設為“0”,再透過邊界掃描技術控制第一邊界掃描晶片201的第二控制腳位N2的邊界值設為“0”,即是在非邊界掃描晶片10的第二晶片驅動腳位SHFTLD由“1”設為“0”,此時非邊界掃描晶片10會同時讀取每一個第一資料輸入腳位,再透過邊界掃描技術控制第一邊界掃描晶片201的第二控制腳位N2的邊界值設為“1”,以進行第一資料輸出腳位的輸出資料是否與預設資料相符的判斷(步驟106)。 [0038 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(此時即為讀取第二邊界掃描晶片202的第二資料輸出腳位M2的邊界值),假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值為“0”時,則非邊界掃描晶片10通過第一階段測試(步驟107);假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值不為“0”時,則非邊界掃描晶片10未通過第一階段測試(步驟108)。 [0039 ] 接著,透過邊界掃描技術控制第一邊界掃描晶片201的的第一控制腳位N1的邊界值先設為“0”再設為“1”,即是在非邊界掃描晶片10的第一晶片驅動腳位CLK先設為“0”再設為“1”。 [0040 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(此時即為讀取第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值),假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值為“0”時,則非邊界掃描晶片10通過第一階段測試(步驟107);假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值不為“0”時,則非邊界掃描晶片10未能通過第一階段測試(步驟108)。 [0041 ] 在第二階段的測試中,透過邊界掃描技術控制第一邊界掃描晶片201的第二控制腳位N2的邊界值設為“1”,再透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2的邊界值設為“1”,再透過邊界掃描技術控制第一邊界掃描晶片201的第二控制腳位N2的邊界值設為“0”,即是在非邊界掃描晶片10的第二晶片驅動腳位SHFTLD由“1”設為“0”,此時非邊界掃描晶片10會同時讀取每一個第一資料輸入腳位,再透過邊界掃描技術控制第一邊界掃描晶片201的第二控制腳位N2的邊界值設為“1”。 [0042 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(此時即為讀取第二邊界掃描晶片202的第二資料輸出腳位M2的邊界值),假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值為“1”時,則非邊界掃描晶片10通過第二階段測試(步驟107);假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值不為“1”時,則非邊界掃描晶片10未通過第二階段測試(步驟108)。 [0043 ] 接著,透過邊界掃描技術控制第一邊界掃描晶片201的的第一控制腳位N1的邊界值先設為“0”再設為“1”,即是在非邊界掃描晶片10的第一晶片驅動腳位CLK先設為“0”再設為“1”。 [0044 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(此時即為讀取第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值),假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值為“1”時,則非邊界掃描晶片10通過第二階段測試(步驟107);假設第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值不為“1”時,則非邊界掃描晶片10未通過第二階段測試(步驟108)。 [0045 ] 當第一階段以及第二階段的測試都結束後,第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值皆與第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值以及第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值相同時,則非邊界掃描晶片10為正常工作狀態且非邊界掃描晶片10與邊界掃描晶片20腳位之間連線狀態為正常(步驟107);第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值與第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值以及第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值有不相同的情況時,則非邊界掃描晶片10為異常工作狀態或是非邊界掃描晶片10與第一邊界掃描晶片201或是第二邊界掃描晶片202腳位之間連線狀態為異常(步驟108)。 [0046 ] 請參考「第4圖」所示,「第4圖」繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路第二實施例的測試架構示意圖。 [0047 ] 在「第4圖」中是以第一非邊界掃描晶片101(移位暫存器)、第二非邊界掃描晶片102(邏輯閘AND)、第三非邊界掃描晶片103(邏輯閘OR)設置於第一電路板、第一邊界掃描晶片201設置於第二電路板以及第二邊界掃描晶片202設置於第三電路板作為舉例說明,本發明並不以此為限制,第一非邊界掃描晶片101包含有第一晶片驅動腳位CLK、第二晶片驅動腳位SHFTLD、第一資料輸出腳位DATA_Q、第一資料輸入腳位G以及第一資料輸入腳位H(步驟101),第二非邊界掃描晶片102包含有第一資料輸入腳位W以及第一資料輸入腳位X(步驟101),第三非邊界掃描晶片103包含有第一資料輸入腳位Y以及第一資料輸入腳位Z(步驟101),第一邊界掃描晶片201包含有第一控制腳位N1、第二控制腳位N2以及第二資料輸入腳位N3(步驟102),第二邊界掃描晶片202包含有第二資料輸出腳位M1、第二資料輸出腳位M2、第二資料輸出腳位M3以及第二資料輸出腳位M4(步驟102)。 [0048 ] 第一邊界掃描晶片201的第一控制腳位N1與第一非邊界掃描晶片101的第一晶片驅動腳位CLK腳位電性連接(步驟103),第一邊界掃描晶片201的第二控制腳位N2與第一非邊界掃描晶片101的第二晶片驅動腳位SHFTLD電性連接(步驟103)。 [0049 ] 第一邊界掃描晶片201的第二資料輸入腳位N3與第一非邊界掃描晶片101的第一資料輸出腳位DATA_Q電性連接(步驟105),第二邊界掃描晶片202的第二資料輸出腳位M1與第二非邊界掃描晶片102的第一資料輸入腳位W電性連接(步驟104),第二邊界掃描晶片202的第二資料輸出腳位M2與第二非邊界掃描晶片102的第一資料輸入腳位X電性連接(步驟104),第二邊界掃描晶片202的第二資料輸出腳位M3與第三非邊界掃描晶片103的第一資料輸入腳位Y電性連接(步驟104),第二邊界掃描晶片202的第二資料輸出腳位M4與第三非邊界掃描晶片103的第一資料輸入腳位Z電性連接(步驟104)。 [0050 ] 測試的過程(即步驟103至步驟106)可以參考第一實施例的說明,而第二實施例與第一實施例的差別在於需要進行八個階段的測試: [0051 ] 第一階段以及第二階段的測試是透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值設為“0”、第二資料輸出腳位M2的邊界值設為“0”、第二資料輸出腳位M3的邊界值設為“0”以及第二資料輸出腳位M4的邊界值設為“0”。 [0052 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(第一階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M3以及第二資料輸出腳位M4邊界值的邏輯運算結果,第二階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2邊界值的邏輯運算結果)。 [0053 ] 第三階段以及第四階段的測試是透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值設為“0”、第二資料輸出腳位M2的邊界值設為“1”、第二資料輸出腳位M3的邊界值設為“0”以及第二資料輸出腳位M4的邊界值設為“1”。 [0054 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(第三階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M3以及第二資料輸出腳位M4邊界值的邏輯運算結果,第四階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2邊界值的邏輯運算結果)。 [0055 ] 第五階段以及第六階段的測試是透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值設為“1”、第二資料輸出腳位M2的邊界值設為“0”、第二資料輸出腳位M3的邊界值設為“1”以及第二資料輸出腳位M4的邊界值設為“0”。 [0056 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(第五階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M3以及第二資料輸出腳位M4邊界值的邏輯運算結果,第六階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2邊界值的邏輯運算結果)。 [0057 ] 第七階段以及第八階段的測試是透過邊界掃描技術控制第二邊界掃描晶片202的第二資料輸出腳位M1的邊界值設為“1”、第二資料輸出腳位M2的邊界值設為“1”、第二資料輸出腳位M3的邊界值設為“1”以及第二資料輸出腳位M4的邊界值設為“1”。 [0058 ] 透過邊界掃描技術讀取第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值(第七階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M3以及第二資料輸出腳位M4邊界值的邏輯運算結果,第八階段即為讀取第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2邊界值的邏輯運算結果)。 [0059 ] 當第一階段至第八階段的測試都結束後,第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值與第二邊界掃描晶片202的第二資料輸出腳位M3以及第二資料輸出腳位M4邊界值的邏輯運算結果以及第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2邊界值的邏輯運算結果相同時,則非邊界掃描晶片10為正常工作狀態且非邊界掃描晶片10與邊界掃描晶片20腳位之間連線狀態為正常(步驟107);第一邊界掃描晶片201的第二資料輸入腳位N3的邊界值與第二邊界掃描晶片202的第二資料輸出腳位M3以及第二資料輸出腳位M4邊界值的邏輯運算結果以及第二邊界掃描晶片202的第二資料輸出腳位M1以及第二資料輸出腳位M2邊界值的邏輯運算結果有不相同的情況時,則非邊界掃描晶片10為異常工作狀態或是非邊界掃描晶片10與邊界掃描晶片20腳位之間連線狀態為異常(步驟108)。 [0060 ] 綜上所述,可知本發明與先前技術之間的差異在於透過邊界掃描晶片模擬非邊界掃描晶片的工作時序以驅動非邊界掃描晶片,邊界掃描晶片判斷非邊界掃描晶片的輸出資料與預設資料相符時,非邊界掃描晶片通過測試為正常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為正常;邊界掃描晶片判斷非邊界掃描晶片的輸出資料與預設資料不相符時,非邊界掃描晶片通過測試為異常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為異常。 [0061 ] 藉由此一技術手段可以來解決先前技術所存在現有技術無法透過邊界掃描對非邊界掃描晶片進行測試的問題,進而達成基於邊界掃描測試非邊界掃描晶片及其周邊線路的技術功效。 [0062 ] 雖然本發明所揭露的實施方式如上,惟所述的內容並非用以直接限定本發明的專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露的精神和範圍的前提下,可以在實施的形式上及細節上作些許的更動。本發明的專利保護範圍,仍須以所附的申請專利範圍所界定者為準。[0016] The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, and the implementation of the present invention to solve the technical problems and achieve the technical effects can be fully understood and implemented. [0017] Hereinafter, the system for testing a non-border scan chip and its peripheral lines based on boundary scan according to the present invention will be described first, and please refer to FIG. 1 and FIG. 1 is a boundary based on the present invention. A system block diagram of the test non-border scan wafer and its surrounding circuitry is scanned. [0018] A system for testing a non-boundary scan wafer and its peripheral lines based on boundary scan disclosed in the present invention includes: at least one non-boundary scan wafer 10 and at least one boundary scan wafer 20. [0019] The Boundary Scan wafer 10 is a chip that does not conform to the Joint Test Action Group (JTAG) specification, that is, a chip that does not support boundary scan technology, for example, a shift register. (Shift register), logic gate, etc., are merely illustrative here, and are not intended to limit the scope of application of the present invention. [0020] The non-boundary scan wafer 10 includes at least one wafer drive pin 11, at least one first data output pin 12, and at least one first data input pin 13, and the wafer drive pin 11 of the non-boundary scan wafer 10 is, for example, : clock (CLK) pin, shift (SHFTLD) pin, etc., are for illustrative purposes only, and are not limited to the application of the present invention, corresponding to different wafers, driving wafer drive of the wafer Pins 11 may be the same, may not be the same, or may be partially identical and partially different. [0021] The first data output pin 12 of the non-boundary scan chip 10 is a general data input pin and the first data input pin 13 is a general data output pin. [0022] The boundary scan wafer 20 is a wafer conforming to the joint test work group specification, that is, a wafer supporting the boundary scan technology, and the boundary scan wafer 20 includes at least one control pin 21 and at least a second data output pin 22 And at least one second data input pin 23, and the boundary scan technology can be used for the control pin 21, the second data output pin 22 and the second data input pin 23 of the boundary scan wafer 20. [0023] The control pin 21 of the boundary scan wafer 20 is electrically connected to the wafer drive pin 11 of the non-border scan wafer 10, and the control pin 21 of the boundary scan wafer 20 is provided with the wafer drive of the non-boundary scan wafer 10 by boundary scan technology. Pin 11. [0024] The second data output pin 22 of the boundary scan wafer 20 is electrically connected to the first data input pin 13 of the non-border scan wafer 10, and the second data output pin 22 of the boundary scan wafer 20 is set by the boundary scan technology. The input data of the first data input pin 13 of the non-boundary scan wafer 10. [0025] The second data input pin 23 of the boundary scan wafer 20 is electrically connected to the first data output pin 12 of the non-border scan wafer 10, and the second data input pin 23 of the boundary scan wafer 20 is used for reading non- The output data of the first data output pin 12 of the boundary scan wafer 10 is scanned. [0026] The control pin 21 of the boundary scan wafer 20 is configured to set the wafer drive pin 11 of the non-border scan wafer 10 and the second data output pin 22 of the boundary scan wafer 20 through the boundary scan technology to set the non-boundary scan through the boundary scan technology. The input data of the first data input pin 13 of the wafer 10 and the second data input pin 23 of the boundary scan wafer 20 read the output data of the first data output pin 12 of the non-border scan wafer 10 to simulate a non-border scan chip. 10 working sequence. [0027] Next, the boundary scan wafer 20 further determines whether the output data of the first data output pin 12 of the non-border scan wafer 10 matches the preset data. [0028] When the boundary scan wafer 20 determines that the output data of the first data output pin 12 of the non-border scan wafer 10 matches the preset data, the non-boundary scan wafer 10 passes the test for normal operation and the non-boundary scan wafer. The connection state between 10 and the boundary scan wafer 20 pin is normal. [0029] When the boundary scan wafer 20 determines that the output data of the first data output pin 12 of the non-border scan wafer 10 does not match the preset data, then the non-boundary scan wafer 10 fails to pass the test and is in an abnormal working state or The connection state between the non-border scan wafer 10 and the boundary scan wafer 20 pin is abnormal. [0030] It should be noted that the non-border scan wafer 10 and the boundary scan wafer 20 may be disposed on the same circuit board, and the non-border scan wafer 10 and the boundary scan wafer 20 may be disposed on different circuit boards or non-boundaries. The portions of the scan wafer 10 and the boundary scan wafer 20 may be disposed on the same circuit board, and the portions of the non-border scan wafer 10 and the boundary scan wafer 20 may be disposed on different circuit boards, which are merely illustrative and not This limitation is limited to the scope of application of the present invention. [0031] Next, the operation system and method of the first embodiment of the present invention will be described below with reference to the first embodiment, and reference is also made to "Fig. 1" and "Fig. 2", "Fig. 2 A flow chart of a method for testing a non-boundary scan wafer and its peripheral lines based on boundary scan is shown in the present invention. [0032] Please refer to FIG. 3, and FIG. 3 is a schematic diagram showing the test architecture of the first embodiment of the non-boundary scan chip and its peripheral lines based on the boundary scan test of the present invention. [0033] In the "Fig. 3", the non-border scan wafer 10 (8-bit shift register) is disposed on the first circuit board, and the first boundary scan wafer 201 is disposed on the second circuit board and the second boundary scan wafer. 202 is disposed on the third circuit board as an example. The present invention is not limited thereto. The first boundary scan chip 201 includes a first control pin N1, a second control pin N2, and a second data input pin N3 ( Step 102), the second boundary scan wafer 202 includes a second data output pin M1 and a second data output pin M2 (step 102). The non-boundary scan chip 10 includes a first chip driving pin CLK and a second chip. The drive pin SHFTLD, the first data output pin DATA_Q, the first data input pin G, and the first data input pin H (step 101). [0034] The first control pin N1 of the first boundary scan wafer 201 is electrically connected to the first chip driving pin CLK pin of the non-border scan wafer 10 (step 103), and the second control of the first boundary scan wafer 201 The pin position N2 is electrically connected to the second wafer driving pin SHFTLD of the non-border scan wafer 10 (step 103). [0035] The second data input pin N3 of the first boundary scan wafer 201 is electrically connected to the first data output pin DATA_Q of the non-border scan wafer 10 (step 105), and the second data output of the second boundary scan wafer 202 is performed. The pin M1 is electrically connected to the first data input pin G of the non-border scan wafer 10 (step 104), the second data output pin M2 of the second boundary scan wafer 202 and the first data input of the non-boundary scan wafer 10. Pin H is electrically connected (step 104). [0036] controlling the first control pin N1 and the second control pin N2 of the first boundary scan wafer 201 by the boundary scan technology to set the first chip drive pin CLK and the second die drive pin SHFTLD of the non-border scan wafer 10. (Step 103); controlling the second data output pin M1 and the second data output pin M2 of the second boundary scan wafer 202 by the boundary scan technique to set the first data input pin G of the non-border scan wafer 10 and the non-boundary scan The first data of the wafer 10 is input to the input data of the pin H (step 104), and the first data output pin DATA_Q of the non-border scan wafer 10 is read by the second data input pin N3 of the first boundary scan wafer 201. The data is output (step 105) to simulate the operational timing of the non-boundary scan wafer 10. [0037] In the first stage of the test, the boundary value of the second control pin N2 of the first boundary scan wafer 201 is controlled to be "1" by the boundary scan technique, and the second boundary scan wafer 202 is controlled by the boundary scan technique. The boundary value of the second data output pin M1 and the second data output pin M2 is set to "0", and the boundary value of the second control pin N2 of the first boundary scan wafer 201 is controlled by the boundary scan technique to be set to " 0", that is, the second wafer driving pin SHFTLD of the non-boundary scanning wafer 10 is set to "0" by "1", at this time, the non-boundary scanning wafer 10 simultaneously reads each of the first data input pins, and then The boundary value of the second control pin N2 of the first boundary scan wafer 201 is controlled to be "1" by the boundary scan technique to determine whether the output data of the first data output pin matches the preset data (step 106). . [0038] reading a boundary value of the second data input pin N3 of the first boundary scan wafer 201 by a boundary scan technique (in this case, reading a boundary value of the second data output pin M2 of the second boundary scan wafer 202) Assuming that the boundary value of the second data input pin N3 of the first boundary scan wafer 201 is "0", then the non-boundary scan wafer 10 passes the first stage test (step 107); assuming the first boundary scan wafer 201 When the boundary value of the second data input pin N3 is not "0", the non-boundary scan wafer 10 does not pass the first stage test (step 108). [0039] Next, the boundary value of the first control pin N1 of the first boundary scan wafer 201 is controlled to be set to “0” and then set to “1” by the boundary scan technique, that is, the non-boundary scan wafer 10 A chip drive pin CLK is first set to "0" and then set to "1". [0040] reading a boundary value of the second data input pin N3 of the first boundary scan wafer 201 by a boundary scan technique (in this case, reading a boundary value of the second data output pin M1 of the second boundary scan wafer 202) Assuming that the boundary value of the second data input pin N3 of the first boundary scan wafer 201 is "0", then the non-boundary scan wafer 10 passes the first stage test (step 107); assuming the first boundary scan wafer 201 When the boundary value of the second data input pin N3 is not "0", the non-boundary scan wafer 10 fails the first stage test (step 108). [0041] In the second stage test, the boundary value of the second control pin N2 of the first boundary scan wafer 201 is controlled to be "1" by the boundary scan technique, and the second boundary scan wafer 202 is controlled by the boundary scan technique. The boundary value of the second data output pin M1 and the second data output pin M2 is set to "1", and the boundary value of the second control pin N2 of the first boundary scan wafer 201 is controlled by the boundary scan technique to be set to " 0", that is, the second wafer driving pin SHFTLD of the non-boundary scanning wafer 10 is set to "0" by "1", at this time, the non-boundary scanning wafer 10 simultaneously reads each of the first data input pins, and then The boundary value of the second control pin N2 of the first boundary scan wafer 201 is controlled to be "1" by the boundary scan technique. [0042] reading the boundary value of the second data input pin N3 of the first boundary scan wafer 201 by the boundary scan technology (in this case, reading the boundary value of the second data output pin M2 of the second boundary scan wafer 202) Assuming that the boundary value of the second data input pin N3 of the first boundary scan wafer 201 is "1", the non-boundary scan wafer 10 passes the second stage test (step 107); assuming the first boundary scan wafer 201 When the boundary value of the second data input pin N3 is not "1", the non-boundary scan wafer 10 does not pass the second stage test (step 108). [0043] Next, the boundary value of the first control pin N1 of the first boundary scan wafer 201 is controlled to be set to “0” and then set to “1” by the boundary scan technique, that is, the non-boundary scan wafer 10 A chip drive pin CLK is first set to "0" and then set to "1". [0044] reading a boundary value of the second data input pin N3 of the first boundary scan wafer 201 by using a boundary scan technique (in this case, reading a boundary value of the second data output pin M1 of the second boundary scan wafer 202) Assuming that the boundary value of the second data input pin N3 of the first boundary scan wafer 201 is "1", the non-boundary scan wafer 10 passes the second stage test (step 107); assuming the first boundary scan wafer 201 When the boundary value of the second data input pin N3 is not "1", the non-boundary scan wafer 10 does not pass the second stage test (step 108). [0045] After the testing of the first phase and the second phase is completed, the boundary value of the second data input pin N3 of the first boundary scan wafer 201 is the same as the second data output pin M1 of the second boundary scan wafer 202. When the boundary value and the boundary value of the second data output pin M1 of the second boundary scan wafer 202 are the same, the non-boundary scan wafer 10 is in a normal working state and the non-boundary scan wafer 10 is connected to the boundary of the boundary scan wafer 20. The line state is normal (step 107); the boundary value of the second data input pin N3 of the first boundary scan wafer 201 and the boundary value of the second data output pin M1 of the second boundary scan wafer 202 and the second boundary scan wafer When the boundary value of the second data output pin M1 of 202 is different, the non-boundary scan wafer 10 is in an abnormal working state or the non-boundary scan wafer 10 and the first boundary scan wafer 201 or the second boundary scan wafer 202. The connection state between the pins is abnormal (step 108). [0046] Please refer to FIG. 4, and FIG. 4 is a schematic diagram showing the test architecture of the second embodiment of the non-boundary scan chip and its peripheral lines based on the boundary scan test of the present invention. [0047] In the "figure 4", the first non-boundary scan wafer 101 (shift register), the second non-boundary scan wafer 102 (logic gate AND), and the third non-boundary scan wafer 103 (logic gate) The first circuit board is disposed on the first circuit board, the first boundary scan wafer 201 is disposed on the second circuit board, and the second boundary scan wafer 202 is disposed on the third circuit board. The present invention is not limited thereto. The boundary scan chip 101 includes a first chip driving pin CLK, a second chip driving pin SHFTLD, a first data output pin DATA_Q, a first data input pin G, and a first data input pin H (step 101). The second non-boundary scan chip 102 includes a first data input pin W and a first data input pin X (step 101). The third non-boundary scan chip 103 includes a first data input pin Y and a first data input. The position Z (step 101), the first boundary scan wafer 201 includes a first control pin N1, a second control pin N2, and a second data input pin N3 (step 102). The second boundary scan wafer 202 includes Second data A pin M1, the second data output pin M2, M3 of the second data output pin and a second data output pin M4 (step 102). The first control pin N1 of the first boundary scan wafer 201 is electrically connected to the first chip driving pin CLK pin of the first non-boundary scanning chip 101 (step 103), and the first boundary scan wafer 201 is The second control pin N2 is electrically connected to the second die drive pin SHFTLD of the first non-border scan wafer 101 (step 103). [0049] The second data input pin N3 of the first boundary scan wafer 201 is electrically connected to the first data output pin DATA_Q of the first non-border scan wafer 101 (step 105), and the second boundary scan chip 202 is second. The data output pin M1 is electrically connected to the first data input pin W of the second non-border scan wafer 102 (step 104), the second data output pin M2 of the second boundary scan wafer 202 and the second non-boundary scan chip. The first data input pin X of the 102 is electrically connected (step 104), and the second data output pin M3 of the second boundary scan wafer 202 is electrically connected to the first data input pin Y of the third non-boundary scan wafer 103. (Step 104), the second data output pin M4 of the second boundary scan wafer 202 is electrically connected to the first data input pin Z of the third non-border scan wafer 103 (step 104). [0050] The process of testing (ie, step 103 to step 106) may refer to the description of the first embodiment, and the difference between the second embodiment and the first embodiment is that eight stages of testing are required: [0051] And the second stage of the test is to control the boundary value of the second data output pin M1 of the second boundary scan wafer 202 to be set to “0” by the boundary scan technique, and set the boundary value of the second data output pin M2 to “0”. The boundary value of the second data output pin M3 is set to "0" and the boundary value of the second data output pin M4 is set to "0". [0052] reading a boundary value of the second data input pin N3 of the first boundary scan wafer 201 by a boundary scan technique (the first stage is reading the second data output pin M3 of the second boundary scan wafer 202 and the first The logical operation result of the boundary value of the data output pin M4 is the logical operation result of reading the boundary value of the second data output pin M1 of the second boundary scan chip 202 and the second data output pin M2. [0053] The third stage and the fourth stage test are to control the boundary value of the second data output pin M1 of the second boundary scan wafer 202 to be set to "0" and the boundary of the second data output pin M2 by the boundary scan technique. The value is set to "1", the boundary value of the second data output pin M3 is set to "0", and the boundary value of the second data output pin M4 is set to "1". [0054] reading the boundary value of the second data input pin N3 of the first boundary scan wafer 201 through the boundary scan technology (the third stage is reading the second data output pin M3 of the second boundary scan wafer 202 and the first The logical operation result of the boundary value of the data output pin M4 is the logical operation result of reading the boundary value of the second data output pin M1 and the second data output pin M2 of the second boundary scan chip 202). [0055] The fifth stage and the sixth stage test are to control the boundary value of the second data output pin M1 of the second boundary scan wafer 202 to be set to "1" and the boundary of the second data output pin M2 by the boundary scan technique. The value is set to "0", the boundary value of the second data output pin M3 is set to "1", and the boundary value of the second data output pin M4 is set to "0". [0056] reading the boundary value of the second data input pin N3 of the first boundary scan wafer 201 through the boundary scan technology (the fifth stage is reading the second data output pin M3 of the second boundary scan wafer 202 and the first The logical operation result of the boundary value of the data output pin M4 is the logical operation result of reading the boundary value of the second data output pin M1 of the second boundary scan chip 202 and the second data output pin M2. [0057] The test of the seventh stage and the eighth stage is to control the boundary value of the second data output pin M1 of the second boundary scan wafer 202 to be set to "1" and the boundary of the second data output pin M2 by the boundary scan technique. The value is set to "1", the boundary value of the second data output pin M3 is set to "1", and the boundary value of the second data output pin M4 is set to "1". [0058] reading the boundary value of the second data input pin N3 of the first boundary scan wafer 201 through the boundary scan technology (the seventh stage is reading the second data output pin M3 of the second boundary scan wafer 202 and the first The logical operation result of the boundary value of the data output pin M4 is the logical operation result of reading the boundary value of the second data output pin M1 and the second data output pin M2 of the second boundary scan chip 202). [0059] After the testing of the first stage to the eighth stage is completed, the boundary value of the second data input pin N3 of the first boundary scan wafer 201 and the second data output pin M3 of the second boundary scan wafer 202 and When the logical operation result of the boundary value of the second data output pin M4 and the logical operation result of the boundary value of the second data output pin M1 and the second data output pin M2 of the second boundary scan wafer 202 are the same, the non-boundary scan chip 10 is a normal working state and the connection state between the non-border scan wafer 10 and the boundary scan wafer 20 pin is normal (step 107); the boundary value of the second data input pin N3 of the first boundary scan wafer 201 is the second The logical operation result of the boundary value of the second data output pin M3 and the second data output pin M4 of the boundary scan wafer 202 and the second data output pin M1 and the second data output pin M2 boundary of the second boundary scan wafer 202 If the logical operation result of the value has a different result, the non-boundary scan wafer 10 is in an abnormal working state or between the non-boundary scan wafer 10 and the boundary scan wafer 20 pin. Line status is abnormal (step 108). [0060] In summary, it can be seen that the difference between the present invention and the prior art is that the boundary timing of the non-border scan wafer is simulated by the boundary scan wafer to drive the non-border scan wafer, and the boundary scan wafer determines the output data of the non-border scan wafer. When the preset data matches, the non-border scan wafer passes the test to be in a normal working state and the connection state between the non-border scan wafer and the boundary scan wafer pin is normal; the boundary scan wafer judges the output data and the preset data of the non-border scan wafer. When there is no match, the non-border scan wafer passes the test to an abnormal operating state and the connection state between the non-border scan wafer and the boundary scan wafer pin is abnormal. [0061] The technical problem of the prior art that the prior art cannot test the non-boundary scan wafer by boundary scan can be solved by the prior art, thereby achieving the technical effect of testing the non-boundary scan wafer and its peripheral lines based on the boundary scan. [0062] Although the embodiments of the present invention are as described above, the above description is not intended to directly limit the scope of the invention. Any changes in the form and details of the embodiments may be made without departing from the spirit and scope of the invention. The scope of the invention is to be determined by the scope of the appended claims.

[0063 ]
10‧‧‧非邊界掃描晶片
101‧‧‧第一非邊界掃描晶片
102‧‧‧第二非邊界掃描晶片
103‧‧‧第三非邊界掃描晶片
11‧‧‧晶片驅動腳位
12‧‧‧第一資料輸出腳位
13‧‧‧第一資料輸入腳位
20‧‧‧邊界掃描晶片
201‧‧‧第一邊界掃描晶片
202‧‧‧第二邊界掃描晶片
21‧‧‧控制腳位
22‧‧‧第二資料輸出腳位
23‧‧‧第二資料輸入腳位
CLK‧‧‧第一晶片驅動腳位
N1‧‧‧第一控制腳位
N2‧‧‧第二控制腳位
N3‧‧‧第二資料輸入腳位
M1‧‧‧第二資料輸出腳位
M2‧‧‧第二資料輸出腳位
M3‧‧‧第二資料輸出腳位
M4‧‧‧第二資料輸出腳位
SHFTLD 第二晶片驅動腳位
DATA_Q 第一資料輸出腳位
G‧‧‧第一資料輸入腳位
H‧‧‧第一資料輸入腳位
W‧‧‧第一資料輸入腳位
X‧‧‧第一資料輸入腳位
Y‧‧‧第一資料輸入腳位
Z‧‧‧第一資料輸入腳位
步驟 101‧‧‧提供至少一非邊界掃描晶片,非邊界掃描晶片包含至少一晶片驅動腳位、至少一第一資料輸出腳位以及至少一第一資料輸入腳位
步驟 102‧‧‧提供至少一邊界掃描晶片,包含至少一控制腳位、至少一第二資料輸出腳位以及至少一第二資料輸入腳位
步驟 103‧‧‧控制腳位與晶片驅動腳位電性連接,並透過邊界掃描技術設置晶片驅動腳位
步驟 104‧‧‧第二資料輸出腳位與第一資料輸入腳位電性連接,透過邊界掃描技術設置第一資料輸入腳位的輸入資料
步驟 105‧‧‧第二資料輸入腳位與第一資料輸出腳位電性連接,用以讀取第一資料輸出腳位的輸出資料
步驟 106‧‧‧邊界掃描晶片判斷第一資料輸出腳位的輸出資料是否與預設資料相符
步驟 107‧‧‧當第一資料輸出腳位的輸出資料與預設資料相符時,則非邊界掃描晶片通過測試為正常工作狀態且非邊界掃描晶片與邊界掃描晶片腳位之間連線狀態為正常
步驟 108‧‧‧當第一資料輸出腳位的輸出資料與預設資料不相符時,則非邊界掃描晶片未通過測試即為非正常工作狀態或是非邊界掃描晶片與邊界掃描晶片腳位之間連線為異常
[0063]
10‧‧‧Non-boundary scanning wafer
101‧‧‧First non-boundary scanning wafer
102‧‧‧Second non-border scan wafer
103‧‧‧ Third non-boundary scanning wafer
11‧‧‧ Chip drive pin
12‧‧‧First data output pin
13‧‧‧First data input pin
20‧‧‧Boundary Scan Wafer
201‧‧‧First boundary scan wafer
202‧‧‧Second boundary scan wafer
21‧‧‧Control feet
22‧‧‧Second data output pin
23‧‧‧Second data input pin
CLK‧‧‧First chip drive pin
N1‧‧‧First control pin
N2‧‧‧second control pin
N3‧‧‧Second data input pin
M1‧‧‧Second data output pin
M2‧‧‧Second data output pin
M3‧‧‧Second data output pin
M4‧‧‧Second data output pin
SHFTLD second chip drive pin
DATA_Q first data output pin
G‧‧‧First data input pin
H‧‧‧First data input pin
W‧‧‧First data input pin
X‧‧‧First data input pin
Y‧‧‧First data input pin
Z‧‧‧First data input pin step 101‧‧‧ provides at least one non-border scan chip, the non-border scan chip includes at least one chip drive pin, at least one first data output pin and at least one first data input The foot step 102‧‧‧ provides at least one boundary scan chip, including at least one control pin, at least one second data output pin, and at least one second data input pin. Step 103‧‧‧ Control pin and chip drive pin The bit is electrically connected, and the chip driving pin is set by the boundary scan technology. Step 104‧‧ The second data output pin is electrically connected to the first data input pin, and the input of the first data input pin is set by the boundary scan technology. Data step 105‧‧‧ The second data input pin is electrically connected to the first data output pin to read the output data of the first data output pin. Step 106‧‧‧ Boundary scan chip determines the first data output pin Whether the output data of the bit matches the preset data. Step 107‧‧‧ When the output data of the first data output pin matches the preset data, the non-boundary scan chip Passing the test to normal operation and the connection state between the non-border scan wafer and the boundary scan wafer pin is normal. Step 108‧‧‧ When the output data of the first data output pin does not match the preset data, the non-boundary If the scan wafer fails the test, it is abnormal operation or the connection between the non-border scan wafer and the boundary scan wafer pin is abnormal.

[0015 ] 第1圖繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統方塊圖。 第2圖繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法流程圖。 第3圖繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路第一實施例的測試架構示意圖。 第4圖繪示為本發明基於邊界掃描測試非邊界掃描晶片及其周邊線路第二實施例的測試架構示意圖。[0015] FIG. 1 is a block diagram of a system for testing a non-border scan wafer and its peripheral lines based on boundary scan according to the present invention. FIG. 2 is a flow chart showing a method for testing a non-boundary scan wafer and its peripheral lines based on boundary scan according to the present invention. FIG. 3 is a schematic diagram showing the test architecture of the first embodiment of the non-boundary scan chip and its peripheral lines based on the boundary scan test of the present invention. FIG. 4 is a schematic diagram showing the test architecture of the second embodiment of the non-boundary scan chip and its peripheral lines based on the boundary scan test of the present invention.

10‧‧‧非邊界掃描晶片 10‧‧‧Non-boundary scanning wafer

11‧‧‧晶片驅動腳位 11‧‧‧ Chip drive pin

12‧‧‧第一資料輸出腳位 12‧‧‧First data output pin

13‧‧‧第一資料輸入腳位 13‧‧‧First data input pin

20‧‧‧邊界掃描晶片 20‧‧‧Boundary Scan Wafer

21‧‧‧控制腳位 21‧‧‧Control feet

22‧‧‧第二資料輸出腳位 22‧‧‧Second data output pin

23‧‧‧第二資料輸入腳位 23‧‧‧Second data input pin

Claims (8)

一種基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,其包含:至少一非邊界掃描(Boundary Scan)晶片,包含至少一晶片驅動腳位、至少一第一資料輸出腳位以及至少一第一資料輸入腳位;及至少一邊界掃描晶片,所述邊界掃描晶片更包含:至少一控制腳位,所述控制腳位與所述晶片驅動腳位電性連接,並透過邊界掃描技術設置所述晶片驅動腳位;至少一第二資料輸出腳位,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,透過邊界掃描技術設置所述第一資料輸入腳位的輸入資料;及至少一第二資料輸入腳位,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接,用以讀取所述第一資料輸出腳位的輸出資料;其中,所述控制腳位透過邊界掃描技術設置所述晶片驅動腳位、所述第二資料輸出腳位透過邊界掃描技術設置所述第一資料輸入腳位的輸入資料以及所述第二資料輸入腳位讀取所述第一資料輸出腳位的輸出資料以模擬所述非邊界掃描晶片的工作時序,所述邊界掃描晶片判斷所述第一資料輸出腳位的輸出資料是否與一預設資料相符: 當所述第一資料輸出腳位的輸出資料與所述預設資料相符時,則所述非邊界掃描晶片通過測試為正常工作狀態且所述非邊界掃描晶片與所述邊界掃描晶片腳位之間連線狀態為正常;及當所述第一資料輸出腳位的輸出資料與所述預設資料不相符時,則所述非邊界掃描晶片未通過測試即為非正常工作狀態或是所述非邊界掃描晶片與所述邊界掃描晶片腳位之間連線狀態為異常。 A system for testing a non-border scan wafer and its peripheral lines based on boundary scan, comprising: at least one Boundary Scan wafer, including at least one wafer drive pin, at least one first data output pin, and at least one a data input pin; and at least one boundary scan chip, the boundary scan chip further includes: at least one control pin, the control pin is electrically connected to the chip driving pin, and is configured by a boundary scan technology a chip driving pin; at least one second data output pin, the second data output pin is electrically connected to the first data input pin, and the first data input pin is set by a boundary scan technology Input data; and at least one second data input pin, the second data input pin is electrically connected to the first data output pin for reading the output data of the first data output pin; Wherein, the control pin sets the chip driving pin through a boundary scan technology, and the second data output pin sets the first data input through a boundary scan technology Input data of the foot and the output data of the second data input pin to read the output data of the first data output pin to simulate the working sequence of the non-border scan chip, and the boundary scan chip determines the first data Whether the output data of the output pin matches the preset data: When the output data of the first data output pin matches the preset data, the non-boundary scan wafer passes the test to be in a normal working state and the non-boundary scan wafer and the boundary scan wafer pin are The inter-connected state is normal; and when the output data of the first data output pin does not match the preset data, the non-boundary scan chip fails to pass the test, that is, the abnormal working state or the The connection state between the non-border scan wafer and the boundary scan wafer pin is abnormal. 如申請專利範圍第1項所述的基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,其中所述控制腳位與所述晶片驅動腳位電性連接,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接可分別由不同的所述邊界掃描晶片進行電性連接。 The system for testing a non-border scan chip and its peripheral lines based on boundary scan according to claim 1, wherein the control pin is electrically connected to the chip driving pin, and the second data output pin is The first data input pin is electrically connected to the first data input pin, and the second data input pin is electrically connected to the first data output pin, respectively, and can be electrically connected by different boundary scan chips. 如申請專利範圍第1項所述的基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,其中所述控制腳位與所述晶片驅動腳位電性連接,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接可由相同的所述邊界掃描晶片進行電性連接。 The system for testing a non-border scan chip and its peripheral lines based on boundary scan according to claim 1, wherein the control pin is electrically connected to the chip driving pin, and the second data output pin is The first data input pin is electrically connected to the first data input pin, and the second data input pin is electrically connected to the first data output pin to be electrically connected by the same boundary scan chip. 如申請專利範圍第1項所述的基於邊界掃描測試非邊界掃描晶片及其周邊線路的系統,其中所述控制腳位與所述晶片驅動腳位電性連接,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接部分可由相同的所述邊界掃描晶片進行電性 連接,非所述控制腳位、非所述第二資料輸出腳位以及非所述第二資料輸入腳位的腳位部分可分別由不相同的所述邊界掃描晶片進行電性連接。 The system for testing a non-border scan chip and its peripheral lines based on boundary scan according to claim 1, wherein the control pin is electrically connected to the chip driving pin, and the second data output pin is The first data input pin is electrically connected to the first data input pin, and the second data input pin and the first data output pin are electrically connected to each other by the same boundary scan chip. The connection, the non-the control pin, the non-the second data output pin, and the pin portion other than the second data input pin may be electrically connected by the different boundary scan wafers, respectively. 一種基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法,其包含下列步驟:提供至少一非邊界掃描(Boundary Scan)晶片,所述非邊界掃描晶片包含至少一晶片驅動腳位、至少一第一資料輸出腳位以及至少一第一資料輸入腳位;提供至少一邊界掃描晶片,所述包含至少一控制腳位、至少一第二資料輸出腳位以及至少一第二資料輸入腳位;所述控制腳位與所述晶片驅動腳位電性連接,並透過邊界掃描技術設置所述晶片驅動腳位;所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,透過邊界掃描技術設置所述第一資料輸入腳位的輸入資料;所述第二資料輸入腳位與所述第一資料輸出腳位電性連接,用以讀取所述第一資料輸出腳位的輸出資料;所述邊界掃描晶片判斷所述第一資料輸出腳位的輸出資料是否與一預設資料相符;當所述第一資料輸出腳位的輸出資料與所述預設資料相符時,則所述非邊界掃描晶片通過測試為正常工作狀態且所述非邊界掃描晶片與所述邊界掃描晶片腳位之間連線狀態為正常;及當所述第一資料輸出腳位的輸出資料與所述預設資料不相符時,則所述非邊界掃描晶片未通過測試即為非正常工作狀態或 是所述非邊界掃描晶片與所述邊界掃描晶片腳位之間連線為異常;其中,所述控制腳位透過邊界掃描技術設置所述晶片驅動腳位、所述第二資料輸出腳位透過邊界掃描技術設置所述第一資料輸入腳位的輸入資料以及所述第二資料輸入腳位讀取所述第一資料輸出腳位的輸出資料以模擬所述非邊界掃描晶片的工作時序。 A method for testing a non-border scan wafer and its peripheral lines based on boundary scan, comprising the steps of: providing at least one Boundary Scan wafer, the non-boundary scan wafer comprising at least one wafer drive pin, at least one a data output pin and at least one first data input pin; providing at least one boundary scan chip, the at least one control pin, the at least one second data output pin, and the at least one second data input pin; The control pin is electrically connected to the chip driving pin, and the chip driving pin is set by a boundary scan technology; the second data output pin is electrically connected to the first data input pin, The boundary scan technology sets the input data of the first data input pin; the second data input pin is electrically connected to the first data output pin for reading the first data output pin Outputting data; the boundary scan chip determines whether the output data of the first data output pin is consistent with a preset data; when the first data output pin When the output data matches the preset data, the non-boundary scan wafer passes the test to be in a normal working state and the connection state between the non-boundary scan wafer and the boundary scan wafer pin is normal; When the output data of the first data output pin does not match the preset data, the non-boundary scan chip fails to pass the test and is abnormally operated or The connection between the non-border scan chip and the boundary scan chip pin is abnormal; wherein the control pin sets the chip drive pin and the second data output pin through the boundary scan technology The boundary scan technique sets an input data of the first data input pin and the second data input pin reads an output data of the first data output pin to simulate an operation timing of the non-boundary scan chip. 如申請專利範圍第5項所述的基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法,其中所述控制腳位與所述晶片驅動腳位電性連接,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接可分別由不同的所述邊界掃描晶片進行電性連接。 The method for testing a non-border scan chip and its peripheral lines based on a boundary scan according to claim 5, wherein the control pin is electrically connected to the chip driving pin, and the second data output pin is The first data input pin is electrically connected to the first data input pin, and the second data input pin is electrically connected to the first data output pin, respectively, and can be electrically connected by different boundary scan chips. 如申請專利範圍第5項所述的基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法,其中所述控制腳位與所述晶片驅動腳位電性連接,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接可由相同的所述邊界掃描晶片進行電性連接。 The method for testing a non-border scan chip and its peripheral lines based on a boundary scan according to claim 5, wherein the control pin is electrically connected to the chip driving pin, and the second data output pin is The first data input pin is electrically connected to the first data input pin, and the second data input pin is electrically connected to the first data output pin to be electrically connected by the same boundary scan chip. 如申請專利範圍第5項所述的基於邊界掃描測試非邊界掃描晶片及其周邊線路的方法,其中所述控制腳位與所述晶片驅動腳位電性連接,所述第二資料輸出腳位與所述第一資料輸入腳位電性連接,所述第二資料輸入腳位與所述第一資料輸出腳位電性連接部分可由相同的所述邊界掃描晶片進行電性 連接,非所述控制腳位、非所述第二資料輸出腳位以及非所述第二資料輸入腳位的腳位部分可分別由不相同的所述邊界掃描晶片進行電性連接。 The method for testing a non-border scan chip and its peripheral lines based on a boundary scan according to claim 5, wherein the control pin is electrically connected to the chip driving pin, and the second data output pin is The first data input pin is electrically connected to the first data input pin, and the second data input pin and the first data output pin are electrically connected to each other by the same boundary scan chip. The connection, the non-the control pin, the non-the second data output pin, and the pin portion other than the second data input pin may be electrically connected by the different boundary scan wafers, respectively.
TW105141289A 2016-12-13 2016-12-13 System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof TWI606246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105141289A TWI606246B (en) 2016-12-13 2016-12-13 System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105141289A TWI606246B (en) 2016-12-13 2016-12-13 System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof

Publications (2)

Publication Number Publication Date
TWI606246B true TWI606246B (en) 2017-11-21
TW201821819A TW201821819A (en) 2018-06-16

Family

ID=61023226

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105141289A TWI606246B (en) 2016-12-13 2016-12-13 System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof

Country Status (1)

Country Link
TW (1) TWI606246B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI783549B (en) * 2021-06-24 2022-11-11 英業達股份有限公司 Improving test coverage rate system for pin of tested circuit board and method thereof

Also Published As

Publication number Publication date
TW201821819A (en) 2018-06-16

Similar Documents

Publication Publication Date Title
JP4512314B2 (en) Semiconductor device
TWI606246B (en) System for testing non-boundary scan chip and peripheral circuit thereof base on boundary scan and method thereof
JP3509001B2 (en) Semiconductor integrated circuit having self-diagnosis test circuit function and method of testing semiconductor integrated circuit
JPH06230075A (en) Detection of defective flip-flop in serial scan chain
TWI763594B (en) Semiconductor chip and burn-in test method thereof
JP2007051936A (en) Method of specifying fault position in scan chain
JP2005024410A (en) Semiconductor integrated circuit device
JP3291706B2 (en) Method for verifying high-speed operation of logic circuit and logic circuit
JP3868920B2 (en) Test method and test equipment for FPGA board
JP2010025903A (en) Circuit and method for specifying faulty flip-flop in scan chain
JPH11163259A (en) Semiconductor device
JP2773709B2 (en) Semiconductor device test method and test apparatus
JP4610919B2 (en) Semiconductor integrated circuit device
JP2633980B2 (en) Digital / analog mixed LSI
JP5796404B2 (en) Semiconductor circuit and test method
JP2003172771A (en) Test pattern creation method of system lsi, test pattern creation device, test method and test circuit
TW201723518A (en) Test circuit board design with JTAG signal series circuit
JP2005180952A (en) Test circuit, semiconductor integrated circuit, and its manufacturing method
JP3542027B2 (en) Semiconductor device provided with burn-in stress circuit and method for applying burn-in stress to semiconductor device
JPH11109000A (en) Apparatus for testing connection of semiconductor device
JP2002296323A (en) Circuit and method for scan test
JP2004069642A (en) Semiconductor integrated circuit device
JP3531743B2 (en) Test pattern generator
CN108152720A (en) Test the system and method for non-boundary scanning chip and its perimeter circuit
JPH05114639A (en) Semiconductor integrated circuit