JP2021145215A - Pattern synchronizing circuit, error rate measuring device employing the same, and pattern synchronizing method - Google Patents

Pattern synchronizing circuit, error rate measuring device employing the same, and pattern synchronizing method Download PDF

Info

Publication number
JP2021145215A
JP2021145215A JP2020042015A JP2020042015A JP2021145215A JP 2021145215 A JP2021145215 A JP 2021145215A JP 2020042015 A JP2020042015 A JP 2020042015A JP 2020042015 A JP2020042015 A JP 2020042015A JP 2021145215 A JP2021145215 A JP 2021145215A
Authority
JP
Japan
Prior art keywords
pattern
skp
signal
output
symbols
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.)
Granted
Application number
JP2020042015A
Other languages
Japanese (ja)
Other versions
JP7026154B2 (en
Inventor
達也 岩井
Tatsuya Iwai
達也 岩井
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2020042015A priority Critical patent/JP7026154B2/en
Publication of JP2021145215A publication Critical patent/JP2021145215A/en
Application granted granted Critical
Publication of JP7026154B2 publication Critical patent/JP7026154B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a pattern synchronizing circuit capable of easily detecting a head of patterns of any out-of-standard measured signal including SKP OS, an error rate measuring device employing the same, and a pattern synchronizing method.SOLUTION: A pattern synchronizing circuit includes: an SKP detection unit 31 for detecting SKP OS successively from a measured signal in which a tail pattern including SKP OS is repeated (b) times after a head pattern including SKP OS; an SKP OS head flag output unit 32 for outputting an SKP head flag synchronized to a symbol in a head of SKP OS; a tail pattern detection flag output unit 34 for outputting a detection flag indicating that the tail pattern is detected in the case where the number of symbols of the measured signal from a certain SKP head flag to the next SKP head flag coincides with the number of symbols of the tail pattern; and a synchronization completion signal output unit 35 for outputting a synchronization completion signal synchronized to the symbol of the head of SKP OS at the timing when the detection flag is output continuously (b) times.SELECTED DRAWING: Figure 5

Description

本発明は、パターン同期回路、それを用いた誤り率測定装置、及びパターン同期方法に関し、特に、被測定信号のパターンの先頭を検出するパターン同期回路、それを用いた誤り率測定装置、及びパターン同期方法に関する。 The present invention relates to a pattern synchronization circuit, an error rate measuring device using the pattern synchronization circuit, and a pattern synchronization method. In particular, a pattern synchronization circuit for detecting the beginning of a pattern of a signal to be measured, an error rate measuring device using the pattern synchronization circuit, and a pattern. Regarding the synchronization method.

近年、IoTやクラウドコンピューティングの普及により通信システムは膨大なデータを扱うようになり、通信システムを構成する各種の通信機器のインタフェースは高速化とシリアル伝送化が進んでいる。このような通信機器で採用されているUSB(登録商標)(Universal Serial Bus)やPCIe(登録商標)(Peripheral Component Interconnect Express)などのハイスピードシリアルバス(High Speed Serial Bus)の規格では、LTSSM(Link Training and Status State Machine、以下、「リンク状態管理機構」と称する)と呼ばれるステートマシンにより、デバイス間の通信の初期化やリンク速度の調整などが管理されている。 In recent years, with the spread of IoT and cloud computing, communication systems have come to handle a huge amount of data, and the interfaces of various communication devices constituting the communication systems are becoming faster and serial transmission is progressing. In the high speed serial bus (High Speed Serial Bus) standards such as USB (registered trademark) (Universal Serial Bus) and PCIe (registered trademark) (Peripheral Component Interconnect Express) adopted in such communication devices, LTSSM ( A state machine called Link Training and Status State Machine (hereinafter referred to as "link status management mechanism") manages the initialization of communication between devices and the adjustment of link speed.

そして、通信機器における信号の品質評価の指標の一つとして、受信データのうちビット誤りが発生した数と受信データの総数との比較として定義されるビット誤り率(Bit Error Rate:BER)が知られている(例えば、特許文献1参照)。BERを測定する従来の誤り率測定装置は、パルスパターン発生器(Pulse Pattern Generator:PPG)から規格が定める特定パターンを高速に切り替えて出力することによって、PCIe Gen1〜4やUSB3.1などのリンク状態管理機構を制御し、特定のステート(遷移状態)に遷移させる機能(シーケンスパターン機能)を備えている。なお、被試験対象(Device Under Test:DUT)をステート遷移させるパターンは規格で定められており、誤り率測定装置は、それらのパターンの出力順をシーケンスパターン機能により組み合わせて、PPGからパターンを出力するようになっている。 Then, as one of the indexes for evaluating the quality of signals in communication equipment, the Bit Error Rate (BER), which is defined as a comparison between the number of received data in which bit errors occur and the total number of received data, is known. (See, for example, Patent Document 1). A conventional error rate measuring device that measures BER switches a specific pattern defined by a standard from a pulse pattern generator (PPG) at high speed and outputs it, thereby linking such as PCIe Gen1 to 4 or USB3.1. It has a function (sequence pattern function) that controls the state management mechanism and transitions to a specific state (transition state). The pattern for state transition of the test object (Device Under Test: DUT) is defined by the standard, and the error rate measuring device combines the output order of these patterns with the sequence pattern function and outputs the pattern from PPG. It is designed to do.

例えば、PCIeでは、リンク状態管理機構のステート遷移図は図7に示すようなものであり、ステートとして、L0、L0s、L1、L2、Detect、Polling、Configuration、Disabled、Hot Reset、Loopback、Recoveryが定義されている。 For example, in PCIe, the state transition diagram of the link state management mechanism is as shown in FIG. 7, and the states are L0, L0s, L1, L2, Detect, Polling, Configuration, Disabled, Hot Reset, Loopback, and Recovery. It is defined.

リンク状態管理機構を特定のステートに遷移させるパターンにおいては、データの欠損や重複を生じさせないために、SKP OS(Skip Ordered Set)がデータパターンの間に一定間隔で挿入される。このようにSKP OSが挿入されたパターンがDUTから正しく送信されているかを確認するためにはBER測定を行うことになる。この際、規格で定められたパターンであればSKP OSの間隔は一意に決まっているため、メモリに当該パターンを展開することでBER測定を行うことが可能となる。 In the pattern of transitioning the link state management mechanism to a specific state, the SKP OS (Skip Ordered Set) is inserted between the data patterns at regular intervals in order to prevent data loss or duplication. In order to confirm whether the pattern in which the SKP OS is inserted is correctly transmitted from the DUT in this way, BER measurement is performed. At this time, if the pattern is defined by the standard, the SKP OS interval is uniquely determined, so that the BER measurement can be performed by expanding the pattern in the memory.

近年、ハイスピードシリアルバスに対応したDUTに対し、任意のパターンを組んでDUTのステート遷移を行いたいという要求がある。特許文献1に開示された誤り率測定装置は、規格で定められたパターンに限らず、ユーザが任意に設定した任意のパターンを試験信号のパターンとしてDUTに送信し、DUTを介して受信した被測定信号のパターンのBERを測定するものである。 In recent years, there has been a demand for a DUT compatible with a high-speed serial bus to perform a state transition of the DUT by forming an arbitrary pattern. The error rate measuring device disclosed in Patent Document 1 is not limited to the pattern defined by the standard, but transmits an arbitrary pattern arbitrarily set by the user to the DUT as a test signal pattern, and receives the object via the DUT. It measures the BER of the pattern of the measurement signal.

特許第5290213号公報Japanese Patent No. 5290213

しかしながら、ハイスピードシリアルバスに対応したDUT用の任意のパターンにおける、データパターンのパターン長、SKP OSの挿入間隔及び長さの設定によっては、全体のパターン長が例えば100Gbitを超えることもあり得る。特許文献1に開示されたような従来の誤り率測定装置には、このように長大な任意のパターンをメモリに展開してBER測定を行うことができないという問題があった。 However, the total pattern length may exceed, for example, 100 Gbit, depending on the setting of the pattern length of the data pattern, the insertion interval and the length of the SKP OS in any pattern for DUT corresponding to the high-speed serial bus. The conventional error rate measuring device as disclosed in Patent Document 1 has a problem that such a long arbitrary pattern cannot be expanded in a memory to perform BER measurement.

BER測定を行うためには、被測定信号のパターンの先頭を捕捉する必要がある。従来、被測定信号のパターンに含まれるデータパターンの先頭64bitを検索することでパターン同期が行われていた。SKP OSは、通常、BER測定に不要なパターンであるため、BER測定対象とはならない。しかしながら、任意のパターンにおいてSKP OSもDUTから正しく送信されているかを確認しようとした場合、SKP OSの挿入間隔が任意に設定されると、データパターンの途中にSKP OSが入らないように挿入間隔が平均化される。 In order to perform BER measurement, it is necessary to capture the beginning of the pattern of the signal to be measured. Conventionally, pattern synchronization has been performed by searching the first 64 bits of the data pattern included in the pattern of the signal to be measured. Since the SKP OS is usually a pattern unnecessary for BER measurement, it is not a target for BER measurement. However, when trying to confirm whether the SKP OS is also correctly transmitted from the DUT in an arbitrary pattern, if the insertion interval of the SKP OS is arbitrarily set, the insertion interval is set so that the SKP OS is not inserted in the middle of the data pattern. Is averaged.

これにより、被測定信号のパターンの中にSKP OSを含む同じパターンがいくつも存在することになってしまう。そのため、これまでのようなデータパターンの先頭64bitを検索する手法では、パターン先頭を誤検出する可能性が高くなり、任意のパターンに対するBER測定が不可能になるという問題があった。 As a result, the same pattern including the SKP OS exists in the pattern of the signal to be measured. Therefore, in the method of searching the first 64 bits of the data pattern as in the past, there is a high possibility that the beginning of the pattern is erroneously detected, and there is a problem that BER measurement for an arbitrary pattern becomes impossible.

本発明は、このような従来の課題を解決するためになされたものであって、SKP OSを含む規格外の任意の被測定信号のパターンの先頭を容易に検出することができるパターン同期回路、それを用いた誤り率測定装置、及びパターン同期方法を提供することを目的とする。 The present invention has been made to solve such a conventional problem, and is a pattern synchronization circuit capable of easily detecting the beginning of a pattern of any nonstandard measured signal including SKP OS. It is an object of the present invention to provide an error rate measuring device using the same, and a pattern synchronization method.

上記課題を解決するために、本発明に係るパターン同期回路は、被試験対象に搭載されたリンク状態管理機構が任意のステートに遷移した状態で、前記被試験対象から出力されるSKP OS(Skip Ordered Set)を含む試験信号を被測定信号として受信し、前記被測定信号のパターンの先頭を検出するパターン同期回路であって、前記試験信号のパターンにおいては、1つのSKP OSの後にn個のデータパターンが続く先頭パターンがa回繰り返された後に、1つのSKP OSの後にm個のデータパターンが続く後尾パターンがb回繰り返され、入力された前記被測定信号から順次SKP OSを検出するSKP検出部と、前記SKP検出部により検出されたSKP OSの先頭のシンボルに同期したSKP先頭フラグを出力するSKP先頭フラグ出力部と、前記SKP先頭フラグ出力部により第1のタイミングでSKP先頭フラグが出力されてから次の第2のタイミングでSKP先頭フラグが出力されるまでの間の前記被測定信号のシンボル数をカウントするカウント部と、前記カウント部によるカウント数が前記後尾パターンのシンボル数に一致した場合に、前記後尾パターンを検出したことを示す検出フラグを出力し、前記カウント部によるカウント数が前記後尾パターンのシンボル数に一致しなかった場合に、前記後尾パターンを検出しなかったことを示す非検出フラグを出力する後尾パターン検出フラグ出力部と、前記後尾パターン検出フラグ出力部から検出フラグが連続してb回出力されたときの前記第2のタイミングにおけるSKP OSの先頭のシンボルに同期した同期完了信号を出力する同期完了信号出力部と、を含む構成である。 In order to solve the above problems, the pattern synchronization circuit according to the present invention has a SKP OS (Skip) output from the test object in a state where the link state management mechanism mounted on the test target has transitioned to an arbitrary state. A pattern synchronization circuit that receives a test signal including an Ordered Set) as a signal to be measured and detects the beginning of a pattern of the signal to be measured. In the pattern of the test signal, n SKP OSs are followed by n. After the first pattern followed by the data pattern is repeated a times, the tail pattern followed by m data patterns is repeated b times after one SKP OS, and the SKP OS is sequentially detected from the input signal to be measured. The detection unit, the SKP head flag output unit that outputs the SKP head flag synchronized with the head symbol of the SKP OS detected by the SKP detection unit, and the SKP head flag output unit that outputs the SKP head flag at the first timing. The count unit that counts the number of symbols of the signal under test from the time it is output until the SKP head flag is output at the next second timing, and the number of counts by the count unit are the number of symbols in the tail pattern. When they match, a detection flag indicating that the tail pattern has been detected is output, and when the number of counts by the counting unit does not match the number of symbols of the tail pattern, the tail pattern has not been detected. To the first symbol of the SKP OS at the second timing when the detection flag is output b times in succession from the tail pattern detection flag output unit that outputs the non-detection flag indicating The configuration includes a synchronization completion signal output unit that outputs a synchronized synchronization completion signal.

この構成により、本発明に係るパターン同期回路は、SKP OSの後にn個のデータパターンが続くa個の先頭パターンと、SKP OSの後にm個のデータパターンが続くb個の後尾パターンを特定し、b個目の後尾パターンの終わりを検出することで、被測定信号の次のパターンの先頭を検出する。このようにして、本発明に係るパターン同期回路は、SKP OSを含む規格外の任意の被測定信号のパターンの先頭を容易に検出することができる。 With this configuration, the pattern synchronization circuit according to the present invention identifies a head pattern in which n data patterns follow the SKP OS and b tail patterns in which m data patterns follow the SKP OS. By detecting the end of the b-th tail pattern, the beginning of the pattern next to the signal to be measured is detected. In this way, the pattern synchronization circuit according to the present invention can easily detect the beginning of the pattern of any nonstandard signal to be measured including the SKP OS.

また、本発明に係るパターン同期回路は、前記先頭パターンに含まれるデータパターンの合計のシンボル数Nhは、前記データパターンを構成するシンボル数Ndをn倍した値であり、前記後尾パターンに含まれるデータパターンの合計のシンボル数Ntは、前記データパターンを構成するシンボル数Ndをm倍した値であり、mはn−1に等しく、前記試験信号におけるSKP OSの平均間隔を示すシンボル数Nintは、シンボル数Nhよりも小さく、かつ、シンボル数Ntよりも大きい値であり、前記試験信号のパターンにおける前記先頭パターンの繰り返し回数aと前記後尾パターンの繰り返し回数bは、(Nh−Nint)×a=(Nint−Nt)×bを満たす最小の自然数である。 Further, in the pattern synchronization circuit according to the present invention, the total number of symbols Nh of the data patterns included in the head pattern is a value obtained by multiplying the number Nd of the symbols constituting the data pattern by n, and is included in the tail pattern. The total number of symbols Nt of the data pattern is a value obtained by multiplying the number of symbols Nd constituting the data pattern by m, m is equal to n-1, and the number of symbols Nint indicating the average interval of SKP OS in the test signal is , The value is smaller than the number of symbols Nh and larger than the number of symbols Nt, and the number of repetitions a of the first pattern and the number of repetitions b of the tail pattern in the pattern of the test signal are (Nh-Nint) × a. = (Nint-Nt) × b is the smallest natural number that satisfies.

この構成により、本発明に係るパターン同期回路は、データパターンを構成するシンボル数Nd、SKP OSの平均間隔を示すシンボル数Nintに応じてSKP OSの挿入位置が一意に定まった被測定信号のパターンの先頭を容易に検出することができる。 With this configuration, the pattern synchronization circuit according to the present invention has a pattern of a signal to be measured in which the insertion position of the SKP OS is uniquely determined according to the number of symbols Nd constituting the data pattern and the number of symbols Nint indicating the average interval of the SKP OS. The beginning of the can be easily detected.

また、本発明に係る誤り率測定装置は、上記のいずれかのパターン同期回路と、前記被測定信号のビット誤り率を測定する誤り率測定部と、を備える誤り率測定装置であって、前記誤り率測定部は、前記同期完了信号出力部から出力された同期完了信号に同期した前記被測定信号のパターンのビット誤り率の測定を行う構成である。 Further, the error rate measuring device according to the present invention is an error rate measuring device including any of the above pattern synchronization circuits and an error rate measuring unit for measuring the bit error rate of the signal to be measured. The error rate measuring unit is configured to measure the bit error rate of the pattern of the measured signal synchronized with the synchronization completion signal output from the synchronization completion signal output unit.

この構成により、本発明に係る誤り率測定装置は、パターン同期回路から出力された同期完了信号に同期した、SKP OSを含む規格外の任意の被測定信号のパターンのBERの測定を行うことができる。これにより、本発明に係る誤り率測定装置は、DUTが規格外の任意のパターンを処理できるかどうかの動作マージン測定を行うことができる。 With this configuration, the error rate measuring device according to the present invention can measure the BER of the pattern of any nonstandard measured signal including the SKP OS, which is synchronized with the synchronization completion signal output from the pattern synchronization circuit. can. Thereby, the error rate measuring device according to the present invention can measure the operation margin of whether or not the DUT can process an arbitrary nonstandard pattern.

また、本発明に係る誤り率測定装置は、前記同期完了信号をトリガとして、前記試験信号のパターンと同一のリファレンスパターンを生成するリファレンス生成回路と、前記同期完了信号に同期した前記被測定信号のパターンを遅延させて、前記リファレンス生成回路から出力されたリファレンスパターンと同期させる遅延回路と、を更に備え、前記誤り率測定部は、前記リファレンス生成回路から出力されたリファレンスパターンと、前記遅延回路から出力された前記被測定信号のパターンとを順次比較することにより、前記被測定信号のパターンにおける誤りビットを検出するとともに、前記被測定信号のパターンのビット誤り率を算出する構成であってもよい。 Further, the error rate measuring device according to the present invention has a reference generation circuit that generates a reference pattern that is the same as the pattern of the test signal by using the synchronization completion signal as a trigger, and the measured signal that is synchronized with the synchronization completion signal. A delay circuit that delays the pattern and synchronizes it with the reference pattern output from the reference generation circuit is further provided, and the error rate measuring unit uses the reference pattern output from the reference generation circuit and the delay circuit. By sequentially comparing the output pattern of the signal to be measured, an error bit in the pattern of the signal to be measured may be detected, and the bit error rate of the pattern of the signal to be measured may be calculated. ..

この構成により、本発明に係る誤り率測定装置は、被測定信号のパターンに同期したリファレンスパターンを生成して、被測定信号のパターンとリファレンスパターンとを比較することにより、被測定信号のパターンのBERの測定を行うことができる。 With this configuration, the error rate measuring apparatus according to the present invention generates a reference pattern synchronized with the pattern of the signal to be measured, and compares the pattern of the signal to be measured with the reference pattern to obtain the pattern of the signal to be measured. BER can be measured.

また、本発明に係る誤り率測定装置は、前記試験信号を発生させるパルスパターン発生器と、操作入力を受け付ける操作部と、を更に備え、前記試験信号における、前記データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintが、前記操作部への操作入力により設定される構成であってもよい。 Further, the error rate measuring device according to the present invention further includes a pulse pattern generator for generating the test signal and an operation unit for receiving an operation input, and the number of symbols Nd constituting the data pattern in the test signal. , The number of symbols constituting the SKP OS Nskp, and the number of symbols Nint indicating the average interval of the SKP OS may be set by the operation input to the operation unit.

この構成により、本発明に係る誤り率測定装置は、データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintをユーザが任意に設定することにより、SKP OSが均等に挿入された試験信号を生成することができる。 With this configuration, in the error rate measuring device according to the present invention, the user arbitrarily sets the number of symbols Nd constituting the data pattern, the number of symbols Nskp constituting the SKP OS, and the number of symbols Nint indicating the average interval of the SKP OS. Therefore, it is possible to generate a test signal in which the SKP OS is evenly inserted.

また、本発明に係るパターン同期方法は、被試験対象に搭載されたリンク状態管理機構が任意のステートに遷移した状態で、前記被試験対象から出力されるSKP OS(Skip Ordered Set)を含む試験信号を被測定信号として受信し、前記被測定信号のパターンの先頭を検出するパターン同期方法であって、前記試験信号のパターンにおいては、1つのSKP OSの後にn個のデータパターンが続く先頭パターンがa回繰り返された後に、1つのSKP OSの後にm個のデータパターンが続く後尾パターンがb回繰り返され、入力された前記被測定信号から順次SKP OSを検出するSKP検出ステップと、前記SKP検出ステップにより検出されたSKP OSの先頭のシンボルに同期したSKP先頭フラグを出力するSKP先頭フラグ出力ステップと、前記SKP先頭フラグ出力ステップにより第1のタイミングでSKP先頭フラグが出力されてから次の第2のタイミングでSKP先頭フラグが出力されるまでの間の前記被測定信号のシンボル数をカウントするカウントステップと、前記カウントステップによるカウント数が前記後尾パターンのシンボル数に一致した場合に、前記後尾パターンを検出したことを示す検出フラグを出力し、前記カウントステップによるカウント数が前記後尾パターンのシンボル数に一致しなかった場合に、前記後尾パターンを検出しなかったことを示す非検出フラグを出力する後尾パターン検出フラグ出力ステップと、前記後尾パターン検出フラグ出力ステップから検出フラグが連続してb回出力されたときの前記第2のタイミングにおけるSKP OSの先頭のシンボルに同期した同期完了信号を出力する同期完了信号出力ステップと、を含む構成である。 Further, the pattern synchronization method according to the present invention includes a test including a SKP OS (Skip Ordered Set) output from the test target in a state where the link state management mechanism mounted on the test target has transitioned to an arbitrary state. It is a pattern synchronization method that receives a signal as a signal to be measured and detects the head of the pattern of the signal to be measured. In the pattern of the test signal, a head pattern in which n data patterns follow one SKP OS. Is repeated a times, and then the tail pattern in which m data patterns follow one SKP OS is repeated b times, and the SKP detection step of sequentially detecting the SKP OS from the input signal to be measured and the SKP After the SKP head flag output step that outputs the SKP head flag synchronized with the head symbol of the SKP OS detected by the detection step and the SKP head flag output step output the SKP head flag at the first timing, the next When the count step for counting the number of symbols of the signal to be measured until the SKP head flag is output at the second timing and the count number by the count step match the number of symbols of the tail pattern, the said A detection flag indicating that the tail pattern has been detected is output, and when the number of counts by the count step does not match the number of symbols of the tail pattern, a non-detection flag indicating that the tail pattern has not been detected is set. A synchronization completion signal synchronized with the first symbol of the SKP OS at the second timing when the detection flag is continuously output b times from the tail pattern detection flag output step and the tail pattern detection flag output step to be output. The configuration includes a synchronization completion signal output step to be output.

この構成により、本発明に係るパターン同期方法は、SKP OSの後にn個のデータパターンが続くa個の先頭パターンと、SKP OSの後にm個のデータパターンが続くb個の後尾パターンを特定し、b個目の後尾パターンの終わりを検出することで、被測定信号の次のパターンの先頭を検出する。このようにして、本発明に係るパターン同期方法は、SKP OSを含む規格外の任意の被測定信号のパターンの先頭を容易に検出することができる。 With this configuration, the pattern synchronization method according to the present invention identifies a head pattern in which n data patterns follow SKP OS and b tail patterns in which m data patterns follow SKP OS. By detecting the end of the b-th tail pattern, the beginning of the pattern next to the signal to be measured is detected. In this way, the pattern synchronization method according to the present invention can easily detect the beginning of the pattern of any nonstandard signal to be measured including the SKP OS.

本発明は、SKP OSを含む規格外の任意の被測定信号のパターンの先頭を容易に検出することができるパターン同期回路、それを用いた誤り率測定装置、及びパターン同期方法を提供するものである。 The present invention provides a pattern synchronization circuit that can easily detect the beginning of a pattern of any nonstandard signal to be measured including SKP OS, an error rate measuring device using the pattern synchronization circuit, and a pattern synchronization method. be.

本発明の実施形態に係る誤り率測定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the error rate measuring apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る誤り率測定装置が備えるPPGの構成を示すブロック図である。It is a block diagram which shows the structure of PPG provided in the error rate measuring apparatus which concerns on embodiment of this invention. 規格とエンコードの種類との対応関係の一例を示す表である。It is a table which shows an example of the correspondence relation between a standard and an encoding type. 本発明の実施形態に係る誤り率測定装置が備えるPPGから出力される試験信号の構成を説明するための図であって、(a)は試験信号のデータパターン間のSKP OSの挿入位置を示しており、(b)は先頭パターンと後尾パターンとからなる試験信号のパターンを示している。It is a figure for demonstrating the structure of the test signal output from PPG provided in the error rate measuring apparatus which concerns on embodiment of this invention, and (a) shows the insertion position of SKP OS between the data patterns of a test signal. (B) shows the pattern of the test signal including the head pattern and the tail pattern. 本発明の実施形態に係るパターン同期回路とリファレンス生成回路の構成を示すブロック図である。It is a block diagram which shows the structure of the pattern synchronization circuit and the reference generation circuit which concerns on embodiment of this invention. 本発明の実施形態に係るパターン同期回路を用いるパターン同期方法の処理を示すフローチャートである。It is a flowchart which shows the process of the pattern synchronization method using the pattern synchronization circuit which concerns on embodiment of this invention. リンク状態管理機構のステート遷移を示す図である。It is a figure which shows the state transition of the link state management mechanism.

以下、本発明に係るパターン同期回路、それを用いた誤り率測定装置、及びパターン同期方法の実施形態について図面を用いて説明する。 Hereinafter, a pattern synchronization circuit according to the present invention, an error rate measuring device using the pattern synchronization circuit, and an embodiment of a pattern synchronization method will be described with reference to the drawings.

図1に示すように、本実施形態に係る誤り率測定装置100は、DUT200に試験信号を出力するPPG10と、DUT200から出力される被測定信号のBERを測定する誤り率測定器(Error Detector:ED)20と、表示部60と、操作部61と、制御部62と、を備える。 As shown in FIG. 1, the error rate measuring device 100 according to the present embodiment is an error rate measuring device (Error Detector:) that measures the PPG 10 that outputs a test signal to the DUT 200 and the BER of the signal to be measured output from the DUT 200. ED) 20, a display unit 60, an operation unit 61, and a control unit 62 are provided.

