Error rate measurement device and error rate measurement method
The error rate measuring device addresses synchronization issues in PCI Express 6.0 by measuring Flit errors through a Flit pattern with EIEOS and SKP OS, ensuring accurate error detection and identification of FEC-guarded patterns without requiring the L0 state.
Patent Information
- Application Number
- JP2023044405
- 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
The PCI Express 6.0 standard introduces FEC, but the defined MCP does not include EIEOS required for 1b/1b synchronization, preventing error measurement devices from synchronizing and accurately measuring errors in the Gen6 physical layer.
An error rate measuring device that measures both bit and Flit errors by generating a Flit pattern with EIEOS and SKP OS, using a mask pattern to exclude these from measurement, and detecting FEC symbol errors for each ECC group to determine Flit errors.
Enables accurate error measurement in the PCI Express 6.0 physical layer without transitioning to the L0 state, allowing for understanding the relationship between bit and Flit errors and identifying FEC-guarded patterns, even in mixed environments.
Smart Images

Figure 2024134211000001_ABST
Abstract
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 Flit 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 (BER) by transmitting a test signal of a known pattern including fixed data to a device under test, and comparing the signal under test received as a loopback from the device under test in response to the transmission of the test signal 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. Therefore, if you try to perform a Gen6 physical layer evaluation with an Flit pattern that is FEC guarded, the PCIe Gen6 physical layer cannot be synchronized by itself because the Flit pattern does not include EIEOS (Electrical Idle Exit Ordered Set) required for 1b / 1b synchronization.
[0007] To explain further, Flits in PCI Express 6.0 Gen6 are encoded in 1b / 1b. In 1b / 1b encoding, EIEOS is used to achieve 1b / 1b synchronization. If only the pattern that flows in the L0 state is sent from the error rate measurement equipment to the device under test, the pattern in L0 contains only Flits, SDS, and SKP OS (SKP Ordered Sets) as shown in Figure 4(b), so the error rate measurement equipment cannot receive EIEOS from the device under test, 1b / 1b synchronization cannot be achieved in the PCIe Gen6.0 physical layer, and the problem occurs that error measurement is not possible.
[0008] The L0 state, in which Flit is normally sent and received, is the state reached after 1b / 1b symbol synchronization by EIEOS is completed, and EIEOS is not sent or received. If EIEOS flows in the L0 state, a transition to the Recovery state 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 measuring device and an error rate measuring method which can measure not only bit errors but also Flit errors at the same time. [Means for solving the problem]
[0010] In order to achieve the above object, the error rate measuring device according to claim 1 of the present invention comprises an operation unit 2 for setting one period of a Flit pattern including EIEOS and SKP OS corresponding to the number of lanes defined in a high-speed bus standard, a Flit length corresponding to the number of lanes, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to a repetition period of the SKP OS, a threshold value for determining a Flit error, a mask pattern length for masking a portion corresponding to the EIEOS, an insertion period of the EIEOS, and a pattern head of the Flit pattern; an error detector 4 including: a symbol mask generating unit 27 that generates a mask pattern according to a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to a repetition period of the SKP OS, a mask pattern length for masking a portion corresponding to the EIEOS, and an insertion period of the EIEOS; an error detecting unit 30 that receives a PAM4 signal based on bit string data of the Flit pattern transmitted from a device under test W, and detects and counts errors in the portion corresponding to a Flit by masking the portions corresponding to the EIEOS and the SKP OS of the received PAM4 signal with the mask pattern; a Flit error detecting unit 31 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 number exceeding the threshold value is a Flit error; and a synchronization state managing unit 32 that instructs reacquisition of the pattern head of the Flit pattern when the amount of errors in the portion corresponding to the Flit detected by the error detecting unit exceeds a synchronization condition threshold value; 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 Flit 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 settings, and when in the loopback state, transmits a PAM4 signal based on the bit string data of the Flit pattern transmitted from the pattern generator back to the error detector.
[0012] The error rate measurement method described in claim 3 of the present invention includes the steps of setting, by an operation unit 2, one period of a Flit pattern including EIEOS and SKP OS corresponding to the number of lanes defined in a high-speed bus standard, a Flit length corresponding to the number of lanes, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to a repetition period of the SKP OS, a threshold value for determining a Flit error, a mask pattern length for masking a portion corresponding to the EIEOS, an insertion period of the EIEOS, and a pattern head of the Flit pattern; A step of generating a mask pattern by a symbol mask generating unit 27 of the error detector 4, 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 mask pattern length for masking the portion corresponding to the EIEOS, and the mask pattern by the insertion period of the EIEOS; receiving a PAM4 signal based on the bit string data of the Flit pattern transmitted from the device under test W by an error detection unit 30 of the error detector, masking a portion of the received PAM4 signal corresponding to the EIEOS and 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 31 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; The method is characterized in that it includes a step of instructing a synchronization state management unit 32 of the error detector to re-acquire the pattern head of the Flit pattern when the amount of errors in the part corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold.
[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 bit string data of the Flit 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 Flit pattern transmitted from the pattern generator to the device under test when the device under test is in a loopback state, back from the device under test to the error detector. Effect of the Invention
[0014] According to the present invention, it is possible to use the same Flit pattern as in the L0 state without putting the DUT into the L0 state, and to correctly grasp the relationship between bit errors and Flit errors. Also, even in an environment where patterns guarded by FEC and patterns not guarded by FEC are mixed, it is possible to identify patterns guarded by FEC and to judge whether they become Uncorrectable. [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] FIG. 1A is a schematic diagram illustrating an error measurement method using an error rate measurement device according to the present invention, and FIG. 1B is a schematic diagram illustrating an error measurement method using a conventional error rate measurement device. [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 Flit 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, a new Flit mode has been introduced in PCIe Gen6, where Flit is 256 FEC symbol length (1 FEC symbol = 8 bits) and has an error correction function by FEC. In addition, since Gen6 Flit is 1b / 1b encoded, 1 FEC symbol = 1b / 1b symbol. Flit 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(a), the error rate measurement device 1 uses a Flit pattern in which EIEOS is periodically inserted, and simultaneously measures bit errors and Flit errors. At this time, the pattern at the SKP OS (SKP Ordered Sets, hereafter abbreviated as SKP: shown as "SKP" in the drawings) position is masked, and the pattern at the EIEOS position is further masked to exclude it from the measurement, and errors (bit errors, PAM4 symbol errors, FEC symbol errors) only in the Flit portion are counted. In addition, for the Flit portion, FEC symbol errors for each ECC Group are counted, and an error in which the number of FEC symbol errors exceeds an FEC symbol error threshold is determined to be a Flit error.
[0029] The effect of inserting EIEOS can be almost ignored by making the length of the Flit and SKP parts sufficiently longer than the EIEOS length. The EIEOS insertion period, i.e., the pattern length L [bit], is determined as follows:
[0030] The SKP insertion interval t[Flit] is defined by the PCIe Gen6 standard. In addition, Flit is scrambled with LFSR:G(X)=X23+X21+X16+X8+X5+X2+1, so the EIEOS period must be at least LFSR_L=2^23-1=8,388,607[bits] long. If it is shorter than this, some values will not appear in the scrambled value.
[0031] Therefore, the least common multiple LCM_LFSR_Flit of the scramble length LFSR_L [bits] and the Flit length Flit_L [bits] is calculated (the following formula (1)).
[0032] LCM(LFSR_L, Flit_L)=LCM_LFSR_Flit…Formula (1)
[0033] From this, the number of Flits that reach the LCM, LCM_Flit [Flit], is expressed as in the following formula (2).
[0034] LCM_Flit=LCM_LFSR_Flit / Flit_L…Formula (2)
[0035] Next, the SKP number that is equal to or greater than the LFSR (rounded up to an integer) LCM_skp_t is expressed as in the following formula (3), where ceil() represents a positive number rounded up to the nearest integer.
[0036] LCM_skp_t=ceil(LCM_Flit / t)…Formula (3)
[0037] Moreover, the number of Flits Flit_1fsr_t[Flit] that rotates one or more cycles of the LFSR can be calculated by the following formula (4).
[0038] Flit_1fsr_t=t×LCM_skp_t…Equation (4)
[0039] Here, since it is necessary to insert SKP periodically, if one pair of Flit and SKP is defined as the Flit cycle length Flit_size [bit], it can be expressed as in the following formula (5).
[0040] Flit_size[bit]=SKP_L+t×Flit_L…Equation (5)
[0041] Note that SKP_L is the SKP pattern length [bit].
[0042] Therefore, the pattern length L [bit] can be calculated by the following formula (6).
[0043] L [bit] = EIEOS length [bit] + (LCM_skp_t × Flit_size) × n [bit] (n = integer equal to or greater than 1) ... Equation (6)
[0044] The number of Flits included in this pattern length L [bits] is given by equation (4)×n.
[0045] The EIEOS length is 128 bits, and if n is set large, the EIEOS at the pattern length L [bits] can be almost ignored.
[0046] 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.
[0047] 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.
[0048] [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.
[0049] The settings that can be set by the operation unit 2 include one period of the Flit pattern (including EIEOS, SKP) according to the number of lanes, the Flit length according to the number of lanes, the mask pattern length for masking the portion corresponding to SKP, the mask pattern period corresponding to the repetition period of SKP, the threshold for determining Flit errors, the mask pattern length for masking the portion corresponding to EIEOS, the EIEOS insertion period, and the setting of the pattern start of the Flit pattern.
[0050] The pattern generator 3 generates a Flit error measurement pattern in accordance with instructions from the operation unit 2, and is configured to include a Flit pattern generating unit 11, a bit dividing unit 12, and a PAM4 encoder 13, as shown in FIG.
[0051] The Flit pattern generating unit 11 generates a Flit pattern (a pattern calculated by equation (6) (including EIEOS, SKP)) according to the number of lanes set by the operation unit 2 as a pattern that is the basis of the Flit error measurement pattern to be transmitted to the object W to be measured.
[0052] The bit dividing section 12 divides the Flit pattern generated by the Flit 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).
[0053] The PAM4 encoder 13 PAM4-encodes the MSB data and LSB data divided by the bit dividing unit 12, and outputs the PAM4-encoded PAM4 signal as a Flit error measurement pattern.
[0054] The error detector 4 detects errors by receiving the Flit error measurement pattern (PAM4 signal) that is looped back by the device under test W itself when the Flit 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 bit synthesis unit 22, an EIEOS synchronization unit 23, a bit division unit 24, a synchronization pattern detection unit 25, a reference pattern generation unit 26, a symbol mask generation unit 27, a first delay unit 28, a second delay unit 29, an error detection unit 30, a Flit error detection unit 31, and a synchronization state management unit 32.
[0055] The PAM4 decoder 21 decodes and separates the PAM4 symbols of the Flit error measurement pattern (PAM4 signal) received from the device under test W into MSB data and LSB data.
[0056] The bit combining unit 22 combines the MSB data and LSB data decoded by the PAM4 decoder 21 using bit MUX, and outputs the combined data to the EIEOS synchronization unit 23.
[0057] The EIEOS synchronization unit 23 finds the PCIe Gen6 EIEOS pattern from the input data combined by the bit MUX in the bit combination unit 22, obtains 1b / 1b symbol synchronization (8-bit division), aligns the input data at the symbol boundary, and outputs it to the bit division unit 24.
[0058] The bit dividing unit 24 divides the data from the EIEOS synchronization unit 23 into MSB data and LSB data by bit DMUX and outputs the data to the first delay unit 28.
[0059] The synchronization pattern detection unit 25 searches the data output from the EIEOS synchronization unit 23 for a pattern identical to the pattern head of the Flit pattern set by the operation unit 2, and outputs a pattern head signal.
[0060] The reference pattern generation unit 26 generates an MSB reference pattern and an LSB reference pattern based on a Flit pattern (a pattern calculated by equation (6) (including EIEOS and SKP)) according to the number of lanes set in the operation unit 2, using the pattern start signal from the synchronization pattern detection unit 25 as a trigger.
[0061] The symbol mask generation unit 27 uses the pattern head signal from the synchronization pattern detection unit 25 as a trigger to generate a mask pattern in 1b / 1b symbol units, which determines whether the input pattern, MSB data and LSB data, are to be distinguished from a Flit area or from a SKP area and an EIEOS area, based on the mask pattern length and mask pattern period set by the operation unit 2. In addition, the symbol mask generation unit 27 outputs the mask pattern head signal to the error detection unit 30.
[0062] The PCIe Gen6 Flit pattern is 1 FEC symbol = 8 bits, and since 1 FEC 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: EIEOS area, SKP area. The mask pattern corresponding to Fig. 4(a) 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 27.
[0063] The first delay unit 28 delays the MSB data and LSB data by a predetermined time and inputs them to the error detection unit 30 so that the MSB data, LSB data, pattern start signal, MSB reference pattern, LSB reference pattern, mask pattern, and mask pattern start signal input to the error detection unit 30 are in phase.
[0064] The second delay unit 29 delays the pattern start signal by a predetermined time and inputs it to the error detection unit 30 so that the MSB data, LSB data, pattern start signal, MSB reference pattern, LSB reference pattern, mask pattern, and mask pattern start signal input to the error detection unit 30 are in phase.
[0065] The error detection unit 30 detects and counts bit errors (MSB bit errors, LSB bit errors), PAM4 symbol errors, and FEC symbol errors using the MSB data and LSB data from the Flit pattern, the pattern start signal, the MSB reference pattern, the LSB reference pattern, the mask pattern, and the mask pattern start signal, and outputs the counting results to the operation unit 2.
[0066] 5 shows an example of a timing chart of various error detections by the error detection section 30 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 Flit pattern is transmitted to the device under test W.
[0067] 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 Flit pattern) of the input Flit pattern is compared with each corresponding bit of the MSB (corresponding to MSB reference pattern) of the reference Flit pattern, and each bit of the LSB (corresponding to LSB data in the Flit pattern) of the input Flit pattern is compared with each corresponding bit of the LSB (corresponding to LSB reference pattern) of the reference Flit pattern.
[0068] 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".
[0069] In contrast, the error results in the EIEOS and 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".
[0070] The error detection unit 30 aligns the phase of the mask pattern and mask pattern head signal input from the symbol mask generation unit 27 with the error detection result in units of FEC symbols, and outputs them together with the error detection result in units of FEC symbols to the Flit error detection unit 31. Here, instead of the mask pattern head from the symbol mask generation unit 27, the pattern head signal from the second delay unit 29 may be used.
[0071] The Flit error detection unit 31 detects and counts FEC symbol errors by separating the Flit area (mask signal is 0) from the EIEOS and SKP areas (mask signal is 1) using a mask pattern.
[0072] In addition, the Flit error detection unit 31 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.
[0073] It should be noted that the detection result of the Flit error detection unit 31 can also be used to perform capture and the like.
[0074] The synchronization state management unit 32 notifies the operation unit 2 of synchronization establishment when the amount of errors in the portion corresponding to Flit falls below the synchronization condition threshold based on error number information based on the error detection result of the error detection unit 30. Furthermore, the synchronization state management unit 32 notifies the operation unit 2 of synchronization unestablishment when the amount of errors in the portion corresponding to Flit exceeds the synchronization condition threshold based on error number information based on the error detection result of the error detection unit 30, and instructs the synchronization pattern detection unit 25 to reacquire the pattern head of the Flit pattern (re-search for the pattern head). Note that the destination of the notification of synchronization establishment or synchronization unestablishment is not limited to the operation unit 2. For example, it may be an external terminal device, and the user can be notified by a message display or voice, etc.
[0075] Next, the internal configuration of the Flit error detection unit 31 in FIG. 1 will be described with reference to FIG.
[0076] As shown in FIG. 6, the Flit error detection unit 31 is configured to include a Flit length timing counter 31a, an ECC Group timing counter 31b, a first ECC Group error detection unit 31c, a second ECC Group error detection unit 31d, a third ECC Group error detection unit 31e, a first ECC Group error counting unit 31f, a second ECC Group error counting unit 31g, a third ECC Group error counting unit 31h, a comparison unit 31i, and a Flit error counting unit 31j.
[0077] The Flit length timing counter 31a 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.
[0078] The ECC Group timing counter 31b is a counter used to distinguish ECC Groups, and outputs the remainder when the Flit length timing counter value is divided by three.
[0079] The first ECC Group error detection unit 31c detects an FEC symbol error when the counter value of the ECC Group timing counter 31b is 0 and the mask pattern is a Flit area (mask signal is 0).
[0080] The first ECC Group error counting unit 31f counts the number of FEC symbol errors in one Flit-length interval detected by the first ECC Group error detection unit 31c for each Flit-length interval.
[0081] The second ECC group error detection unit 31d detects an FEC symbol error when the counter value of the ECC group timing counter 31b is 1 and the mask pattern is a Flit area (mask signal is 0).
[0082] The second ECC Group error counting unit 31g counts the number of FEC symbol errors in one Flit-length interval detected by the second ECC Group error detection unit 31d for each Flit-length interval.
[0083] The third ECC Group error detection unit 31e detects an FEC symbol error when the counter value of the ECC Group timing counter 31b is 2 and the mask pattern is a Flit area (mask signal is 0).
[0084] The third ECC Group error counting unit 31h counts the number of FEC symbol errors in one Flit-length interval detected by the third ECC Group error detection unit 31e for each Flit-length interval.
[0085] The comparison unit 31i compares the number of FEC symbol errors in a 1 Flit-long section with the FEC symbol error threshold: n set by the operation unit 2, and outputs a Flit error detection signal to the Flit error count unit 31j 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.
[0086] The flit error counting section 31j counts the flit error detection signals from the comparing section 31i, and outputs the counting result (flit error count value) to the operation section 2.
[0087] 7 shows an example of a timing chart of FEC symbol error detection for each ECC Group by the Flit error detection unit 31 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.
[0088] 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.
[0089] 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.
[0090] 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. When measuring errors in the PCIe Gen6 physical layer, it is assumed that the device under test W has transitioned to a loopback state due to its own settings.
[0091] First, a PAM4 signal based on the bit string data of Flit is generated from the pattern generator 3 and transmitted to the device under test W in a loopback state (ST1).
[0092] 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). The MSB data and LSB data divided by the PAM4 decoder 21 are bit-multiplexed by the bit combiner 22 and output to the synchronization pattern detector 25.
[0093] Next, the EIEOS synchronization unit 23 finds the EIEOS pattern of PCIe Gen6 from the input data bit-MUXed by the bit combination unit 22, obtains 1b / 1b symbol synchronization, and aligns the input data at the symbol boundary before outputting it (ST3).
[0094] Next, the synchronization pattern detection unit 25 searches the data output from the EIEOS synchronization unit 23 for a pattern identical to the pattern head of the Flit pattern set by the operation unit 2, and outputs a pattern head signal (ST4).
[0095] Then, the reference pattern generating section 26 generates an MSB reference pattern and an LSB reference pattern based on the pattern obtained by equation (6) using the pattern head signal from the synchronization pattern detecting section 25 as a trigger (ST5).
[0096] Furthermore, the symbol mask generating section 27 generates a symbol mask pattern based on the mask pattern length and mask pattern period set by the operation section 2, using the pattern head signal from the synchronization pattern detecting section 25 as a trigger (ST6).
[0097] Then, the error detection unit 30 detects and counts bit errors, PAM4 symbol errors, and FEC symbol errors using the MSB data and LSB data of the Flit pattern, the pattern head signal, the MSB reference pattern, the LSB reference pattern, the mask pattern, and the mask pattern head signal (ST7). The count result at this time is output to the operation unit 2. At this time, when the amount of errors in the part corresponding to the Flit detected by the error detection unit 30 falls below the synchronization condition threshold, the synchronization state management unit 32 notifies the operation unit 2 that synchronization has been established. On the other hand, when the amount of errors in the part corresponding to the Flit detected by the error detection unit 30 exceeds the synchronization condition threshold, the synchronization state management unit 32 notifies the operation unit 2 that synchronization has not been established, and instructs the synchronization pattern detection unit 25 to reacquire the pattern head of the Flit pattern (research for the pattern head).
[0098] The Flit error detection unit 31 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.
[0099] In the above embodiment, the PAM4 signal based on the bit string data of the Flit 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 transitioning to a signal loopback state without performing link training. However, 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 Flit pattern to the error detector 4. In this case, information required for receiving the PAM4 signal based on the bit string data of the Flit pattern transmitted by the device under test W and detecting various errors (one period of the Flit pattern (including EIEOS, SKP) according to the number of lanes, the Flit length according to the number of lanes, the mask pattern length for masking the portion corresponding to SKP, the mask pattern period corresponding to the repetition period of SKP, the threshold for determining the Flit error, the mask pattern length for masking the portion corresponding to EIEOS, the EIEOS insertion period, and the pattern head) is set in advance in the operation unit 2.
[0100] In this way, according to this embodiment, the same Flit pattern as in the L0 state can be used without putting the DUT into the L0 state, and the relationship between bit errors and Flit errors can be correctly understood. Moreover, since no error correction is performed, the circuit scale can be reduced.
[0101] In addition, even in an environment where patterns protected by FEC and patterns not protected by FEC are mixed, it is possible to identify patterns protected by FEC and determine whether they are uncorrectable.
[0102] 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]
[0103] 1. Error rate measurement device 2 Control section 3 Pattern Generator 4. Error Detector 11 Flit pattern generator 12 Bit division section 13 PAM4 Encoder 21 PAM4 Decoder 22-bit synthesis section 23 EIEOS synchronization section 24-bit division 25 Synchronization pattern detection section 26 Reference pattern generator 27 Symbol Mask Generator 28 First Delay Section 29 Second Delay Section 30 Error detection section 31 Flit error detection section 31a Flit length timing counter 31b ECC Group Timing Counter 31c 1st ECC Group Error Detection Section 31d Second ECC Group Error Detection Section 31e 3rd ECC Group Error Detection 31f 1st ECC Group Error Counting Section 31g Second ECC Group Error Counting Section 31h 3rd ECC Group Error Count 31i comparison section 31j Flit Error Counting Unit 32 Synchronization Status Management Unit W Object to be measured
Claims
1. an operation unit (2) for setting one period of a Flit pattern including EIEOS and SKP OS according to the number of lanes defined in a high-speed bus standard, a Flit length according to the number of lanes, 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, a threshold value for determining a Flit error, a mask pattern length for masking a portion corresponding to the EIEOS, an insertion period of the EIEOS, and a pattern head of the Flit pattern; a symbol mask generating unit (27) for generating a mask pattern according to 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, a mask pattern length for masking a portion corresponding to the EIEOS, and an insertion period of the EIEOS; an error detecting unit (30) for receiving a PAM4 signal based on bit string data of the Flit pattern transmitted from a device under test (W), masking the portions corresponding to the EIEOS and the SKP OS of the received PAM4 signal with the mask pattern, and detecting and counting errors in the portion corresponding to the Flit; an error detector (4) including a Flit error detection unit (31) that detects FEC symbol errors for each Group, counts the number of FEC symbol errors, and determines that an error in which the number of FEC symbol errors exceeds a threshold is a Flit error; and a synchronization state management unit (32) that instructs reacquisition of the pattern head of the Flit pattern when the amount of errors in the part corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold; An error rate measuring device comprising:
2. a pattern generator (3) that generates a PAM4 signal based on bit string data of the Flit pattern and transmits the PAM4 signal to the device under test; 2. The error rate measuring apparatus according to claim 1, wherein the device under test can transition to a loopback state by its own setting, and when in the loopback state, a PAM4 signal based on bit string data of the Flit pattern transmitted from the pattern generator is looped back and transmitted to the error detector.
3. a step of setting, by an operation unit (2), one period of a Flit pattern including EIEOS and SKP OS according to the number of lanes defined in a high-speed bus standard, a Flit length according to the number of lanes, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to a repetition period of the SKP OS, a threshold value for determining a Flit error, a mask pattern length for masking a portion corresponding to the EIEOS, an insertion period of the EIEOS, and a pattern head of the Flit pattern; A step of generating a mask pattern by a symbol mask generating unit (27) of an error detector (4) having 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, a mask pattern length for masking a portion corresponding to the EIEOS, and an insertion period of the EIEOS; receiving a PAM4 signal based on the bit string data of the Flit pattern transmitted from the device under test (W) by an error detection unit (30) of the error detector, masking the parts of the received PAM4 signal corresponding to the EIEOS and SKP OS with the mask pattern, and detecting and counting errors in the parts corresponding to the Flit; a step of detecting an FEC symbol error for each ECC Group in the part corresponding to the Flit by a Flit error detection unit (31) of the error detector, counting the number of FEC symbol errors, and determining that an error in which the number of FEC symbol errors exceeds the threshold is a Flit error; and a step of instructing a synchronization state management unit (32) of the error detector to reacquire the head of the Flit pattern when the amount of errors in the part corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold.
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 Flit pattern from a pattern generator (3) and transmitting the signal to the device under test; and transmitting a PAM4 signal based on bit string data of the Flit pattern transmitted from the pattern generator to the device under test when the device under test is in a loopback state, from the device under test to the error detector.
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
