Error rate measurement device and error rate measurement method

The error rate measuring device addresses the challenge of measuring Flit errors in PCI Express 6.0 by employing a Flit length and mask pattern to detect FEC symbol errors, enhancing accuracy and reducing circuit complexity.

JP2024134210AActive Publication Date: 2024-10-03ANRITSU CORP

Patent Information

Application Number
JP2023044404
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03
Estimated Expiration
2043-03-20

AI Technical Summary

Technical Problem

Conventional error rate measuring devices fail to accurately measure Flit errors in high-speed bus standards like PCI Express 6.0 due to the presence of patterns not subject to FEC guard, such as SKP OS, which complicates bit error measurements using simple PRBS patterns.

Method used

An error rate measuring device and method that utilizes a Flit length corresponding to PRBS stages, a mask pattern for SKP OS, and threshold values to detect and count FEC symbol errors, enabling simultaneous measurement of bit and Flit errors by masking and pseudo-dividing signals.

Benefits of technology

Enables accurate estimation of Flit errors by distinguishing between Flit and other types using a simple PRBS pattern, ensuring correct error detection even in environments with mixed FEC and non-FEC guarded patterns, and reducing circuit scale without error correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134210000001_ABST
    Figure 2024134210000001_ABST
Patent Text Reader

Abstract

To simultaneously measure not only a bit error but also a Flit error.SOLUTION: An operation part 2 sets the PRBS stage number of a PRBS pattern, a Flit length according to a lane number, the mask pattern length and mask pattern cycle of an SKP OS corresponding part and a Flit error determination threshold. An error detection device 4 forms a mask pattern in a symbol mask generation part 25, receives a PAM4 signal based on the PRBS pattern from an object to be measured W by an error detection part 28 to artificially divide the PAM signal at a Flit length interval, masks the SKP OS corresponding part by the mask pattern to detect and count the errors of a Flit corresponding part and detects and counts the FEC symbol errors of the Flit corresponding part for every ECC Group by a Flit error detection part 29 to determine the number of the FEC symbol errors beyond the threshold as Flit errors.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an error rate measurement apparatus and method for measuring errors in a PAM4 signal based on bit string data of a PRBS pattern transmitted from a device under test that can transition to a loopback state by its own settings. [Background technology]

[0002] An error rate measuring device has been conventionally known as a device that measures the bit error rate (hereinafter also referred to as BER: Bit Error Rate) by transmitting a test signal of a known pattern including fixed data to a device under test, and comparing the signal under test received by the device under test as the test signal is transmitted and returned with a reference signal on a bit-by-bit basis.

[0003] Also, as disclosed in the following Patent Document 1, there is known an error rate measurement device having an RS-FEC measurement function conforming to the IEEE 802.3 standard. This error rate measurement device tallies the number of FEC symbol errors for each codeword length in an area divided by the codeword length, and acquires and displays each error count number and error rate.

[0004] By the way, the physical layer evaluation of PCI Express 5.0 was performed by performing link training with the LTSSM (Link Training and Status State Machine) of the device under test to put the device under test into a loopback state (signal loopback state) and using MCP (Modified Compliance Pattern). -12 It is. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2021-136651 A Summary of the Invention [Problem to be solved by the invention]

[0006] FEC was introduced in PCI Express 6.0. However, although MCP is also defined in PCI Express 6.0, it is not subject to FEC guard. Since Flit, which is a pattern subject to FEC, and SKP OS (SKP Ordered Sets), which is a pattern not subject to FEC, are mixed in the PCI Express 6.0 physical layer, the conventional method using MCP could not handle Flit error evaluation. Similarly, the error rate measurement device disclosed in Patent Document 1 only measures the number of symbol errors per codeword, and does not consider the case where multiple FEC guards exist within a codeword.

[0007] To explain further, when transmitting and receiving Flits in L0, the specifications are such that SKP OS is inserted at regular intervals. This SKP OS is not subject to Flit FEC guard. In this case, the transmission interval of SKP OS is constant, but the length of the received SKP OS may vary. Therefore, in order to correctly detect Flit errors, it is necessary to measure Flit errors after removing the SKP OS that is not subject to FEC guard. This shows that it is difficult to obtain correlation with Flit errors using bit error measurements that use simple PRBS patterns that are commonly used in BER measurements.

[0008] In addition, a PRBS pattern is used in the physical layer evaluation of SerDes that does not implement LTSSM, but in this case too, the MCP can be read as a PRBS pattern, and the same problem occurs.