DUT200は、リンク状態管理機構を搭載しており、リンク状態管理機構が例えば図7に示すような任意のステートに遷移した状態で、PPG10から入力された試験信号をED20の被測定信号として出力する(折り返す)ようになっている。DUT200が対応する規格の例としては、PCIe Gen1〜4、USB3.1、CEI(Common Electrical Interface)、Ethernet(登録商標)、InfiniBandなどが挙げられる。 The DUT 200 is equipped with a link state management mechanism, and outputs a test signal input from the PPG 10 as a measured signal of the ED 20 in a state where the link state management mechanism has transitioned to an arbitrary state as shown in FIG. 7, for example. It is designed to (fold back). Examples of the standards supported by the DUT200 include PCIe Gen1 to 4, USB3.1, CEI (Common Electrical Interface), Ethernet (registered trademark), InfiniBand, and the like.

PPG10は、DUT200に入力する試験信号を発生させるようになっており、図2に示すように、データ記憶部11と、SKP付加回路12と、エンコード回路13と、を有する。データ記憶部11は、例えば4〜128シンボルからなるデータパターンを記憶しており、複数の同一のデータパターンを順次SKP付加回路12に出力するようになっている。SKP付加回路12は、後述するPPG制御部50からの制御情報に従って、データ記憶部11から順次出力されるデータパターンの間にSKP OSを挿入したパターンを生成するようになっている。 The PPG 10 is designed to generate a test signal to be input to the DUT 200, and has a data storage unit 11, a SKP addition circuit 12, and an encoding circuit 13 as shown in FIG. The data storage unit 11 stores, for example, a data pattern consisting of 4 to 128 symbols, and outputs a plurality of the same data patterns to the SKP addition circuit 12 in sequence. The SKP addition circuit 12 is adapted to generate a pattern in which the SKP OS is inserted between the data patterns sequentially output from the data storage unit 11 according to the control information from the PPG control unit 50 described later.

