Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7160771B2 - Connection test system, computer, connection test device and connection test method - Google Patents
[go: Go Back, main page]

JP7160771B2 - Connection test system, computer, connection test device and connection test method - Google Patents

Connection test system, computer, connection test device and connection test method Download PDF

Info

Publication number
JP7160771B2
JP7160771B2 JP2019135515A JP2019135515A JP7160771B2 JP 7160771 B2 JP7160771 B2 JP 7160771B2 JP 2019135515 A JP2019135515 A JP 2019135515A JP 2019135515 A JP2019135515 A JP 2019135515A JP 7160771 B2 JP7160771 B2 JP 7160771B2
Authority
JP
Japan
Prior art keywords
port
setting
connection
lanes
cpu
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2019135515A
Other languages
Japanese (ja)
Other versions
JP2021018730A (en
Inventor
徹 麦元
宗一郎 広瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP2019135515A priority Critical patent/JP7160771B2/en
Publication of JP2021018730A publication Critical patent/JP2021018730A/en
Application granted granted Critical
Publication of JP7160771B2 publication Critical patent/JP7160771B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Description

本開示は、接続試験システム、コンピュータ、接続試験装置及び接続試験方法に関する。 The present disclosure relates to a connection test system, a computer, a connection test device, and a connection test method.

CPU(Central Processing Unit)、メモリ及び高速シリアルインターフェース等、コンピュータとしての基本構成を有し、コンピュータとして十分な機能が実装された小型モジュールとして、SoM(System on Module)またはCoM(Computer on Module)と呼ばれるコンピュータが知られている。 SoM (System on Module) or CoM (Computer on Module) is a small module that has the basic configuration of a computer, such as a CPU (Central Processing Unit), memory, and high-speed serial interface, and is equipped with sufficient functions as a computer. A computer called

SoMまたはCoMには、高速シリアル通信が可能なPeripheral Component Interconnect Express(以下では「PCIe」と呼ぶことがある)インターフェースが搭載されており、SoMまたはCoMが有するCPUは複数のレーンを用いて通信することが可能である。CPUが最大で16レーンを用いて通信可能な場合、これらの16レーンに対するポートの設定パターンとして、例えば、x16リンクが収容されるポート(以下では「x16ポート」と呼ぶことがある)が1つだけ設定されるパターン(以下では「設定パターンSP1」と呼ぶことがある)、x8リンクが収容されるポート(以下では「x8ポート」と呼ぶことがある)が2つ設定されるパターン(以下では「設定パターンSP2」と呼ぶことがある)、または、x8ポートが1つと、x4リンクが収容されるポート(以下では「x4ポート」と呼ぶことがある)が2つ設定されるパターン(以下では「設定パターンSP3」と呼ぶことがある)の3つの設定パターンの何れかを採ることが可能である。 The SoM or CoM is equipped with a Peripheral Component Interconnect Express (hereinafter sometimes referred to as "PCIe") interface capable of high-speed serial communication, and the CPU possessed by the SoM or CoM communicates using multiple lanes. It is possible. When the CPU can communicate using a maximum of 16 lanes, the port setting pattern for these 16 lanes is, for example, one port accommodating an x16 link (hereinafter sometimes referred to as "x16 port"). a pattern in which only one port is set (hereinafter sometimes referred to as "setting pattern SP1"), and a pattern in which two ports accommodating x8 links (hereinafter sometimes referred to as "x8 ports") are set (hereinafter sometimes referred to as (sometimes referred to as "configuration pattern SP2"), or a pattern in which one x8 port and two ports accommodating x4 links (hereinafter sometimes referred to as "x4 ports") are set (hereinafter It is possible to adopt any one of the three setting patterns (sometimes referred to as "setting pattern SP3").

また、ポートの設定パターンとして上記の3つの設定パターンの何れかを採ることが可能なCPUの通信相手となるエンドポイントデバイスとして、x16ポートを有するエンドポイントデバイス(以下では「x16エンドポイントデバイス」と呼ぶことがある)、x8ポートを有するエンドポイントデバイス(以下では「x8エンドポイントデバイス」と呼ぶことがある)、及び、x4ポートを有するエンドポイントデバイス(以下では「x4エンドポイントデバイス」と呼ぶことがある)が挙げられる。 An endpoint device having an x16 port (hereinafter referred to as an "x16 endpoint device") is an endpoint device that is a communication partner of a CPU that can adopt any of the above three setting patterns as a port setting pattern. ), endpoint devices with x8 ports (hereinafter sometimes referred to as “x8 endpoint devices”), and endpoint devices with x4 ports (hereinafter referred to as “x4 endpoint devices”) There is).

また、通常、エンドポイントデバイスはPCIeカードに搭載され、SoMまたはCoMが搭載されたキャリアボードが有するカードスロットにPCIeカードが装着されることにより、CPUとエンドポイントデバイスとの間の通信が可能になる。 In addition, the endpoint device is usually mounted on a PCIe card, and by mounting the PCIe card in the card slot of the carrier board on which the SoM or CoM is mounted, communication between the CPU and the endpoint device becomes possible. Become.

特開2014-137614号公報JP 2014-137614 A 特開2008-171291号公報JP 2008-171291 A 特開2007-280237号公報JP 2007-280237 A

ここで、設定パターンSP1を採るCPUについてポートの接続試験を行うには、1つのx16エンドポイントデバイスが搭載されたPCIeカードをキャリアボードに装着する必要がある。また、設定パターンSP2を採るCPUについてポートの接続試験を行うには、2つのx8エンドポイントデバイスが搭載されたPCIeカードをキャリアボードに装着する必要がある。また、設定パターンSP3を採るCPUについてポートの接続試験を行うには、1つのx8エンドポイントデバイスと2つのx4エンドポイントデバイスとが搭載されたPCIeカードをキャリアボードに装着する必要がある。よって、ポートの設定パターンとして設定パターンSP1,SP2,SP3の何れかを採り得るCPUについて全ての設定パターンに対する接続試験を行うには、キャリアボードに装着するPCIeカードを、CPUのポートの各設定パターンに合わせて交換する必要があった。つまり、CPUのポートの全ての設定パターンについてポートの接続試験を行うには、SoMまたはCoMと、PCIeカードとを有する接続試験システムのハードウェア構成を変更する必要があった。 Here, in order to perform a port connection test for a CPU that adopts the setting pattern SP1, it is necessary to attach a PCIe card on which one x16 endpoint device is mounted to the carrier board. Also, in order to perform a port connection test for a CPU that adopts the setting pattern SP2, it is necessary to attach a PCIe card on which two x8 endpoint devices are mounted to the carrier board. Also, in order to perform a port connection test for a CPU that adopts the setting pattern SP3, it is necessary to mount a PCIe card on which one x8 endpoint device and two x4 endpoint devices are mounted on the carrier board. Therefore, in order to perform a connection test for all setting patterns of a CPU that can take any of the setting patterns SP1, SP2, and SP3 as a port setting pattern, the PCIe card mounted on the carrier board is set to each setting pattern of the CPU port. I had to replace it accordingly. In other words, in order to perform the port connection test for all setting patterns of the CPU ports, it was necessary to change the hardware configuration of the connection test system having the SoM or CoM and the PCIe card.

開示の技術は、CPUのポートの全ての設定パターンについて、ポートの接続試験を、接続試験システムのハードウェア構成を変更せずに行うことを目的とする。 An object of the technology disclosed herein is to perform port connection tests for all setting patterns of CPU ports without changing the hardware configuration of a connection test system.

開示の態様では、接続試験システムは、コンピュータと、試験装置とを有する。前記コンピュータは、CPUとメモリとを有する。前記CPUは、複数のレーンを介して試験装置と接続される。前記メモリは、前記複数のレーンに対するポートの複数の設定パターンを記憶する。前記試験装置は、複数のエンドポイントデバイスと、スイッチとを有する。前記複数のエンドポイントデバイスは、バス及び前記複数のレーンを介して前記CPUと通信する。前記スイッチは、前記バスを有し、前記スイッチにおける前記バスの接続パターンが切替可能である。前記CPUは、前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するとともに前記接続パターンを制御し、前記複数の設定パターンの各々において前記複数のレーン及び前記バスを介して前記複数のエンドポイントデバイスと通信することより、順次設定した前記ポートの接続試験を行う。 In an aspect of the disclosure, the connection testing system has a computer and a testing device. The computer has a CPU and a memory. The CPU is connected to the testing apparatus via a plurality of lanes. The memory stores a plurality of port setting patterns for the plurality of lanes. The test apparatus has a plurality of endpoint devices and a switch. The plurality of endpoint devices communicate with the CPU via a bus and the plurality of lanes. The switch has the bus, and a connection pattern of the bus in the switch is switchable. The CPU sequentially sets different numbers of ports for the plurality of lanes according to each of the plurality of setting patterns, controls the connection pattern, and controls the plurality of lanes and the By communicating with the plurality of endpoint devices via a bus, a connection test of the sequentially set ports is performed.

開示の態様によれば、CPUのポートの全ての設定パターンについて、ポートの接続試験を、接続試験システムのハードウェア構成を変更せずに行うことができる。 According to the aspect of the disclosure, the port connection test can be performed for all setting patterns of the ports of the CPU without changing the hardware configuration of the connection test system.

図1は、本開示の実施例1の接続試験システムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a connection test system according to Example 1 of the present disclosure. 図2は、本開示の実施例1の設定パターンテーブルの一例を示す図である。FIG. 2 is a diagram illustrating an example of a setting pattern table according to the first embodiment of the present disclosure; 図3は、本開示の実施例1の接続試験システムの処理手順の一例を示すフローチャートである。FIG. 3 is a flowchart illustrating an example of a processing procedure of the connection testing system according to the first embodiment of the present disclosure; 図4は、本開示の実施例1のポート設定例を示す図である。FIG. 4 is a diagram illustrating a port setting example according to the first embodiment of the present disclosure; 図5は、本開示の実施例1のポート設定例を示す図である。FIG. 5 is a diagram illustrating an example of port settings according to the first embodiment of the present disclosure; 図6は、本開示の実施例1のポート設定例を示す図である。FIG. 6 is a diagram illustrating an example of port settings according to the first embodiment of the present disclosure; 図7は、本開示の実施例1の接続試験成否テーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of a connection test success/failure table according to the first embodiment of the present disclosure;

以下、本開示の実施例を図面に基づいて説明する。 Hereinafter, embodiments of the present disclosure will be described based on the drawings.

[実施例1]
<接続試験システムの構成>
図1は、本開示の実施例1の接続試験システムの構成例を示す図である。図1において、接続試験システム1は、キャリアボード4と、コンピュータ2と、PCIeスロット7と、PCIeカード3とを有する。コンピュータ2の一例として、SoMまたはCoMが挙げられる。
[Example 1]
<Configuration of connection test system>
FIG. 1 is a diagram illustrating a configuration example of a connection test system according to Example 1 of the present disclosure. In FIG. 1 , the connection test system 1 has a carrier board 4 , a computer 2 , a PCIe slot 7 and a PCIe card 3 . An example of computer 2 is SoM or CoM.

コンピュータ2は、CPU5と、メモリ6とを有する。CPU5は、ポート設定レジスタ505と、ポート51とを有する。また、CPU5は、CPU5の機能として、パターン取得部501と、パターン判定部502と、スイッチモード設定部503と、ポート設定部504と、接続パターン設定部506と、接続試験実行部507と、接続状態測定部508と、成否判定部509とを有する。 The computer 2 has a CPU 5 and a memory 6 . The CPU 5 has a port setting register 505 and a port 51 . Further, the CPU 5 includes, as the functions of the CPU 5, a pattern acquisition unit 501, a pattern determination unit 502, a switch mode setting unit 503, a port setting unit 504, a connection pattern setting unit 506, a connection test execution unit 507, a connection It has a state measurement unit 508 and a success/failure determination unit 509 .

PCIeカード3は、PCIeスイッチ8と、エンドポイントデバイス11D,12D,13Dとを有する。エンドポイントデバイス11Dは、x8エンドポイントデバイスであり、エンドポイントデバイス12D,13Dは、x4エンドポイントデバイスである。 The PCIe card 3 has a PCIe switch 8 and endpoint devices 11D, 12D and 13D. Endpoint device 11D is a x8 endpoint device, and endpoint devices 12D and 13D are x4 endpoint devices.

PCIeスイッチ8は、ポート52,53,54,55と、スイッチモード設定レジスタ801と、US(Up Stream)ポート設定レジスタ802と、DS(Down Stream)ポート設定レジスタ803と、接続パターン設定レジスタ804とを有する。 The PCIe switch 8 includes ports 52, 53, 54 and 55, a switch mode setting register 801, a US (Up Stream) port setting register 802, a DS (Down Stream) port setting register 803, and a connection pattern setting register 804. have

エンドポイントデバイス11Dはポート11Pを有し、エンドポイントデバイス12Dはポート12Pを有し、エンドポイントデバイス13Dはポート13Pを有する。 Endpoint device 11D has port 11P, endpoint device 12D has port 12P, and endpoint device 13D has port 13P.

コンピュータ2は、スタッキングコネクタを用いてキャリアボード4に結合される。また、キャリアボード4にはPCIeスロット7が設けられており、PCIeスロット7にPCIeカード3が装着されることにより、CPU5と、各エンドポイントデバイス11D,12D,13Dとの間の通信が可能になる。CPU5と、各エンドポイントデバイス11D,12D,13Dとの間の通信は、PCIeスイッチ8を介して行われる。 Computer 2 is coupled to carrier board 4 using stacking connectors. In addition, the carrier board 4 is provided with a PCIe slot 7, and by mounting the PCIe card 3 in the PCIe slot 7, communication between the CPU 5 and each of the endpoint devices 11D, 12D, and 13D becomes possible. Become. Communication between the CPU 5 and each endpoint device 11D, 12D, 13D is performed via the PCIe switch 8. FIG.

CPU5とPCIeスイッチ8とはポート51及びポート52を介して接続され、CPU5とPCIeスイッチ8との間の通信はリンクLAを用いて行われる。CPU5は最大でレーン0~15の16レーンを用いてPCIeスイッチ8と通信することが可能である。また、CPU5から、スイッチモード設定レジスタ801、USポート設定レジスタ802、DSポート設定レジスタ803、及び、接続パターン設定レジスタ804へのアクセスは、レジスタアクセスバスRBを用いて行われる。 The CPU 5 and the PCIe switch 8 are connected via ports 51 and 52, and communication between the CPU 5 and the PCIe switch 8 is performed using the link LA. The CPU 5 can communicate with the PCIe switch 8 using 16 lanes 0 to 15 at maximum. Access from the CPU 5 to the switch mode setting register 801, the US port setting register 802, the DS port setting register 803, and the connection pattern setting register 804 is performed using the register access bus RB.

PCIeスイッチ8とエンドポイントデバイス11Dとはポート53及びポート11Pを介して接続され、PCIeスイッチ8とエンドポイントデバイス11Dとの間の通信は、リンクLBを用いて行われる。PCIeスイッチ8とエンドポイントデバイス12Dとはポート54及びポート12Pを介して接続され、PCIeスイッチ8とエンドポイントデバイス12Dとの間の通信は、リンクLCを用いて行われる。PCIeスイッチ8とエンドポイントデバイス13Dとはポート55及びポート13Pを介して接続され、PCIeスイッチ8とエンドポイントデバイス13Dとの間の通信は、リンクLDを用いて行われる。リンクLBはx8リンクであり、リンクLCはx4リンクであり、リンクLDはx4リンクである。ポート11Pはx8ポートであり、ポート12Pはx4ポートであり、ポート13Pはx4ポートである。 The PCIe switch 8 and the endpoint device 11D are connected via the port 53 and the port 11P, and communication between the PCIe switch 8 and the endpoint device 11D is performed using the link LB. PCIe switch 8 and endpoint device 12D are connected via port 54 and port 12P, and communication between PCIe switch 8 and endpoint device 12D is performed using link LC. The PCIe switch 8 and the endpoint device 13D are connected via the port 55 and the port 13P, and communication between the PCIe switch 8 and the endpoint device 13D is performed using the link LD. Link LB is a x8 link, link LC is a x4 link, and link LD is a x4 link. Port 11P is an x8 port, port 12P is an x4 port, and port 13P is an x4 port.

以下では、CPU5が有するポートを「CPUポート」と呼び、PCIeスイッチ8が有するポートを「PCIeポート」と呼ぶことがある。また、複数のPCIeポートのうち、CPUポートと接続されるポートを「USポート」と呼び、ポート11P,12P,13Pの各々と接続されるポートを「DSポート」と呼ぶことがある。 Hereinafter, the port of the CPU 5 may be called "CPU port", and the port of the PCIe switch 8 may be called "PCIe port". Also, among the plurality of PCIe ports, the port connected to the CPU port is sometimes called the "US port", and the port connected to each of the ports 11P, 12P, and 13P is sometimes called the "DS port".

図2は、本開示の実施例1の設定パターンテーブルの一例を示す図である。図2に示す設定パターンテーブルTAはメモリ6に予め記憶されている。設定パターンテーブルTAには、一例として、設定パターンSP1,SP2,SP3が登録されている。 FIG. 2 is a diagram illustrating an example of a setting pattern table according to the first embodiment of the present disclosure; A setting pattern table TA shown in FIG. 2 is stored in the memory 6 in advance. Setting patterns SP1, SP2, and SP3 are registered in the setting pattern table TA as an example.

設定パターンテーブルTAの1行目において、設定パターンSP1は、CPUポート及びUSポートの各々に対し、レーン0~15で構成されるx16リンクを収容する単一のポートが設定され、かつ、DSポートに対し、レーン0~7で構成されるx8リンクを収容するポート53と、レーン8~11で構成されるx4リンクを収容するポート54と、レーン12~15で構成されるx4リンクを収容するポート55とが設定されることを示す。また、設定パターンテーブルTAの1行目では、設定パターンSP1に対応する接続パターンとして「接続パターンCP1」が登録され、設定パターンSP1に対応する接続モードとして「ベースモード」が登録されている。 In the first row of the setting pattern table TA, the setting pattern SP1 sets a single port accommodating an x16 link composed of lanes 0 to 15 for each of the CPU port and the US port, and sets the DS port , a port 53 accommodating an x8 link consisting of lanes 0-7, a port 54 accommodating an x4 link consisting of lanes 8-11, and an x4 link consisting of lanes 12-15. port 55 is set. In the first row of the setting pattern table TA, "connection pattern CP1" is registered as the connection pattern corresponding to setting pattern SP1, and "base mode" is registered as the connection mode corresponding to setting pattern SP1.

また、設定パターンテーブルTAの2行目において、設定パターンSP2は、CPUポート及びUSポートの各々に対し、レーン0~7で構成されるx8リンクを収容する第一ポートと、レーン8~15で構成されるx8リンクを収容する第二ポートとの2つのポートが設定され、かつ、DSポートに対し、レーン0~7で構成されるx8リンクを収容するポート53と、レーン8~11で構成されるx4リンクを収容するポート54と、レーン12~15で構成されるx4リンクを収容するポート55とが設定されることを示す。また、設定パターンテーブルTAの2行目では、設定パターンSP2に対応する接続パターンとして「接続パターンCP2」が登録され、設定パターンSP2に対応する接続モードとして「バーチャルスイッチモード」が登録されている。 Also, in the second row of the setting pattern table TA, the setting pattern SP2 is for each of the CPU port and the US port, a first port accommodating an x8 link composed of lanes 0 to 7, and lanes 8 to 15. Two ports are set, the second port accommodating the configured x8 link, and the DS port is configured with the port 53 accommodating the x8 link configured with lanes 0 to 7 and lanes 8 to 11. 10 shows that a port 54 that accommodates an x4 link configured with lanes 12 to 15 and a port 55 that accommodates an x4 link configured with lanes 12 to 15 are set. In the second row of the setting pattern table TA, "connection pattern CP2" is registered as the connection pattern corresponding to setting pattern SP2, and "virtual switch mode" is registered as the connection mode corresponding to setting pattern SP2.

また、設定パターンテーブルTAの3行目において、設定パターンSP3は、CPUポート及びUSポートの各々に対し、レーン0~7で構成されるx8リンクを収容する第一ポートと、レーン8~11で構成されるx4リンクを収容する第二ポートと、レーン12~15で構成されるx4リンクを収容する第三ポートとの3つのポートが設定され、かつ、DSポートに対し、レーン0~7で構成されるx8リンクを収容するポート53と、レーン8~11で構成されるx4リンクを収容するポート54と、レーン12~15で構成されるx4リンクを収容するポート55とが設定されることを示す。また、設定パターンテーブルTAの3行目では、設定パターンSP3に対応する接続パターンとして「接続パターンCP3」が登録され、設定パターンSP3に対応する接続モードとして「バーチャルスイッチモード」が登録されている。 Also, in the third row of the setting pattern table TA, the setting pattern SP3 is for each of the CPU port and the US port, the first port accommodating the x8 link composed of lanes 0 to 7, and the lanes 8 to 11. Three ports are configured, the second port accommodating the configured x4 link and the third port accommodating the x4 link configured with lanes 12-15, and lanes 0-7 for the DS port. A port 53 accommodating an x8 link configured, a port 54 accommodating an x4 link configured with lanes 8-11, and a port 55 accommodating an x4 link configured with lanes 12-15 are set. indicates In the third row of the setting pattern table TA, "connection pattern CP3" is registered as the connection pattern corresponding to setting pattern SP3, and "virtual switch mode" is registered as the connection mode corresponding to setting pattern SP3.

接続モードである「ベースモード」及び「バーチャルスイッチモード」は、PCIeスイッチ8に設定可能な各モードである。「ベースモード」は、USポートに対して単一のポートが設定される場合のモードであり、「バーチャルスイッチモード」は、USポートに対して複数のポートが設定される場合のモードである。 The connection modes “base mode” and “virtual switch mode” are modes that can be set in the PCIe switch 8 . "Base mode" is a mode when a single port is set for a US port, and "virtual switch mode" is a mode when multiple ports are set for a US port.

<接続試験システムにおける処理手順>
図3は、本開示の実施例1の接続試験システムの処理手順の一例を示すフローチャートである。図4、図5及び図6は、本開示の実施例1のポート設定例を示す図である。図7は、本開示の実施例1の接続試験成否テーブルの一例を示す図である。
<Processing procedure in the connection test system>
FIG. 3 is a flowchart illustrating an example of a processing procedure of the connection testing system according to the first embodiment of the present disclosure; 4, 5, and 6 are diagrams showing port setting examples according to the first embodiment of the present disclosure. FIG. 7 is a diagram illustrating an example of a connection test success/failure table according to the first embodiment of the present disclosure;

図3に示すフローチャートにおいて、ステップS101では、パターン取得部501が、メモリ6に記憶されている設定パターンテーブルTAを参照し、設定パターンテーブルTAの登録行数を「N」にセットする。例えば図2に示す設定パターンテーブルTAの登録行数は3行であるため、ステップS101では、パターン取得部501は、登録行数Nを「3」にセットする。 In the flowchart shown in FIG. 3, in step S101, the pattern acquisition unit 501 refers to the setting pattern table TA stored in the memory 6, and sets the number of registered rows of the setting pattern table TA to "N". For example, since the setting pattern table TA shown in FIG. 2 has three registered rows, the pattern acquisition unit 501 sets the number of registered rows N to "3" in step S101.

次いで、ステップS103では、パターン取得部501が、カウンター「n」の値を「1」にセットする。 Next, in step S103, the pattern acquisition unit 501 sets the value of the counter "n" to "1".

次いで、ステップS105では、パターン取得部501が、メモリ6に記憶されている設定パターンテーブルTAを参照し、設定パターンテーブルTAにおいてn行目(つまり、ここでは1行目)に登録されている設定パターン(つまり、ここでは設定パターンSP1)を取得するとともに、設定パターンSP1に対応付けて登録されているCPUポート/USポート:0~15、DSポート:0~7,8~11,12~15、接続パターンCP1、及び、接続モード:ベースモードを取得する。 Next, in step S105, the pattern acquisition unit 501 refers to the setting pattern table TA stored in the memory 6, and determines the setting registered in the n-th row (that is, the first row here) in the setting pattern table TA. A pattern (that is, setting pattern SP1 here) is obtained, and CPU ports/US ports: 0 to 15, DS ports: 0 to 7, 8 to 11, 12 to 15 are registered in association with the setting pattern SP1. , connection pattern CP1, and connection mode: base mode.

次いで、ステップS107では、パターン判定部502が、ステップS105で取得された設定パターンが、設定パターンSP1,SP2,SP3の何れであるかを判定する。1回目のステップS105で取得された設定パターンは「SP1」であるため、処理は、ステップS107からステップS109へ進む。 Next, in step S107, the pattern determination unit 502 determines which of the setting patterns SP1, SP2, and SP3 the setting pattern acquired in step S105 is. Since the setting pattern acquired in step S105 for the first time is "SP1", the process proceeds from step S107 to step S109.

次いで、ステップS109では、1回目のステップS105で取得された設定パターンSP1に対応する接続モードが「ベースモード」であるため、スイッチモード設定部503が、スイッチモード設定レジスタ801のレジスタ値を「ベースモード」に対応する値に設定する。例えば、スイッチモード設定レジスタ801において、レジスタ値「0b」がベースモードに対応し、レジスタ値「1b」がバーチャルスイッチモードに対応する場合、ステップS109では、スイッチモード設定部503が、スイッチモード設定レジスタ801のレジスタ値を「0b」に設定する。スイッチモード設定レジスタ801のレジスタ値が「0b」に設定されることにより、PCIeスイッチ8は、ベースモードで動作する。 Next, in step S109, since the connection mode corresponding to the setting pattern SP1 acquired in the first step S105 is "base mode," the switch mode setting unit 503 sets the register value of the switch mode setting register 801 to "base mode." mode". For example, in the switch mode setting register 801, when the register value "0b" corresponds to the base mode and the register value "1b" corresponds to the virtual switch mode, in step S109 the switch mode setting unit 503 sets the switch mode setting register Set the register value of 801 to '0b'. By setting the register value of the switch mode setting register 801 to "0b", the PCIe switch 8 operates in the base mode.

次いで、ステップS111では、1回目のステップS105で取得された設定パターンSP1に対応するCPUポート設定値が「0~15」であるため、ポート設定部504が、ポート設定レジスタ505のレジスタ値を「x16ポート」に対応する値に設定する。例えば、ポート設定レジスタ505において、レジスタ値「00b」が「x8ポート×1,x4ポート×2(x8ポートが1つとx4ポートが2つ)」に対応し、レジスタ値「10b」が「x8ポート×2(x8ポートが2つ)」に対応し、レジスタ値「11b」が「x16ポート×1(x16ポートが1つ)」に対応する場合、ステップS111では、ポート設定部504が、ポート設定レジスタ505のレジスタ値を「11b」に設定する。ポート設定レジスタ505のレジスタ値が「11b」に設定されることにより、図4に示すように、CPUポートとして、レーン0~15で構成されるx16リンクを収容する単一のポート61が設定される。つまり、ポート51(図1)は分割されずに、x16ポートである単一のポート61がCPUポートとして設定される。 Next, in step S111, since the CPU port setting value corresponding to the setting pattern SP1 acquired in the first step S105 is "0 to 15", the port setting unit 504 sets the register value of the port setting register 505 to " x16 port”. For example, in the port setting register 505, the register value "00b" corresponds to "x8 port x 1, x4 port x 2 (one x8 port and two x4 ports)", and the register value "10b" corresponds to "x8 port x2 (two x8 ports)” and the register value “11b” corresponds to “x16 port x1 (one x16 port)”, in step S111, the port setting unit 504 performs port setting The register value of register 505 is set to "11b". By setting the register value of the port setting register 505 to "11b", as shown in FIG. 4, a single port 61 accommodating an x16 link composed of lanes 0 to 15 is set as a CPU port. be. That is, port 51 (FIG. 1) is not split, and single port 61, which is an x16 port, is set as the CPU port.

次いで、ステップS113では、1回目のステップS105で取得された設定パターンSP1に対応するUSポート設定値が「0~15」であるため、ポート設定部504が、USポート設定レジスタ802のレジスタ値を「x16ポート」に対応する値に設定する。例えば、USポート設定レジスタ802において、レジスタ値「001b」が「x16ポート×1」に対応し、レジスタ値「010b」が「x8ポート×2」に対応し、レジスタ値「011b」が「x8ポート×1,x4ポート×2」に対応し、レジスタ値「100b」が「x4ポート×4(x4ポートが4つ)」に対応する場合、ステップS113では、ポート設定部504が、USポート設定レジスタ802のレジスタ値を「001b」に設定する。USポート設定レジスタ802のレジスタ値が「001b」に設定されることにより、図4に示すように、USポートとして、レーン0~15で構成されるx16リンクを収容する単一のポート62が設定される。つまり、ポート52(図1)は分割されずに、x16ポートである単一のポート62がUSポートとして設定される。よって、ポート61とポート62とは、x16リンクであるリンクL11を用いて接続される。 Next, in step S113, since the US port setting value corresponding to the setting pattern SP1 obtained in the first step S105 is "0 to 15", the port setting unit 504 sets the register value of the US port setting register 802 to Set to a value that corresponds to "x16 port". For example, in the US port setting register 802, the register value "001b" corresponds to "x16 port x 1", the register value "010b" corresponds to "x8 port x 2", and the register value "011b" corresponds to "x8 port x1, x4 port x2” and the register value “100b” corresponds to “x4 port x4 (four x4 ports)”, in step S113, the port setting unit 504 sets the US port setting register Set the register value of 802 to "001b". By setting the register value of the US port setting register 802 to "001b", as shown in FIG. 4, a single port 62 accommodating an x16 link composed of lanes 0 to 15 is set as a US port. be done. That is, port 52 (FIG. 1) is not split and a single port 62, which is an x16 port, is configured as a US port. Therefore, port 61 and port 62 are connected using link L11, which is an x16 link.

次いで、ステップS115では、1回目のステップS105で取得された設定パターンSP1に対応するDSポート設定値が「0~7,8~11,12~15」であるため、ポート設定部504が、DSポート設定レジスタ803のレジスタ値を「x8ポート×1,x4ポート×2」に対応する値に設定する。例えば、DSポート設定レジスタ803において、レジスタ値「001b」が「x16ポート×1」に対応し、レジスタ値「010b」が「x8ポート×2」に対応し、レジスタ値「011b」が「x8ポート×1,x4ポート×2」に対応し、レジスタ値「100b」が「x4ポート×4」に対応する場合、ステップS115では、ポート設定部504が、DSポート設定レジスタ803のレジスタ値を「011b」に設定する。DSポート設定レジスタ803のレジスタ値が「011b」に設定されることにより、図4に示すように、DSポートとして、レーン0~7で構成されるx8リンクを収容するポート63と、レーン8~11で構成されるx4リンクを収容するポート64と、レーン12~15で構成されるx4リンクを収容するポート65とが設定される。よって、ポート63とポート11Pとは、x8リンクであるリンクL12を用いて接続され、ポート64とポート12Pとは、x4リンクであるリンクL13を用いて接続され、ポート65とポート13Pとは、x4リンクであるリンクL14を用いて接続される。 Next, in step S115, since the DS port setting values corresponding to the setting pattern SP1 acquired in the first step S105 are "0 to 7, 8 to 11, 12 to 15", the port setting unit 504 sets the DS The register value of the port setting register 803 is set to a value corresponding to "x8 port x1, x4 port x2". For example, in the DS port setting register 803, the register value "001b" corresponds to "x16 port x 1", the register value "010b" corresponds to "x8 port x 2", and the register value "011b" corresponds to "x8 port x1, x4 port x2” and the register value “100b” corresponds to “x4 port x4”, the port setting unit 504 sets the register value of the DS port setting register 803 to “011b” in step S115. ”. By setting the register value of the DS port setting register 803 to "011b", as shown in FIG. 11, and a port 65 that accommodates an x4 link consisting of lanes 12-15. Therefore, port 63 and port 11P are connected using link L12 which is an x8 link, port 64 and port 12P are connected using link L13 which is an x4 link, and port 65 and port 13P are connected using It is connected using link L14, which is a x4 link.

次いで、ステップS117では、1回目のステップS105で取得された設定パターンSP1に対応する接続パターンが「CP1」であるため、接続パターン設定部506が、接続パターン設定レジスタ804のレジスタ値を「接続パターンCP1」に対応する値に設定する。例えば、接続パターン設定レジスタ804において、レジスタ値「01b」が「接続パターンCP1」に対応し、レジスタ値「10b」が「接続パターンCP2」に対応し、レジスタ値「11b」が「接続パターンCP3」に対応する場合、ステップS117では、接続パターン設定部506が、接続パターン設定レジスタ804のレジスタ値を「01b」に設定する。接続パターン設定レジスタ804のレジスタ値が「01b」に設定されることにより、図4に示すように、PCIeスイッチ8が有するPCIバスPBの接続パターンが接続パターンCP1となる。PCIバスPBが接続パターンCP1を採ることにより、図4に示すように、PCIバスPBを用いて、単一のポート62に対してポート63,64,65の3つのポートが並列に接続される。 Next, in step S117, since the connection pattern corresponding to the setting pattern SP1 acquired in the first step S105 is "CP1", the connection pattern setting unit 506 sets the register value of the connection pattern setting register 804 to "connection pattern CP1” is set to a value corresponding to For example, in the connection pattern setting register 804, the register value "01b" corresponds to "connection pattern CP1", the register value "10b" corresponds to "connection pattern CP2", and the register value "11b" corresponds to "connection pattern CP3". , in step S117, the connection pattern setting unit 506 sets the register value of the connection pattern setting register 804 to "01b". By setting the register value of the connection pattern setting register 804 to "01b", the connection pattern of the PCI bus PB of the PCIe switch 8 becomes the connection pattern CP1 as shown in FIG. By adopting the connection pattern CP1 for the PCI bus PB, three ports 63, 64 and 65 are connected in parallel to a single port 62 using the PCI bus PB as shown in FIG. .

CPU5とPCIeスイッチ8との接続状態、及び、PCIeスイッチ8と各エンドポイントデバイス11D,12D,13Dとの接続状態が図4に示すようになったところで、次いで、ステップS119では、接続試験実行部507が、ポート61の接続試験を実行する。例えば、接続試験実行部507は、各エンドポイントデバイス11D,12D,13Dとの間で所定の信号を送受信することによりポート61の接続試験を行う。 When the connection state between the CPU 5 and the PCIe switch 8 and the connection state between the PCIe switch 8 and the endpoint devices 11D, 12D, and 13D are as shown in FIG. 507 performs a port 61 connectivity test. For example, the connection test executing unit 507 performs a connection test of the port 61 by transmitting and receiving predetermined signals to and from each of the endpoint devices 11D, 12D, and 13D.

次いで、ステップS121では、接続状態測定部508が、ポート61の接続状態を実測する。例えば、接続状態測定部508は、ポート61の接続状態として、リンクL11におけるリンク幅とリンクスピードとを実測する。 Next, in step S<b>121 , the connection state measurement unit 508 actually measures the connection state of the port 61 . For example, the connection state measurement unit 508 actually measures the link width and link speed of the link L11 as the connection state of the port 61 .

次いで、ステップS123では、成否判定部509が、リンクL11におけるリンク幅及びリンクスピードの各実測値が期待値に一致するか否かを判定する。 Next, in step S123, the success/failure determination unit 509 determines whether or not the measured values of the link width and the link speed of the link L11 match the expected values.

そして、リンクL11におけるリンク幅及びリンクスピードの双方の実測値が期待値に一致する場合は(ステップS123:Yes)、ステップS125において、成否判定部509が、ポート61の接続試験(つまり、設定パターンSP1についての接続試験)が成功したと判定する。 Then, when the measured values of both the link width and the link speed of the link L11 match the expected values (step S123: Yes), in step S125, the success/failure determination unit 509 performs a connection test of the port 61 (that is, setting pattern connection test for SP1) is determined to be successful.

一方で、リンクL11におけるリンク幅またはリンクスピードの何れかの実測値が期待値に一致しない場合は(ステップS123:No)、ステップS127において、成否判定部509が、ポート61の接続試験が失敗したと判定する。 On the other hand, if the measured value of either the link width or the link speed in the link L11 does not match the expected value (step S123: No), in step S127, the success/failure determination unit 509 determines that the connection test of the port 61 has failed. I judge.

以上のように、PCIeスロット7に装着されたPCIeカード3は、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能する。 As described above, the PCIe card 3 attached to the PCIe slot 7 functions as a connection test device for the computer 2 to test the connection of the CPU port.

次いで、ステップS129では、パターン取得部501が、カウンターnの値が登録行数Nの値に達したか否か、つまり、設定パターンテーブルTAに登録されている全ての設定パターンについて接続試験が完了したか否かを判定する。ここでは、「N=3」であるのに対して未だ「n=1」であり、設定パターンテーブルTAに登録されている設定パターンSP1,SP2,SP3のうち、未だ設定パターンSP2,SP3についての接続試験が実行されていないため(ステップS129:No)、処理はステップS131へ進む。 Next, in step S129, the pattern acquisition unit 501 determines whether the value of the counter n has reached the value of the number of registered rows N, that is, whether or not the connection test has been completed for all the setting patterns registered in the setting pattern table TA. determine whether or not Here, "N=3" is still "n=1", and among the setting patterns SP1, SP2, and SP3 registered in the setting pattern table TA, the setting patterns SP2 and SP3 are still set. Since the connection test has not been executed (step S129: No), the process proceeds to step S131.

ステップS131では、パターン取得部501が、カウンターnの値を「1」から「2」にインクリメントする。ステップS131の処理後、処理はステップS105に戻る。 In step S131, the pattern acquisition unit 501 increments the value of the counter n from "1" to "2". After the process of step S131, the process returns to step S105.

次いで、ステップS105では、パターン取得部501が、メモリ6に記憶されている設定パターンテーブルTAを参照し、設定パターンテーブルTAにおいてn行目(つまり、ここでは2行目)に登録されている設定パターン(つまり、ここでは設定パターンSP2)を取得するとともに、設定パターンSP2に対応付けて登録されているCPUポート/USポート:0~7,8~15、DSポート:0~7,8~11,12~15、接続パターンCP2、及び、接続モード:バーチャルスイッチモードを取得する。 Next, in step S105, the pattern acquisition unit 501 refers to the setting pattern table TA stored in the memory 6, and determines the setting registered in the n-th row (that is, the second row here) in the setting pattern table TA. A pattern (that is, setting pattern SP2 here) is acquired, and CPU ports/US ports: 0 to 7, 8 to 15, DS ports: 0 to 7, 8 to 11 are registered in association with setting pattern SP2. , 12-15, connection pattern CP2, and connection mode: virtual switch mode.

次いで、ステップS107では、パターン判定部502が、ステップS105で取得された設定パターンが、設定パターンSP1,SP2,SP3の何れであるかを判定する。2回目のステップS105で取得された設定パターンは「SP2」であるため、処理は、ステップS107からステップS133へ進む。 Next, in step S107, the pattern determination unit 502 determines which of the setting patterns SP1, SP2, and SP3 the setting pattern acquired in step S105 is. Since the setting pattern acquired in step S105 for the second time is "SP2", the process proceeds from step S107 to step S133.

次いで、ステップS133では、2回目のステップS105で取得された設定パターンSP2に対応する接続モードが「バーチャルスイッチモード」であるため、スイッチモード設定部503が、スイッチモード設定レジスタ801のレジスタ値を「1b」に設定する。スイッチモード設定レジスタ801のレジスタ値が「1b」に設定されることにより、PCIeスイッチ8は、バーチャルスイッチモードで動作する。 Next, in step S133, since the connection mode corresponding to the setting pattern SP2 acquired in the second step S105 is "virtual switch mode", the switch mode setting unit 503 sets the register value of the switch mode setting register 801 to " 1b”. By setting the register value of the switch mode setting register 801 to "1b", the PCIe switch 8 operates in the virtual switch mode.

次いで、ステップS135では、2回目のステップS105で取得された設定パターンSP2に対応するCPUポート設定値が「0~7,8~15」であるため、ポート設定部504が、ポート設定レジスタ505のレジスタ値を「10b」に設定する。ポート設定レジスタ505のレジスタ値が「10b」に設定されることにより、図5に示すように、CPUポートとして、レーン0~7で構成されるx8リンクを収容するポート71と、レーン8~15で構成されるx8リンクを収容するポート72とが設定される。つまり、ポート51(図1)は、x8ポートであるポート71と、x8ポートであるポート72との2つのポートに分割される。 Next, in step S135, the CPU port setting values corresponding to the setting pattern SP2 acquired in the second step S105 are "0 to 7, 8 to 15". Set the register value to "10b". By setting the register value of the port setting register 505 to "10b", as shown in FIG. A port 72 is set up to accommodate an x8 link consisting of . That is, port 51 (FIG. 1) is divided into two ports, port 71, which is an x8 port, and port 72, which is an x8 port.

次いで、ステップS137では、2回目のステップS105で取得された設定パターンSP2に対応するUSポート設定値が「0~7,8~15」であるため、ポート設定部504が、USポート設定レジスタ802のレジスタ値を「010b」に設定する。USポート設定レジスタ802のレジスタ値が「010b」に設定されることにより、図5に示すように、USポートとして、レーン0~7で構成されるx8リンクを収容するポート73と、レーン8~15で構成されるx8リンクを収容するポート74とが設定される。つまり、ポート52(図1)は、x8ポートであるポート73と、x8ポートであるポート74との2つのポートに分割される。よって、ポート71とポート73とは、x8リンクであるリンクL21を用いて接続され、ポート72とポート74とは、x8リンクであるリンクL22を用いて接続される。 Next, in step S137, since the US port setting values corresponding to the setting pattern SP2 acquired in the second step S105 are "0 to 7, 8 to 15", the port setting unit 504 sets the US port setting register 802 to register value to "010b". By setting the register value of the US port setting register 802 to "010b", as shown in FIG. A port 74 is configured to accommodate an x8 link configured with 15. That is, port 52 (FIG. 1) is split into two ports, port 73, which is an x8 port, and port 74, which is an x8 port. Therefore, ports 71 and 73 are connected using link L21, which is an x8 link, and ports 72 and 74 are connected using link L22, which is an x8 link.

次いで、ステップS139では、2回目のステップS105で取得された設定パターンSP2に対応するDSポート設定値が「0~7,8~11,12~15」であるため、ポート設定部504が、DSポート設定レジスタ803のレジスタ値を「011b」に設定する。DSポート設定レジスタ803のレジスタ値が「011b」に設定されることにより、図5に示すように、DSポートとして、レーン0~7で構成されるx8リンクを収容するポート75と、レーン8~11で構成されるx4リンクを収容するポート76と、レーン12~15で構成されるx4リンクを収容するポート77とが設定される。よって、ポート75とポート11Pとは、x8リンクであるリンクL23を用いて接続され、ポート76とポート12Pとは、x4リンクであるリンクL24を用いて接続され、ポート77とポート13Pとは、x4リンクであるリンクL25を用いて接続される。 Next, in step S139, since the DS port setting values corresponding to the setting pattern SP2 obtained in the second step S105 are "0 to 7, 8 to 11, 12 to 15", the port setting unit 504 sets the DS The register value of the port setting register 803 is set to "011b". By setting the register value of the DS port setting register 803 to "011b", as shown in FIG. 11, and a port 77 for accommodating an x4 link consisting of lanes 12 to 15 are set. Therefore, port 75 and port 11P are connected using link L23 which is an x8 link, port 76 and port 12P are connected using link L24 which is an x4 link, and port 77 and port 13P are connected using It is connected using link L25, which is a x4 link.

次いで、ステップS141では、2回目のステップS105で取得された設定パターンSP2に対応する接続パターンが「CP2」であるため、接続パターン設定部506が、接続パターン設定レジスタ804のレジスタ値を「10b」に設定する。接続パターン設定レジスタ804のレジスタ値が「10b」に設定されることにより、図5に示すように、PCIeスイッチ8が有するPCIバスPBの接続パターンが接続パターンCP2となる。PCIバスPBが接続パターンCP2を採ることにより、図5に示すように、PCIバスPBを用いて、ポート73に対してポート75が接続されるとともに、ポート74に対してポート76,77の2つのポートが並列に接続される。 Next, in step S141, since the connection pattern corresponding to the setting pattern SP2 acquired in the second step S105 is "CP2", the connection pattern setting unit 506 sets the register value of the connection pattern setting register 804 to "10b". set to By setting the register value of the connection pattern setting register 804 to "10b", the connection pattern of the PCI bus PB of the PCIe switch 8 becomes the connection pattern CP2 as shown in FIG. By adopting the connection pattern CP2 for the PCI bus PB, as shown in FIG. ports are connected in parallel.

CPU5とPCIeスイッチ8との接続状態、及び、PCIeスイッチ8と各エンドポイントデバイス11D,12D,13Dとの接続状態が図5に示すようになったところで、次いで、ステップS119では、接続試験実行部507が、各エンドポイントデバイス11D,12D,13Dとの間で所定の信号を送受信することによりポート71,72の接続試験を行う。 When the connection state between the CPU 5 and the PCIe switch 8 and the connection state between the PCIe switch 8 and the endpoint devices 11D, 12D, and 13D are as shown in FIG. 507 performs a connection test of ports 71 and 72 by transmitting and receiving predetermined signals to and from endpoint devices 11D, 12D and 13D.

次いで、ステップS121では、接続状態測定部508が、ポート71の接続状態としてリンクL21におけるリンク幅とリンクスピードとを実測し、ポート72の接続状態としてリンクL22におけるリンク幅とリンクスピードとを実測する。 Next, in step S121, the connection state measurement unit 508 actually measures the link width and link speed of link L21 as the connection state of port 71, and the link width and link speed of link L22 as the connection state of port 72. .

次いで、ステップS123では、成否判定部509が、リンクL71におけるリンク幅及びリンクスピードの各実測値、及び、リンクL72におけるリンク幅及びリンクスピードの各実測値が期待値に一致するか否かを判定する。 Next, in step S123, the success/failure determination unit 509 determines whether the measured values of the link width and the link speed of the link L71 and the measured values of the link width and the link speed of the link L72 match the expected values. do.

そして、リンクL71におけるリンク幅及びリンクスピード、及び、リンクL72におけるリンク幅及びリンクスピードの全ての実測値が期待値に一致する場合は(ステップS123:Yes)、ステップS125において、成否判定部509が、ポート71,72の接続試験(つまり、設定パターンSP2についての接続試験)が成功したと判定する。 Then, when all the measured values of the link width and the link speed of the link L71 and the link width and the link speed of the link L72 match the expected values (step S123: Yes), in step S125, the success/failure determination unit 509 , ports 71 and 72 (that is, the connection test for the setting pattern SP2) is determined to be successful.

一方で、リンクL71におけるリンク幅またはリンクスピード、または、リンクL72におけるリンク幅またはリンクスピードの何れかの実測値が期待値に一致しない場合は(ステップS123:No)、ステップS127において、成否判定部509が、ポート71,72の接続試験が失敗したと判定する。 On the other hand, if the measured value of either the link width or the link speed of the link L71 or the link width or the link speed of the link L72 does not match the expected value (step S123: No), in step S127, the success/failure determination unit 509 determines that the connection test for ports 71 and 72 has failed.

次いで、ステップS129では、パターン取得部501が、カウンターnの値が登録行数Nの値に達したか否か、つまり、設定パターンテーブルTAに登録されている全ての設定パターンについて接続試験が完了したか否かを判定する。ここでは、「N=3」であるのに対して未だ「n=2」であり、設定パターンテーブルTAに登録されている設定パターンSP1,SP2,SP3のうち、未だ設定パターンSP3についての接続試験が実行されていないため(ステップS129:No)、処理はステップS131へ進む。 Next, in step S129, the pattern acquisition unit 501 determines whether the value of the counter n has reached the value of the number of registered rows N, that is, whether or not the connection test has been completed for all the setting patterns registered in the setting pattern table TA. determine whether or not Here, "N=3" is still "n=2", and among the setting patterns SP1, SP2, and SP3 registered in the setting pattern table TA, the connection test for the setting pattern SP3 is still performed. has not been executed (step S129: No), the process proceeds to step S131.

ステップS131では、パターン取得部501が、カウンターnの値を「2」から「3」にインクリメントする。ステップS131の処理後、処理はステップS105に戻る。 In step S131, the pattern acquisition unit 501 increments the value of the counter n from "2" to "3". After the process of step S131, the process returns to step S105.

次いで、ステップS105では、パターン取得部501が、メモリ6に記憶されている設定パターンテーブルTAを参照し、設定パターンテーブルTAにおいてn行目(つまり、ここでは3行目)に登録されている設定パターン(つまり、ここでは設定パターンSP3)を取得するとともに、設定パターンSP3に対応付けて登録されているCPUポート/USポート:0~7,8~11,12~15、DSポート:0~7,8~11,12~15、接続パターンCP3、及び、接続モード:バーチャルスイッチモードを取得する。 Next, in step S105, the pattern acquisition unit 501 refers to the setting pattern table TA stored in the memory 6, and sets the setting registered in the n-th row (that is, the third row here) in the setting pattern table TA. A pattern (that is, setting pattern SP3 here) is obtained, and CPU ports/US ports: 0 to 7, 8 to 11, 12 to 15, DS ports: 0 to 7 are registered in association with setting pattern SP3. , 8-11, 12-15, connection pattern CP3, and connection mode: virtual switch mode.

次いで、ステップS107では、パターン判定部502が、ステップS105で取得された設定パターンが、設定パターンSP1,SP2,SP3の何れであるかを判定する。3回目のステップS105で取得された設定パターンは「SP3」であるため、処理は、ステップS107からステップS143へ進む。 Next, in step S107, the pattern determination unit 502 determines which of the setting patterns SP1, SP2, and SP3 the setting pattern acquired in step S105 is. Since the setting pattern acquired in step S105 for the third time is "SP3", the process proceeds from step S107 to step S143.

次いで、ステップS143では、3回目のステップS105で取得された設定パターンSP3に対応する接続モードが「バーチャルスイッチモード」であるため、スイッチモード設定部503が、スイッチモード設定レジスタ801のレジスタ値を「1b」に設定する。スイッチモード設定レジスタ801のレジスタ値が「1b」に設定されることにより、PCIeスイッチ8は、バーチャルスイッチモードで動作する。 Next, in step S143, since the connection mode corresponding to the setting pattern SP3 acquired in the third step S105 is "virtual switch mode", the switch mode setting unit 503 sets the register value of the switch mode setting register 801 to " 1b”. By setting the register value of the switch mode setting register 801 to "1b", the PCIe switch 8 operates in the virtual switch mode.

次いで、ステップS145では、3回目のステップS105で取得された設定パターンSP3に対応するCPUポート設定値が「0~7,8~11,12~15」であるため、ポート設定部504が、ポート設定レジスタ505のレジスタ値を「00b」に設定する。ポート設定レジスタ505のレジスタ値が「00b」に設定されることにより、図6に示すように、CPUポートとして、レーン0~7で構成されるx8リンクを収容するポート81と、レーン8~11で構成されるx4リンクを収容するポート82と、レーン12~15で構成されるx4リンクを収容するポート83とが設定される。つまり、ポート51(図1)は、x8ポートであるポート81と、x4ポートであるポート82と、x4ポートであるポート83との3つのポートに分割される。 Next, in step S145, since the CPU port setting values corresponding to the setting pattern SP3 acquired in the third step S105 are "0 to 7, 8 to 11, 12 to 15", the port setting unit 504 sets the port The register value of the setting register 505 is set to "00b". By setting the register value of the port setting register 505 to "00b", as shown in FIG. and a port 83 accommodating an x4 link composed of lanes 12 to 15 are set. That is, the port 51 (FIG. 1) is divided into three ports, a port 81 that is an x8 port, a port 82 that is an x4 port, and a port 83 that is an x4 port.

次いで、ステップS147では、3回目のステップS105で取得された設定パターンSP3に対応するUSポート設定値が「0~7,8~11,12~15」であるため、ポート設定部504が、USポート設定レジスタ802のレジスタ値を「011b」に設定する。USポート設定レジスタ802のレジスタ値が「011b」に設定されることにより、図6に示すように、USポートとして、レーン0~7で構成されるx8リンクを収容するポート84と、レーン8~11で構成されるx4リンクを収容するポート85と、レーン12~15で構成されるx4リンクを収容するポート86とが設定される。つまり、ポート52(図1)は、x8ポートであるポート84と、x4ポートであるポート85と、x4ポートであるポート86との3つのポートに分割される。よって、ポート81とポート84とは、x8リンクであるリンクL31を用いて接続され、ポート82とポート85とは、x4リンクであるリンクL32を用いて接続され、ポート83とポート86とは、x4リンクであるリンクL33を用いて接続される。 Next, in step S147, since the US port setting values corresponding to the setting pattern SP3 acquired in the third step S105 are "0 to 7, 8 to 11, 12 to 15", the port setting unit 504 sets the US The register value of the port setting register 802 is set to "011b". By setting the register value of the US port setting register 802 to "011b", as shown in FIG. 11, and a port 86 that accommodates an x4 link consisting of lanes 12-15. That is, port 52 (FIG. 1) is divided into three ports: port 84, which is an x8 port; port 85, which is an x4 port; and port 86, which is an x4 port. Therefore, ports 81 and 84 are connected using a link L31 which is an x8 link, ports 82 and 85 are connected using a link L32 which is an x4 link, and ports 83 and 86 are connected using a link L32 which is an x4 link. They are connected using link L33, which is a x4 link.

次いで、ステップS149では、3回目のステップS105で取得された設定パターンSP3に対応するDSポート設定値が「0~7,8~11,12~15」であるため、ポート設定部504が、DSポート設定レジスタ803のレジスタ値を「011b」に設定する。DSポート設定レジスタ803のレジスタ値が「011b」に設定されることにより、図6に示すように、DSポートとして、レーン0~7で構成されるx8リンクを収容するポート87と、レーン8~11で構成されるx4リンクを収容するポート88と、レーン12~15で構成されるx4リンクを収容するポート89とが設定される。よって、ポート87とポート11Pとは、x8リンクであるリンクL34を用いて接続され、ポート88とポート12Pとは、x4リンクであるリンクL35を用いて接続され、ポート89とポート13Pとは、x4リンクであるリンクL36を用いて接続される。 Next, in step S149, since the DS port setting values corresponding to the setting pattern SP3 acquired in the third step S105 are "0 to 7, 8 to 11, 12 to 15", the port setting unit 504 sets the DS The register value of the port setting register 803 is set to "011b". By setting the register value of the DS port setting register 803 to "011b", as shown in FIG. 11, and a port 89 that accommodates an x4 link consisting of lanes 12-15. Therefore, port 87 and port 11P are connected using link L34, which is an x8 link, port 88 and port 12P are connected using link L35, which is an x4 link, and port 89 and port 13P are connected using It is connected using link L36, which is a x4 link.

次いで、ステップS151では、3回目のステップS105で取得された設定パターンSP3に対応する接続パターンが「CP3」であるため、接続パターン設定部506が、接続パターン設定レジスタ804のレジスタ値を「11b」に設定する。接続パターン設定レジスタ804のレジスタ値が「11b」に設定されることにより、図6に示すように、PCIeスイッチ8が有するPCIバスPBの接続パターンが接続パターンCP3となる。PCIバスPBが接続パターンCP3を採ることにより、図6に示すように、PCIバスPBを用いて、ポート84に対してポート87が接続され、ポート85に対してポート88が接続され、ポート86に対してポート89が接続される。 Next, in step S151, since the connection pattern corresponding to the setting pattern SP3 acquired in the third step S105 is "CP3", the connection pattern setting unit 506 sets the register value of the connection pattern setting register 804 to "11b". set to By setting the register value of the connection pattern setting register 804 to "11b", the connection pattern of the PCI bus PB of the PCIe switch 8 becomes the connection pattern CP3 as shown in FIG. By adopting the connection pattern CP3 for the PCI bus PB, as shown in FIG. port 89 is connected to.

CPU5とPCIeスイッチ8との接続状態、及び、PCIeスイッチ8と各エンドポイントデバイス11D,12D,13Dとの接続状態が図6に示すようになったところで、次いで、ステップS119では、接続試験実行部507が、各エンドポイントデバイス11D,12D,13Dとの間で所定の信号を送受信することによりポート81,82,83の接続試験を行う。 When the connection state between the CPU 5 and the PCIe switch 8 and the connection state between the PCIe switch 8 and the endpoint devices 11D, 12D, and 13D are as shown in FIG. 507 performs a connection test of ports 81, 82, 83 by transmitting and receiving predetermined signals to and from endpoint devices 11D, 12D, 13D.

次いで、ステップS121では、接続状態測定部508が、ポート81の接続状態としてリンクL31におけるリンク幅とリンクスピードとを実測し、ポート82の接続状態としてリンクL32におけるリンク幅とリンクスピードとを実測し、ポート83の接続状態としてリンクL33におけるリンク幅とリンクスピードとを実測する。 Next, in step S121, the connection state measurement unit 508 actually measures the link width and link speed of link L31 as the connection state of port 81, and the link width and link speed of link L32 as the connection state of port 82. , as the connection state of the port 83, the link width and link speed of the link L33 are actually measured.

次いで、ステップS123では、成否判定部509が、リンクL81におけるリンク幅及びリンクスピードの各実測値、リンクL82におけるリンク幅及びリンクスピードの各実測値、及び、リンクL83におけるリンク幅及びリンクスピードの各実測値が期待値に一致するか否かを判定する。 Next, in step S123, the success/failure determination unit 509 determines the measured values of the link width and the link speed of the link L81, the measured values of the link width and the link speed of the link L82, and the measured values of the link width and the link speed of the link L83. Determine whether the measured value matches the expected value.

そして、リンクL81におけるリンク幅及びリンクスピード、リンクL82におけるリンク幅及びリンクスピード、及び、リンクL83におけるリンク幅及びリンクスピードの全ての実測値が期待値に一致する場合は(ステップS123:Yes)、ステップS125において、成否判定部509が、ポート81,82,83の接続試験(つまり、設定パターンSP3についての接続試験)が成功したと判定する。 Then, when all the measured values of the link width and link speed of link L81, the link width and link speed of link L82, and the link width and link speed of link L83 match the expected values (step S123: Yes), In step S125, the success/failure determination unit 509 determines that the connection test for ports 81, 82, and 83 (that is, the connection test for setting pattern SP3) has succeeded.

一方で、リンクL81におけるリンク幅またはリンクスピード、リンクL82におけるリンク幅またはリンクスピード、または、リンクL83におけるリンク幅またはリンクスピードの何れかの実測値が期待値に一致しない場合は(ステップS123:No)、ステップS127において、成否判定部509が、ポート81,82,83の接続試験が失敗したと判定する。 On the other hand, if any of the measured values of the link width or link speed of link L81, the link width or link speed of link L82, or the link width or link speed of link L83 does not match the expected value (step S123: No ), and in step S127, the success/failure determination unit 509 determines that the connection test of the ports 81, 82, and 83 has failed.

次いで、ステップS129では、パターン取得部501が、カウンターnの値が登録行数Nの値に達したか否か、つまり、設定パターンテーブルTAに登録されている全ての設定パターンについて接続試験が完了したか否かを判定する。ここでは、「N=3」であるのに対して「n=3」であり、設定パターンテーブルTAに登録されている全ての設定パターンSP1,SP2,SP3についての接続試験が完了したため(ステップS129:Yes)、処理は終了する。 Next, in step S129, the pattern acquisition unit 501 determines whether the value of the counter n has reached the value of the number of registered rows N, that is, whether or not the connection test has been completed for all the setting patterns registered in the setting pattern table TA. determine whether or not Here, "N=3" is "n=3", and the connection test for all the setting patterns SP1, SP2, SP3 registered in the setting pattern table TA is completed (step S129). : Yes), the process ends.