[0009] Therefore, the present invention has been made in consideration of the above problems, and an object of the present invention is to provide an error rate measurement apparatus and an error rate measurement method which are capable of simultaneously measuring not only bit errors but also Flit errors by using a PRBS pattern. [Means for solving the problem]

[0010] In order to achieve the above object, the error rate measurement device according to claim 1 of the present invention comprises an operation unit 2 for setting the number of PRBS stages of a PRBS pattern, a Flit length corresponding to the number of lanes defined in a high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to the repetition period of the SKP OS, and a threshold value for determining a Flit error; an error detector 4 including a symbol mask generating unit 25 that generates a mask pattern based on the mask pattern length and the mask pattern period; an error detecting unit 28 that receives a PAM4 signal based on bit string data of the PRBS pattern transmitted from a device under test W, artificially divides the received PAM4 signal into intervals of the Flit length, masks a portion corresponding to the SKP OS with the mask pattern, and detects and counts errors in the portion corresponding to the Flit; a Flit error detecting unit 29 that detects FEC symbol errors for each ECC Group in the portion corresponding to the Flit, counts the number of FEC symbol errors, and determines that an FEC symbol error count exceeding the threshold is a Flit error; and a synchronization state managing unit 30 that instructs regeneration of a reference pattern for detecting the errors when the amount of errors in the portion corresponding to the Flit detected by the error detecting unit exceeds a synchronization condition threshold; The present invention is characterized by comprising:

[0011] The error rate measurement device according to claim 2 of the present invention is the error rate measurement device according to claim 1, a pattern generator 3 that generates a PAM4 signal based on bit string data of the PRBS pattern and transmits the PAM4 signal to the device under test; The device under test is capable of transitioning to a loopback state by its own setting, and is characterized in that it loops back and transmits a PAM4 signal based on the bit string data of the PRBS pattern transmitted from the pattern generator to the error detector.

[0012] The error rate measurement method according to claim 3 of the present invention includes the steps of: setting, in an operation unit 2, the number of PRBS stages of a PRBS pattern, a Flit length corresponding to the number of lanes defined in a high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to the repetition period of the SKP OS, and a threshold value for determining a Flit error; generating a mask pattern based on the mask pattern length and the mask pattern period in a symbol mask generating unit 25 of an error detector 4; receiving a PAM4 signal based on the bit string data of the PRBS pattern transmitted from the device under test W by an error detection unit 28 of the error detector, dividing the received PAM4 signal into pseudo intervals of the Flit length, masking the portion corresponding to the SKP OS with the mask pattern, and detecting and counting errors in the portion corresponding to the Flit; a step of detecting an FEC symbol error for each ECC Group in the portion corresponding to the Flit by a Flit error detection unit 29 of the error detector, counting the number of FEC symbol errors, and determining that an FEC symbol error number exceeding the threshold is a Flit error; and a step of instructing, by the synchronization state management unit 30 of the error detector, when the amount of errors in the part corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold, to regenerate a reference pattern for detecting the errors.

[0013] The error rate measurement method according to claim 4 of the present invention is the error rate measurement method according to claim 3, The device under test can transition to a loopback state by its own setting, generating a PAM4 signal based on the bit string data of the PRBS pattern from a pattern generator 3 and transmitting the PAM4 signal to the device under test; and transmitting a PAM4 signal based on the bit string data of the PRBS pattern transmitted from the pattern generator to the device under test, back from the device under test to the error detector. Effect of the Invention

[0014] According to the present invention, a simple PRBS pattern that is generally used for bit error measurement is used to artificially distinguish between Flit and other areas, and it is possible to estimate whether or not a Flit error will occur from the FEC symbol error situation in the Flit area. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing a schematic configuration of an error rate measurement device according to the present invention; [Diagram 2] 1 is an explanatory diagram of Flit defined in the PCI Express 6.0 standard. [Diagram 3] 11 is a diagram illustrating an example of the number of errors for each ECC Group of a Flit, and the number of Flits for each number of FEC symbol errors in a Flit. [Figure 4] 1 is a schematic diagram illustrating an error measurement method using an error rate measurement device according to the present invention; [Diagram 5] FIG. 4 is a diagram showing an example of a timing chart for detecting various errors in the error rate measurement device according to the present invention. [Figure 6] 2 is a block diagram showing an internal configuration of a Flit error detection unit in FIG. 1. [Figure 7] FIG. 13 is a diagram showing an example of a timing chart of FEC symbol error detection for each ECC Group in the error rate measurement device according to the present invention. [Figure 8] 4 is a flowchart of a processing operation of the error rate measurement device according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0017] As shown in FIG. 1, the error rate measuring device 1 of this embodiment has a function of measuring not only bit errors but also Flit errors (whether FEC of Flit becomes uncorrectable) simultaneously using a PRBS pattern in measuring errors in the physical layer of the PCI Express 6.0 (hereinafter referred to as PCIe Gen6) standard, which is a high-speed bus standard, as a device under test (DUT) W that can transition to a loopback state by its own settings, and is roughly configured with an operation unit 2, a pattern generator 3, and an error detector 4.