エンコード回路13は、SKP付加回路12により生成されたパターンに対して、規格に応じたエンコードを行うようになっている。規格とエンコードの種類との対応関係の一例を図3に示す。なお、8b/10bエンコード後の1シンボルは10bitからなり、,128b/130b又は128b/132bエンコード後の1シンボルは8bitからなる。 The encoding circuit 13 encodes the pattern generated by the SKP addition circuit 12 according to the standard. FIG. 3 shows an example of the correspondence between the standard and the type of encoding. One symbol after 8b / 10b encoding is composed of 10 bits, and one symbol after 128b / 130b or 128b / 132b encoding is composed of 8 bits.

以下、PPG10により発生される試験信号の構成について説明する。試験信号のパターンにおいては、1つのSKP OSの後にn個のデータパターンが続く先頭パターンがa回繰り返された後に、1つのSKP OSの後にm個のデータパターンが続く後尾パターンがb回繰り返される。例えば、データパターンを構成するシンボル数Ndが16シンボル、SKP OSの平均間隔を示すシンボル数Nintが36シンボルの設定の場合には、図4(a)に示すSKP挿入位置にSKP OSが挿入されて、図4(b)に示すような試験信号のパターンが生成される。 Hereinafter, the configuration of the test signal generated by the PPG 10 will be described. In the test signal pattern, the leading pattern in which n data patterns follow one SKP OS is repeated a times, and then the tail pattern in which m data patterns follow one SKP OS is repeated b times. .. For example, when the number of symbols Nd constituting the data pattern is 16 symbols and the number of symbols Nint indicating the average interval of the SKP OS is 36 symbols, the SKP OS is inserted at the SKP insertion position shown in FIG. 4 (a). Then, a pattern of the test signal as shown in FIG. 4 (b) is generated.

