[go: up one dir, main page]

TWI877951B - Testing device for pcie gen5 interface and method thereof - Google Patents

Testing device for pcie gen5 interface and method thereof Download PDF

Info

Publication number
TWI877951B
TWI877951B TW112148688A TW112148688A TWI877951B TW I877951 B TWI877951 B TW I877951B TW 112148688 A TW112148688 A TW 112148688A TW 112148688 A TW112148688 A TW 112148688A TW I877951 B TWI877951 B TW I877951B
Authority
TW
Taiwan
Prior art keywords
test
pcie
mcio
programmable logic
complex programmable
Prior art date
Application number
TW112148688A
Other languages
Chinese (zh)
Other versions
TW202524310A (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 TW112148688A priority Critical patent/TWI877951B/en
Application granted granted Critical
Publication of TWI877951B publication Critical patent/TWI877951B/en
Publication of TW202524310A publication Critical patent/TW202524310A/en

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

A testing device for PCIe gen5 interface and method thereof is disclosed. By using N MCIO (Mini Cool Edge IO) connectors and their corresponding cables to electrically interconnect a test motherboard and a UUT (Unit Under Test), so as to the test motherboard's reception of PCIe Gen5 a plurality of differential signals, differential clock signals, input/output signals, and I2C signals from the UUT, and then executing testing through a testing logic circuit of a CPLD (Complex Programmable Logic Device) and a testing program of a BMC (Baseboard Management Controller). The mechanism is help to the convenience and coverage of testing.

Description

PCIe Gen5介面測試裝置及其方法PCIe Gen5 interface testing device and method

本發明涉及一種測試裝置及其方法,特別是PCIe Gen5介面測試裝置及其方法。The present invention relates to a testing device and a method thereof, in particular to a PCIe Gen5 interface testing device and a method thereof.

近年來,隨著半導體技術的普及與蓬勃發展,各種電子產品如雨後春筍般湧現,然而,電子產品的主機板具有眾多零元件及複雜的線路,如何確保主機板良好一直是各家廠商亟欲解決的問題之一。In recent years, with the popularization and rapid development of semiconductor technology, various electronic products have sprung up like mushrooms after rain. However, the motherboards of electronic products have many components and complex circuits. How to ensure the good quality of the motherboard has always been one of the problems that manufacturers are eager to solve.

一般而言,傳統的測試主機板方式是使用大量的MCIO(Mini Cool Edge IO)連接器,將PCIe匯流排引出,然後再通過連接線連接到背板等外部設備,當要測試這些PCIe信號時,需要連接大量的外接板卡,以及搭配使用各種PCIe設備,如:硬碟、各種PCIe擴展卡等等。然而,此方式不但相對複雜,需要的成本也較高,而且無法完整覆蓋所有類型的主機板,舉例來說,使用連接AIC Riser的MCIO轉PCIe CEM 插槽的部分,就會有較多的差分時脈信號無法測試,而這些信號可能會在其他形式的配置上被使用,故傳統的方式具有測試便利性不佳及覆蓋率不足的問題。Generally speaking, the traditional way to test motherboards is to use a large number of MCIO (Mini Cool Edge IO) connectors to lead out the PCIe bus, and then connect it to external devices such as the backplane through a cable. When testing these PCIe signals, it is necessary to connect a large number of external boards and use various PCIe devices, such as hard drives, various PCIe expansion cards, etc. However, this method is not only relatively complicated and costly, but also cannot fully cover all types of motherboards. For example, when using the MCIO to PCIe CEM slot part connected to the AIC Riser, there will be more differential clock signals that cannot be tested, and these signals may be used in other forms of configuration. Therefore, the traditional method has the problems of poor testing convenience and insufficient coverage.

綜上所述,可知先前技術中長期以來一直存在測試便利性不佳及覆蓋率不足之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the previous technology has long had problems with poor testing convenience and insufficient coverage, so it is necessary to propose improved technical means to solve this problem.

本發明揭露一種PCIe Gen5介面測試裝置及其方法。The present invention discloses a PCIe Gen5 interface testing device and method thereof.

首先,本發明揭露一種PCIe Gen5介面測試裝置,此裝置包含:測試主機板、第一子板及第二子板。其中,測試主機板包含:PCIe交換器、多個插槽及N個MCIO連接器。所述PCIe交換器用以擴展及管理PCIe匯流排的連接,提供多通道連接及資料交換;所述插槽至少包含第一插槽及第二插槽;每一所述MCIO連接器的一端連接PCIe交換器,每一所述MCIO連接器的另一端通過相應的MCIO連接線連接至待測機板(Unit Under Test, UUT)的PCIe介面,其中,N為正整數。接著,在第一子板的部分,其插入第一插槽以與測試主機板電性連接,此第一子板包含複雜可程式化邏輯裝置(Complex Programmable Logic Device, CPLD),其中,所述複雜可程式化邏輯裝置包含適用於待測機板的輸入/輸出(Input/Output, I/O)信號、差分時脈(REFCLK)及多個串列通訊的測試邏輯電路;以及第二子板插入第二插槽以與測試主機板電性連接,此第二子板包含基板管理控制器(Baseboard Management Controller, BMC),用以執行測試程式,所述測試程式驅動所述複雜可程式化邏輯裝置以測試輸入/輸出信號、差分時脈及所述串列通訊。First, the present invention discloses a PCIe Gen5 interface test device, which includes: a test motherboard, a first daughterboard and a second daughterboard. The test motherboard includes: a PCIe switch, a plurality of slots and N MCIO connectors. The PCIe switch is used to expand and manage the connection of the PCIe bus, providing multi-channel connection and data exchange; the slots include at least a first slot and a second slot; one end of each of the MCIO connectors is connected to the PCIe switch, and the other end of each of the MCIO connectors is connected to the PCIe interface of the unit under test (UUT) through a corresponding MCIO connection line, wherein N is a positive integer. Next, in the part of the first daughter board, it is inserted into the first slot to be electrically connected to the test motherboard, and the first daughter board includes a complex programmable logic device (CPLD), wherein the complex programmable logic device includes input/output (I/O) signals, differential clocks (REFCLK) and multiple serial communication test logic circuits suitable for the test board; and the second daughter board is inserted into the second slot to be electrically connected to the test motherboard, and the second daughter board includes a baseboard management controller (BMC) for executing a test program, and the test program drives the complex programmable logic device to test the input/output signals, differential clocks and the serial communication.

另外,本發明還揭露一種PCIe Gen5介面測試方法,其步驟包括:將測試主機板與待測機板相互電性連接,所述測試主機板包含PCIe交換器、多個插槽及N個MCIO連接器,每一所述MCIO連接器的一端連接PCIe交換器,每一所述MCIO連接器的另一端通過相應的MCIO連接線連接至待測機板,其中,所述插槽至少包含第一插槽及第二插槽,且N為正整數;將第一子板插入至第一插槽以與測試主機板電性連接,此第一子板包含複雜可程式化邏輯裝置,其中,所述複雜可程式化邏輯裝置包含適用於待測機板的輸入/輸出信號、差分時脈及多個串列通訊的測試邏輯電路;將第二子板插入第二插槽以與測試主機板電性連接,此第二子板包含基板管理控制器;以及在進行PCIe Gen5介面測試時,基板管理控制器執行測試程式,用以驅動所述複雜可程式化邏輯裝置對輸入/輸出信號、差分時脈及所述串列通訊進行測試。In addition, the present invention also discloses a PCIe Gen5 interface testing method, the steps of which include: electrically connecting a test motherboard and a test motherboard, wherein the test motherboard includes a PCIe switch, a plurality of slots and N MCIO connectors, one end of each MCIO connector is connected to the PCIe switch, and the other end of each MCIO connector is connected to the test motherboard through a corresponding MCIO connection line, wherein the slots include at least a first slot and a second slot, and N is a positive integer; inserting a first daughter board into a first slot to be electrically connected to a test motherboard, the first daughter board comprising a complex programmable logic device, wherein the complex programmable logic device comprises input/output signals, differential clocks and a plurality of serial communication test logic circuits applicable to the test motherboard; inserting a second daughter board into a second slot to be electrically connected to the test motherboard, the second daughter board comprising a baseboard management controller; and when performing a PCIe Gen5 interface test, the baseboard management controller executes a test program to drive the complex programmable logic device to test the input/output signals, differential clocks and the serial communication.

本發明所揭露之裝置與方法如上,與先前技術的差異在於本發明是透過N個MCIO連接器及其相應的連接線將測試主機板與待測機板相互電性連接,以便測試主機板接收來自待測機板的PCIe Gen5的差分信號、差分時脈信號、輸入/輸出信號及I2C信號,再通過複雜可程式化邏輯裝置的測試邏輯電路與基板管理控制器的測試程式進行測試。The device and method disclosed in the present invention are as described above. The difference from the prior art is that the present invention electrically connects the test motherboard and the board to be tested to each other through N MCIO connectors and their corresponding connection lines, so that the test motherboard receives the PCIe Gen5 differential signal, differential clock signal, input/output signal and I2C signal from the board to be tested, and then performs testing through the test logic circuit of the complex programmable logic device and the test program of the baseboard management controller.

透過上述的技術手段,本發明可以達成提高測試的便利性及覆蓋率之技術功效。Through the above-mentioned technical means, the present invention can achieve the technical effect of improving the convenience and coverage of testing.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The following will be used in conjunction with drawings and embodiments to explain the implementation of the present invention in detail, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.

請先參閱「第1圖」,「第1圖」為本發明PCIe Gen5介面測試裝置之裝置方塊圖,此裝置包含:測試主機板100、第一子板110及第二子板120。其中,測試主機板100包含:PCIe交換器101、多個插槽102及N個MCIO連接器103,其中,N為正整數。在實際實施上,測試主機板100的每一個MCIO連接器103皆可支援差分時脈測試(REFCLK測試)、帶外(Sideband)信號測試、I2C功能測試及SPI/UART功能測試。特別要說明的是,倘若待測機板130的MCIO連接器數量超過測試主機板100的MCIO連接器103數量,則可同時使用多個測試主機板100來進行測試,舉例來說,假設待測機板130具有16個MCIO連接器、測試主機板100只有8個MCIO連接器103,此時,可以同時使用二個測試主機板100(如:Lightning設備)來進行測試,也就是說,第一個測試主機板100的8個MCIO連接器103與第二個測試主機板100的8個MCIO連接器103一併連接至待測機板130的16個MCIO連接器,使二個測試主機板100可以一次完成測試,無須分先後次序。如此一來,即可透過使用測試主機板100來簡化傳統PCIe介面測試設備,並且降低測試成本,以及提高測試覆蓋率。Please refer to "Figure 1" first. "Figure 1" is a device block diagram of the PCIe Gen5 interface test device of the present invention. The device includes: a test motherboard 100, a first daughterboard 110 and a second daughterboard 120. The test motherboard 100 includes: a PCIe switch 101, a plurality of slots 102 and N MCIO connectors 103, wherein N is a positive integer. In actual implementation, each MCIO connector 103 of the test motherboard 100 can support differential clock test (REFCLK test), out-of-band (Sideband) signal test, I2C function test and SPI/UART function test. It is particularly important to note that if the number of MCIO connectors of the board under test 130 exceeds the number of MCIO connectors 103 of the test board 100, multiple test boards 100 can be used simultaneously for testing. For example, assuming that the board under test 130 has 16 MCIO connectors and the test board 100 has only 8 MCIO connectors 103, two test boards 100 (such as Lightning devices) can be used simultaneously for testing. In other words, the 8 MCIO connectors 103 of the first test board 100 and the 8 MCIO connectors 103 of the second test board 100 are connected to the 16 MCIO connectors of the board under test 130, so that the two test boards 100 can complete the test at one time without having to distinguish the order of priority. In this way, the traditional PCIe interface test equipment can be simplified by using the test motherboard 100, and the test cost can be reduced and the test coverage can be improved.

所述PCIe交換器101用以擴展及管理PCIe匯流排的連接,提供多通道連接及資料交換。在實際實施上,所述PCIe交換器101是指PCI Express(Peripheral Component Interconnect Express)的交換器,它是一種高速的資料匯流排技術,用於連接電腦內的各種硬體設備,例如:顯示卡、網路卡、儲存設備等等。PCIe交換器101允許多個PCIe設備連接和通信。The PCIe switch 101 is used to expand and manage the connection of the PCIe bus, providing multi-channel connection and data exchange. In actual implementation, the PCIe switch 101 refers to a PCI Express (Peripheral Component Interconnect Express) switch, which is a high-speed data bus technology used to connect various hardware devices in a computer, such as: display card, network card, storage device, etc. The PCIe switch 101 allows multiple PCIe devices to connect and communicate.

所述插槽102至少包含第一插槽102a及第二插槽102b。在實際實施上,本發明並未限定插槽102的類型,只要插槽102能夠提供第一子板110及第二子板120插入,使得第一子板110及第二子板120能夠與測試主機板100電性連接的各種類型皆不脫離本發明的應用範疇。The slot 102 at least includes a first slot 102a and a second slot 102b. In actual implementation, the present invention does not limit the type of the slot 102. As long as the slot 102 can provide the first daughter board 110 and the second daughter board 120 for insertion, various types of the first daughter board 110 and the second daughter board 120 that can be electrically connected to the test motherboard 100 are within the scope of application of the present invention.

每一所述MCIO連接器103的一端連接PCIe交換器101,每一所述MCIO連接器103的另一端通過相應的MCIO連接線104連接至待測機板130的PCIe介面。在實際實施上,MCIO連接線104包含M個通道用以在測試主機板100及待測機板130之間傳輸差分信號,並且由所述複雜可程式化邏輯裝置對每一通道中傳輸的差分信號進行測試,其中,M為正整數,稍後將配合圖式作說明。One end of each MCIO connector 103 is connected to the PCIe switch 101, and the other end of each MCIO connector 103 is connected to the PCIe interface of the test board 130 through the corresponding MCIO connection line 104. In actual implementation, the MCIO connection line 104 includes M channels for transmitting differential signals between the test motherboard 100 and the test board 130, and the differential signal transmitted in each channel is tested by the complex programmable logic device, wherein M is a positive integer, which will be explained later with reference to the figure.

接著,在第一子板110的部分,其插入第一插槽102a以與測試主機板100電性連接,此第一子板110包含複雜可程式化邏輯裝置,其中,所述複雜可程式化邏輯裝置包含適用於待測機板130的輸入/輸出信號、差分時脈及多個串列通訊的測試邏輯電路。在實際實施上,所述串列通訊可包含積體匯流排電路(Inter-Integrated Circuit, I2C)、串列周邊介面(Serial Peripheral Interface, SPI)及通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter, UART),所述複雜可程式化邏輯裝置可通過測試輸入/輸出信號及所述串列通訊以完成帶外信號測試。另外,當所述複雜可程式化邏輯裝置在測試差分時脈時,可將一個所述MCIO連接器103的差分頻率作為差分時脈,以及將N-1個所述MCIO連接器103的差分頻率傳輸至所述複雜可程式化邏輯裝置以檢測差分頻率的頻率。Next, the first daughter board 110 is inserted into the first slot 102a to be electrically connected to the test motherboard 100. The first daughter board 110 includes a complex programmable logic device, wherein the complex programmable logic device includes input/output signals, differential clocks and multiple serial communication test logic circuits suitable for the test board 130. In actual implementation, the serial communication may include an Inter-Integrated Circuit (I2C), a Serial Peripheral Interface (SPI) and a Universal Asynchronous Receiver/Transmitter (UART), and the complex programmable logic device may complete out-of-band signal testing by testing input/output signals and the serial communication. In addition, when the complex programmable logic device is testing a differential clock, the differential frequency of one of the MCIO connectors 103 may be used as a differential clock, and the differential frequencies of N-1 of the MCIO connectors 103 may be transmitted to the complex programmable logic device to detect the frequency of the differential frequency.

