[go: up one dir, main page]

TWI898621B - Circuit test system and method thereof - Google Patents

Circuit test system and method thereof

Info

Publication number
TWI898621B
TWI898621B TW113119581A TW113119581A TWI898621B TW I898621 B TWI898621 B TW I898621B TW 113119581 A TW113119581 A TW 113119581A TW 113119581 A TW113119581 A TW 113119581A TW I898621 B TWI898621 B TW I898621B
Authority
TW
Taiwan
Prior art keywords
test
circuit
communication format
signal
format signal
Prior art date
Application number
TW113119581A
Other languages
Chinese (zh)
Other versions
TW202546456A (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 TW113119581A priority Critical patent/TWI898621B/en
Application granted granted Critical
Publication of TWI898621B publication Critical patent/TWI898621B/en
Publication of TW202546456A publication Critical patent/TW202546456A/en

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The present invention provides a circuit test system and its method thereof, which utilizes a conversion unit to convert an input signal into a communication format signal, decodes the communication format signal and generates a control command signal through a control unit according to the pattern of the communication format signal, and controls the circuit to be tested to perform an in-built test to test whether there is a defect in the circuit to be tested by the control command signal, utilizing the system and its method of the present invention. By using the system and method of the present invention, it is not necessary to change the communication format of the input signals according to the type of the circuits to be tested, so as to minimize the difficulty of data input, and at the same time, reduce the difficulty of error debugging.

Description

電路測試系統及其方法Circuit testing system and method thereof

本發明係關於一種電路測試系統及其方法,特別是一種無須配合待測電路種類變換輸入訊號之電路測試系統及其方法。The present invention relates to a circuit testing system and method thereof, and in particular to a circuit testing system and method thereof that does not require input signal conversion according to the type of circuit to be tested.

傳統測試者須自己撰寫韌體控制,造成在後續每種型號測試時需要一大段時間進行撰寫與事後進行修正除錯的時間,測試者在基本訓練上需要較長的時間訓練撰寫韌體控制的能力及相關通訊格式基礎,未有統一撰寫規格在除錯時有一定難度,造成測試者在執行上產生不便性,不同介面所需傳輸格式不同,控制韌體須不停依不同介面做修改。Traditionally, testers have to write their own firmware control, which results in a significant amount of time spent writing and debugging each subsequent model test. Testers also need extensive training in firmware control writing and the fundamentals of related communication formats. The lack of standardized writing standards creates difficulties during debugging, creating inconvenience for testers. Different interfaces require different transmission formats, necessitating constant firmware modifications based on these interfaces.

早期自我測試技術受限於額外設計成本和測試結果錯誤涵蓋率不足,使得其應用幾乎是乏人問津,而且傳統的積體電路內建式自我測試技術也僅用於數位邏輯電路測試。但由於設計逐漸複雜化,一個系統單晶片已不再單純是數位邏輯電路所組成,而是還有其他為數不少的類比電路或混合訊號電路,不僅製造技術需要革新,設計技術亦有甚多難關需要突破,例如雜訊速度、功率消耗。因此,測試的困難度與複雜度也隨之提高。因為單晶片系統之暫存器很多,測試的時間也隨之拉長,即使是用最新的完全掃描(Full Scan)技術,仍需要很長的測試灌入時間(Test Application Time),使其測試成本居高不下。Early self-test technologies were limited by additional design costs and insufficient test error coverage, making them virtually unusable. Furthermore, traditional integrated circuit built-in self-test technology was limited to testing digital logic circuits. However, with increasing design complexity, a system-on-a-chip (SoC) no longer consists solely of digital logic circuits, but also incorporates a significant number of analog or mixed-signal circuits. This not only requires innovation in manufacturing technology, but also presents numerous design challenges, such as noise speed and power consumption. Consequently, the difficulty and complexity of testing have also increased. Because single-chip systems have many registers, testing time is also extended. Even using the latest full scan technology, it still requires a long test application time, making the testing cost high.

一般的測試機台(ATE)無法提供現階段單晶片系統所需要的快速測試訊號與大量測試向量(Test Patterns)的儲存記憶空間,就算有,高速與高容量的測試機台也十分昂貴,而且又受限於積體電路上的可用引腳(Pin),所以,不可能找出一個積體電路中的所有錯誤。Conventional test equipment (ATE) cannot provide the fast test signals and storage memory for the large number of test patterns required by current single-chip systems. Even if they did, high-speed and high-capacity test equipment would be very expensive and limited by the available pins on integrated circuits. Therefore, it is impossible to find all errors in an integrated circuit.

另外即時性測試(At-Speed Test)也是單晶片系統測試的困難項目之一。因此,數位邏輯電路和類比/混合訊號電路之內建式自我測試技術又開始受到熱烈的討論。At-speed testing is also a difficult aspect of single-chip system testing. Therefore, built-in self-test technology for digital logic circuits and analog/mixed-signal circuits has become a hot topic of discussion.

傳統數位積體電路的內建式自我測試電路,可以採用邊界掃描,或者是由自動測試向量產生電路的向量來進行測試。此種類型的測試方法,基本上會將所有待測元件都連接在一起,產生一個或多個掃描鏈。通常在待測元件中,會配置一個狀態機(state machine)產生及分析所需要的測試向量,以測試模式工作時,測試機台串列掃入測試向量資料,加上一個或多個功能時鐘周期,然後掃出捕獲的回應資料。Traditional digital integrated circuits (DICs) feature built-in self-test circuitry, which can be tested using boundary scanning or vector generation from an automatic test vector generation circuit. This type of testing essentially connects all DUTs together, generating one or more scan chains. Typically, a state machine is deployed within the DUT to generate and analyze the required test vectors. When operating in test mode, the tester serially scans in the test vector data, adds one or more functional clock cycles, and then scans out the captured response data.

工程師把自動測試向量產生電路(ATPG)所產生的測試向量儲存在記憶體中,透過掃描輸入和輸出這些記憶元件的資料,工程師提供了充分的可控性和可觀察性,但是缺點是通常得等到待測電路測試接近完成的時候,才能對待測電路做出錯誤評量(fault grade)的動作,使得驗證效能下降。還有內建式自我測試電路中記憶體的大小也會直接影響到邊界掃描測試電路的可控性和可觀察性。Engineers store test patterns generated by automatic test pattern generation (ATPG) in memory. By scanning the input and output data of these memory elements, engineers provide sufficient control and observability. However, the disadvantage is that fault assessment (fault grade) of the circuit under test usually cannot be performed until the circuit under test is nearly complete, which reduces verification performance. Furthermore, the size of the memory in the built-in self-test circuit directly affects the controllability and observability of the boundary scan test circuit.

內建自我測試的技術之所以為大家所重視,其最大優點就在於測試向量之產生及測試結果之驗證大部分均在晶片內部進行,因此測試設備的成本可大幅降低,而且由內部進行測試時,可同時檢驗數位電路中的類比/混合電路中的訊號或設計參數,不受輸出與輸入引腳數目之限制,故測試的時間不見得會隨著bit數增多而呈線性增加,增加模組電路之可驗證性和可測試性,大幅降低驗證和測試成本,有效解決單晶片系統中類比電路或混合訊號電路和模組電路測試之困難,對未來日益複雜的單晶片系統而言,內建自我測試電路實為量測之一大利器。The key advantage of built-in self-test (BIST) technology is that test pattern generation and test result verification are largely performed within the chip, significantly reducing the cost of test equipment. Furthermore, internal testing allows for simultaneous verification of signals or design parameters within both analog and mixed-signal digital circuits, without being limited by the number of output and input pins. Therefore, test time does not necessarily increase linearly with the number of bits. This increases the verifiability and testability of module circuits, significantly reducing verification and testing costs and effectively resolving the challenges of testing analog, mixed-signal, and module circuits within single-chip systems. For the increasingly complex single-chip systems of the future, BIST circuitry is a valuable measurement tool.

但由於目前各個不同種類之待測電路之內建自我測試電路所運用之通訊格式皆不相同,若要透過內建自我測試電路進行內建測試,需要測試員熟悉掌握各種通訊格式之撰寫韌體控制的能力,且進行除錯時又因為各種待測電路使用不同通訊格式導致難度大幅上升。However, since the built-in self-test circuits (BISTs) of various types of circuits under test (CUTs) currently utilize different communication formats, performing built-in tests using BISTs requires the tester to be familiar with and able to write firmware controls for each communication format. Furthermore, debugging is significantly more difficult because each CUT utilizes a different communication format.

為此,提供一種統一通訊格式之電路測試系統及其方法,為本領域技術人員所欲解決的問題。Therefore, providing a circuit testing system and method with a unified communication format is a problem that technicians in this field want to solve.

本發明之一目的,在於提供一種電路測試系統,其具有轉換單元、控制單元以及待測電路,本系統利用轉換單元轉換輸入訊號以配合各種不同電路之通訊格式,讓測試者不需學會各種通訊格式即能透過控制單元控制積體電路進行內建測試,並同時降低除錯之難度,也使得控制韌體不必依不同介面重複進行修改。One purpose of the present invention is to provide a circuit testing system comprising a conversion unit, a control unit, and a circuit under test. The system utilizes the conversion unit to convert input signals to accommodate various circuit communication formats. This allows testers to control integrated circuits through the control unit to perform built-in tests without having to learn various communication formats. This also reduces debugging effort and eliminates the need for repeated modification of the control firmware for different interfaces.

針對上述之目的,本發明提供一種電路測試系統,其應用於控制一待測電路執行一內建測試軟體,其包含:一轉換單元,其係接收一輸入訊號,該輸入訊號對應該待測電路以及該待測電路之一測試項目,該轉換單元將該輸入訊號透過一轉換方法產出一通訊格式訊號,該通訊格式訊號包含一模式;以及一控制單元,其連接該轉換單元以及該待測電路,該控制單元判斷該通訊格式訊號之該模式,並執行對應該模式之一解碼方法解碼該通訊格式訊號並產生對應之一控制命令訊號,該控制命令訊號係用以控制該待測電路執行該內建測試,以此讓測試者不需學會各種通訊格式即能透過控制單元控制積體電路進行內建測試,並同時降低除錯之難度,也使得控制韌體不必依不同介面重複進行修改。In view of the above-mentioned purpose, the present invention provides a circuit testing system, which is applied to control a circuit under test to execute a built-in test software, comprising: a conversion unit, which receives an input signal, the input signal corresponding to the circuit under test and a test item of the circuit under test, the conversion unit converts the input signal into a communication format signal through a conversion method, the communication format signal including a mode; and a control unit, which is connected to the conversion unit and the circuit under test. The control unit determines the mode of the communication format signal and executes a decoding method corresponding to the mode to decode the communication format signal and generate a corresponding control command signal. The control command signal is used to control the circuit under test to perform the built-in test. This allows testers to control the integrated circuit to perform built-in tests through the control unit without having to learn various communication formats. This also reduces the difficulty of debugging and eliminates the need for repeated modification of the control firmware according to different interfaces.

本發明提供一實施例,其中該轉換方法係透過對應該待測電路之一遮罩,將該輸入訊號轉換至該通訊格式訊號。The present invention provides an embodiment, wherein the conversion method converts the input signal into the communication format signal through a mask corresponding to the circuit under test.

本發明提供一實施例,其中該通訊格式訊號係透過一封包形式傳輸至該控制單元。The present invention provides an embodiment, wherein the communication format signal is transmitted to the control unit in the form of a packet.

本發明提供一實施例,其中該控制單元係透過一通用序列匯流排、一通用非同步收發傳輸器或一無線通訊接收該通訊格式訊號。The present invention provides an embodiment, wherein the control unit receives the communication format signal via a USB, a universal asynchronous receiver/transmitter (UASRT) or a wireless communication.

本發明提供一實施例,其中該內建測試係為該待測電路進行自我檢測之一測試。The present invention provides an embodiment, wherein the built-in test is a test in which the circuit under test performs a self-test.

本發明提供一實施例,其中該控制單元更包含:一儲存單元,其係用以儲存該通訊格式訊號。The present invention provides an embodiment, wherein the control unit further includes: a storage unit, which is used to store the communication format signal.

本發明之另一目的,在於提供一種電路測試方法,其透過將輸入訊號藉由轉換單元轉換為不同通訊格式至控制單元,控制單元解碼後控制待測電路執行內建測試,以此達到不需因應待測電路不同撰寫不同通訊格式之指令,同時也使得後續除錯更加容易。Another object of the present invention is to provide a circuit testing method that converts input signals into different communication formats through a conversion unit and transmits them to a control unit. The control unit then decodes the signals and controls the circuit under test to perform built-in tests. This eliminates the need to write commands in different communication formats for different circuits under test and also makes subsequent debugging easier.

針對上述之目的,本發明提供一種電路測試方法,其步驟包含:提供一輸入訊號至一轉換單元,該輸入訊號對應一待測電路以及該待測電路之一測試項目;該轉換單元透過一轉換方法轉換該輸入訊號並產出一通訊格式訊號,該通訊格式訊號包含一模式;該轉換單元傳輸該通訊格式訊號至一控制單元,該控制單元判斷該通訊格式訊號之該模式,並執行對應該模式之一解碼方法解碼該通訊格式訊號並產生對應之一控制命令訊號;以及該控制單元傳輸該控制命令訊號至一待測電路,該待測電路依據該控制命令訊號執行一內建測試,以此達到不需因應待測電路不同撰寫不同通訊格式之指令,同時也使得後續除錯更加容易。In view of the above-mentioned purpose, the present invention provides a circuit testing method, the steps of which include: providing an input signal to a conversion unit, the input signal corresponding to a circuit to be tested and a test item of the circuit to be tested; the conversion unit converts the input signal through a conversion method and generates a communication format signal, the communication format signal includes a pattern; the conversion unit transmits the communication format signal to a control unit, the control unit The control unit determines the mode of the communication format signal and executes a decoding method corresponding to the mode to decode the communication format signal and generate a corresponding control command signal; and the control unit transmits the control command signal to a circuit under test, and the circuit under test executes a built-in test based on the control command signal. This eliminates the need to write different communication format instructions for different circuits under test and also makes subsequent debugging easier.

本發明提供一實施例,其中該轉換方法係透過對應該待測電路之一遮罩,將該輸入訊號轉換至該通訊格式訊號。The present invention provides an embodiment, wherein the conversion method converts the input signal into the communication format signal through a mask corresponding to the circuit under test.

本發明提供一實施例,其中該通訊格式訊號係透過一封包形式傳輸至該控制單元。The present invention provides an embodiment, wherein the communication format signal is transmitted to the control unit in the form of a packet.

本發明提供一實施例,其中該控制單元係透過一通用序列匯流排、一通用非同步收發傳輸器或一無線通訊接收該通訊格式訊號。The present invention provides an embodiment, wherein the control unit receives the communication format signal via a USB, a universal asynchronous receiver/transmitter (UASRT) or a wireless communication.

本發明提供一實施例,其中該內建測試係為該待測電路進行自我檢測之一測試。The present invention provides an embodiment, wherein the built-in test is a test in which the circuit under test performs a self-test.

為此,提供一種電路測試系統及其方法,為本領域技術人員所欲解決的問題。Therefore, a circuit testing system and method are provided to solve the problem that technicians in this field want to solve.

為使 貴審查委員對本發明之特徵及所達成之功效有更進一步之瞭解與認識,謹佐以較佳之實施例及配合詳細之說明,說明如後:To help you gain a deeper understanding of the features and effects of this invention, we would like to provide you with a preferred embodiment and detailed explanations as follows:

以往積體電路測試者須自己撰寫韌體控制,造成在後續每種型號測試時需要一大段時間進行撰寫與事後進行修正除錯的時間,導致需要花較長的時間訓練測試者撰寫韌體控制的能力及相關通訊格式基礎,由於目前未有統一撰寫規格,因此在對韌體控制進行除錯時有一定難度,造成測試者在執行上產生不便性,又由於不同介面所需之傳輸格式不同,因此控制韌體須不停依不同介面做修改。In the past, integrated circuit testers had to write their own firmware control, which required a significant amount of time to write and debug each subsequent model test. This also required a significant amount of time to train testers in the ability to write firmware control and the fundamentals of the relevant communication formats. The lack of a unified writing standard made debugging firmware control difficult, creating inconvenience for testers. Furthermore, because different interfaces required different transmission formats, the control firmware had to be constantly modified to suit each interface.

本發明透過轉換單元將輸入訊號轉換為通訊格式訊號,並將該通訊格式訊號傳輸至控制單元,並透過控制單元解碼通訊格式訊號並產生控制命令訊號,並利用控制命令訊號控制待測電路執行內建測試,以此利用轉換單元轉換輸入訊號讓測試者不需學會各種通訊格式,並同時降低除錯之難度,也使得控制韌體不必依不同介面重複進行修改。The present invention converts an input signal into a communication format signal through a conversion unit, transmits the communication format signal to a control unit, decodes the communication format signal and generates a control command signal, and uses the control command signal to control the circuit under test to perform built-in tests. Using the conversion unit to convert the input signal eliminates the need for testers to learn various communication formats, reduces debugging difficulty, and eliminates the need for repeated modification of the control firmware based on different interfaces.

在下文中,將藉由圖式來說明本發明之各種實施例來詳細描述本發明。然而本發明之概念可能以許多不同型式來體現,且不應解釋為限於本文中所闡述之例示性實施例。Hereinafter, the present invention will be described in detail by illustrating various embodiments of the present invention with reference to the drawings. However, the concept of the present invention may be embodied in many different forms and should not be construed as being limited to the exemplary embodiments described herein.

首先,請參閱第1圖,其為本發明之電路測試系統架構圖,如圖所示,本發明提供一種電路測試系統1,其包含:一轉換單元10;以及一控制單元20,其連接該轉換單元10以及一待測電路30。First, please refer to FIG. 1 , which is a circuit test system architecture diagram of the present invention. As shown in the figure, the present invention provides a circuit test system 1, which includes: a conversion unit 10; and a control unit 20 connected to the conversion unit 10 and a circuit to be tested 30.

接續上述,請參閱第2圖,其為本發明之電路測試系統訊號傳遞示意圖,如圖所示,該轉換單元10接收一輸入訊號12,該轉換單元10透過一轉換方法產生一通訊格式訊號14,該通訊格式訊號14包含一模式142;該控制單元20判斷該通訊格式訊號14之該模式142,並執行對應該模式142之一解碼方法解碼該通訊格式訊號14並產生對應之一控制命令訊號22;以及該控制命令訊號22傳輸至該待測電路30,該控制命令訊號22係用以控制該待測電路30執行一內建測試32,該輸入訊號12係對應該待測電路30以及及該待測電路30之一測試項目,已使該轉換單元10能夠依據該待測電路30之通訊格式改寫該輸入訊號12為該通訊格式訊號14,如此讓該控制單元20能夠利用解碼該通訊格式訊號14所產生之該控制命令訊號22控制該待測電路30執行該內建測試32。Continuing with the above, please refer to FIG. 2, which is a schematic diagram of the signal transmission of the circuit test system of the present invention. As shown in the figure, the conversion unit 10 receives an input signal 12, and the conversion unit 10 generates a communication format signal 14 through a conversion method. The communication format signal 14 includes a mode 142; the control unit 20 determines the mode 142 of the communication format signal 14, and executes a decoding method corresponding to the mode 142 to decode the communication format signal 14 and generate a corresponding control command signal 22; and the control command signal 2 2 is transmitted to the circuit under test 30. The control command signal 22 is used to control the circuit under test 30 to perform a built-in test 32. The input signal 12 corresponds to the circuit under test 30 and a test item of the circuit under test 30. This enables the conversion unit 10 to rewrite the input signal 12 into the communication format signal 14 according to the communication format of the circuit under test 30. In this way, the control unit 20 can use the control command signal 22 generated by decoding the communication format signal 14 to control the circuit under test 30 to perform the built-in test 32.

接續上述,該輸入訊號12係對應於不同之該待測電路30,該輸入訊號12也對應於該待測電路30不同之該測試項目,也就是說當該待測電路30不同或當該待測電路30相同,但執行不同之該測試項目,會依據該測試項目該轉換單元10接收不同之該輸入訊號12。Continuing from the above, the input signal 12 corresponds to different circuits under test 30. The input signal 12 also corresponds to different test items of the circuits under test 30. That is, when the circuits under test 30 are different or when the circuits under test 30 are the same but different test items are being executed, the conversion unit 10 will receive different input signals 12 depending on the test items.

接續上述,該通訊格式訊號14係透過一封包形式傳輸至該控制單元20。Continuing from the above, the communication format signal 14 is transmitted to the control unit 20 in the form of a packet.

接續上述,該控制單元20係透過一通用序列匯流排、一通用非同步收發傳輸器或一無線通訊接收該通訊格式訊號14。Continuing from the above, the control unit 20 receives the communication format signal 14 via a USB, a universal asynchronous receiver/transmitter (UASRT) or a wireless communication.

接續上述,該內建測試32係為該待測電路30進行自我檢測之一測試,係用以檢測該待測電路30,類比或混合電路中的訊號或設計參數。Continuing from the above, the built-in test 32 is a test for the circuit under test 30 to perform a self-test, and is used to detect the signals or design parameters in the circuit under test 30, analog or hybrid circuit.

接續上述,提供另一實施例,請參閱第3圖,其為本發明之另一實施例之系統架構圖,如圖所示,其中該控制單元20更包含一儲存單元24,該儲存單元24係用以儲存該通訊格式訊號14,當該待測電路30為曾經執行過之型號或種類,可以直接於該儲存單元24提取該通訊格式訊號14,不必重新提供該輸入訊號12,即可產生該控制命令訊號22並控制該待測電路30執行該內建測試32。Continuing with the above, another embodiment is provided. Please refer to FIG. 3 , which is a system architecture diagram of another embodiment of the present invention. As shown in the figure, the control unit 20 further includes a storage unit 24. The storage unit 24 is used to store the communication format signal 14. When the circuit under test 30 is of a model or type that has been executed before, the communication format signal 14 can be directly extracted from the storage unit 24 without re-providing the input signal 12. The control command signal 22 can be generated and the circuit under test 30 can be controlled to execute the built-in test 32.

接續上述,提供另一實施例,請參閱第4圖所示,其為本發明之轉換方法示意圖,該轉換方法係透過對應該待測電路30之一遮罩18,將該輸入訊號12轉換至該通訊格式訊號14,利用該遮罩18將DATA分別套用Inti、CMD、DATA以及DCX,使DATA改變如第4圖所示。Continuing with the above, another embodiment is provided. Please refer to FIG. 4 , which is a schematic diagram of the conversion method of the present invention. The conversion method converts the input signal 12 into the communication format signal 14 through a mask 18 corresponding to the circuit under test 30. The mask 18 is used to apply Inti, CMD, DATA, and DCX to DATA, respectively, so that DATA changes as shown in FIG. 4 .

接著,提供一實際範例,請參閱第5圖,其為本發明之一實施例示意圖,如圖所示,本發明之電路測試系統1係透過輸入該輸入訊號12至一編譯器(該轉換單元10),該輸入訊號12更包含一組合122(如:CMD,DATA)以及一編譯寫法124(如:WriteFormatDefine),該編譯器將依據該編譯寫法124(如:WriteFormatDefine) 將該組合122(如:CMD,DATA)變更為如該通訊格式訊號14之形式,並將該通訊格式訊號14傳輸至該控制單元20,該控制單元20依據該通訊格式訊號14之該模式142解碼該通訊格式訊號14,並產生該控制命令訊號22,並透過該控制命令訊號22控制該待測電路30執行該內建測試32。Next, a practical example is provided. Please refer to FIG. 5 , which is a schematic diagram of an embodiment of the present invention. As shown in the figure, the circuit test system 1 of the present invention is inputted into an compiler (the conversion unit 10) by inputting the input signal 12. The input signal 12 further includes a combination 122 (e.g., CMD, DATA) and an encoding method 124 (e.g., WriteFormatDefine). The compiler will execute the output signal according to the encoding method 124 (e.g., WriteFormatDefine). The combination 122 (e.g., CMD, DATA) is converted into the form of the communication format signal 14, and the communication format signal 14 is transmitted to the control unit 20. The control unit 20 decodes the communication format signal 14 according to the mode 142 of the communication format signal 14 and generates the control command signal 22. The control command signal 22 is used to control the circuit under test 30 to perform the built-in test 32.

以上所述之實施例,本發明提供一種電路測試系統,透過該轉換單元10利用該轉換方法轉換該輸入訊號12並產生該通訊格式訊號14,該控制單元20接收該通訊格式訊號14後依據該模式142解碼該通訊格式訊號14產生該控制命令訊號22,並依據該控制命令訊號22控制該待測電路30執行該內建測試32,以此達到不須依據該待測電路30不同通訊格式更改該輸入訊號12,後續進行除錯也較容易,也大幅降低訓練測試者撰寫韌體控制能力之時間,僅需要測試者了解基本數據表閱讀能力即可透過該輸入訊號12控制該待測電路30進行該內建測試32。In the embodiment described above, the present invention provides a circuit testing system. The conversion unit 10 utilizes the conversion method to convert the input signal 12 and generate the communication format signal 14. The control unit 20 receives the communication format signal 14 and decodes it according to the mode 142 to generate the control command signal 22. The control unit 20 controls the circuit under test 30 to perform the built-in test 32 based on the control command signal 22. This eliminates the need to modify the input signal 12 based on the different communication formats of the circuit under test 30. This makes subsequent debugging easier and significantly reduces the time required to train testers in firmware control programming. Testers only need to understand basic datasheet reading skills to control the circuit under test 30 to perform the built-in test 32 using the input signal 12.

接著,請參閱第6圖,其為本發明之電路測試方法流程圖,如圖所示,本發明提供一種電路測試方法,如下所示:Next, please refer to FIG. 6, which is a flow chart of the circuit testing method of the present invention. As shown in the figure, the present invention provides a circuit testing method as follows:

步驟S10:提供輸入訊號至轉換單元,輸入訊號對應待測電路及待測電路之測試項目;Step S10: providing an input signal to the conversion unit, wherein the input signal corresponds to the circuit to be tested and the test item of the circuit to be tested;

步驟S20:轉換單元透過轉換方法轉換輸入訊號並產出通訊格式訊號,通訊格式訊號包含模式;Step S20: The conversion unit converts the input signal through the conversion method and generates a communication format signal, wherein the communication format signal includes a mode;

步驟S30:轉換單元傳輸通訊格式訊號至控制單元,控制單元判斷通訊格式訊號之模式,並執行對應模式之解碼方法解碼通訊格式訊號並產生對應之控制命令訊號;Step S30: The conversion unit transmits the communication format signal to the control unit. The control unit determines the mode of the communication format signal and executes a decoding method corresponding to the mode to decode the communication format signal and generate a corresponding control command signal.

步驟S40:控制單元傳輸控制命令訊號至待測電路,待測電路依據控制命令訊號執行內建測試。Step S40: The control unit transmits a control command signal to the circuit under test, and the circuit under test performs a built-in test according to the control command signal.

接續上述,復參閱第2圖以及第5圖,接著詳細描述步驟S10-S40,如下所示:Continuing with the above, referring again to FIG. 2 and FIG. 5 , steps S10-S40 are described in detail as follows:

於步驟S10中,提供該輸入訊號12至該轉換單元10,該輸入訊號12對應該待測電路30以及該待測電路30之一測試項目,該輸入訊號12係對應於不同之該待測電路30,該輸入訊號12也對應於該待測電路30不同之該測試項目,也就是說當該待測電路30不同或當該待測電路30相同,但執行不同之該測試項目,會依據該測試項目該轉換單元10接收不同之該輸入訊號12。In step S10, the input signal 12 is provided to the conversion unit 10. The input signal 12 corresponds to the circuit under test 30 and a test item of the circuit under test 30. The input signal 12 corresponds to different circuits under test 30 and also corresponds to different test items of the circuit under test 30. In other words, when the circuits under test 30 are different or when the circuits under test 30 are the same but different test items are being executed, the conversion unit 10 will receive different input signals 12 depending on the test item.

於步驟S20中,該轉換單元10透過該轉換方法轉換該輸入訊號12並產出該通訊格式訊號14,該通訊格式訊號14包含該模式142,復參閱第4圖,該轉換方法係透過對應該待測電路30之一遮罩18,將該輸入訊號12轉換至該通訊格式訊號14,利用該遮罩18將DATA分別套用Inti、CMD、DATA以及DCX,使DATA改變如第4圖所示。In step S20, the conversion unit 10 converts the input signal 12 through the conversion method and generates the communication format signal 14. The communication format signal 14 includes the pattern 142. Referring again to FIG. 4 , the conversion method converts the input signal 12 into the communication format signal 14 through a mask 18 corresponding to the circuit under test 30. The mask 18 is used to apply Inti, CMD, DATA, and DCX to DATA, respectively, so that DATA changes as shown in FIG. 4 .

於步驟S30中,該轉換單元10傳輸該通訊格式訊號14至該控制單元20,該控制單元20判斷該通訊格式訊號14之該模式142,並執行對應該模式142之一解碼方法解碼該通訊格式訊號14並產生對應之該控制命令訊號22,其中該通訊格式訊號14係透過一封包形式傳輸至該控制單元20,該控制單元20係透過一通用序列匯流排、一通用非同步收發傳輸器或一無線通訊接收該通訊格式訊號14,但不再此限。In step S30, the conversion unit 10 transmits the communication format signal 14 to the control unit 20. The control unit 20 determines the mode 142 of the communication format signal 14 and executes a decoding method corresponding to the mode 142 to decode the communication format signal 14 and generate the corresponding control command signal 22. The communication format signal 14 is transmitted to the control unit 20 in the form of a packet. The control unit 20 receives the communication format signal 14 through a universal serial bus, a universal asynchronous receiver and transmitter, or a wireless communication, but is not limited thereto.

接續上述,如第2圖以及第7圖所示,第7圖為本發明之解碼示意圖, 如圖所示,該控制單元20執行步驟S31:接收封包後,執行步驟S32:開始判斷模式,判斷該模式142後,執行步驟S33:依據不同模式執行對應該模式142之解碼方法,接著執行步驟S34:產生該控制命令訊號22進而控制該待測電路30執行該內建測試32,接著執行步驟S35:判斷是否有新封包,若是,重複執行上述步驟S31-步驟S35;若否,執行步驟S36:判斷是否關機,若否,重複執行步驟S35;若是則執行步驟S37:關機。Continuing from the above, as shown in FIG. 2 and FIG. 7, FIG. 7 is a schematic diagram of the decoding of the present invention. As shown in the figure, the control unit 20 executes step S31: After receiving the packet, it executes step S32: starts to determine the mode. After determining the mode 142, it executes step S33: executes the decoding method corresponding to the mode 142 according to the different modes, then executes step S34: generates the control command signal 22 to control the circuit under test 30 to execute the built-in test 32, and then executes step S35: determines whether there is a new packet. If so, repeats the above steps S31-step S35; if not, executes step S36: determines whether to shut down, if not, repeats step S35; if so, executes step S37: shuts down.

於步驟S40中,該控制單元20傳輸該控制命令訊號22至該待測電路30,該待測電路30依據該控制命令訊號22執行該內建測試32,該內建測試32係為該待測電路30進行自我檢測之一測試,係用以檢測該待測電路30,類比或混合電路中的訊號或設計參數。In step S40, the control unit 20 transmits the control command signal 22 to the circuit under test 30. The circuit under test 30 executes the built-in test 32 according to the control command signal 22. The built-in test 32 is a self-test of the circuit under test 30, which is used to detect signals or design parameters in the analog or hybrid circuit of the circuit under test 30.

接續上述,提供另一實施例,請參閱第3圖,如圖所示,其中該控制單元20更包含一儲存單元24,該儲存單元24係用以儲存該通訊格式訊號14,當該待測電路30為曾經執行過之型號、種類,可以直接於該儲存單元24提取該通訊格式訊號14,不必重新提供該輸入訊號12,即可產生該控制命令訊號22並控制該待測電路30執行該內建測試32。Continuing with the above, another embodiment is provided. Please refer to FIG. 3 . As shown in the figure, the control unit 20 further includes a storage unit 24. The storage unit 24 is used to store the communication format signal 14. When the circuit under test 30 is of a model or type that has been executed before, the communication format signal 14 can be directly extracted from the storage unit 24 without re-providing the input signal 12. The control command signal 22 can be generated to control the circuit under test 30 to execute the built-in test 32.

接著,提供一實際範例,請參閱第4圖、第6圖以及第8圖,第8圖為本發明之資料整理示意圖,如圖所示,本發明之電路測試系統1係透過輸入該輸入訊號12至一編譯器(該轉換單元10),該輸入訊號12更包含一組合122(如:CMD,DATA)以及一編譯寫法(如:WriteFormatDefine),接著對組合122(如:CMD,DATA)進行資料整理,如第8圖所示,將資料轉換為數字並進行排列產生一轉換組合1222,利用該編譯寫法(如:WriteFormatDefine)作為一遮罩18,對該該轉換組合1222進行處理,接著產生該通訊格式訊號14,該控制單元20依據該通訊格式訊號14之該模式142解碼該通訊格式訊號14,並產生該控制命令訊號22,並透過該控制命令訊號22控制該待測電路30執行該內建測試32。Next, a practical example is provided. Please refer to FIG. 4, FIG. 6 and FIG. 8. FIG. 8 is a schematic diagram of data organization of the present invention. As shown in the figure, the circuit test system 1 of the present invention is inputted into an encoder (the conversion unit 10) by inputting the input signal 12. The input signal 12 further includes a combination 122 (such as CMD, DATA) and an encoding method (such as WriteFormatDefine). Then, the combination 122 (such as CMD, DATA) is organized into data, as shown in FIG. As shown, the data is converted into digital data and arranged to generate a conversion combination 1222. The compilation method (e.g., WriteFormatDefine) is used as a mask 18 to process the conversion combination 1222. Then, the communication format signal 14 is generated. The control unit 20 decodes the communication format signal 14 according to the mode 142 of the communication format signal 14 and generates the control command signal 22. The control command signal 22 is used to control the circuit under test 30 to execute the built-in test 32.

以上所述之實施例,本發明提供一種電路測試系統,透過該轉換單元10利用該轉換方法轉換該輸入訊號12並產生該通訊格式訊號14,該控制單元20接收該通訊格式訊號14後依據該模式142解碼該通訊格式訊號14產生該控制命令訊號22,並依據該控制命令訊號22控制該待測電路30執行該內建測試32,以此達到不須依據該待測電路30不同通訊格式更改該輸入訊號12,後續進行除錯也較容易,也大幅降低訓練測試者撰寫韌體控制能力之時間,僅需要測試者了解基本數據表閱讀能力即可透過該輸入訊號12控制該待測電路30進行該內建測試32。In the embodiment described above, the present invention provides a circuit testing system. The conversion unit 10 utilizes the conversion method to convert the input signal 12 and generate the communication format signal 14. The control unit 20 receives the communication format signal 14 and decodes it according to the mode 142 to generate the control command signal 22. The control unit 20 controls the circuit under test 30 to perform the built-in test 32 based on the control command signal 22. This eliminates the need to modify the input signal 12 based on the different communication formats of the circuit under test 30. This makes subsequent debugging easier and significantly reduces the time required to train testers in firmware control programming. Testers only need to understand basic datasheet reading skills to control the circuit under test 30 to perform the built-in test 32 using the input signal 12.

故本發明實為一具有新穎性、進步性及可供產業上利用者,應符合我國專利法專利申請要件無疑,爰依法提出發明專利申請,祈  鈞局早日賜准專利,至感為禱。Therefore, this invention is novel, progressive, and industrially applicable, and should undoubtedly meet the patent application requirements under Taiwan's Patent Law. Therefore, we have filed an invention patent application in accordance with the law and pray that the Bureau will approve the patent as soon as possible. I am deeply grateful for your prayers.

惟以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍,舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。However, the above description is only a preferred embodiment of the present invention and is not intended to limit the scope of implementation of the present invention. All equivalent changes and modifications based on the shape, structure, characteristics and spirit described in the patent application scope of the present invention should be included in the patent application scope of the present invention.

步驟S10-S40 步驟S31-S37 1:電路測試系統 10:轉換單元 12:輸入訊號 122:組合 1222:轉換組合 124:編譯寫法 14:通訊格式訊號 142:模式 18:遮罩 20:控制單元 22:控制命令訊號 24:儲存單元 30:待測電路 32:內建測試 Steps S10-S40 Steps S31-S37 1: Circuit Test System 10: Conversion Unit 12: Input Signal 122: Combination 1222: Conversion Combination 124: Compilation Method 14: Communication Format Signal 142: Mode 18: Mask 20: Control Unit 22: Control Command Signal 24: Storage Unit 30: Circuit Under Test 32: Built-in Test

第1圖:其為本發明之電路測試系統架構圖; 第2圖:其為本發明之電路測試系統訊號傳遞示意圖; 第3圖:其為本發明之另一實施例之系統架構圖; 第4圖:其為本發明之轉換方法示意圖; 第5圖:其為本發明之一實施例示意圖; 第6圖:其為本發明之電路測試方法流程圖; 第7圖:其為本發明之解碼示意圖;以及 第8圖:其為本發明之資料整理示意圖。 Figure 1: A circuit test system architecture diagram of the present invention; Figure 2: A schematic diagram illustrating signal transmission within the circuit test system of the present invention; Figure 3: A system architecture diagram of another embodiment of the present invention; Figure 4: A schematic diagram illustrating the conversion method of the present invention; Figure 5: A schematic diagram illustrating an embodiment of the present invention; Figure 6: A flow chart illustrating the circuit test method of the present invention; Figure 7: A schematic diagram illustrating the decoding of the present invention; and Figure 8: A schematic diagram illustrating the data organization of the present invention.

1:電路測試系統 1: Circuit test system

10:轉換單元 10:Conversion unit

12:輸入訊號 12: Input signal

14:通訊格式訊號 14: Communication format signal

142:模式 142: Mode

20:控制單元 20: Control unit

22:控制命令訊號 22: Control command signal

30:待測電路 30: Circuit under test

32:內建測試 32: Built-in Tests

Claims (9)

一種電路測試系統,其應用於控制一待測電路執行一內建測試軟體,其包含:一轉換單元,其係接收一輸入訊號,該輸入訊號對應該待測電路以及該待測電路之一測試項目,該轉換單元將該輸入訊號透過一轉換方法產出一通訊格式訊號,該通訊格式訊號包含一模式;以及一控制單元,其連接該轉換單元以及該待測電路,該控制單元判斷該通訊格式訊號之該模式,並執行對應該模式之一解碼方法解碼該通訊格式訊號並產生對應之一控制命令訊號,該控制命令訊號係用以控制該待測電路執行該內建測試;其中,該轉換方法係透過對應該待測電路之一遮罩,將該輸入訊號轉換至該通訊格式訊號。A circuit testing system, used to control a circuit under test to execute built-in test software, includes: a conversion unit that receives an input signal corresponding to the circuit under test and a test item of the circuit under test, and converts the input signal into a communication format signal through a conversion method, wherein the communication format signal includes a pattern; and a control unit connected to the conversion unit and the circuit under test, the control unit determines the pattern of the communication format signal and executes a decoding method corresponding to the pattern to decode the communication format signal and generate a corresponding control command signal, wherein the control command signal is used to control the circuit under test to execute the built-in test; wherein the conversion method converts the input signal into the communication format signal through a mask corresponding to the circuit under test. 如請求項1所述之電路測試系統,其中該通訊格式訊號係透過一封包形式傳輸至該控制單元。The circuit testing system as described in claim 1, wherein the communication format signal is transmitted to the control unit in the form of a packet. 如請求項1所述之電路測試系統,其中該控制單元係透過一通用序列匯流排、一通用非同步收發傳輸器或一無線通訊接收該通訊格式訊號。The circuit testing system as claimed in claim 1, wherein the control unit receives the communication format signal via a universal serial bus (USB), a universal asynchronous receiver/transmitter (A/R/TSM), or a wireless communication. 如請求項1所述之電路測試系統,其中該內建測試係為該待測電路進行自我檢測之一測試。The circuit testing system as claimed in claim 1, wherein the built-in test is a self-test of the circuit under test. 如請求項1所述之電路測試系統,其中該控制單元更包含:一儲存單元,其係用以儲存該通訊格式訊號。The circuit testing system as described in claim 1, wherein the control unit further includes: a storage unit, which is used to store the communication format signal. 一種電路測試方法,其步驟包含:提供一輸入訊號至一轉換單元,該輸入訊號對應一待測電路以及該待測電路之一測試項目;該轉換單元透過一轉換方法轉換該輸入訊號並產出一通訊格式訊號,該通訊格式訊號包含一模式;該轉換單元傳輸該通訊格式訊號至一控制單元,該控制單元判斷該通訊格式訊號之該模式,並執行對應該模式之一解碼方法解碼該通訊格式訊號並產生對應之一控制命令訊號;以及該控制單元傳輸該控制命令訊號至該待測電路,該待測電路依據該控制命令訊號執行一內建測試;其中,該轉換方法係透過對應該待測電路之一遮罩,將該輸入訊號轉換至該通訊格式訊號。A circuit testing method includes the following steps: providing an input signal to a conversion unit, the input signal corresponding to a circuit to be tested and a test item of the circuit to be tested; the conversion unit converting the input signal through a conversion method and generating a communication format signal, the communication format signal including a pattern; the conversion unit transmitting the communication format signal to a control unit, the control unit determining the pattern of the communication format signal and executing a decoding method corresponding to the pattern to decode the communication format signal and generate a corresponding control command signal; and the control unit transmitting the control command signal to the circuit to be tested, the circuit to be tested performing a built-in test according to the control command signal; wherein the conversion method converts the input signal to the communication format signal through a mask corresponding to the circuit to be tested. 如請求項6所述之電路測試方法,其中該通訊格式訊號係透過一封包形式傳輸至該控制單元。The circuit testing method as described in claim 6, wherein the communication format signal is transmitted to the control unit in the form of a packet. 如請求項6所述之電路測試方法,其中該控制單元係透過一通用序列匯流排、一通用非同步收發傳輸器或一無線通訊接收該通訊格式訊號。The circuit testing method as described in claim 6, wherein the control unit receives the communication format signal through a universal serial bus, a universal asynchronous receiver and transmitter, or a wireless communication. 如請求項6所述之電路測試方法,其中該內建測試係為該待測電路進行自我檢測之一測試。The circuit testing method as described in claim 6, wherein the built-in test is a test for performing a self-test on the circuit to be tested.
TW113119581A 2024-05-27 2024-05-27 Circuit test system and method thereof TWI898621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113119581A TWI898621B (en) 2024-05-27 2024-05-27 Circuit test system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113119581A TWI898621B (en) 2024-05-27 2024-05-27 Circuit test system and method thereof

Publications (2)

Publication Number Publication Date
TWI898621B true TWI898621B (en) 2025-09-21
TW202546456A TW202546456A (en) 2025-12-01

Family

ID=97832156

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113119581A TWI898621B (en) 2024-05-27 2024-05-27 Circuit test system and method thereof

Country Status (1)

Country Link
TW (1) TWI898621B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI267086B (en) * 2005-12-30 2006-11-21 Ind Tech Res Inst Built-in memory current test circuit
TW201307864A (en) * 2011-06-13 2013-02-16 Mediatek Inc Integrated circuit, module circuit, and RF BIST system
US20200293197A1 (en) * 2014-10-28 2020-09-17 SK Hynix Inc. Memory device
TW202127461A (en) * 2019-08-21 2021-07-16 美商輝達公司 Concurrent testing of a logic device and a memory device within a system package
CN115691632A (en) * 2022-10-19 2023-02-03 中科声龙科技发展(北京)有限公司 Test control system and method
US20240069764A1 (en) * 2022-08-24 2024-02-29 Micron Technology, Inc. Single-bit error indication for a memory built-in self-test

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI267086B (en) * 2005-12-30 2006-11-21 Ind Tech Res Inst Built-in memory current test circuit
TW201307864A (en) * 2011-06-13 2013-02-16 Mediatek Inc Integrated circuit, module circuit, and RF BIST system
US20200293197A1 (en) * 2014-10-28 2020-09-17 SK Hynix Inc. Memory device
TW202127461A (en) * 2019-08-21 2021-07-16 美商輝達公司 Concurrent testing of a logic device and a memory device within a system package
US20240069764A1 (en) * 2022-08-24 2024-02-29 Micron Technology, Inc. Single-bit error indication for a memory built-in self-test
CN115691632A (en) * 2022-10-19 2023-02-03 中科声龙科技发展(北京)有限公司 Test control system and method

Similar Documents

Publication Publication Date Title
US7284175B2 (en) Method and apparatus for diagnosing failures in an integrated circuit using design-for-debug (DFD) techniques
US6101457A (en) Test access port
KR100502128B1 (en) Method and structure for testing embedded cores based system-on-a-chip
US8650524B1 (en) Method and apparatus for low-pin count testing of integrated circuits
US8904256B1 (en) Method and apparatus for low-pin count testing of integrated circuits
US6456102B1 (en) External test ancillary device to be used for testing semiconductor device, and method of testing semiconductor device using the device
TW200424842A (en) Method and apparatus for testing embedded cores
US20090307548A1 (en) Method and apparatus for performing logic built-in self-testing of an integrated circuit
CN116224042B (en) Method, system, apparatus and medium for generating test vector for testing device under test
US9805826B2 (en) Method and apparatus for testing integrated circuit
US7921346B2 (en) Verification of array built-in self-test (ABIST) design-for-test/design-for-diagnostics (DFT/DFD)
US6690189B2 (en) Apparatus and method for testing semiconductor integrated circuit
US20080016421A1 (en) Method and apparatus for providing programmable control of built-in self test
EP0849678B1 (en) A system and method for testing electronic devices
CN101071155A (en) Device and method for realizing border-scanning multi-link test
TWI898621B (en) Circuit test system and method thereof
JP2660028B2 (en) LSI test equipment
US7231565B2 (en) Method for performing built-in and at-speed test in system-on-chip
TW202546456A (en) Circuit test system and method thereof
Ungar et al. IEEE-1149. X standards: achievements vs. expectations
US7237168B2 (en) Design for test of analog module systems
US7843210B2 (en) Semiconductor integrated circuit device and testing method of the same
US11041904B2 (en) Zero-pin test solution for integrated circuits
JPH0389179A (en) Trouble diagnostic apparatus
CN120068757A (en) Chip design for testability DFT system based on field programmable gate array and method thereof