ここで、例えば、成否判定部509は、メモリ6に記憶されている接続試験成否テーブルTB(図7)に接続試験の成否を記録する。例えば、設定パターンSP1,SP2についての接続試験が成功する一方で、設定パターンSP3についての接続試験が失敗した場合、成否判定部509は、図7に示すように、接続試験の成否として、設定パターンSP1,SP2に対しては「1(成功)」をセットし、設定パターンSP3に対しては「0(失敗)」をセットする。 Here, for example, the success/failure determination unit 509 records the success/failure of the connection test in the connection test success/failure table TB (FIG. 7) stored in the memory 6 . For example, if the connection tests for the setting patterns SP1 and SP2 succeed, but the connection test for the setting pattern SP3 fails, the success/failure determination unit 509 determines whether the connection test succeeds or fails as shown in FIG. "1 (success)" is set for SP1 and SP2, and "0 (failure)" is set for the setting pattern SP3.

以上、実施例1について説明した。 The first embodiment has been described above.

[実施例2]
実施例1では、PCIeスイッチ8と、エンドポイントデバイス11D,12D,13Dとを有するPCIeカード3が、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能する場合について説明した。
[Example 2]
In the first embodiment, the case where the PCIe card 3 having the PCIe switch 8 and the endpoint devices 11D, 12D, and 13D functions as a connection test device for the computer 2 to perform a CPU port connection test has been described.