另外,在第二子板120的部分,其插入第二插槽102b以與測試主機板100電性連接,此第二子板120包含基板管理控制器,用以執行測試程式,所述測試程式驅動所述複雜可程式化邏輯裝置以測試輸入/輸出信號、差分時脈及所述串列通訊。除此之外,第二子板120還可連接各種埠,例如:RS232、USB、RJ45或其相似物。在實際實施上,基板管理控制器運行OpenBMC系統以允許與工廠業務系統流程整合,同時提供Redfish應用程式設計發展介面以允許通過協力廠商系統進行控制及測試。例如:協力廠商系統通過上述埠連接第二子板來進行遠端控制及測試。所述基板管理控制器負責監控和管理測試主機板100的各種硬體資訊,例如:溫度、電壓、PCIe的狀態等等,並且能夠提供遠端系統管理功能,而其所運行的OpenBMC則是一種開源的嵌入式Linux系統,也就是適用於基板管理控制器的Linux發行版本。In addition, in the part of the second daughter board 120, it is inserted into the second slot 102b to be electrically connected to the test motherboard 100. This second daughter board 120 includes a baseboard management controller for executing a test program, and the test program drives the complex programmable logic device to test the input/output signal, the differential clock and the serial communication. In addition, the second daughter board 120 can also be connected to various ports, such as: RS232, USB, RJ45 or the like. In actual implementation, the baseboard management controller runs the OpenBMC system to allow integration with the factory business system process, and provides a Redfish application programming development interface to allow control and testing through a third-party vendor system. For example: the third-party vendor system connects to the second daughter board through the above-mentioned port for remote control and testing. The baseboard management controller is responsible for monitoring and managing various hardware information of the test motherboard 100, such as temperature, voltage, PCIe status, etc., and can provide remote system management functions. The OpenBMC it runs is an open source embedded Linux system, that is, a Linux distribution suitable for the baseboard management controller.