[0018] In the PCIe Gen6 standard targeted by this embodiment, the signal to be handled is a PAM4 signal. Although the concept of Flit was defined in PCIe Gen6, the present invention can also be applied to future PCI Express standards that use a similar concept of Flit. Furthermore, although the present embodiment will be described with PCIe Gen6 as an example, the present invention can also be applied to measuring Flit errors in other high-speed bus standards such as USB.

[0019] [About Flit] First, Flit defined in the PCIe Gen6 standard handled by the error rate measurement device 1 of this embodiment will be described with reference to Figures 2 and 3. In the PCIe Gen6 standard, Flit is a data format transmitted when the state of the LTSSM (Link Training and Status State Machine) is L0, and has an error correction function by FEC.

[0020] One Flit is interleaved with three ECC Groups (ECC Group 0, ECC Group 1, and ECC Group 2) as shown in Fig. 2. One ECC Group is separated by one FEC symbol (4 PAM4 symbols = 8 bits).

[0021] To summarize the conditions under which a Flit becomes uncorrectable, it becomes uncorrectable when an FEC symbol error occurs twice in the same ECC Group within one Flit.

[0022] Further explanation will be given with reference to Fig. 3. Fig. 3 shows an example of the number of errors for each ECC Group of a Flit, the number of uncorrectables (2 or more), and the number of Flits for each number of FEC symbol errors in a Flit (0 to 7, 8 or more). In Fig. 3, the parts indicated with diagonal lines slanting downward to the right indicate parts that may or may not become uncorrectable, and the parts indicated with diagonal lines slanting upward to the right indicate parts that may or may not become uncorrectable.

[0023] For example, the case where the FEC symbol error threshold is n≧2 will be described with reference to Fig. 3. In A (number of Flits: 3) surrounded by the dotted line in Fig. 3, two FEC symbol errors have occurred in the Flit, but since the number of errors in each of the different ECC Groups (in this case, ECC Group 0 and ECC Group 1) is one each, it is not marked as Uncorrectable.

[0024] In contrast, in B (number of Flits: 5) surrounded by the dotted line in Figure 3, not only are there four FEC symbol errors in the Flit, but when looking at the number of errors per ECC Group, there are two errors in one of the ECC Groups (ECC Group 0 in this case), so it is marked as Uncorrectable.

[0025] Also, in C (number of Flits: 9) surrounded by the dotted line in FIG. 3, two FEC symbol errors occur in the Flit, and the number of errors in the same ECC Group (ECC Group 0 in this case) is two, so the result is Uncorrectable.

[0026] Thus, PCIe Gen6 introduces a new Flit mode, which has a length of 256 FEC symbols (1 FEC symbol = 8 bits) and has an error correction function by FEC. Flit's FEC is 3-way interleaved ECC, and each ECC Group can correct a single byte error (error of 1 FEC symbol).

[0027] In one Flit, errors in up to three FEC symbols can be corrected, and if errors cannot be corrected, a Flit error (ECC is uncorrectable) occurs. However, even if there are three FEC symbol errors, they may not be correctable depending on the error location. For example, if there are errors in symbol 0 of ECC Group 0, symbol 1 of ECC Group 1, and symbol 2 of ECC Group 2, they can be corrected, but if there are errors in symbols 0, 3, and 6 of the same ECC Group 0, they cannot be corrected. This means that even with the same bit error rate, the number of Flit errors that occur varies depending on the location where the bit errors occur.