しかし、PCIeスイッチ8及びエンドポイントデバイス11D,12D,13Dは、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能するために、必ずしもPCIeカード3に搭載される必要はない。 However, the PCIe switch 8 and the endpoint devices 11D, 12D, and 13D do not necessarily have to be mounted on the PCIe card 3 in order for the computer 2 to function as a connection test device for performing a CPU port connection test.

例えば、キャリアボード4にPCIeスロット7を設けずに、PCIeスイッチ8及びエンドポイントデバイス11D,12D,13Dをキャリアボード4に直接搭載することにより、実施例1と同様にして、PCIeスイッチ8及びエンドポイントデバイス11D,12D,13Dを、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能させることができる。 For example, by directly mounting the PCIe switch 8 and the endpoint devices 11D, 12D, and 13D on the carrier board 4 without providing the PCIe slot 7 on the carrier board 4, the PCIe switch 8 and the end point devices can be connected in the same manner as in the first embodiment. The point devices 11D, 12D, and 13D can be made to function as a connection test device for the computer 2 to test the connection of the CPU port.

以上、実施例2について説明した。 The second embodiment has been described above.

[実施例3]
コンピュータ2での上記説明における各処理の全部または一部は、各処理に対応するプログラムをCPU5に実行させることによって実現しても良い。例えば、上記説明における各処理に対応するプログラムがメモリ6に記憶され、プログラムがCPU5によってメモリ6から読み出されて実行されても良い。また、プログラムは、任意のネットワークを介してコンピュータ2に接続されたプログラムサーバに記憶され、そのプログラムサーバからコンピュータ2にダウンロードされて実行されたり、コンピュータ2が読み取り可能な記録媒体に記憶され、その記録媒体から読み出されて実行されても良い。コンピュータ2が読み取り可能な記録媒体には、例えば、メモリカード、USBメモリ、SDカード、フレキシブルディスク、光磁気ディスク、CD-ROM、DVD、及び、Blu-ray(登録商標)ディスク等の可搬の記憶媒体が含まれる。また、プログラムは、任意の言語や任意の記述方法にて記述されたデータ処理方法であり、ソースコードやバイナリコード等の形式を問わない。また、プログラムは必ずしも単一的に構成されるものに限られず、複数のモジュールや複数のライブラリとして分散構成されるものや、OS(Operating System)に代表される別個のプログラムと協働してその機能を達成するものも含む。
[Example 3]
All or part of each process in the above description on the computer 2 may be realized by causing the CPU 5 to execute a program corresponding to each process. For example, a program corresponding to each process in the above description may be stored in the memory 6, and the program may be read out from the memory 6 by the CPU 5 and executed. In addition, the program is stored in a program server connected to the computer 2 via an arbitrary network, downloaded from the program server to the computer 2 and executed, or stored in a recording medium readable by the computer 2 and executed. It may be read from a recording medium and executed. Examples of recording media readable by the computer 2 include portable media such as memory cards, USB memories, SD cards, flexible disks, magneto-optical disks, CD-ROMs, DVDs, and Blu-ray (registered trademark) disks. A storage medium is included. A program is a data processing method written in any language and any writing method, and may be in any format such as source code or binary code. In addition, the program is not necessarily limited to a single configuration, but may be configured distributed as multiple modules or multiple libraries, or cooperating with a separate program represented by an OS (Operating System). Also includes those that achieve a function.