特別要說明的是,在實際實施上,本發明可部分地或完全地基於硬體來實現,例如,除了複雜可程式化邏輯裝置之外,還可透過積體電路晶片、系統單晶片(System on Chip, SoC)、現場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)等硬體元件來實現。所述測試邏輯電路可以通過組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫而成,所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程式式(Procedural)程式語言,如:C語言或類似的程式語言。It should be particularly noted that, in actual implementation, the present invention can be partially or completely implemented based on hardware. For example, in addition to complex programmable logic devices, it can also be implemented through hardware components such as integrated circuit chips, system on chip (SoC), field programmable gate array (FPGA), etc. The test logic circuit can be written by assembly language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, microinstructions, firmware instructions, or any combination of one or more programming languages, wherein the programming language includes object-oriented programming languages such as Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby and PHP, as well as conventional procedural programming languages such as C language or similar programming languages.

請參閱「第2圖」,「第2圖」為本發明PCIe Gen5介面測試方法之方法流程圖,其步驟包括:將測試主機板100與待測機板130相互電性連接,所述測試主機板100包含PCIe交換器101、多個插槽102及N個MCIO連接器103,每一所述MCIO連接器103的一端連接PCIe交換器101,每一所述MCIO連接器103的另一端通過相應的MCIO連接線104連接至待測機板130,其中,所述插槽102至少包含第一插槽102a及第二插槽102b,且N為正整數(步驟210);將第一子板110插入至第一插槽102a以與測試主機板100電性連接,此第一子板110包含複雜可程式化邏輯裝置,其中,所述複雜可程式化邏輯裝置包含適用於待測機板130的輸入/輸出信號、差分時脈(REFCLK)及多個串列通訊的測試邏輯電路(步驟220);將第二子板120插入第二插槽102b以與測試主機板100電性連接,此第二子板120包含基板管理控制器(步驟230);以及在進行PCIe Gen5介面測試時,基板管理控制器執行測試程式,用以驅動所述複雜可程式化邏輯裝置對輸入/輸出信號、差分時脈及所述串列通訊進行測試(步驟240)。透過上述步驟,即可透過N個MCIO連接器103及其相應的MCIO連接線104將測試主機板100與待測機板130相互電性連接,以便測試主機板100接收來自待測機板130的PCIe Gen5的差分信號、差分時脈信號、輸入/輸出信號及I2C信號,再通過複雜可程式化邏輯裝置的測試邏輯電路與基板管理控制器的測試程式進行測試。Please refer to "FIG. 2", which is a flow chart of the PCIe Gen5 interface test method of the present invention, wherein the steps include: electrically connecting a test motherboard 100 and a test board 130 to each other, wherein the test motherboard 100 includes a PCIe switch 101, a plurality of slots 102, and N MCIO connectors 103, wherein one end of each MCIO connector 103 is connected to the PCIe switch 101, and the other end of each MCIO connector 103 is connected to the test board 130 via a corresponding MCIO connection line 104, wherein the slots 102 include at least a first slot 102a and a second slot 102b, and N is a positive integer (step 210); inserting the first daughter board 110 into the first slot 102a to electrically connect to the test motherboard 100, the first daughter board 110 includes a complex programmable logic device, wherein the complex programmable logic device includes input/output signals suitable for the test board 130, a differential clock (REFCLK) and a plurality of serial communication test logic circuits (step 220); inserting the second daughter board 120 into the second slot 102b to electrically connect to the test motherboard 100, the second daughter board 120 includes a baseboard management controller (step 230); and performing PCIe During the Gen5 interface test, the baseboard management controller executes a test program to drive the complex programmable logic device to test the input/output signal, differential clock and the serial communication (step 240). Through the above steps, the test motherboard 100 and the board to be tested 130 can be electrically connected to each other through N MCIO connectors 103 and their corresponding MCIO connection lines 104, so that the test motherboard 100 receives the PCIe Gen5 differential signal, differential clock signal, input/output signal and I2C signal from the board to be tested 130, and then tests through the test logic circuit of the complex programmable logic device and the test program of the baseboard management controller.