[0028] [Overview of the present invention] As shown in Fig. 4, the error rate measurement device 1 transmits a PAM4 signal (corresponding to a PRBS error measurement pattern described later) based on bit string data of a PRBS (Pseudo Random Bit Sequence) pattern, which is a continuous pattern, to the device under test W, and when the error detector 4 receives the PAM4 signal based on the bit string data of the PRBS pattern looped back from the device under test W by the device under test W itself, the error detector 4 pseudo-divides the received PAM4 signal at regular intervals based on the Flit length (for example, 256 FEC symbols = 2048 bits), and further masks the pattern corresponding to SKP OS (SKP Ordered Sets, hereinafter abbreviated as SKP: illustrated as "SKP" in the drawing) to count errors (bit errors, PAM4 symbol errors, FEC symbol errors) in the part corresponding to the Flit. Furthermore, for the part corresponding to the Flit, the FEC symbol errors for each ECC Group are counted, and an error in which the number of FEC symbol errors exceeds a threshold is determined to be a Flit error.

[0029] In the PCIe Gen6 standard, even if the physical layer meets the bit error performance index, Flit errors may occur depending on the stress conditions. By measuring bit errors and Flit errors simultaneously, it is possible to clarify the correlation between bit errors and Flit errors and to know whether Flit errors will occur.

[0030] In addition, Flit carries user data for the Transaction Layer, and when a Flit error occurs, recovery is achieved by resending the user data, but if this occurs frequently, communication will not be possible at the original bandwidth of PCIe Gen6. By measuring bit errors and Flit errors simultaneously, it becomes possible to accurately grasp the throughput performance when using user data, in other words, whether or not the original bandwidth of PCIe Gen6 is being used.

[0031] [Configuration of each part of the error rate measurement device] The operation unit 2, which also functions as a setting means and a display means, is composed of a user interface such as an operation knob, various keys, switches, buttons, and soft keys on the display screen of the display means, which are provided on the main body of the error rate measurement device 1 in FIG. 1, and performs various settings, gives instructions, and displays measurement results in response to user operations.

[0032] The settings that can be set by the operation unit 2 include the number of PRBS stages in the PRBS pattern, the Flit length according to the number of lanes, the mask pattern length for masking the portion corresponding to the SKP OS, the mask pattern period corresponding to the repetition period of the SKP OS, the threshold for determining Flit errors, and the settings of PAM4 Graycoding and PAM4 Precoding.

[0033] The pattern generator 3 generates a PRBS error measurement pattern in accordance with instructions from the operation unit 2, and is configured with a PRBS pattern generating unit 11, a bit dividing unit 12, a Gray coding encoder 13, a Precoding encoder 14, and a PAM4 encoder 15, as shown in FIG. 1.

[0034] The PRBS pattern generating unit 11 generates a PRBS pattern (for example, PRBS7, PRBS9, PRBS11, PRBS15, PRBS20, PRBS31, etc.) with the PRBS stage number set by the operation unit 2 as a pattern that is the basis of the PRBS error measurement pattern to be transmitted to the device under test W.

[0035] The bit dividing section 12 divides the PRBS pattern generated by the PRBS pattern generating section 11 into most significant bit string data (hereinafter referred to as MSB data) and least significant bit string data (hereinafter referred to as LSB data).

[0036] The Gray coding encoder 13 and the Precoding encoder 14 are provided as necessary, and in accordance with instructions from the operation unit 2, encode the MSB data and LSB data separated by the bit separation unit 12 using PAM4 Gray coding and PAM4 Precoding, and input the encoded data to the PAM4 encoder 15.

[0037] The PAM4 encoder 15 PAM4-encodes the MSB data and LSB data divided by the bit dividing unit 12, and outputs the PAM4-encoded PAM4 signal as a PRBS error measurement pattern. The PAM4 encoder 15 also PAM4-encodes the MSB data and LSB data that have been encoded by PAM4 Gray coding and PAM4 Precoding as necessary, and outputs the PAM4-encoded PAM4 signal as a PRBS error measurement pattern.

[0038] The error detector 4 detects errors by receiving the PRBS error measurement pattern (PAM4 signal) that is looped back by the device under test W itself when the PRBS error measurement pattern (PAM4 signal) is transmitted from the pattern generator 3 to the device under test W, and is configured with a PAM4 decoder 21, a precoding decoder 22, a gray coding decoder 23, a reference pattern generation unit 24, a symbol mask generation unit 25, a first delay unit 26, a second delay unit 27, an error detection unit 28, a flit error detection unit 29, and a synchronization state management unit 30.

[0039] The PAM4 decoder 21 decodes and separates the PAM4 symbols of the PRBS error measurement pattern (PAM4 signal) received from the device under test W into MSB data and LSB data.

[0040] The precoding decoder 22 and the gray coding decoder 23 are provided as necessary, and in accordance with instructions from the operation unit 2, perform precoding and gray coding decoding on the MSB data and LSB data decoded by the PAM4 decoder 21 and output the result.