また、CPU5及びPCIeスイッチ8における構成の分散・統合の具体的形態は図示するものに限られず、各構成部分の全部または一部を、各種の付加等に応じて、または、機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 Further, the specific form of distributing and integrating the configurations of the CPU 5 and the PCIe switch 8 is not limited to the illustrated one, and all or part of each component can be , can be functionally or physically distributed and integrated in any unit.

以上、実施例3について説明した。 The third embodiment has been described above.

以上のように、本開示の接続試験システム(実施例1の接続試験システム1)は、コンピュータ(実施例1のコンピュータ2)と、試験装置(実施例1のPCIeカード3)とを有する。コンピュータは、CPU(実施例1のCPU5)と、メモリ(実施例1のメモリ6)とを有する。CPUは、複数のレーンを介して試験装置と接続される。メモリは、複数のレーンに対するポートの複数の設定パターン(実施例1の設定パターンSP1,SP2,SP3)を記憶する。試験装置は、複数のエンドポイントデバイス(実施例1のエンドポイントデバイス11D,12D,13D)と、スイッチ(実施例1のPCIeスイッチ8)とを有する。複数のエンドポイントデバイスは、バス(実施例1のPCIバスPB)及び複数のレーンを介してCPUと通信する。スイッチはバスを有し、かつ、スイッチにおけるバスの接続パターン(実施例1の接続パターンCP1,CP2,CP3)が切替可能である。CPUは、複数の設定パターンの各々に従って複数のレーンに対して互いに異なる数のポートを順次設定するとともに接続パターンを制御し、複数の設定パターンの各々において複数のレーン及びバスを介して複数のエンドポイントデバイスと通信することより、順次設定したポートの接続試験を行う。 As described above, the connection test system of the present disclosure (connection test system 1 of Example 1) has a computer (computer 2 of Example 1) and a test device (PCIe card 3 of Example 1). The computer has a CPU (CPU 5 of Example 1) and a memory (Memory 6 of Example 1). The CPU is connected to the test equipment via multiple lanes. The memory stores a plurality of port setting patterns for a plurality of lanes (setting patterns SP1, SP2, and SP3 of the first embodiment). The test apparatus has a plurality of endpoint devices (endpoint devices 11D, 12D, and 13D of Example 1) and switches (PCIe switch 8 of Example 1). Multiple endpoint devices communicate with the CPU via a bus (PCI bus PB in Example 1) and multiple lanes. The switch has a bus, and the connection pattern of the bus in the switch (connection patterns CP1, CP2, CP3 in the first embodiment) can be switched. The CPU sequentially sets a different number of ports for a plurality of lanes according to each of a plurality of setting patterns, controls the connection pattern, and controls a plurality of end ports via a plurality of lanes and buses in each of the plurality of setting patterns. By communicating with the point device, the connection test of the set port is performed sequentially.