以下配合「第3圖」至「第5圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明測試PCIe Gen5差分信號之示意圖。在實際實施上,PCIe信號直接通過MCIO連接線104將待測機板130的MCIO連接器與測試主機板100的MCIO連接器103相互連接即可實現。實際上,預設採用x8的port寬度(也稱為埠的通道數),對於不同的測試情況可以有不同的port寬度設計,例如:x1、x2、x4、x8、x16等等,其中,x1代表單通道;x2代表雙通道、x4代表四通道,並以此類推,所述通道寬度越寬能夠支援越高的資料傳輸速度。The following is explained in the form of an embodiment with reference to "Figure 3" to "Figure 5". Please refer to "Figure 3" first. "Figure 3" is a schematic diagram of the application of the present invention to test PCIe Gen5 differential signals. In actual implementation, the PCIe signal can be realized by directly connecting the MCIO connector of the test board 130 and the MCIO connector 103 of the test motherboard 100 through the MCIO connection line 104. In practice, the port width of x8 (also known as the number of channels of the port) is adopted by default. Different port width designs can be used for different test situations, such as: x1, x2, x4, x8, x16, etc., where x1 represents a single channel; x2 represents a dual channel, x4 represents a quad channel, and so on. The wider the channel width, the higher the data transmission speed that can be supported.

如「第4圖」所示意,「第4圖」為應用本發明測試差分時脈之示意圖。假設待測機板130有二個CPU(即:CPU0與CPU1)及其相應的頻率緩衝器410,當要測試差分時脈時,可將其中一個MCIO連接器103的一組差分頻率連接到測試主機板100的PCIe交換器101,提供PCIe差分時脈,其餘各MCIO連接器103的差分頻率則連接到CPLD上,以便通過CPLD上的頻率檢測邏輯電路來檢測輸入頻率的頻率。As shown in FIG. 4 , FIG. 4 is a schematic diagram of applying the present invention to test differential clocks. Assuming that the test board 130 has two CPUs (i.e., CPU0 and CPU1) and their corresponding frequency buffers 410, when the differential clock is to be tested, a differential clock of one of the MCIO connectors 103 can be connected to the PCIe switch 101 of the test motherboard 100 to provide a PCIe differential clock, and the differential clocks of the remaining MCIO connectors 103 are connected to the CPLD so that the frequency of the input clock can be detected through the frequency detection logic circuit on the CPLD.