シンボル数Nintは、先頭パターンに含まれるデータパターンの合計のシンボル数Nhよりも小さく、かつ、後尾パターンに含まれるデータパターンの合計のシンボル数Ntよりも大きい値となる。図4(b)の例では、シンボル数Nhとシンボル数Ntは、下記の式(1)及び式(2)で与えられる。また、下記の式(3)から式(5)の関係が成り立つ。 The number of symbols Nint is smaller than the total number of symbols Nh of the data patterns included in the head pattern and larger than the total number of symbols Nt of the data patterns included in the tail pattern. In the example of FIG. 4B, the number of symbols Nh and the number of symbols Nt are given by the following equations (1) and (2). Further, the relationship of the following equations (3) to (5) is established.

Figure 2021145215
Figure 2021145215

Figure 2021145215
Figure 2021145215

繰り返し回数a,bは、式(4)を満たす最小の自然数として一意に求まる。つまり、図4(b)の例であれば、式(5)からa=1かつb=3となる。これにより、図4(b)に示すように、SKP OSが、48シンボル間隔で1回、32シンボル間隔で3回、データパターンの間に挿入されることになる。 The number of repetitions a and b is uniquely obtained as the smallest natural number satisfying the equation (4). That is, in the case of the example of FIG. 4 (b), a = 1 and b = 3 from the equation (5). As a result, as shown in FIG. 4B, the SKP OS is inserted between the data patterns once at 48 symbol intervals and three times at 32 symbol intervals.

つまり、図4(b)の例のように、試験信号におけるSKP OSの平均間隔を示すシンボル数Nintが、データパターンのシンボル数Ndの整数倍ではない場合には、先頭パターンに含まれるデータパターンの合計のシンボル数Nhは、シンボル数Ndをn=ceil(Nint/Nd)倍した値となる。また、後尾パターンに含まれるデータパターンの合計のシンボル数Ntは、シンボル数Ndをm(=n−1)倍した値となる。 That is, as in the example of FIG. 4B, when the number of symbols Nint indicating the average interval of the SKP OS in the test signal is not an integral multiple of the number of symbols Nd of the data pattern, the data pattern included in the head pattern The total number of symbols Nh is the value obtained by multiplying the number of symbols Nd by n = ceil (Nint / Nd). Further, the total number of symbols Nt of the data patterns included in the tail pattern is a value obtained by multiplying the number of symbols Nd by m (= n-1).

図1に示すように、ED20は、パターン同期回路30と、リファレンス生成回路40と、PPG制御部50と、遅延回路51と、誤り率測定部52と、を有する。例えば、従来通りデータパターンの先頭64bitを検出する方法では、図4(b)の試験信号のパターンの中に同一のデータパターンが9個存在するため、正しくパターンの先頭を捉えられる確率は単純に1/9である。これに対して、本実施形態のパターン同期回路30は、被測定信号のパターンの先頭を確実に検出することを目的としたものである。 As shown in FIG. 1, the ED 20 includes a pattern synchronization circuit 30, a reference generation circuit 40, a PPG control unit 50, a delay circuit 51, and an error rate measurement unit 52. For example, in the conventional method of detecting the beginning 64 bits of a data pattern, since there are nine identical data patterns in the pattern of the test signal shown in FIG. 4 (b), the probability that the beginning of the pattern can be correctly captured is simply simple. It is 1/9. On the other hand, the pattern synchronization circuit 30 of the present embodiment is intended to reliably detect the beginning of the pattern of the signal to be measured.

パターン同期回路30は、DUT200に搭載されたリンク状態管理機構が任意のステートに遷移した状態で、DUT200から出力される(折り返される)SKP OSを含む試験信号を被測定信号として受信し、被測定信号のパターンの先頭を検出するようになっている。図5に示すように、パターン同期回路30は、SKP検出部31と、SKP先頭フラグ出力部32と、カウント部33と、後尾パターン検出フラグ出力部34と、同期完了信号出力部35と、を含む。 The pattern synchronization circuit 30 receives a test signal including the SKP OS output (folded back) from the DUT 200 as a measured signal in a state where the link state management mechanism mounted on the DUT 200 has transitioned to an arbitrary state, and is measured. The beginning of the signal pattern is detected. As shown in FIG. 5, the pattern synchronization circuit 30 includes a SKP detection unit 31, a SKP head flag output unit 32, a count unit 33, a tail pattern detection flag output unit 34, and a synchronization completion signal output unit 35. include.