こうすることで、CPUのポートの全ての設定パターンについてのポートの接続試験を、接続試験システムのハードウェア構成を変更せずに行うことができる。このため、ポートの全ての設定パターンについてポートの接続試験を行うにあたり、設定パターン毎に別個の試験装置を用意する必要がなくなるため、試験対象となるコンピュータの製造コストを削減することができる。 By doing so, the port connection test can be performed for all setting patterns of the ports of the CPU without changing the hardware configuration of the connection test system. Therefore, when performing port connection tests for all setting patterns of ports, there is no need to prepare a separate testing apparatus for each setting pattern, so that the manufacturing cost of the computer to be tested can be reduced.

また、スイッチは、CPUによって設定された単一のポートと複数のエンドポイントデバイスとがバスによって接続される第一接続モード(実施例1のベースモード)と、CPUによって設定された複数のポートと複数のエンドポイントデバイスとがバスによって接続される第二接続モード(実施例1のバーチャルスイッチモード)とを有する。これに対し、CPUは、第一接続モードでは、複数のレーンに対して単一のポートを設定する一方で、第二接続モードでは、複数のレーンに対して複数のポートを設定する。 In addition, the switch has a first connection mode (base mode of the first embodiment) in which a single port set by the CPU and a plurality of endpoint devices are connected by a bus, and a plurality of ports set by the CPU. and a second connection mode (virtual switch mode of the first embodiment) in which a plurality of endpoint devices are connected via a bus. In contrast, the CPU sets a single port for multiple lanes in the first connection mode, while setting multiple ports for multiple lanes in the second connection mode.