如「第5圖」所示意,「第5圖」為應用本發明測試帶外信號之示意圖。在實際實施上,帶外信號測試可包含帶外輸入/輸出信號測試、I2C互連測試、I2C/SPI/UART終端測試等等。以帶外輸入/輸出信號測試為例,假設待測機板130的MCIO連接器包含編號A1至A37、B1至B37的腳位(pin),其包括8組PCIe Gen5差分信號、2組差分時脈(REFCLK)信號、若干輸入/輸出信號及電源信號、3組I2C信號。此時,可通過將帶外輸入/輸出信號腳位,如:編號A8、A9、A26、A27、B8/B9、B10、B11、B12、B26/B27、B28及B29/B30等等,將其中的編號B11連接至測試主機板100以通過讀取通電狀態來進行測試,其餘腳位皆連接至第一子板110以通過輸入/輸出方式、量測電壓方式或模擬I2C Slave設備等方式實現測試。舉例來說,編號B8/B9、B26/B27及B28/B29的腳位可通過類比I2C Slave設備實現測試、其餘腳位則通過輸入/輸出方式測試(即:I/O testing),甚至編號A9、B12的腳位除了以輸入/輸出方式測試之外,更可通過量測電壓方式測試。As shown in FIG. 5 , FIG. 5 is a schematic diagram of applying the present invention to test out-of-band signals. In actual implementation, out-of-band signal testing may include out-of-band input/output signal testing, I2C interconnection testing, I2C/SPI/UART terminal testing, etc. Taking out-of-band input/output signal testing as an example, it is assumed that the MCIO connector of the board under test 130 includes pins numbered A1 to A37 and B1 to B37, which include 8 sets of PCIe Gen5 differential signals, 2 sets of differential clock (REFCLK) signals, a number of input/output signals and power signals, and 3 sets of I2C signals. At this time, the out-of-band input/output signal pins, such as numbered A8, A9, A26, A27, B8/B9, B10, B11, B12, B26/B27, B28 and B29/B30, etc., can be connected to the test motherboard 100 to read the power-on status for testing, and the remaining pins are connected to the first daughter board 110 to implement testing through input/output methods, voltage measurement methods or simulation of I2C Slave devices. For example, pins B8/B9, B26/B27 and B28/B29 can be tested by analog I2C Slave equipment, and the remaining pins can be tested by input/output testing (i.e. I/O testing). Even pins A9 and B12 can be tested by voltage measurement in addition to input/output testing.

接著,以I2C互連測試為例,第一子板110的CPLD負責監控I2C匯流排的開始/停止狀態,例如:各連接器的編號B26/B27的腳位530,然後動態切換I2C互連關係,自動選擇欲進行通信的I2C匯流排,一個基本測試連接邏輯如「第5圖」所示意,16組I2C來自於同一個I2C主控端510(Master)。因此,不需要為每一個I2C介面實現獨立測試,只需要自動切換匯流排,並且通知I2C從屬端520(Slave)當前是I2C主控端510的哪一個線路接入即可。換句話說,CPLD負責監控I2C匯流排的開始/停止狀態,然後切換對應的匯流排到I2C從屬端520(或稱為終端Slave)上,以便I2C從屬端520根據選擇的線路來實現對應的回應。特別要說明的是,本發明的具體實施方式並未以上述舉例為限,任何相似的I2C互連測試皆不脫離本發明的應用範疇。Next, taking the I2C interconnection test as an example, the CPLD of the first daughter board 110 is responsible for monitoring the start/stop status of the I2C bus, for example: the pin 530 of each connector numbered B26/B27, and then dynamically switching the I2C interconnection relationship, automatically selecting the I2C bus to communicate, a basic test connection logic is shown in "Figure 5", 16 groups of I2C come from the same I2C master 510 (Master). Therefore, there is no need to implement independent testing for each I2C interface, only the bus needs to be automatically switched, and the I2C slave 520 (Slave) is notified which line of the I2C master 510 is currently connected. In other words, the CPLD is responsible for monitoring the start/stop state of the I2C bus, and then switching the corresponding bus to the I2C slave terminal 520 (or terminal Slave), so that the I2C slave terminal 520 can implement the corresponding response according to the selected line. It should be particularly noted that the specific implementation of the present invention is not limited to the above examples, and any similar I2C interconnection test does not deviate from the scope of application of the present invention.

接下來,以I2C/SPI/UART終端測試為例,其具體實現的方式包含兩種,第一種是實現標準協議,例如:通用背板管理(Universal Backplane Management, UBM)協定,通過此方式可以應對基本的協定指令。在此方式下,需要對相關的終端進行設置,根據待測機板130的拓撲結構設定相應的回應封包格式。另一種方式是複製模式,也就是在初始時,通過將測試主機板100的I2C連接到傳統的主機線路中,此時,測試主機板100工作在監聽模式,可以在此模式下實現對整體的匯流排資料進行擷取及儲存,在進行測試時,測試主機板100將根據預先擷取及儲存的資料來回應待測機板130的請求。Next, taking I2C/SPI/UART terminal testing as an example, there are two specific implementation methods. The first is to implement a standard protocol, such as the Universal Backplane Management (UBM) protocol, which can handle basic protocol commands. In this method, the relevant terminal needs to be set up, and the corresponding response packet format is set according to the topological structure of the board 130 to be tested. Another way is the copy mode, that is, at the beginning, by connecting the I2C of the test motherboard 100 to the traditional host line, at this time, the test motherboard 100 works in the monitoring mode, and the overall bus data can be captured and stored in this mode. When testing, the test motherboard 100 will respond to the request of the test board 130 according to the pre-captured and stored data.