[0041] The reference pattern generating unit 24 generates a reference pattern for detecting errors, and is composed of an MSB reference pattern generating unit 24a and an LSB reference pattern generating unit 24b. The MSB reference pattern generating unit 24a generates an MSB reference pattern by a PRBS pattern using the MSB data of the input pattern as a seed according to the number of PRBS stages set by the operation unit 2. The MSB reference pattern generating unit 24a also generates a seed for generating an LSB reference pattern. Furthermore, the MSB reference pattern generating unit 24a detects the start of one period of the PRBS pattern, and outputs a mask pattern start signal (a signal indicating the boundary of the FEC symbol) to the symbol mask generating unit 25.

[0042] The LSB reference pattern generating unit 24b generates an LSB reference pattern based on a PRBS pattern using the MSB reference pattern as a seed according to the number of PRBS stages set by the operation unit 2.

[0043] The symbol mask generating unit 25 uses the mask pattern head signal as a trigger to generate a mask pattern for each FEC symbol, which determines whether the MSB data and LSB data, which are the input PRBS pattern, are to be distinguished from a Flit region or a SKP region, based on the mask pattern length and mask pattern period set by the operation unit 2. In addition, the symbol mask generating unit 25 outputs the mask pattern head signal to the error detecting unit 28.

[0044] In addition, the Flit pattern of PCIe Gen6 is 1FEC symbol=8 bits, and since 1FEC symbol is bit-interleaved into MSB data and LSB data, it becomes a mask in 4PAM4 symbol units. In this embodiment, 0: Flit area, 1: SKP area. The mask pattern corresponding to FIG. 4 is calculated in advance by the setting operation of the operation unit 2, and set in the internal memory of the symbol mask generation unit 25.

[0045] The first delay unit 26 delays the MSB data and LSB data by a predetermined time and inputs them to the error detection unit 28 so that the MSB data, LSB data, MSB reference pattern, LSB reference pattern, mask pattern, and mask pattern head signal input to the error detection unit 28 are in phase.

[0046] The second delay unit 27 delays the MSB reference pattern by a predetermined time and inputs it to the error detection unit 28 so that the MSB data, LSB data, MSB reference pattern, LSB reference pattern, mask pattern, and mask pattern head signal input to the error detection unit 28 are in phase.

[0047] The error detection unit 28 uses the MSB data and LSB data of the PRBS pattern, the MSB reference pattern, the LSB reference pattern, the mask pattern, and the mask pattern head signal to detect and count bit errors (MSB bit errors, LSB bit errors), detect and count PAM4 symbol errors, and detect and count FEC symbol errors, and outputs the count results to the operation unit 2.

[0048] 5 shows an example of a timing chart of various error detections by the error detection unit 28 of the error rate measurement device 1. FIG 5 shows an example of a timing chart when a PAM4 signal based on bit string data of a PRBS7 pattern is transmitted to the device under test W.

[0049] An example will be described focusing on CLK positions 1 to 36 after input of the mask pattern head signal in Fig. 5. In this case, each bit of the MSB (corresponding to MSB data in the PRBS pattern) of the input PRBS7 pattern is compared with each corresponding bit of the MSB (corresponding to the MSB reference pattern) of the reference PRBS7 pattern, and each bit of the LSB (corresponding to LSB data in the PRBS pattern) of the input PRBS7 pattern is compared with each corresponding bit of the LSB (corresponding to the LSB reference pattern) of the reference PRBS7 pattern.

[0050] As a result, the error results in the Flit area (mask signal is 0) are: MSB bit error: "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1", LSB bit error: "1", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", PAM4 symbol error: "1", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1", and FEC symbol error: "1", "1", "0", "1", "1".

[0051] In contrast, the error results in the SKP area (mask signal is 0) are: MSB bit error: "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "0", "1", "1", "0", "0"; LSB bit error: "1", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"; PAM4 symbol error: "1", "1", "1", "1", "0", "1", "0", "1", "0", "0", "0", "0", "1", "1", "0", "0"; FEC symbol error: "1", "1", "0", "1".

[0052] The error detector 28 aligns the phase of the mask pattern and mask pattern head signal input from the symbol mask generator 25 with the error detection result in units of FEC symbols, and outputs them to a Flit error detector 29 together with the error detection result in units of FEC symbols.

[0053] The Flit error detection unit 29 detects and counts FEC symbol errors by dividing the area into a Flit area (mask signal is 0) and a SKP area (mask signal is 1) using a mask pattern.