こうすることで、CPUのポートの全ての設定パターンの各々について、CPUと複数のエンドポイントデバイスとをスイッチのバスを介して接続することができる。 By doing so, the CPU and a plurality of endpoint devices can be connected via the bus of the switch for each of all setting patterns of the ports of the CPU.

1 接続試験システム
2 コンピュータ
3 PCIeカード
4 キャリアボード
5 CPU
6 メモリ
7 PCIeスロット
8 PCIeスイッチ
1 connection test system 2 computer 3 PCIe card 4 carrier board 5 CPU
6 memory 7 PCIe slot 8 PCIe switch

Claims (6)

複数のレーンを介して試験装置と接続されるCPUと、前記複数のレーンに対するポートの複数の設定パターンを記憶するメモリとを有するコンピュータと、
バス及び前記複数のレーンを介して前記CPUと通信する複数のエンドポイントデバイスと、前記バスを有し、かつ、前記バスの接続パターンが切替可能なスイッチとを有する前記試験装置と、
を具備し、
前記CPUは、前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するとともに前記接続パターンを制御し、前記複数の設定パターンの各々において前記複数のレーン及び前記バスを介して前記複数のエンドポイントデバイスと通信することより、順次設定した前記ポートの接続試験を行う、
接続試験システム。
a computer having a CPU connected to a test apparatus via a plurality of lanes, and a memory storing a plurality of port setting patterns for the plurality of lanes;
the test apparatus comprising: a plurality of endpoint devices communicating with the CPU via a bus and the plurality of lanes; and a switch having the bus and capable of switching a connection pattern of the bus;
and
The CPU sequentially sets different numbers of ports for the plurality of lanes according to each of the plurality of setting patterns, controls the connection pattern, and controls the plurality of lanes and the performing a connection test of the sequentially set ports by communicating with the plurality of endpoint devices via a bus;
Connection test system.
前記スイッチは、前記CPUによって設定された単一のポートと前記複数のエンドポイントデバイスとが前記バスによって接続される第一接続モードと、前記CPUによって設定された複数のポートと前記複数のエンドポイントデバイスとが前記バスによって接続される第二接続モードとを有する、
請求項1に記載の接続試験システム。
The switch has a first connection mode in which a single port set by the CPU and the plurality of endpoint devices are connected by the bus, and a plurality of ports set by the CPU and the plurality of endpoint devices. a second connection mode in which devices are connected by the bus;
The connection test system according to claim 1.
前記CPUは、前記第一接続モードでは、前記複数のレーンに対して前記単一のポートを設定する一方で、前記第二接続モードでは、前記複数のレーンに対して前記複数のポートを設定する、
請求項2に記載の接続試験システム。
The CPU configures the single port for the plurality of lanes in the first connection mode, and configures the plurality of ports for the plurality of lanes in the second connection mode. ,
The connection test system according to claim 2.
複数のレーンを介して試験装置と接続されるCPUと、
前記複数のレーンに対するポートの複数の設定パターンを記憶するメモリと、
を具備し、
バス及び前記複数のレーンを介して前記CPUと通信する複数のエンドポイントデバイスと、前記バスを有し、かつ、前記バスの接続パターンが切替可能なスイッチとを有する前記試験装置に接続されたときに、前記CPUが、前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するとともに前記接続パターンを制御し、前記複数の設定パターンの各々において前記複数のレーン及び前記バスを介して前記複数のエンドポイントデバイスと通信することより、順次設定した前記ポートの接続試験を行う、
コンピュータ。
a CPU connected to a test device via a plurality of lanes;
a memory that stores a plurality of port setting patterns for the plurality of lanes;
and
When connected to the test apparatus having a plurality of endpoint devices communicating with the CPU via a bus and the plurality of lanes, and a switch having the bus and capable of switching the connection pattern of the bus and said CPU sequentially sets different numbers of ports for said plurality of lanes according to each of said plurality of setting patterns, controls said connection pattern, and controls said plurality of lanes in each of said plurality of setting patterns. and performing a connection test of the sequentially set ports by communicating with the plurality of endpoint devices via the bus;
Computer.
複数のレーンを介して自装置と接続されるCPUと、前記複数のレーンに対するポートの複数の設定パターンを記憶するメモリとを有するコンピュータに接続可能であり、
バス及び前記複数のレーンを介して前記CPUと通信する複数のエンドポイントデバイスと、
前記バスを有し、かつ、前記バスの接続パターンが切替可能なスイッチと、
を具備し、
前記CPUが前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するときに、前記CPUによって前記接続パターンが制御され、前記複数のエンドポイントデバイスが、前記複数の設定パターンの各々において前記バス及び前記複数のレーンを介して前記CPUと通信する、
接続試験装置。
connectable to a computer having a CPU connected to the device via a plurality of lanes and a memory storing a plurality of port setting patterns for the plurality of lanes;
a plurality of endpoint devices communicating with the CPU via a bus and the plurality of lanes;
a switch having the bus and capable of switching a connection pattern of the bus;
and
When the CPU sequentially sets different numbers of ports for the plurality of lanes according to each of the plurality of setting patterns, the connection pattern is controlled by the CPU, and the plurality of endpoint devices are connected to the plurality of communicating with the CPU via the bus and the plurality of lanes in each of the set patterns of
Connection test equipment.
複数のレーンを介して試験装置と接続されるCPUと、前記複数のレーンに対するポートの複数の設定パターンを記憶するメモリとを有するコンピュータと、
バス及び前記複数のレーンを介して前記CPUと通信する複数のエンドポイントデバイスと、前記バスを有し、かつ、前記バスの接続パターンが切替可能なスイッチとを有する前記試験装置と、
が接続され、
前記CPUが、前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するとともに前記接続パターンを制御し、前記複数の設定パターンの各々において前記複数のレーン及び前記バスを介して前記複数のエンドポイントデバイスと通信することより、順次設定した前記ポートの接続試験を行う、
接続試験方法。
a computer having a CPU connected to a test apparatus via a plurality of lanes, and a memory storing a plurality of port setting patterns for the plurality of lanes;
the test apparatus comprising: a plurality of endpoint devices communicating with the CPU via a bus and the plurality of lanes; and a switch having the bus and capable of switching a connection pattern of the bus;
is connected and
The CPU sequentially sets different numbers of ports for the plurality of lanes according to each of the plurality of setting patterns, controls the connection pattern, and controls the plurality of lanes and the performing a connection test of the sequentially set ports by communicating with the plurality of endpoint devices via a bus;
Connection test method.
JP2019135515A 2019-07-23 2019-07-23 Connection test system, computer, connection test device and connection test method Active JP7160771B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019135515A JP7160771B2 (en) 2019-07-23 2019-07-23 Connection test system, computer, connection test device and connection test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019135515A JP7160771B2 (en) 2019-07-23 2019-07-23 Connection test system, computer, connection test device and connection test method