綜上所述,可知本發明與先前技術之間的差異在於透過N個MCIO連接器103及其相應的MCIO連接線104將測試主機板100與待測機板130相互電性連接,以便測試主機板100接收來自待測機板130的PCIe Gen5的差分信號、差分時脈信號、輸入/輸出信號及I2C信號,再通過複雜可程式化邏輯裝置的測試邏輯電路與基板管理控制器的測試程式進行測試,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高測試的便利性及覆蓋率之技術功效。In summary, the difference between the present invention and the prior art is that the test motherboard 100 and the board under test 130 are electrically connected to each other through N MCIO connectors 103 and their corresponding MCIO connection lines 104, so that the test motherboard 100 receives the PCIe Gen5 differential signal, differential clock signal, input/output signal and I2C signal from the board under test 130, and then performs the test through the test logic circuit of the complex programmable logic device and the test program of the baseboard management controller. This technical means can solve the problems existing in the prior art, thereby achieving the technical effect of improving the convenience and coverage of the test.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為准。Although the present invention is disclosed as above by the aforementioned embodiments, they are not used to limit the present invention. Anyone skilled in similar techniques can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of patent protection of the present invention shall be subject to the scope of the patent application attached to this specification.

100:測試主機板 101:PCIe交換器 102:插槽 102a:第一插槽 102b:第二插槽 103:MCIO連接器 104:MCIO連接線 110:第一子板 120:第二子板 130:待測機板 410:頻率緩衝器 510:I2C主控端 520:I2C從屬端 530:腳位 步驟210:將一測試主機板與一待測機板(Unit Under Test, UUT)相互電性連接,所述測試主機板包含一PCIe交換器、多個插槽及N個MCIO(Mini Cool Edge IO)連接器,每一所述MCIO連接器的一端連接該PCIe交換器,每一所述MCIO連接器的另一端通過相應的一MCIO連接線連接至該待測機板,其中,所述插槽至少包含一第一插槽及一第二插槽,且N為正整數 步驟220:將一第一子板插入至該第一插槽以與該測試主機板電性連接,該第一子板包含一複雜可程式化邏輯裝置(Complex Programmable Logic Device, CPLD),其中,所述複雜可程式化邏輯裝置包含適用於該待測機板的輸入/輸出(Input/Output, I/O)信號、差分時脈(REFCLK)及多個串列通訊的測試邏輯電路 步驟230:將一第二子板插入該第二插槽以與該測試主機板電性連接,該第二子板包含一基板管理控制器(Baseboard Management Controller, BMC) 步驟240:在進行PCIe Gen5介面測試時,該基板管理控制器執行一測試程式,用以驅動所述複雜可程式化邏輯裝置對輸入/輸出信號、差分時脈及所述串列通訊進行測試 100: test motherboard 101: PCIe switch 102: slot 102a: first slot 102b: second slot 103: MCIO connector 104: MCIO cable 110: first daughter board 120: second daughter board 130: board to be tested 410: frequency buffer 510: I2C master 520: I2C slave 530: pin Step 210: electrically connect a test motherboard and a board to be tested (Unit Under Test, UUT), wherein the test motherboard includes a PCIe switch, multiple slots and N MCIO (Mini Cool Edge IO) connector, one end of each MCIO connector is connected to the PCIe switch, and the other end of each MCIO connector is connected to the board under test through a corresponding MCIO connection line, wherein the slot includes at least a first slot and a second slot, and N is a positive integer Step 220: insert a first daughter board into the first slot to electrically connect to the test motherboard, the first daughter board includes a complex programmable logic device (CPLD), wherein the complex programmable logic device includes input/output (I/O) signals, differential clocks (REFCLK) and multiple serial communication test logic circuits suitable for the board under test Step 230: insert a second daughter board into the second slot to electrically connect to the test motherboard, the second daughter board includes a baseboard management controller (BMC) Step 240: when performing a PCIe Gen5 interface test, the baseboard management controller executes a test program to drive the complex programmable logic device to test the input/output signal, differential clock and the serial communication

第1圖為本發明PCIe Gen5介面測試裝置之裝置方塊圖。 第2圖為本發明PCIe Gen5介面測試方法之方法流程圖。 第3圖為應用本發明測試PCIe Gen5差分信號之示意圖。 第4圖為應用本發明測試差分時脈之示意圖。 第5圖為應用本發明測試帶外信號之示意圖。 FIG. 1 is a device block diagram of the PCIe Gen5 interface test device of the present invention. FIG. 2 is a method flow chart of the PCIe Gen5 interface test method of the present invention. FIG. 3 is a schematic diagram of the present invention for testing PCIe Gen5 differential signals. FIG. 4 is a schematic diagram of the present invention for testing differential clocks. FIG. 5 is a schematic diagram of the present invention for testing out-of-band signals.

100:測試主機板 100: Test motherboard

101:PCIe交換器 101: PCIe switch

102:插槽 102: Slot

102a:第一插槽 102a: First slot

102b:第二插槽 102b: Second slot

103:MCIO連接器 103:MCIO connector

104:MCIO連接線 104:MCIO connection cable

110:第一子板 110: First sub-board

120:第二子板 120: Second sub-board

130:待測機板 130: Board under test

Claims (8)

