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 PDFInfo
- 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
Links
- 238000012360 testing method Methods 0.000 title claims description 85
- 238000010998 test method Methods 0.000 title claims description 3
- 230000015654 memory Effects 0.000 claims description 22
- 238000000034 method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000005259 measurement Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
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.
ここで、設定パターン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.
以下、本開示の実施例を図面に基づいて説明する。 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
コンピュータ2は、CPU5と、メモリ6とを有する。CPU5は、ポート設定レジスタ505と、ポート51とを有する。また、CPU5は、CPU5の機能として、パターン取得部501と、パターン判定部502と、スイッチモード設定部503と、ポート設定部504と、接続パターン設定部506と、接続試験実行部507と、接続状態測定部508と、成否判定部509とを有する。
The
PCIeカード3は、PCIeスイッチ8と、エンドポイントデバイス11D,12D,13Dとを有する。エンドポイントデバイス11Dは、x8エンドポイントデバイスであり、エンドポイントデバイス12D,13Dは、x4エンドポイントデバイスである。
The
PCIeスイッチ8は、ポート52,53,54,55と、スイッチモード設定レジスタ801と、US(Up Stream)ポート設定レジスタ802と、DS(Down Stream)ポート設定レジスタ803と、接続パターン設定レジスタ804とを有する。
The
エンドポイントデバイス11Dはポート11Pを有し、エンドポイントデバイス12Dはポート12Pを有し、エンドポイントデバイス13Dはポート13Pを有する。
コンピュータ2は、スタッキングコネクタを用いてキャリアボード4に結合される。また、キャリアボード4にはPCIeスロット7が設けられており、PCIeスロット7にPCIeカード3が装着されることにより、CPU5と、各エンドポイントデバイス11D,12D,13Dとの間の通信が可能になる。CPU5と、各エンドポイントデバイス11D,12D,13Dとの間の通信は、PCIeスイッチ8を介して行われる。
CPU5とPCIeスイッチ8とはポート51及びポート52を介して接続され、CPU5とPCIeスイッチ8との間の通信はリンクLAを用いて行われる。CPU5は最大でレーン0~15の16レーンを用いてPCIeスイッチ8と通信することが可能である。また、CPU5から、スイッチモード設定レジスタ801、USポート設定レジスタ802、DSポート設定レジスタ803、及び、接続パターン設定レジスタ804へのアクセスは、レジスタアクセスバスRBを用いて行われる。
The
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
以下では、CPU5が有するポートを「CPUポート」と呼び、PCIeスイッチ8が有するポートを「PCIeポート」と呼ぶことがある。また、複数のPCIeポートのうち、CPUポートと接続されるポートを「USポート」と呼び、ポート11P,12P,13Pの各々と接続されるポートを「DSポート」と呼ぶことがある。
Hereinafter, the port of the
図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
設定パターンテーブル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
また、設定パターンテーブル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
また、設定パターンテーブル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
接続モードである「ベースモード」及び「バーチャルスイッチモード」は、PCIeスイッチ8に設定可能な各モードである。「ベースモード」は、USポートに対して単一のポートが設定される場合のモードであり、「バーチャルスイッチモード」は、USポートに対して複数のポートが設定される場合のモードである。
The connection modes “base mode” and “virtual switch mode” are modes that can be set in the
<接続試験システムにおける処理手順>
図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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
CPU5とPCIeスイッチ8との接続状態、及び、PCIeスイッチ8と各エンドポイントデバイス11D,12D,13Dとの接続状態が図4に示すようになったところで、次いで、ステップS119では、接続試験実行部507が、ポート61の接続試験を実行する。例えば、接続試験実行部507は、各エンドポイントデバイス11D,12D,13Dとの間で所定の信号を送受信することによりポート61の接続試験を行う。
When the connection state between the
次いで、ステップ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/
そして、リンク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/
一方で、リンク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/
以上のように、PCIeスロット7に装着されたPCIeカード3は、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能する。
As described above, the
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
CPU5とPCIeスイッチ8との接続状態、及び、PCIeスイッチ8と各エンドポイントデバイス11D,12D,13Dとの接続状態が図5に示すようになったところで、次いで、ステップS119では、接続試験実行部507が、各エンドポイントデバイス11D,12D,13Dとの間で所定の信号を送受信することによりポート71,72の接続試験を行う。
When the connection state between the
次いで、ステップ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
次いで、ステップS123では、成否判定部509が、リンクL71におけるリンク幅及びリンクスピードの各実測値、及び、リンクL72におけるリンク幅及びリンクスピードの各実測値が期待値に一致するか否かを判定する。
Next, in step S123, the success/
そして、リンク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/
一方で、リンク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/
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
次いで、ステップ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
CPU5とPCIeスイッチ8との接続状態、及び、PCIeスイッチ8と各エンドポイントデバイス11D,12D,13Dとの接続状態が図6に示すようになったところで、次いで、ステップS119では、接続試験実行部507が、各エンドポイントデバイス11D,12D,13Dとの間で所定の信号を送受信することによりポート81,82,83の接続試験を行う。
When the connection state between the
次いで、ステップ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
次いで、ステップS123では、成否判定部509が、リンクL81におけるリンク幅及びリンクスピードの各実測値、リンクL82におけるリンク幅及びリンクスピードの各実測値、及び、リンクL83におけるリンク幅及びリンクスピードの各実測値が期待値に一致するか否かを判定する。
Next, in step S123, the success/
そして、リンク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/
一方で、リンク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/
次いで、ステップ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/
以上、実施例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スイッチ8及びエンドポイントデバイス11D,12D,13Dは、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能するために、必ずしもPCIeカード3に搭載される必要はない。
However, the
例えば、キャリアボード4にPCIeスロット7を設けずに、PCIeスイッチ8及びエンドポイントデバイス11D,12D,13Dをキャリアボード4に直接搭載することにより、実施例1と同様にして、PCIeスイッチ8及びエンドポイントデバイス11D,12D,13Dを、コンピュータ2がCPUポートの接続試験を行うための接続試験装置として機能させることができる。
For example, by directly mounting the
以上、実施例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
また、CPU5及びPCIeスイッチ8における構成の分散・統合の具体的形態は図示するものに限られず、各構成部分の全部または一部を、各種の付加等に応じて、または、機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。
Further, the specific form of distributing and integrating the configurations of the
以上、実施例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 (
こうすることで、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
6
Claims (6)
バス及び前記複数のレーンを介して前記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.
請求項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.
請求項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が、前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するとともに前記接続パターンを制御し、前記複数の設定パターンの各々において前記複数のレーン及び前記バスを介して前記複数のエンドポイントデバイスと通信することより、順次設定した前記ポートの接続試験を行う、
コンピュータ。 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と通信する、
接続試験装置。 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が、前記複数の設定パターンの各々に従って前記複数のレーンに対して互いに異なる数のポートを順次設定するとともに前記接続パターンを制御し、前記複数の設定パターンの各々において前記複数のレーン及び前記バスを介して前記複数のエンドポイントデバイスと通信することより、順次設定した前記ポートの接続試験を行う、
接続試験方法。 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.
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)
| 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 |
-
2019
- 2019-07-23 JP JP2019135515A patent/JP7160771B2/en active Active
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 |