Publications (2)

Publication Number Publication Date
JP2021018730A JP2021018730A (en) 2021-02-15
JP7160771B2 true JP7160771B2 (en) 2022-10-25

Family

ID=74563205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019135515A Active JP7160771B2 (en) 2019-07-23 2019-07-23 Connection test system, computer, connection test device and connection test method

Country Status (1)

Country Link
JP (1) JP7160771B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5771927B2 (en) * 2010-09-15 2015-09-02 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION UNIT, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
KR101884070B1 (en) * 2016-08-31 2018-08-02 사단법인 엑시콘산학공동연구소 PCIe test apparatus

Also Published As

Publication number Publication date
JP2021018730A (en) 2021-02-15

Similar Documents

Publication Publication Date Title
US10976361B2 (en) Automated test equipment (ATE) support framework for solid state device (SSD) odd sector sizes and protection modes
US7577776B2 (en) Multiple virtual USB devices with virtual HUB implemented using one USB device controller
US10162007B2 (en) Test architecture having multiple FPGA based hardware accelerator blocks for testing multiple DUTs independently
CN113841120A (en) Server offload card with SOC and FPGA
US8604593B2 (en) Reconfiguring through silicon vias in stacked multi-die packages
US10693568B2 (en) Adapting serdes receivers to a UFS receiver protocol
US7872979B1 (en) System and method to access and address high-speed interface converter devices
EP2257880A2 (en) System and method for transforming pcie sr-iov functions to appear as legacy functions
KR20010082031A (en) Method, system, and program for determining system configuration
KR101782852B1 (en) Initial enumeration of empty endpoint slots using endpoint emulation
CN105790830B (en) Optical module is in position detecting method and device
CN109669729A (en) A kind of starting bootstrap technique of processor
CN105446843B (en) SOC chip function test system and method
CN106445470A (en) Initialization method and initialization device for configuration register in chip
US20210125680A1 (en) Software-focused solution for arbitrary all-data odd sector size support
JP7160771B2 (en) Connection test system, computer, connection test device and connection test method
WO2016184170A1 (en) Smi interface device debugging apparatus and method, and storage medium
JP7281275B2 (en) Module, information processing apparatus including same, and program data update method for updating program data of module
CN105528314B (en) A data processing method and control device
EP1814037B1 (en) Semiconductor storage device
US8856391B1 (en) Method and apparatus for controlling data transfer between EEPROM and a physical layer device
CN120216043A (en) Retimer chip firmware loading system, method, device and server
TW575829B (en) Semiconductor device and method for initializing interface card using serial EEPROM
CN117785756A (en) Memory control system, method, chip and computer readable storage medium
CN118749099A (en) Host-controlled storage media testing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220316

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221013

R150 Certificate of patent or registration of utility model

Ref document number: 7160771

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150