一種PCIe Gen5介面測試裝置,該裝置包含: 一測試主機板,該測試主機板包含: 一PCIe交換器,用以擴展及管理PCIe匯流排的連接,提供多通道連接及資料交換; 多個插槽,所述插槽至少包含一第一插槽及一第二插槽;以及 N個MCIO(Mini Cool Edge IO)連接器,每一所述MCIO連接器的一端連接該PCIe交換器,每一所述MCIO連接器的另一端通過相應的一MCIO連接線連接至一待測機板(Unit Under Test, UUT)的PCIe介面,其中,N為正整數; 一第一子板,插入該第一插槽以與該測試主機板電性連接,該第一子板包含一複雜可程式化邏輯裝置(Complex Programmable Logic Device, CPLD),其中,所述複雜可程式化邏輯裝置包含適用於該待測機板的輸入/輸出(Input/Output, I/O)信號、差分時脈(REFCLK)及多個串列通訊的測試邏輯電路;以及 一第二子板,插入該第二插槽以與該測試主機板電性連接,該第二子板包含一基板管理控制器(Baseboard Management Controller, BMC),用以執行一測試程式,該測試程式驅動所述複雜可程式化邏輯裝置以測試輸入/輸出信號、差分時脈及所述串列通訊,其中,所述複雜可程式化邏輯裝置在測試差分時脈時,將一個所述MCIO連接器的差分頻率作為差分時脈,以及將N-1個所述MCIO連接器的差分頻率傳輸至所述複雜可程式化邏輯裝置以檢測差分頻率的頻率。 A PCIe Gen5 interface test device, the device comprising: A test motherboard, the test motherboard comprising: A PCIe switch for expanding and managing the connection of the PCIe bus, providing multi-channel connection and data exchange; A plurality of slots, the slots comprising at least a first slot and a second slot; and N MCIO (Mini Cool Edge IO) connectors, one end of each MCIO connector is connected to the PCIe switch, and the other end of each MCIO connector is connected to a PCIe interface of a unit under test (UUT) through a corresponding MCIO connection line, wherein N is a positive integer; A first daughterboard, inserted into the first slot to be electrically connected to the test motherboard, the first daughterboard comprising a complex programmable logic device (Complex Programmable Logic Device, CPLD), wherein the complex programmable logic device includes input/output (I/O) signals, differential clocks (REFCLK) and multiple serial communication test logic circuits suitable for the test board; and a second daughter board inserted into the second slot to be electrically connected to the test motherboard, the second daughter board including a baseboard management controller (Baseboard Management Controller, BMC) is used to execute a test program, which drives the complex programmable logic device to test the input/output signal, the differential clock and the serial communication, wherein the complex programmable logic device uses the differential frequency of one of the MCIO connectors as the differential clock when testing the differential clock, and transmits the differential frequencies of N-1 of the MCIO connectors to the complex programmable logic device to detect the frequency of the differential clock. 如請求項1之PCIe Gen5介面測試裝置,其中所述串列通訊包含積體匯流排電路(Inter-Integrated Circuit, I2C)、串列周邊介面(Serial Peripheral Interface, SPI)及通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter, UART),所述複雜可程式化邏輯裝置通過測試輸入/輸出信號及所述串列通訊以完成帶外(Sideband)信號測試。A PCIe Gen5 interface test device as claimed in claim 1, wherein the serial communication includes an Inter-Integrated Circuit (I2C), a Serial Peripheral Interface (SPI) and a Universal Asynchronous Receiver/Transmitter (UART), and the complex programmable logic device completes out-of-band (Sideband) signal testing by testing input/output signals and the serial communication. 如請求項1之PCIe Gen5介面測試裝置,其中所述MCIO連接線包含M個通道用以在該測試主機板及該待測機板之間傳輸差分信號,並且由所述複雜可程式化邏輯裝置對每一所述通道中傳輸的差分信號進行測試,其中,M為正整數。A PCIe Gen5 interface test device as claimed in claim 1, wherein the MCIO connection line includes M channels for transmitting differential signals between the test motherboard and the board to be tested, and the differential signal transmitted in each of the channels is tested by the complex programmable logic device, wherein M is a positive integer. 如請求項1之PCIe Gen5介面測試裝置,其中該基板管理控制器運行OpenBMC系統以允許與工廠業務系統流程整合,同時提供Redfish應用程式設計發展介面以允許通過協力廠商系統進行控制及測試。A PCIe Gen5 interface test device as claimed in claim 1, wherein the baseboard management controller runs the OpenBMC system to allow integration with factory business system processes, and provides a Redfish application programming development interface to allow control and testing through a third-party vendor system. 一種PCIe Gen5介面測試方法,其步驟包括: 將一測試主機板與一待測機板(Unit Under Test, UUT)相互電性連接,所述測試主機板包含一PCIe交換器、多個插槽及N個MCIO(Mini Cool Edge IO)連接器,每一所述MCIO連接器的一端連接該PCIe交換器,每一所述MCIO連接器的另一端通過相應的一MCIO連接線連接至該待測機板,其中,所述插槽至少包含一第一插槽及一第二插槽,且N為正整數; 將一第一子板插入至該第一插槽以與該測試主機板電性連接,該第一子板包含一複雜可程式化邏輯裝置(Complex Programmable Logic Device, CPLD),其中,所述複雜可程式化邏輯裝置包含適用於該待測機板的輸入/輸出(Input/Output, I/O)信號、差分時脈(REFCLK)及多個串列通訊的測試邏輯電路; 將一第二子板插入該第二插槽以與該測試主機板電性連接,該第二子板包含一基板管理控制器(Baseboard Management Controller, BMC);以及 在進行PCIe Gen5介面測試時,該基板管理控制器執行一測試程式,用以驅動所述複雜可程式化邏輯裝置對輸入/輸出信號、差分時脈及所述串列通訊進行測試,其中,所述複雜可程式化邏輯裝置在測試差分時脈時,將一個所述MCIO連接器的差分頻率作為差分時脈,以及將N-1個所述MCIO連接器的差分頻率傳輸至所述複雜可程式化邏輯裝置以檢測差分頻率的頻率。 A PCIe Gen5 interface test method, the steps of which include: Electrically connecting a test motherboard and a unit under test (UUT), wherein the test motherboard includes a PCIe switch, multiple slots and N MCIO (Mini Cool Edge IO) connectors, one end of each MCIO connector is connected to the PCIe switch, and the other end of each MCIO connector is connected to the unit under test through a corresponding MCIO connection line, wherein the slots include at least a first slot and a second slot, and N is a positive integer; Inserting a first daughter board into the first slot to electrically connect to the test motherboard, the first daughter board includes a complex programmable logic device (Complex Programmable Logic Device, CPLD), wherein the complex programmable logic device includes input/output (I/O) signals, differential clocks (REFCLK) and multiple serial communication test logic circuits suitable for the test board; Inserting a second daughter board into the second slot to electrically connect to the test motherboard, the second daughter board includes a baseboard management controller (BMC); and During PCIe During the Gen5 interface test, the baseboard management controller executes a test program to drive the complex programmable logic device to test the input/output signal, differential clock and the serial communication, wherein the complex programmable logic device uses the differential frequency of one of the MCIO connectors as the differential clock when testing the differential clock, and transmits the differential frequencies of N-1 of the MCIO connectors to the complex programmable logic device to detect the frequency of the differential clock. 如請求項5之PCIe Gen5介面測試方法,其中所述串列通訊包含積體匯流排電路(Inter-Integrated Circuit, I2C)、串列周邊介面(Serial Peripheral Interface, SPI)及通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter, UART),所述複雜可程式化邏輯裝置通過測試輸入/輸出信號及所述串列通訊以完成帶外(Sideband)信號測試。As in claim 5, the PCIe Gen5 interface testing method, wherein the serial communication includes an Inter-Integrated Circuit (I2C), a Serial Peripheral Interface (SPI) and a Universal Asynchronous Receiver/Transmitter (UART), and the complex programmable logic device completes out-of-band (Sideband) signal testing by testing input/output signals and the serial communication. 如請求項5之PCIe Gen5介面測試方法,其中所述MCIO連接線包含M個通道用以在該測試主機板及該待測機板之間傳輸差分信號,並且由所述複雜可程式化邏輯裝置對每一所述通道中傳輸的差分信號進行測試,其中,M為正整數。A PCIe Gen5 interface testing method as claimed in claim 5, wherein the MCIO connection line includes M channels for transmitting differential signals between the test motherboard and the board to be tested, and the differential signal transmitted in each of the channels is tested by the complex programmable logic device, wherein M is a positive integer. 如請求項5之PCIe Gen5介面測試方法,其中該基板管理控制器運行OpenBMC系統以允許與工廠業務系統流程整合,同時提供Redfish應用程式設計發展介面以允許通過協力廠商系統進行控制及測試。A PCIe Gen5 interface testing method as claimed in claim 5, wherein the baseboard management controller runs the OpenBMC system to allow integration with factory business system processes, and provides a Redfish application programming development interface to allow control and testing through a third-party vendor system.
TW112148688A 2023-12-14 2023-12-14 Testing device for pcie gen5 interface and method thereof TWI877951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112148688A TWI877951B (en) 2023-12-14 2023-12-14 Testing device for pcie gen5 interface and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112148688A TWI877951B (en) 2023-12-14 2023-12-14 Testing device for pcie gen5 interface and method thereof