SKP検出部31は、DUT200から入力された被測定信号から順次SKP OSを検出するようになっている。SKP OSは固有のパターンのため検索が可能である。 The SKP detection unit 31 sequentially detects the SKP OS from the measured signal input from the DUT 200. The SKP OS has a unique pattern and can be searched.

SKP先頭フラグ出力部32は、図4(b)に示すように、SKP検出部31により検出されたSKP OSの先頭のシンボルに同期したSKP先頭フラグを出力するようになっている。 As shown in FIG. 4B, the SKP head flag output unit 32 outputs the SKP head flag synchronized with the head symbol of the SKP OS detected by the SKP detection unit 31.

カウント部33は、SKP先頭フラグ出力部32により、あるタイミング(第1のタイミング)でSKP先頭フラグが出力されてから次のタイミング(第2のタイミング)でSKP先頭フラグが出力されるまでの間の被測定信号のシンボル数をカウントするようになっている。ここで、カウント部33は、パターン同期回路30の動作クロックをカウントするものであってもよい。例えば、動作クロックの1クロックが1シンボルに相当する場合には、動作クロックをカウントすることはシンボル数をカウントすることに等しい。 In the counting unit 33, the SKP head flag output unit 32 outputs the SKP head flag at a certain timing (first timing) until the SKP head flag is output at the next timing (second timing). The number of symbols of the signal under test is counted. Here, the counting unit 33 may count the operating clock of the pattern synchronization circuit 30. For example, when one clock of the operating clock corresponds to one symbol, counting the operating clock is equivalent to counting the number of symbols.

後尾パターン検出フラグ出力部34は、カウント部33によるカウント数が後尾パターンのシンボル数に一致した場合に、後尾パターンを検出したことを示す検出フラグを出力するようになっている。例えば、図4(b)の例において1クロックが1シンボルに相当する場合には、カウント部33が、第1のタイミングのSKP先頭フラグのシンボルから第2のタイミングのSKP先頭フラグの1つ前のシンボルまで36クロックをカウントすると、後尾パターン検出フラグ出力部34は、第2のタイミングにおいて検出フラグを出力する。一方、後尾パターン検出フラグ出力部34は、カウント部33によるカウント数が後尾パターンのシンボル数に一致しなかった場合に、後尾パターンを検出しなかったことを示す非検出フラグを出力するようになっている。 The tail pattern detection flag output unit 34 outputs a detection flag indicating that the tail pattern has been detected when the number of counts by the count unit 33 matches the number of symbols of the tail pattern. For example, in the example of FIG. 4B, when one clock corresponds to one symbol, the counting unit 33 is one before the SKP head flag of the second timing from the symbol of the SKP head flag of the first timing. When 36 clocks are counted up to the symbol of, the tail pattern detection flag output unit 34 outputs the detection flag at the second timing. On the other hand, the tail pattern detection flag output unit 34 outputs a non-detection flag indicating that the tail pattern has not been detected when the number of counts by the count unit 33 does not match the number of symbols of the tail pattern. ing.

同期完了信号出力部35は、後尾パターン検出フラグ出力部34から検出フラグが連続してb回出力されたときの第2のタイミングにおけるSKP OSの先頭のシンボルに同期した同期完了信号をリファレンス生成回路40に出力するようになっている。同時に、同期完了信号出力部35は、同期完了信号に同期した被測定信号のパターンを遅延回路51に出力する。例えば、図4(b)の例においては、後尾パターン検出フラグ出力部34が検出フラグを連続して3回出力すると、同期完了信号出力部35は同期完了信号を出力する。 The synchronization completion signal output unit 35 uses a synchronization completion signal synchronized with the first symbol of the SKP OS at the second timing when the detection flag is continuously output b times from the tail pattern detection flag output unit 34 as a reference generation circuit. It is designed to output to 40. At the same time, the synchronization completion signal output unit 35 outputs the pattern of the signal to be measured synchronized with the synchronization completion signal to the delay circuit 51. For example, in the example of FIG. 4B, when the tail pattern detection flag output unit 34 outputs the detection flag three times in succession, the synchronization completion signal output unit 35 outputs the synchronization completion signal.

リファレンス生成回路40は、同期完了信号出力部35から出力された同期完了信号をトリガとして、試験信号のパターンと同一のリファレンスパターンを生成するようになっている。すなわち、リファレンス生成回路40は、PPG10と同様の構成であって、データ記憶部41と、SKP付加回路42と、エンコード回路43と、を有する。データ記憶部41は、PPG10のデータ記憶部11に記憶されているデータパターンと同じデータパターンを記憶しており、複数の同一のデータパターンを順次SKP付加回路42に出力するようになっている。SKP付加回路42は、後述するPPG制御部50からの制御情報に従って、データ記憶部41から順次出力されるデータパターンの間にSKP OSを挿入したパターンを生成するようになっている。エンコード回路43は、SKP付加回路42により生成されたパターンに対して、図3に示すような規格に応じたエンコードを行うようになっている。 The reference generation circuit 40 uses the synchronization completion signal output from the synchronization completion signal output unit 35 as a trigger to generate a reference pattern that is the same as the pattern of the test signal. That is, the reference generation circuit 40 has the same configuration as the PPG 10, and has a data storage unit 41, a SKP addition circuit 42, and an encoding circuit 43. The data storage unit 41 stores the same data pattern as the data pattern stored in the data storage unit 11 of the PPG 10, and a plurality of the same data patterns are sequentially output to the SKP addition circuit 42. The SKP addition circuit 42 is adapted to generate a pattern in which the SKP OS is inserted between the data patterns sequentially output from the data storage unit 41 according to the control information from the PPG control unit 50 described later. The encoding circuit 43 encodes the pattern generated by the SKP addition circuit 42 according to the standard as shown in FIG.

PPG制御部50は、PPG10とリファレンス生成回路40に、それぞれ試験信号とリファレンスパターンの生成を指示するようになっている。この際、PPG制御部50は、ユーザによる操作部61の操作に応じて、データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintなどの値をPPG10とリファレンス生成回路40に設定する。例えば、Ndは4〜128シンボル、Nskpは2〜12シンボルの範囲で設定可能である。 The PPG control unit 50 instructs the PPG 10 and the reference generation circuit 40 to generate a test signal and a reference pattern, respectively. At this time, the PPG control unit 50 responds to the operation of the operation unit 61 by the user, such as the number of symbols Nd constituting the data pattern, the number of symbols Nskp constituting the SKP OS, and the number of symbols Nint indicating the average interval of the SKP OS. The values are set in PPG 10 and the reference generation circuit 40. For example, Nd can be set in the range of 4 to 128 symbols, and Nskp can be set in the range of 2 to 12 symbols.

遅延回路51は、同期完了信号出力部35から出力された同期完了信号に同期した被測定信号のパターンを遅延させて、リファレンス生成回路40から出力されたリファレンスパターンと同期させるようになっている。遅延回路51の遅延量は、データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintなどの値に応じて可変に設定される。 The delay circuit 51 delays the pattern of the signal to be measured synchronized with the synchronization completion signal output from the synchronization completion signal output unit 35, and synchronizes it with the reference pattern output from the reference generation circuit 40. The delay amount of the delay circuit 51 is variably set according to values such as the number of symbols Nd constituting the data pattern, the number of symbols Nskp constituting the SKP OS, and the number of symbols Nint indicating the average interval of the SKP OS.

誤り率測定部52は、リファレンス生成回路40から出力されたリファレンスパターンと、遅延回路51から出力された被測定信号のパターンとを順次比較することにより、被測定信号のパターンにおける誤りビットを検出するとともに、被測定信号のパターンのBERを算出するようになっている。 The error rate measuring unit 52 detects an error bit in the pattern of the signal to be measured by sequentially comparing the reference pattern output from the reference generation circuit 40 with the pattern of the signal to be measured output from the delay circuit 51. At the same time, the BER of the pattern of the signal to be measured is calculated.

表示部60は、例えばLCDやCRTなどの表示機器で構成され、制御部62から出力される制御信号に応じて、誤り率測定部52により測定された被測定信号のパターンの誤りビットやBERなどの各種表示内容を表示するようになっている。さらに、表示部60は、制御部62から出力される制御信号に応じて、各種条件を設定するためのボタン、ソフトキー、プルダウンメニュー、テキストボックスなどの操作対象の表示を行うようになっている。 The display unit 60 is composed of a display device such as an LCD or a CRT, and has an error bit, a BER, or the like of a pattern of the signal to be measured measured by the error rate measuring unit 52 according to the control signal output from the control unit 62. It is designed to display various display contents of. Further, the display unit 60 displays operation targets such as buttons, soft keys, pull-down menus, and text boxes for setting various conditions according to the control signal output from the control unit 62. ..