[0054] In addition, the Flit error detection unit 29 detects and counts whether the number of FEC symbol errors in any ECC Group for one Flit length exceeds the FEC symbol error threshold set in the operation unit 2, and outputs the count result to the operation unit 2.

[0055] It should be noted that the detection result of the Flit error detection unit 29 can also be used to perform capture and the like.

[0056] The synchronization state management unit 30 notifies the operation unit 2 of the establishment of synchronization when the amount of errors in the portion corresponding to Flit falls below the synchronization condition threshold based on the error number information based on the error detection result of the error detection unit 28. Furthermore, when the amount of errors in the portion corresponding to Flit exceeds the synchronization condition threshold based on the error number information based on the error detection result of the error detection unit 28, the synchronization state management unit 30 notifies the operation unit 2 of the non-establishment of synchronization and instructs the reference pattern generation unit 24 (MSB reference pattern generation unit 24a) to regenerate the reference pattern (reload the seed). Note that the destination of the notification of the establishment or non-establishment of synchronization is not limited to the operation unit 2. For example, it may be an external terminal device, and the user may be notified by a message display or sound.

[0057] Next, the internal configuration of the Flit error detection unit 29 in FIG. 1 will be described with reference to FIG.

[0058] As shown in Figure 6, the Flit error detection unit 29 is composed of a Flit length timing counter 29a, an ECC Group timing counter 29b, a first ECC Group error detection unit 29c, a second ECC Group error detection unit 29d, a third ECC Group error detection unit 29e, a first ECC Group error counting unit 29f, a second ECC Group error counting unit 29g, a third ECC Group error counting unit 29h, a comparison unit 29i, and a Flit error counting unit 29j.

[0059] The Flit length timing counter 29a is triggered by the mask pattern head signal and counts the Flit length set by the operation unit 2. The counter counts up when the mask pattern is in a Flit area (mask signal is 0), and when it reaches the Flit length, it starts counting from 0 and repeats the count.

[0060] The ECC Group timing counter 29b is a counter used to distinguish ECC Groups, and outputs the remainder when the Flit length timing counter value is divided by three.

[0061] The first ECC Group error detection unit 29c detects an FEC symbol error when the counter value of the ECC Group timing counter 29b is 0 and the mask pattern is a Flit area (mask signal is 0).

[0062] The first ECC Group error counting unit 29f counts the number of FEC symbol errors in one Flit-length interval detected by the first ECC Group error detection unit 29c for each Flit-length interval.

[0063] The second ECC Group error detection unit 29d detects an FEC symbol error when the counter value of the ECC Group timing counter 29b is 1 and the mask pattern is a Flit area (mask signal is 0).

[0064] The second ECC Group error counting unit 29g counts the number of FEC symbol errors in one Flit-length interval detected by the second ECC Group error detection unit 29d for each Flit-length interval.

[0065] The third ECC Group error detection unit 29e detects an FEC symbol error when the counter value of the ECC Group timing counter 29b is 2 and the mask pattern is a Flit area (mask signal is 0).

[0066] The third ECC Group error counting unit 29h counts the number of FEC symbol errors in one Flit-length interval detected by the third ECC Group error detection unit 29e for each Flit-length interval.

[0067] The comparison unit 29i compares the number of FEC symbol errors in a 1 Flit-long section with the FEC symbol error threshold: n set in the operation unit 2, and outputs a Flit error detection signal to the Flit error counting unit 29j when there is an ECC Group in which the number of FEC symbol errors in a 1 Flit-long section exceeds the FEC symbol error threshold: n.

[0068] The flit error counting section 29j counts the flit error detection signals from the comparing section 29i, and outputs the counting result (flit error count value) to the operation section 2.

[0069] 7 shows an example of a timing chart of FEC symbol error detection for each ECC Group by the Flit error detection unit 29 of the error rate measurement device 1. In this example, it is assumed that the Flit length is set to 8 symbols, and the FEC symbol error threshold n is set to 3 symbols.

[0070] Focusing on the Flit area of ​​CLK positions 0 to 15 in Fig. 7, "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "0", "0", "1", "0" are input as FEC symbol errors, and the number of FEC symbol errors of ECC Group 0 per 4PAM4 symbols = 8 bits in the Flit area is "2", "3", the number of FEC symbol errors of ECC Group 1 is "1", "1", and the number of FEC symbol errors of ECC Group 2 is "1", "1". And, the number of FEC symbol errors of ECC Group 0 in the Flit area of ​​CLK positions 8 to 15 is "3", which is equal to or greater than the FEC symbol error threshold: n = "3", so Flit error 1 is output as the error result.