Publications (2)

Publication Number Publication Date
TWI877951B true TWI877951B (en) 2025-03-21
TW202524310A TW202524310A (en) 2025-06-16

Family

ID=95830403

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112148688A TWI877951B (en) 2023-12-14 2023-12-14 Testing device for pcie gen5 interface and method thereof

Country Status (1)

Country Link
TW (1) TWI877951B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200182932A1 (en) * 2018-12-06 2020-06-11 Super Micro Computer, Inc. Device and method for testing a computer system
CN115015590A (en) * 2022-05-27 2022-09-06 苏州浪潮智能科技有限公司 High-density connector detection jig and detection method
CN116148627A (en) * 2021-11-22 2023-05-23 英业达科技有限公司 Detection system and method for PCIe CEM connection interface in circuit board
TW202323843A (en) * 2021-12-09 2023-06-16 英業達股份有限公司 Detection system for pcie cem connection interface of circuit board and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200182932A1 (en) * 2018-12-06 2020-06-11 Super Micro Computer, Inc. Device and method for testing a computer system
CN116148627A (en) * 2021-11-22 2023-05-23 英业达科技有限公司 Detection system and method for PCIe CEM connection interface in circuit board
TW202323843A (en) * 2021-12-09 2023-06-16 英業達股份有限公司 Detection system for pcie cem connection interface of circuit board and method thereof
CN115015590A (en) * 2022-05-27 2022-09-06 苏州浪潮智能科技有限公司 High-density connector detection jig and detection method

Also Published As

Publication number Publication date
TW202524310A (en) 2025-06-16

Similar Documents

Publication Publication Date Title
US11041907B2 (en) Method and system for acquisition of test data
US20150286601A1 (en) Implementing sideband control structure for pcie cable cards and io expansion enclosures
CN107111588A (en) Data transfer using PCIe protocol via USB port
US12002494B2 (en) Method and device for detecting hard disk connection and disconnection during a computer session
CN114297134B (en) A chip architecture and signal integrity testing method
US10860513B1 (en) I3C hub promoting backward compatibility with I2C
CN115904849B (en) PCIE link signal testing method, system, computer equipment and medium
CN111417034A (en) A switch and a method, device and system for hot-plugging of a switch board and the same
TWI877951B (en) Testing device for pcie gen5 interface and method thereof
CN213365381U (en) motherboard
US7103703B1 (en) Back to back connection of PCI host bridges on a single PCI bus
CN118467434B (en) Service system, input and output chassis, equipment chassis and chassis identification method
CN120407481A (en) Hard disk backplane
US7032055B2 (en) Device control and configuration
CN120103102A (en) PCIe Gen5 interface testing device and method
CN117630637A (en) Testing device
CN118860938A (en) Server, Peripheral Component Interconnect Rapid Resource Management Method, Storage Medium
CN116340220A (en) USB communication interface adapter
CN115827342A (en) Test fixture, test system and OCP network card test method
CN107704403B (en) A device and method for optimizing signal transmission of main backplane
CN223637948U (en) Riser expansion card, server motherboard and server
TWI860913B (en) Pcie testing device with versatile and method thereof
CN216014148U (en) Server and server backboard
US12363853B2 (en) Direct instrument-to-instrument communication without using a system controller
CN114857069B (en) Fan jig plate