操作部61は、ユーザによる操作入力を受け付けるためのものであり、例えば表示部60に設けられたタッチパネルで構成される。あるいは、操作部61は、キーボード又はマウスのような入力デバイスを含んで構成されてもよい。また、操作部61は、リモートコマンドなどによる遠隔制御を行う外部制御装置で構成されてもよい。操作部61への操作入力は、制御部62により検知されるようになっている。例えば、操作部61により、試験信号の規格、データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintなどの値をユーザが任意に設定することなどが可能である。 The operation unit 61 is for receiving an operation input by the user, and is composed of, for example, a touch panel provided on the display unit 60. Alternatively, the operating unit 61 may be configured to include an input device such as a keyboard or mouse. Further, the operation unit 61 may be configured by an external control device that performs remote control by a remote command or the like. The operation input to the operation unit 61 is detected by the control unit 62. For example, the operation unit 61 arbitrarily sets values such as a test signal standard, the number of symbols Nd constituting the data pattern, the number of symbols Nskp constituting the SKP OS, and the number of symbols Nint indicating the average interval of the SKP OS. It is possible to do things like that.

制御部62は、例えばCPU、ROM、RAM、HDDなどを含むマイクロコンピュータ又はパーソナルコンピュータ等で構成され、誤り率測定装置100を構成する上記各部の動作を制御する。また、制御部62は、ROM等に記憶された所定のプログラムをRAMに移して実行することにより、パターン同期回路30や誤り率測定部52の少なくとも一部をソフトウェア的に構成することが可能である。なお、パターン同期回路30や誤り率測定部52の少なくとも一部は、FPGA(Field Programmable Gate Array)やASIC(Application Specific Integrated Circuit)などのデジタル回路で構成することも可能である。あるいは、パターン同期回路30や誤り率測定部52の少なくとも一部は、デジタル回路によるハードウェア処理と所定のプログラムによるソフトウェア処理とを適宜組み合わせて構成することも可能である。 The control unit 62 is composed of, for example, a microcomputer or a personal computer including a CPU, ROM, RAM, HDD, etc., and controls the operation of each of the above units constituting the error rate measuring device 100. Further, the control unit 62 can configure at least a part of the pattern synchronization circuit 30 and the error rate measurement unit 52 by software by transferring a predetermined program stored in the ROM or the like to the RAM and executing the program. be. At least a part of the pattern synchronization circuit 30 and the error rate measuring unit 52 can be configured by a digital circuit such as an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit). Alternatively, at least a part of the pattern synchronization circuit 30 and the error rate measuring unit 52 can be configured by appropriately combining hardware processing by a digital circuit and software processing by a predetermined program.

以下、本実施形態のパターン同期回路30を用いるパターン同期方法について、図6のフローチャートを参照しながらその処理の一例を説明する。 Hereinafter, an example of the processing of the pattern synchronization method using the pattern synchronization circuit 30 of the present embodiment will be described with reference to the flowchart of FIG.

まず、SKP検出部31は、DUT200から入力された被測定信号から順次SKP OSを検出する(SKP検出ステップS1)。 First, the SKP detection unit 31 sequentially detects the SKP OS from the measured signal input from the DUT 200 (SKP detection step S1).

次に、SKP先頭フラグ出力部32は、SKP検出ステップS1により検出されたSKP OSの先頭のシンボルに同期したSKP先頭フラグを出力する(SKP先頭フラグ出力ステップS2)。 Next, the SKP head flag output unit 32 outputs the SKP head flag synchronized with the head symbol of the SKP OS detected in the SKP detection step S1 (SKP head flag output step S2).

次に、カウント部33は、SKP先頭フラグ出力ステップS2により第1のタイミングでSKP先頭フラグが出力されてから次の第2のタイミングでSKP先頭フラグが出力されるまでの間の被測定信号のシンボル数をカウントする(カウントステップS3)。 Next, the counting unit 33 receives the measured signal from the time when the SKP head flag is output at the first timing in the SKP head flag output step S2 until the SKP head flag is output at the next second timing. The number of symbols is counted (count step S3).

次に、制御部62は、カウントステップS3によるカウント数が後尾パターンのシンボル数に一致するか否かを判断する(ステップS4)。カウントステップS3によるカウント数が後尾パターンのシンボル数に一致しない場合には、次にステップS5の処理が実行される。一方、カウントステップS3によるカウント数が後尾パターンのシンボル数に一致する場合には、次にステップS6の処理が実行される。 Next, the control unit 62 determines whether or not the number of counts in the count step S3 matches the number of symbols in the tail pattern (step S4). If the number of counts in the count step S3 does not match the number of symbols in the tail pattern, the process of step S5 is executed next. On the other hand, when the number of counts in the count step S3 matches the number of symbols in the tail pattern, the process of step S6 is executed next.

ステップS5において後尾パターン検出フラグ出力部34は、後尾パターンを検出しなかったことを示す非検出フラグを出力する(後尾パターン検出フラグ出力ステップS5)。ステップS5の処理が完了すると、注目するSKP先頭フラグを1つずらして再びステップS3以降の処理が実行される。 In step S5, the tail pattern detection flag output unit 34 outputs a non-detection flag indicating that the tail pattern has not been detected (tail pattern detection flag output step S5). When the process of step S5 is completed, the SKP head flag of interest is shifted by one, and the processes of step S3 and subsequent steps are executed again.

ステップS6において後尾パターン検出フラグ出力部34は、後尾パターンを検出したことを示す検出フラグを出力する(後尾パターン検出フラグ出力ステップS6)。 In step S6, the tail pattern detection flag output unit 34 outputs a detection flag indicating that the tail pattern has been detected (tail pattern detection flag output step S6).

次に、制御部62は、後尾パターン検出フラグ出力ステップS6から検出フラグが連続してb回出力されたか否かを判断する(ステップS7)。後尾パターン検出フラグ出力ステップS6から検出フラグが連続してb回出力された場合には、次にステップS8の処理が実行される。一方、後尾パターン検出フラグ出力ステップS6から検出フラグが連続してb回出力されていない場合には、注目するSKP先頭フラグを1つずらして再びステップS3以降の処理が実行される。 Next, the control unit 62 determines whether or not the detection flag is continuously output b times from the tail pattern detection flag output step S6 (step S7). When the detection flag is continuously output b times from the tail pattern detection flag output step S6, the process of step S8 is executed next. On the other hand, when the detection flag is not continuously output b times from the tail pattern detection flag output step S6, the SKP head flag of interest is shifted by one and the processing after step S3 is executed again.

ステップS8において同期完了信号出力部35は、後尾パターン検出フラグ出力ステップS6から検出フラグが連続してb回出力されたときの第2のタイミングにおけるSKP OSの先頭のシンボルに同期した同期完了信号をリファレンス生成回路40に出力する。同時に、同期完了信号出力部35は、同期完了信号に同期した被測定信号のパターンを遅延回路51に出力する(同期完了信号出力ステップS8)。 In step S8, the synchronization completion signal output unit 35 outputs a synchronization completion signal synchronized with the first symbol of the SKP OS at the second timing when the detection flag is continuously output b times from the tail pattern detection flag output step S6. Output to the reference generation circuit 40. At the same time, the synchronization completion signal output unit 35 outputs the pattern of the signal to be measured synchronized with the synchronization completion signal to the delay circuit 51 (synchronization completion signal output step S8).

以上説明したように、データパターンを構成するシンボル数Nd、SKP OSの平均間隔を示すシンボル数Nintから、被測定信号のパターンにおけるSKP OSの挿入位置が一意に定まる。本実施形態に係るパターン同期回路30は、SKP OSの後にn個のデータパターンが続くa個の先頭パターンと、SKP OSの後にm個のデータパターンが続くb個の後尾パターンを特定し、b個目の後尾パターンの終わりを検出することで、被測定信号の次のパターンの先頭を検出する。このようにして、本実施形態に係るパターン同期回路30は、SKP OSを含む規格外の任意の被測定信号のパターンの先頭を容易に検出することができる。 As described above, the insertion position of the SKP OS in the pattern of the signal to be measured is uniquely determined from the number of symbols Nd constituting the data pattern and the number of symbols Nint indicating the average interval of the SKP OS. The pattern synchronization circuit 30 according to the present embodiment identifies a head pattern in which n data patterns follow the SKP OS and b tail patterns in which m data patterns follow the SKP OS. By detecting the end of the third tail pattern, the beginning of the next pattern of the signal to be measured is detected. In this way, the pattern synchronization circuit 30 according to the present embodiment can easily detect the beginning of the pattern of any nonstandard signal to be measured including the SKP OS.