[0071] Incidentally, since the CLK positions 16 to 20 and 37 to 41 in the SKP area in FIG. 7 are masked by the mask pattern, error detection and counting are not performed.

[0072] Next, the processing operation of the error rate measurement device 1 configured as above when measuring errors in the PCIe Gen6 physical layer will be described with reference to the flowchart in Fig. 8. Note that when measuring errors in the PCIe Gen6 physical layer, it is assumed that the device under test W has transitioned to a loopback state by its own settings.

[0073] First, a PAM4 signal based on bit string data of a PRBS pattern is generated from the pattern generator 3 and transmitted to the device under test W in a loopback state (ST1).

[0074] The error detector 4 receives the PAM4 signal that is returned from the device under test W in association with the transmission of the PAM4 signal from the pattern generator 3 to the device under test W, and divides the received PAM4 signal into MSB data and LSB data by the PAM4 decoder 21 (ST2). At this time, the MSB data and LSB data are decoded by the precoding decoder 22 and the gray coding decoder 23 as necessary.

[0075] Then, the MSB reference pattern generating unit 24a generates an MSB reference pattern using the decoded MSB data as a seed (ST3). At this time, the MSB reference pattern generating unit 24a detects the beginning of one period of the PRBS pattern and outputs a mask pattern beginning signal to the symbol mask generating unit 25 (ST4). Also, the LSB reference pattern generating unit 24b generates an LSB reference pattern using the MSB reference pattern generated by the MSB reference pattern generating unit 24a as a seed (ST5).

[0076] Furthermore, when the mask pattern head signal is input from the MSB reference pattern generating unit 24a, the symbol mask generating unit 25 generates an FEC symbol mask pattern based on the mask pattern length and mask pattern period set by the operation unit 2 (ST6).

[0077] Then, the error detection unit 28 detects and counts bit errors, PAM4 symbol errors, and FEC symbol errors using the MSB data and LSB data, MSB reference pattern, LSB reference pattern, mask pattern, and mask pattern head signal of the PRBS pattern (ST7). The count result at this time is output to the operation unit 2. At that time, when the amount of errors in the part corresponding to Flit detected by the error detection unit 28 falls below the synchronization condition threshold, the synchronization state management unit 30 notifies the operation unit 2 that synchronization is established. On the other hand, when the amount of errors in the part corresponding to Flit detected by the error detection unit 28 exceeds the synchronization condition threshold, the synchronization state management unit 30 notifies the operation unit 2 that synchronization is not established, and instructs the reference pattern generation unit 24 (MSB reference pattern generation unit 24a) to regenerate the reference pattern (reload the seed).

[0078] The Flit error detection unit 29 also detects and counts whether the number of FEC symbol errors in any ECC Group in one Flit length exceeds the FEC symbol error threshold set by the operation unit 2 (ST8). The count result at this time is output to the operation unit 2.

[0079] Incidentally, in the above-mentioned embodiment, it has been described that the PAM4 signal based on the bit string data of the PRBS pattern generated by the pattern generator 3 is transmitted to the device under test W, and the device under test W itself has a function of performing link training and transitioning to a signal loopback state, but the pattern generator 3 may be omitted, and the device under test W may transmit a PAM4 signal based on the bit string data of the PRBS pattern to the error detector 4. In this case, information required for receiving the PAM4 signal based on the bit string data of the PRBS pattern transmitted by the device under test W and detecting various errors (the number of PRBS stages, the Flit length according to the number of lanes, the mask pattern length for masking the portion corresponding to the SKP, the mask pattern period corresponding to the repetition period of the SKP OS, the threshold for determining the Flit error, the PAM4 Graycoding setting, and the PAM4 Precoding setting) is set in advance in the operation unit 2.

[0080] In this way, according to this embodiment, a simple PRBS pattern that is generally used for bit error measurement is used to artificially distinguish between Flit and other areas, and it is possible to estimate whether or not a Flit error will occur from the FEC symbol error situation in the Flit area.

[0081] In addition, even in an environment where patterns protected by FEC and patterns not protected by FEC coexist, it is possible to identify patterns protected by FEC and determine whether they become uncorrectable. Moreover, since this embodiment does not perform error correction, the circuit scale can be reduced.

[0082] Although the best mode of the error rate measuring device and the error rate measuring method according to the present invention has been described above, the present invention is not limited by the description and drawings of the mode. In other words, other modes, embodiments, and operation techniques made by those skilled in the art based on the mode are all naturally included in the scope of the present invention. [Explanation of symbols]