また、本実施形態に係る誤り率測定装置100は、パターン同期回路30から出力された同期完了信号に同期した、SKP OSを含む規格外の任意の被測定信号のパターンのBERの測定を行うことができる。これにより、誤り率測定装置100は、DUT200が規格外の任意のパターンを処理できるかどうかの動作マージン測定を行うことができる。なお、従来BER測定は、通常Loopback(ループバック)ステートで行われるが、本実施形態に係る誤り率測定装置100は、ループバックステートに限らず他のステートでもBER測定を行うことができる。 Further, the error rate measuring device 100 according to the present embodiment measures the BER of the pattern of any nonstandard measured signal including the SKP OS, which is synchronized with the synchronization completion signal output from the pattern synchronization circuit 30. Can be done. As a result, the error rate measuring device 100 can measure the operation margin to see if the DUT 200 can process any nonstandard pattern. Conventionally, the BER measurement is usually performed in the Loopback state, but the error rate measuring device 100 according to the present embodiment can perform the BER measurement not only in the loopback state but also in other states.

また、本実施形態に係る誤り率測定装置100は、被測定信号のパターンに同期したリファレンスパターンを生成して、被測定信号のパターンとリファレンスパターンとを比較することにより、被測定信号のパターンのBERの測定を行うことができる。 Further, the error rate measuring device 100 according to the present embodiment generates a reference pattern synchronized with the pattern of the signal to be measured, and compares the pattern of the signal to be measured with the reference pattern to obtain a pattern of the signal to be measured. BER can be measured.

また、本実施形態に係る誤り率測定装置100は、データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintをユーザが任意に設定することにより、SKP OSが均等に挿入された試験信号を生成することができる。 Further, in the error rate measuring device 100 according to the present embodiment, the user arbitrarily sets the number of symbols Nd constituting the data pattern, the number of symbols Nskp constituting the SKP OS, and the number of symbols Nint indicating the average interval of the SKP OS. Therefore, it is possible to generate a test signal in which the SKP OS is evenly inserted.

10 PPG
11,41 データ記憶部
12,42 SKP付加回路
13,43 エンコード回路
20 ED
30 パターン同期回路
31 SKP検出部
32 SKP先頭フラグ出力部
33 カウント部
34 後尾パターン検出フラグ出力部
35 同期完了信号出力部
40 リファレンス生成回路
50 PPG制御部
51 遅延回路
52 誤り率測定部
60 表示部
61 操作部
62 制御部
100 誤り率測定装置
200 DUT
10 PPG
11,41 Data storage unit 12,42 SKP additional circuit 13,43 Encode circuit 20 ED
30 Pattern synchronization circuit 31 SKP detection unit 32 SKP head flag output unit 33 Count unit 34 Tail pattern detection flag output unit 35 Synchronization completion signal output unit 40 Reference generation circuit 50 PPG control unit 51 Delay circuit 52 Error rate measurement unit 60 Display unit 61 Operation unit 62 Control unit 100 Error rate measuring device 200 DUT

Claims (6)

被試験対象に搭載されたリンク状態管理機構が任意のステートに遷移した状態で、前記被試験対象から出力されるSKP OS(Skip Ordered Set)を含む試験信号を被測定信号として受信し、前記被測定信号のパターンの先頭を検出するパターン同期回路(30)であって、
前記試験信号のパターンにおいては、1つのSKP OSの後にn個のデータパターンが続く先頭パターンがa回繰り返された後に、1つのSKP OSの後にm個のデータパターンが続く後尾パターンがb回繰り返され、
入力された前記被測定信号から順次SKP OSを検出するSKP検出部(31)と、
前記SKP検出部により検出されたSKP OSの先頭のシンボルに同期したSKP先頭フラグを出力するSKP先頭フラグ出力部(32)と、
前記SKP先頭フラグ出力部により第1のタイミングでSKP先頭フラグが出力されてから次の第2のタイミングでSKP先頭フラグが出力されるまでの間の前記被測定信号のシンボル数をカウントするカウント部(33)と、
前記カウント部によるカウント数が前記後尾パターンのシンボル数に一致した場合に、前記後尾パターンを検出したことを示す検出フラグを出力し、前記カウント部によるカウント数が前記後尾パターンのシンボル数に一致しなかった場合に、前記後尾パターンを検出しなかったことを示す非検出フラグを出力する後尾パターン検出フラグ出力部(34)と、
前記後尾パターン検出フラグ出力部から検出フラグが連続してb回出力されたときの前記第2のタイミングにおけるSKP OSの先頭のシンボルに同期した同期完了信号を出力する同期完了信号出力部(35)と、を含むことを特徴とするパターン同期回路。
In a state where the link state management mechanism mounted on the test target has transitioned to an arbitrary state, a test signal including the SKP OS (Skip Ordered Set) output from the test target is received as a test signal, and the test target is tested. A pattern synchronization circuit (30) that detects the beginning of a pattern of a measurement signal.
In the test signal pattern, the leading pattern in which n data patterns follow one SKP OS is repeated a times, and then the tail pattern in which m data patterns follow one SKP OS is repeated b times. NS,
The SKP detection unit (31) that sequentially detects the SKP OS from the input signal to be measured, and
The SKP head flag output unit (32) that outputs the SKP head flag synchronized with the head symbol of the SKP OS detected by the SKP detection unit, and
A counting unit that counts the number of symbols of the signal to be measured between the time when the SKP head flag is output by the SKP head flag output unit at the first timing and the time when the SKP head flag is output at the next second timing. (33) and
When the number of counts by the counting unit matches the number of symbols of the tail pattern, a detection flag indicating that the tail pattern has been detected is output, and the number of counts by the counting unit matches the number of symbols of the tail pattern. A tail pattern detection flag output unit (34) that outputs a non-detection flag indicating that the tail pattern was not detected when the tail pattern is not detected, and a tail pattern detection flag output unit (34).
A synchronization completion signal output unit (35) that outputs a synchronization completion signal synchronized with the first symbol of the SKP OS at the second timing when the detection flag is continuously output b times from the tail pattern detection flag output unit. A pattern synchronization circuit characterized by including.
前記先頭パターンに含まれるデータパターンの合計のシンボル数Nhは、前記データパターンを構成するシンボル数Ndをn倍した値であり、
前記後尾パターンに含まれるデータパターンの合計のシンボル数Ntは、前記データパターンを構成するシンボル数Ndをm倍した値であり、mはn−1に等しく、
前記試験信号におけるSKP OSの平均間隔を示すシンボル数Nintは、シンボル数Nhよりも小さく、かつ、シンボル数Ntよりも大きい値であり、
前記試験信号のパターンにおける前記先頭パターンの繰り返し回数aと前記後尾パターンの繰り返し回数bは、(Nh−Nint)×a=(Nint−Nt)×bを満たす最小の自然数であることを特徴とする請求項1に記載のパターン同期回路。
The total number of symbols Nh of the data patterns included in the first pattern is a value obtained by multiplying the number of symbols Nd constituting the data pattern by n.
The total number of symbols Nt of the data patterns included in the tail pattern is a value obtained by multiplying the number of symbols Nd constituting the data pattern by m, and m is equal to n-1.
The number of symbols Nint indicating the average interval of the SKP OS in the test signal is a value smaller than the number of symbols Nh and larger than the number of symbols Nt.
The number of repetitions a of the leading pattern and the number of repetitions b of the tail pattern in the pattern of the test signal are the minimum natural numbers satisfying (Nh-Nint) x a = (Nint-Nt) x b. The pattern synchronization circuit according to claim 1.
前記請求項1又は請求項2に記載のパターン同期回路と、
前記被測定信号のビット誤り率を測定する誤り率測定部(52)と、を備える誤り率測定装置(100)であって、
前記誤り率測定部は、前記同期完了信号出力部から出力された同期完了信号に同期した前記被測定信号のパターンのビット誤り率の測定を行うことを特徴とする誤り率測定装置。
The pattern synchronization circuit according to claim 1 or 2,
An error rate measuring device (100) including an error rate measuring unit (52) for measuring the bit error rate of the signal to be measured.
The error rate measuring unit is an error rate measuring device that measures the bit error rate of a pattern of the signal to be measured synchronized with the synchronization completion signal output from the synchronization completion signal output unit.
前記同期完了信号をトリガとして、前記試験信号のパターンと同一のリファレンスパターンを生成するリファレンス生成回路(40)と、
前記同期完了信号に同期した前記被測定信号のパターンを遅延させて、前記リファレンス生成回路から出力されたリファレンスパターンと同期させる遅延回路(51)と、を更に備え、
前記誤り率測定部は、前記リファレンス生成回路から出力されたリファレンスパターンと、前記遅延回路から出力された前記被測定信号のパターンとを順次比較することにより、前記被測定信号のパターンにおける誤りビットを検出するとともに、前記被測定信号のパターンのビット誤り率を算出することを特徴とする請求項3に記載の誤り率測定装置。
A reference generation circuit (40) that generates a reference pattern that is the same as the pattern of the test signal by using the synchronization completion signal as a trigger.
A delay circuit (51) that delays the pattern of the signal to be measured synchronized with the synchronization completion signal and synchronizes with the reference pattern output from the reference generation circuit is further provided.
The error rate measuring unit sequentially compares the reference pattern output from the reference generation circuit with the pattern of the measured signal output from the delay circuit to obtain an error bit in the pattern of the measured signal. The error rate measuring device according to claim 3, further comprising detecting and calculating the bit error rate of the pattern of the signal to be measured.
前記試験信号を発生させるパルスパターン発生器(10)と、
操作入力を受け付ける操作部(61)と、を更に備え、
前記試験信号における、前記データパターンを構成するシンボル数Nd、SKP OSを構成するシンボル数Nskp、SKP OSの平均間隔を示すシンボル数Nintが、前記操作部への操作入力により設定されることを特徴とする請求項3又は請求項4に記載の誤り率測定装置。
The pulse pattern generator (10) that generates the test signal and
Further equipped with an operation unit (61) for receiving operation input,
The test signal is characterized in that the number of symbols Nd constituting the data pattern, the number of symbols Nskp constituting the SKP OS, and the number of symbols Nint indicating the average interval of the SKP OS are set by an operation input to the operation unit. The error rate measuring device according to claim 3 or 4.
被試験対象に搭載されたリンク状態管理機構が任意のステートに遷移した状態で、前記被試験対象から出力されるSKP OS(Skip Ordered Set)を含む試験信号を被測定信号として受信し、前記被測定信号のパターンの先頭を検出するパターン同期方法であって、
前記試験信号のパターンにおいては、1つのSKP OSの後にn個のデータパターンが続く先頭パターンがa回繰り返された後に、1つのSKP OSの後にm個のデータパターンが続く後尾パターンがb回繰り返され、
入力された前記被測定信号から順次SKP OSを検出するSKP検出ステップ(S1)と、
前記SKP検出ステップにより検出されたSKP OSの先頭のシンボルに同期したSKP先頭フラグを出力するSKP先頭フラグ出力ステップ(S2)と、
前記SKP先頭フラグ出力ステップにより第1のタイミングでSKP先頭フラグが出力されてから次の第2のタイミングでSKP先頭フラグが出力されるまでの間の前記被測定信号のシンボル数をカウントするカウントステップ(S3)と、
前記カウントステップによるカウント数が前記後尾パターンのシンボル数に一致した場合に、前記後尾パターンを検出したことを示す検出フラグを出力し、前記カウントステップによるカウント数が前記後尾パターンのシンボル数に一致しなかった場合に、前記後尾パターンを検出しなかったことを示す非検出フラグを出力する後尾パターン検出フラグ出力ステップ(S5,S6)と、
前記後尾パターン検出フラグ出力ステップから検出フラグが連続してb回出力されたときの前記第2のタイミングにおけるSKP OSの先頭のシンボルに同期した同期完了信号を出力する同期完了信号出力ステップ(S8)と、を含むことを特徴とするパターン同期方法。
In a state where the link state management mechanism mounted on the test target has transitioned to an arbitrary state, a test signal including the SKP OS (Skip Ordered Set) output from the test target is received as a test signal, and the test target is tested. It is a pattern synchronization method that detects the beginning of the pattern of the measurement signal.
In the test signal pattern, the leading pattern in which n data patterns follow one SKP OS is repeated a times, and then the tail pattern in which m data patterns follow one SKP OS is repeated b times. NS,
The SKP detection step (S1) for sequentially detecting the SKP OS from the input signal to be measured, and
The SKP head flag output step (S2) that outputs the SKP head flag synchronized with the head symbol of the SKP OS detected by the SKP detection step, and
A count step for counting the number of symbols of the signal to be measured from the time when the SKP head flag is output at the first timing to the time when the SKP head flag is output at the next second timing by the SKP head flag output step. (S3) and
When the number of counts by the count step matches the number of symbols of the tail pattern, a detection flag indicating that the tail pattern has been detected is output, and the number of counts by the count step matches the number of symbols of the tail pattern. In the tail pattern detection flag output step (S5, S6), which outputs a non-detection flag indicating that the tail pattern was not detected when the tail pattern is not detected,
A synchronization completion signal output step (S8) that outputs a synchronization completion signal synchronized with the first symbol of the SKP OS at the second timing when the detection flag is continuously output b times from the tail pattern detection flag output step (S8). And, a pattern synchronization method characterized by including.
JP2020042015A 2020-03-11 2020-03-11 Pattern synchronization circuit, error rate measuring device using it, and pattern synchronization method Active JP7026154B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020042015A JP7026154B2 (en) 2020-03-11 2020-03-11 Pattern synchronization circuit, error rate measuring device using it, and pattern synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020042015A JP7026154B2 (en) 2020-03-11 2020-03-11 Pattern synchronization circuit, error rate measuring device using it, and pattern synchronization method

Publications (2)

Publication Number Publication Date
JP2021145215A true JP2021145215A (en) 2021-09-24
JP7026154B2 JP7026154B2 (en) 2022-02-25

Family

ID=77767260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020042015A Active JP7026154B2 (en) 2020-03-11 2020-03-11 Pattern synchronization circuit, error rate measuring device using it, and pattern synchronization method

Country Status (1)

Country Link
JP (1) JP7026154B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06152582A (en) * 1992-10-30 1994-05-31 Sony Corp Synchronizing protection circuit
JPH11145946A (en) * 1997-11-13 1999-05-28 Fujitsu Ltd Method for transmitting coded information frame and transmitter and receiver to be used for the same
JP2013055502A (en) * 2011-09-05 2013-03-21 Ricoh Co Ltd Serial communication circuit
JP2017098615A (en) * 2015-11-18 2017-06-01 アンリツ株式会社 Error rate measurement device and error rate measurement method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06152582A (en) * 1992-10-30 1994-05-31 Sony Corp Synchronizing protection circuit
JPH11145946A (en) * 1997-11-13 1999-05-28 Fujitsu Ltd Method for transmitting coded information frame and transmitter and receiver to be used for the same
JP2013055502A (en) * 2011-09-05 2013-03-21 Ricoh Co Ltd Serial communication circuit
JP2017098615A (en) * 2015-11-18 2017-06-01 アンリツ株式会社 Error rate measurement device and error rate measurement method

Also Published As

Publication number Publication date
JP7026154B2 (en) 2022-02-25

Similar Documents

Publication Publication Date Title
US5083299A (en) Tester for measuring signal propagation delay through electronic components
US6647027B1 (en) Method and apparatus for multi-channel data delay equalization
US7627790B2 (en) Apparatus for jitter testing an IC
JP2002232409A (en) Method and device for detecting digital data pattern
JP2001352350A (en) Measurement system and method by statistic eye-diagram of continuous bit stream
KR20150133220A (en) Timestamp correction in a multi-lane communication link with skew
CN106201945B (en) Bit width conversion device
JP2004260677A (en) Communication equipment
TWI477787B (en) Clock glitch detection
JP7122426B1 (en) Spread spectrum clock generator and spread spectrum clock generation method, pulse pattern generator and pulse pattern generation method, error rate measurement device and error rate measurement method
JP7132964B2 (en) PATTERN SYNCHRONIZATION CIRCUIT, ERROR RATE MEASUREMENT DEVICE USING THE SAME, AND PATTERN SYNCHRONIZATION METHOD
JP7026154B2 (en) Pattern synchronization circuit, error rate measuring device using it, and pattern synchronization method
US11283481B2 (en) Spread spectrum clock generator and spread spectrum clock generation method, pulse pattern generator and pulse pattern generation method, and error rate measuring device and error rate measuring method
JP7185713B2 (en) Spread spectrum clock generator and spread spectrum clock generation method, pulse pattern generator and pulse pattern generation method, error rate measurement device and error rate measurement method
JP4061294B2 (en) Self-synchronous pseudo-random bit sequence checker
US20170192830A1 (en) High-speed pseudo-random bit sequence (prbs) pattern generator, error detector and error counter
US9435840B2 (en) Determining worst-case bit patterns based upon data-dependent jitter
JP7128852B2 (en) ERROR RATE MEASUREMENT DEVICE AND ERROR RATE MEASUREMENT METHOD
JP3989816B2 (en) Pattern synchronous pull-in device
JP7169500B2 (en) Spread spectrum clock generator and spread spectrum clock generation method, pulse pattern generator and pulse pattern generation method, error rate measurement device and error rate measurement method
US7165195B2 (en) Method, system, and apparatus for bit error capture and analysis for serial interfaces
US20190178940A1 (en) System For Using Different Scan Chains To Test Differential Circuit, And Method Thereof
WO2017201727A1 (en) Asynchronous fifo circuit and time delay determination method
TWI665870B (en) Electronic system and signal switching circuit
Ying et al. BIST for 2.5-Gb/s SerDes based on dynamic detection

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220106

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: 20220208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220214

R150 Certificate of patent or registration of utility model

Ref document number: 7026154

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150