[0083] 1. Error rate measurement device 2 Control section 3 Pattern Generator 4. Error Detector 11 PRBS pattern generator 12 Bit division section 13 Gray coding encoder 14 Precoding Encoder 15 PAM4 Encoder 21 PAM4 Decoder 22 Precoding Decoder 23 Gray coding decoder 24 Reference pattern generator 24a MSBPRBS reference pattern generator 24b LSBPRBS reference pattern generator 25 Symbol mask generator 26 First Delay Section 27 Second Delay Section 28 Error detection section 29 Flit error detection section 29a Flit length timing counter 29b ECC Group Timing Counter 29c 1st ECC Group Error Detection Section 29d Second ECC Group Error Detection Section 29e 3rd ECC Group Error Detection Unit 29f 1st ECC Group Error Counting Section 29g Second ECC Group Error Counting Section 29h 3rd ECC Group Error Count 29i comparison section 29j Flit Error Counting Unit 30 Synchronization status management unit W Object to be measured

Claims

1. an operation unit (2) for setting the number of PRBS stages of the PRBS pattern, a Flit length corresponding to the number of lanes defined in the high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to the repetition period of the SKP OS, and a threshold value for determining a Flit error; an error detector (4) including: a symbol mask generating unit (25) that generates a mask pattern according to the mask pattern length and the mask pattern period; an error detecting unit (28) that receives a PAM4 signal based on bit string data of the PRBS pattern transmitted from a device under test (W), artificially divides the received PAM4 signal into intervals of the Flit length, masks a portion corresponding to the SKP OS with the mask pattern, and detects and counts errors in the portion corresponding to the Flit; a Flit error detecting unit (29) that detects FEC symbol errors for each ECC Group in the portion corresponding to the Flit, counts the number of FEC symbol errors, and determines that an error in which the number of FEC symbol errors exceeds the threshold is a Flit error; and a synchronization state managing unit (30) that instructs regeneration of a reference pattern for detecting the errors when the amount of errors in the portion corresponding to the Flit detected by the error detecting unit exceeds a synchronization condition threshold; An error rate measuring device comprising:

2. a pattern generator (3) for generating a PAM4 signal based on bit string data of the PRBS pattern and transmitting the PAM4 signal to the device under test; 2. The error rate measuring apparatus according to claim 1, wherein the device under test is capable of transitioning to a loopback state by its own setting, and when in the loopback state, transmits a PAM4 signal based on the bit string data of the PRBS pattern transmitted from the pattern generator back to the error detector.

3. A step of setting, by an operation unit (2), the number of PRBS stages of the PRBS pattern, a Flit length corresponding to the number of lanes defined in the high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to the repetition period of the SKP OS, and a threshold value for determining a Flit error; generating a mask pattern based on the mask pattern length and the mask pattern period in a symbol mask generating unit (25) of an error detector (4); receiving a PAM4 signal based on the bit string data of the PRBS pattern transmitted from the device under test (W) by an error detection unit (28) of the error detector, dividing the received PAM4 signal into pseudo intervals of the Flit length, masking the portion corresponding to the SKP OS with the mask pattern, and detecting and counting errors in the portion corresponding to the Flit; a step of detecting an FEC symbol error for each ECC Group in a portion corresponding to the Flit by a Flit error detection unit (29) of the error detector, counting the number of FEC symbol errors, and determining that an FEC symbol error count that exceeds the threshold is a Flit error; and when the amount of errors in the portion corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold, a synchronization state management unit (30) of the error detector instructs regeneration of a reference pattern for detecting the errors.

4. The device under test can transition to a loopback state by its own setting, generating a PAM4 signal based on the bit string data of the PRBS pattern from a pattern generator (3) and transmitting the signal to the device under test; and transmitting, from the device under test to the error detector, a PAM4 signal based on the bit string data of the PRBS pattern transmitted from the pattern generator to the device under test when the device under test is in a loopback state.

Citation Information

Patent Citations

  • Transmission characteristic measuring device

    JP1994164556A

  • Bit error measurement device and method for modem device

    JP1999163838A

  • Debugging circuit using data filtering function

    JP2004056661A

  • Network test device and network test method

    JP2021136651A

  • Error rate measurement device and error rate measurement method

    JP2021158415A

Cited By

  • Pattern generating device and method, and error rate measuring device and method

    JP2025070140A

  • Pattern generating device and method, and error rate measuring device and method

    JP7731404B2