Error rate measurement device and error rate measurement method
The error rate measuring device addresses synchronization issues in PCIe Gen6 by measuring Flit errors through a Flit pattern with EIEOS and SKP OS exclusion, providing accurate error detection and uncorrectable pattern identification in mixed FEC environments.
Patent Information
- Application Number
- JP2024025635
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-20
- Filing Date
- 2024-02-22
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2044-02-22
AI Technical Summary
The existing error rate measurement devices cannot accurately measure bit errors and Flit errors in the PCIe Gen6 physical layer due to the absence of EIEOS in the Flit pattern, which is required for 1b/1b synchronization, leading to synchronization issues and incomplete error measurement.
The error rate measuring device measures one period of a Flit pattern including EIEOS and SKP OS, excluding these portions from the measurement target, and converts the received PAM4 signal to detect bit, PAM4, and FEC symbol errors, with the option to mask or filter SKP OS and select coding methods, while transitioning the device under test to a loopback state.
This approach allows for accurate measurement of both bit and Flit errors without placing the device in the L0 state, enabling correct understanding of error relationships and identifying FEC-guarded patterns, even in mixed FEC environments, and determining uncorrectable errors.
Smart Images

Figure 2024134525000001_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 and looped back from a device under test that transitions to a loopback state during link training. [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 5(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 measurement device according to claim 1 of the present invention comprises an operation unit 2 for setting one period of a Flit pattern including an EIEOS and a 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 threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; a pattern generator 3 that generates a PAM4 signal based on the bit string data of the Flit pattern and transmits the PAM4 signal to a device under test W in a loopback state; an error detector 4 including: an error detection unit 44 that receives a PAM4 signal based on the bit string data of the Flit pattern looped back and transmitted from the device under test in the loopback state, and detects and counts errors in the portion corresponding to the Flit while excluding portions of the received PAM4 signal corresponding to the EIEOS and the SKP OS from measurement targets; a Flit error detection unit 45 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 management unit 46 that issues an instruction to reacquire the pattern head of the Flit pattern when the amount of errors in the portion corresponding to the Flit detected by the error detection 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, When the portion corresponding to the SKP OS is excluded from the measurement target, the operation unit is used to select and set whether to mask the bit errors in the corresponding portion or to filter out and remove the SKP OS itself.
[0012] The error rate measurement device according to claim 3 of the present invention is the error rate measurement device according to claim 1, The present invention is characterized in that the selection unit selects and sets whether the portion corresponding to the Flit is to be decoded according to the high-speed standard or not to be decoded according to the high-speed standard.
[0013] The error rate measurement device according to claim 4 of the present invention is any one of the error rate measurement devices according to claims 1 to 3, The method is characterized in that link training is performed with the device under test, and the LTSSM of the device under test is transitioned to a loopback state.
[0014] The error rate measurement device according to claim 5 of the present invention comprises 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 threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; a pattern generator 3 that generates a PAM4 signal based on the bit string data of the Flit pattern and transmits the PAM4 signal to a device under test W in a loopback state; an error detector 4 including: an error detection unit 44 that receives a PAM4 signal based on the bit string data of the Flit pattern looped back and transmitted from the device under test in the loopback state, and detects and counts errors in the portion corresponding to the Flit while excluding portions of the received PAM4 signal corresponding to the EIEOS and the SKP OS from measurement targets; a Flit error detection unit 45 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 management unit 46 that issues an instruction to reacquire the pattern head of the Flit pattern when the amount of errors in the portion corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold; Equipped with When the portion corresponding to the SKP OS is excluded from the measurement target, the operation unit is used to select and set whether to mask the bit error in the corresponding portion or to filter and remove the SKP OS itself; The selection unit selects and sets whether the portion corresponding to the Flit is coded without decoding the high-speed standard or coded with decoding the high-speed standard; The method is characterized in that link training is performed with the device under test, and the LTSSM of the device under test is transitioned to a loopback state.
[0015] The error rate measurement method according to claim 6 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 according to the number of lanes defined in a high-speed bus standard, a Flit length according to the number of lanes, a threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; generating a PAM4 signal based on the bit string data of the Flit pattern using a pattern generator 3 and transmitting the signal to a device under test W in a loopback state; receiving a PAM4 signal based on the bit string data of the Flit pattern transmitted by the device under test in the loopback state by an error detection unit 44 of the error detector 4, detecting and counting errors in a portion corresponding to Flit while excluding portions corresponding to the EIEOS and SKP OS of the received PAM4 signal from measurement targets; The method includes a step of detecting FEC symbol errors for each ECC Group in the part corresponding to the Flit by a Flit error detection unit 45 of the error detector, counting the number of FEC symbol errors, and judging an FEC symbol error number exceeding the threshold as a Flit error, and a step of instructing a synchronization state management unit 46 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.
[0016] The error rate measurement method according to claim 7 of the present invention is the error rate measurement method according to claim 6, The present invention is characterized in that it includes a step of selecting and setting, in the operation unit, whether to mask bit errors in the corresponding part or to filter and remove the SKP OS itself when the part corresponding to the SKP OS is excluded from the measurement target.
[0017] The error rate measurement method according to claim 8 of the present invention is the error rate measurement method according to claim 6, The method includes a step of selecting and setting, by the selection unit, whether the portion corresponding to the Flit is to be decoded according to the high-speed standard or not to be decoded according to the high-speed standard.
[0018] The error rate measurement method according to claim 9 of the present invention is any one of the error rate measurement methods according to claims 6 to 8, The method includes a step of performing link training with the device under test and transitioning the LTSSM of the device under test to a loopback state.
[0019] The error rate measurement method according to claim 10 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 according to the number of lanes defined in a high-speed bus standard, a Flit length according to the number of lanes, a threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; generating a PAM4 signal based on the bit string data of the Flit pattern using a pattern generator 3 and transmitting the signal to a device under test W in a loopback state; receiving a PAM4 signal based on the bit string data of the Flit pattern transmitted by the device under test in the loopback state by an error detection unit 44 of the error detector 4, detecting and counting errors in a portion corresponding to Flit while excluding portions corresponding to the EIEOS and SKP OS of the received PAM4 signal from measurement targets; a step of detecting FEC symbol errors for each ECC Group in the portion corresponding to the Flit by a Flit error detection unit 45 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; a step of instructing a synchronization state management unit 46 of the error detector to reacquire the pattern head of the Flit pattern when an amount of errors in the portion corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold; When the portion corresponding to the SKP OS is excluded from the measurement target, a step of selecting and setting in the operation unit whether to mask the bit error in the corresponding portion or to filter and remove the SKP OS itself; a step of selecting and setting, by the selection unit, whether the portion corresponding to the Flit is to be coded without decoded according to the high-speed standard or to be coded with decoded according to the high-speed standard; and performing link training with the device under test and transitioning the LTSSM of the device under test to a loopback state. Effect of the Invention
[0020] 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]
[0021] [Figure 1] 1 is a block diagram showing a schematic configuration of an error rate measurement device according to the present invention; [Diagram 2] 2 is a block diagram showing the internal configuration of an error detector appearing in FIG. 1; [Diagram 3] 1 is an explanatory diagram of Flit defined in the PCI Express 6.0 standard. [Figure 4] 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. [Diagram 5]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. [Figure 6] 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 7] 3 is a block diagram showing an internal configuration of a Flit error detection unit in FIG. 2. [Figure 8] 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 9] 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
[0022] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0023] 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, with a device that transitions to a loopback state during link training as a device under test (DUT: Device Under Test) W, and is roughly configured with an operation unit 2, a pattern generator 3, and an error detector 4.
[0024] 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.
[0025] [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 3 and 4. 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.
[0026] One Flit is interleaved with three ECC Groups (ECC Group 0, ECC Group 1, and ECC Group 2) as shown in Fig. 3. One ECC Group is separated by one FEC symbol (4 PAM4 symbols = 8 bits).
[0027] 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.
[0028] Further explanation will be given with reference to Fig. 4. Fig. 4 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. 4, 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.
[0029] For example, the case where the FEC symbol error threshold is n≧2 will be described with reference to Fig. 4. In A (number of Flits: 3) surrounded by the dotted line in Fig. 4, 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.
[0030] In contrast, in B (number of Flits: 5) surrounded by the dotted line in Figure 4, 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.
[0031] Also, in C (number of Flits: 9) surrounded by the dotted line in FIG. 4, 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.
[0032] 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).
[0033] 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.
[0034] [Overview of the present invention] As shown in Fig. 5(a), the error rate measurement device 1 uses a Flit pattern with EIEOS periodically inserted as a pattern to be transmitted after putting the device under test W into a loopback state by link training, and simultaneously measures errors (bit errors, PAM4 symbol errors, FEC symbol errors) and Flit errors. At this time, the pattern at the SKP OS (SKP Ordered Sets, hereinafter abbreviated as SKP: illustrated 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.
[0035] When performing the above error measurement, there are two methods for excluding the part corresponding to SKP from the measurement target: a method for masking the bit error in the corresponding part, and a method for filtering out and removing the SKP itself, which can be selected on the operation unit 2. In addition, for the part corresponding to Flit, it is possible to select on the operation unit 2 between no PCIe Gen6 coding release and PCIe Gen6 coding release, making it possible to check the occurrence of errors depending on whether coding release is performed or not.
[0036] 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:
[0037] 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.
[0038] 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)).
[0039] LCM(LFSR_L, Flit_L)=LCM_LFSR_Flit…Formula (1)
[0040] From this, the number of Flits that reach the LCM, LCM_Flit [Flit], is expressed as in the following formula (2).
[0041] LCM_Flit=LCM_LFSR_Flit / Flit_L…Formula (2)
[0042] 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.
[0043] LCM_skp_t=ceil(LCM_Flit / t)…Formula (3)
[0044] 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).
[0045] Flit_1fsr_t=t×LCM_skp_t…Equation (4)
[0046] 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).
[0047] Flit_size[bit]=SKP_L+t×Flit_L…Equation (5)
[0048] Note that SKP_L is the SKP pattern length [bit].
[0049] Therefore, the pattern length L [bit] can be calculated by the following formula (6).
[0050] L [bit] = EIEOS length [bit] + (LCM_skp_t × Flit_size) × n [bit] (n = integer equal to or greater than 1) ... Equation (6)
[0051] The number of Flits included in this pattern length L [bits] is given by equation (4)×n.
[0052] The EIEOS length is 128 bits, and if n is set large, the EIEOS at the pattern length L [bits] can be almost ignored.
[0053] 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.
[0054] 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.
[0055] [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.
[0056] The settings made by the operation unit 2 include one period of the Flit pattern (including EIEOS and 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 SKP repetition period, 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 head of the Flit pattern.In addition, the operation unit 2 allows the selection of a method for excluding SKP from the measurement target, either a method for masking the bit error in the corresponding portion or a method for filtering and removing the SKP itself, and allows the selection of either no PCIe Gen6 coding release or PCIe Gen6 coding release for the Flit portion.
[0057] The pattern generator 3 generates a Flit error measurement pattern in accordance with instructions from the operation unit 2, and as shown in FIG. 1, is configured to include a first selection unit 11, a first sequence generation unit 12, a second sequence generation unit 13, a measurement pattern generation unit 14, a first encoder 15, a second encoder 16, a second selection unit 17, a bit division unit 18, and a PAM4 encoder 19.
[0058] The first selection unit 11 selects one of the transmission completion signals from the first sequence generation unit 12, the second sequence generation unit 13, and the measurement pattern generation unit 14 according to the link speed, and outputs the selected signal to the LTSSM .
[0059] The first sequence generating unit 12 selectively generates training sequences (TSx OS) such as TS1, TS2, EIEOS, SKP used in PCIe Gen1-2 and training sequences (TSx OS) such as TS1, TS2, EIEOS, SKP used in PCIe Gen3-5.
[0060] The second sequence generating unit 13 generates training sequences (TSx OS) such as TS0, TS1, TS2, EIEOS, and SKP used in PCIe Gen6.
[0061] The measurement pattern generating unit 14 generates a Flit pattern (a pattern calculated by equation (6) (including EIEOS, SKP)) according to the number of lanes set in the operation unit 2 as a pattern that serves as the basis for the Flit error measurement pattern to be transmitted to the object to be measured W.
[0062] The first encoder 15 is composed of an 8b / 10b encoder and a 128b / 130b encoder. The 8b / 10b encoder performs 8b / 10b encoding, which is used in PCIe Gen1-2, on the training sequence generated by the first sequence generating unit 12. The 128b / 130b encoder performs 128b / 130b encoding, which is used in PCIe Gen3-5, on the training sequence generated by the first sequence generating unit 12.
[0063] The second encoder 16 performs 1b / 1b encoding, which is used in PCIe Gen6, on the training sequence generated by the second sequence generating unit 13.
[0064] The second selection unit 17 selects output data from one of the measurement pattern generation unit 14 , the first encoder 15 , and the second encoder 16 depending on the LTSSM state and the link speed from the LTSSM 36 .
[0065] The bit division unit 18 divides the input signal into most significant bit string data (hereinafter referred to as MSB data) and least significant bit string data (hereinafter referred to as LSB data) according to the link speed instructed by the LTSSM 36. In addition, in PCIe Gen1-5, the same signal is output to the MSB data and LSB data so as to be NRZ, and in PCIe Gen6, the input signal is bit-interleaved to be a PAM4 signal and output to the MSB data and LSB data.
[0066] The PAM4 encoder 19 PAM4-encodes the MSB data and LSB data divided by the bit dividing unit 18, and outputs the PAM4-encoded PAM4 signal as a Flit error measurement pattern.
[0067] When the Flit error measurement pattern (PAM4 signal) is transmitted from the pattern generator 3 to the device under test W, the error detector 4 detects an error by receiving the Flit error measurement pattern (PAM4 signal) looped back from the device under test W that has transitioned to a loopback state by link training. As shown in FIG. 2, the error detector 4 includes a PAM4 decoder 21, a bit synthesis unit 22, a first synchronization unit 23, a first SKP filter unit 24, a processing circuit 25, a first scramble analysis unit 26, a second synchronization unit 27, a second The decoder 30 is configured with a SKP filter unit 28, a precoding decoder 29, a first delay unit 30, a first selection unit 31, a graycoding decoder 32, a second delay unit 33, a second selection unit 34, a second scramble analysis unit 35, an LTSSM 36, a third selection unit 37, a bit division unit 38, a synchronization pattern detection unit 39, a reference pattern generation unit 40, a symbol mask generation unit 41, a third delay unit 42, a fourth delay unit 43, an error detection unit 44, a flit error detection unit 45, and a synchronization state management unit 46.
[0068] 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.
[0069] The bit combiner 22 combines the MSB data and LSB data decoded by the PAM4 decoder 21 using bit MUX, and outputs the combined data to the first synchronizer 23 and the second synchronizer 27.
[0070] The first synchronization unit 23, the first SKP filter unit 24, the processing circuit 25, and the first scramble analysis unit 26 are circuits compatible with PCIe Gen1-5.
[0071] The first synchronization unit 23 is composed of an 8b / 10b synchronization unit and a 128b / 130b synchronization unit. The 8b / 10b synchronization unit finds a PCIe Gen1-2 comma pattern from the data combined by the bit combination unit 22, synchronizes symbols at 10-bit intervals, and outputs input data aligned at symbol boundaries. Here, the comma pattern is composed of 7 bits, Comma+(0011111) or Comma-(1100000), and is a single pattern when looking at consecutive 7 bits in a pattern after 8b / 10b encoding. If there is no bit error, this pattern will not appear beyond the 10-bit boundary, so it is used to find the 10-bit interval. Also, the 128b / 130b synchronization unit finds an EIEOS pattern of PCIe Gen3-5 from the data combined by the bit combination unit 22, synchronizes symbols at 130-bit intervals, and outputs input data aligned at symbol boundaries.
[0072] The first SKP filter unit 24 identifies the SKP of PCIe Gen1-5 from the input bit string from the first synchronization unit 23, and removes the SKP from the input bit string.
[0073] The processing circuit 25 is configured to include an 8b / 10b decoder, a 128b / 130b decoder, a precoding decoder, a delay circuit, and a selection circuit. The 8b / 10b decoder is a decoder that performs 8b / 10b code conversion used in PCIe Gen1-2, and converts an input bit string of 10-bit symbols from which SKP has been removed by the first SKP filter unit 24 into 8-bit symbols. The 128b / 130b decoder is a decoder that performs 128b / 130b code conversion used in PCIe Gen3-5, and converts an input bit string of 130-bit symbols from which SKP has been removed by the first SKP filter unit 24 into 128-bit symbols. The precoding decoder is a decoder for canceling the precoding of PCIe Gen5 in the data decoded by the 128b / 130b decoder. The delay circuit has the same delay amount as the processing time of the precoding decoder, and outputs data from the 128b / 130b decoder in the same phase as the precoding decoder. The selection circuit selects the output of either the precoding decoder or the delay circuit according to an instruction from the LTSSM 36 .
[0074] The first scramble analysis unit 26 is composed of a descrambler for descrambling the data from the processing circuit 25 in PCIe Gen1-2 and a descrambler for descrambling the data in PCIe Gen3-5.
[0075] When the second synchronization unit 27 finds the EIEOS pattern of PCIe Gen6 from the data combined by the bit combination unit 22, it performs 1b / 1b symbol synchronization at 8-bit boundaries and outputs the input data by aligning it at the symbol boundary.
[0076] The second SKP filter unit 28 identifies the SKP of PCIe Gen6 from the input bit string from the second synchronization unit 27, and removes the SKP from the input bit string.
[0077] The precoding decoder 29 is a decoder for removing the PCIe Gen6 precoding from the input bit string from which the SKP has been removed by the second SKP filter unit 28.
[0078] The first delay unit 30 has the same delay amount as the processing time of the precoding decoder 29 , and outputs the data from the second SKP filter unit 28 in phase with the precoding decoder 29 .
[0079] The first selection unit 31 selects either the output of the precoding decoder 29 or the output of the first delay unit 30 in response to an instruction from the LTSSM .
[0080] The graycoding decoder 32 is a decoder for canceling the graycoding of PCIe Gen6 for the input bit string selected by the first selection unit 31.
[0081] The second delay unit 33 has the same delay amount as the processing time of the Graycoding decoder 32 , and outputs the input bit string selected by the first selection unit 31 in the same phase as the Graycoding decoder 32 .
[0082] The second selection unit 34 selects either the output of the Graycoding decoder 32 or the output of the second delay unit 33 according to an instruction from the LTSSM 36 .
[0083] The second scramble analysis unit 35 is a descrambler for descrambling the data selected by the second selection unit 34 in accordance with PCIe Gen6.
[0084] The LTSSM 36 is a state machine that analyzes the first scramble analyzer 26, TS0 (output only from the second scramble analyzer 35), TS1 and TS2 training sequences, idle symbols, and idle Flits from the second scramble analyzer 35, and advances the LTSSM value (internal state value) and Link Speed. The LTSSM 36 also generates a transmission REQ to the pattern generator and manages the transmission pattern by receiving a transmission ACK from the pattern generator.
[0085] The third selection unit 37 is a selector that selects from among the input raw data from the second synchronization unit 27, the data after SKP removal from the second SKP filter unit 28, and the data after decryption and removal of the SKP from the second scramble analysis unit 35, i.e., precoding, graycoding, and descrambled data, and is selected according to instructions from the operation unit 2.
[0086] The bit dividing section 38 divides the data selected and output by the third selection section 37 into MSB data and LSB data by bit DMUX, and outputs the data to the third delay section 42 .
[0087] The synchronization pattern detection section 39 searches the data outputted by the third selection section 37 for a pattern identical to the pattern head of the Flit pattern set by the operation section 2, and outputs a pattern head signal.
[0088] The reference pattern generation unit 40 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 39 as a trigger.
[0089] The symbol mask generation unit 41 uses the pattern head signal from the synchronization pattern detection unit 39 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 41 outputs the mask pattern head signal to the error detection unit 44.
[0090] 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: EIEOS area, SKP area. The mask pattern corresponding to FIG. 5(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 41. In addition, when the data after SKP removal from the second SKP filter unit 28 or the data after SKP removal from the second scramble analysis unit 35 and PCIe Gen6 code is decoded is selected by the third selection unit 37, the data input to the error detection unit 44 has SKP removed, so a pattern without a mask of the SKP area is set (a mask pattern that distinguishes the EIEOS area is set).
[0091] The third delay unit 42 delays the MSB data and LSB data by a predetermined time and inputs them to the error detection unit 44 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 44 are in phase.
[0092] The fourth delay unit 43 delays the pattern start signal by a predetermined time and inputs it to the error detection unit 44 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 44 are in phase.
[0093] The error detection unit 44 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.
[0094] 6 shows an example of a timing chart of various error detections by the error detection unit 44 of the error rate measurement device 1. FIG. 6 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.
[0095] An example will be described focusing on CLK positions 1 to 36 after input of the mask pattern head signal in Fig. 6. 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.
[0096] 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".
[0097] In contrast, the error results in the EIEOS and SKP area (mask signal is 1) 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".
[0098] The error detection unit 44 aligns the phase of the mask pattern and mask pattern head signal input from the symbol mask generation unit 41 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 45. Here, instead of the mask pattern head from the symbol mask generation unit 41, the pattern head signal from the fourth delay unit 43 may be used.
[0099] The Flit error detection unit 45 detects and counts FEC symbol errors by separating the Flit area (mask signal is 0) from the EIEOS, SKP area (mask signal is 1) using a mask pattern.
[0100] In addition, the Flit error detection unit 45 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.
[0101] It should be noted that the detection result of the Flit error detection unit 45 can also be used to perform capture and the like.
[0102] The synchronization state management unit 46 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 44. Furthermore, the synchronization state management unit 46 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 44, and instructs the synchronization pattern detection unit 39 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 unestablishment 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 voice, etc.
[0103] Next, the internal configuration of the Flit error detection unit 45 in FIG. 2 will be described with reference to FIG.
[0104] As shown in Figure 7, the Flit error detection unit 45 is composed of a Flit length timing counter 45a, an ECC Group timing counter 45b, a first ECC Group error detection unit 45c, a second ECC Group error detection unit 45d, a third ECC Group error detection unit 45e, a first ECC Group error counting unit 45f, a second ECC Group error counting unit 45g, a third ECC Group error counting unit 45h, a comparison unit 45i, and a Flit error counting unit 45j.
[0105] The Flit length timing counter 45a 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.
[0106] The ECC Group timing counter 45b is a counter used to distinguish ECC Groups, and outputs the remainder when the Flit length timing counter value is divided by three.
[0107] The first ECC Group error detection unit 45c detects an FEC symbol error when the counter value of the ECC Group timing counter 45b is 0 and the mask pattern is a Flit area (mask signal is 0).
[0108] The first ECC Group error counting unit 45f counts the number of FEC symbol errors in one Flit-length interval detected by the first ECC Group error detection unit 45c for each Flit-length interval.
[0109] The second ECC Group error detection unit 45d detects an FEC symbol error when the counter value of the ECC Group timing counter 45b is 1 and the mask pattern is a Flit area (mask signal is 0).
[0110] The second ECC Group error counting unit 45g counts the number of FEC symbol errors in one Flit-length interval detected by the second ECC Group error detection unit 45d for each Flit-length interval.
[0111] The third ECC Group error detection unit 45e detects an FEC symbol error when the counter value of the ECC Group timing counter 45b is 2 and the mask pattern is a Flit area (mask signal is 0).
[0112] The third ECC Group error counting unit 45h counts the number of FEC symbol errors in one Flit-length interval detected by the third ECC Group error detection unit 45e for each Flit-length interval.
[0113] The comparison unit 45i 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 45j 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.
[0114] The flit error counting section 45j counts the flit error detection signals from the comparing section 45i, and outputs the counting result (flit error count value) to the operation section 2.
[0115] 8 shows an example of a timing chart of FEC symbol error detection for each ECC Group by the Flit error detection unit 45 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.
[0116] Focusing on the Flit area of CLK positions 0 to 15 in Fig. 8, "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.
[0117] Incidentally, since the CLK positions 16 to 20 and 37 to 41 in the SKP area in FIG. 8 are masked by the mask pattern, error detection and counting are not performed.
[0118] Next, the processing operation when measuring errors in the PCIe Gen6 physical layer by the error rate measurement device 1 configured as above will be described with reference to the flowchart in Fig. 9. Note that when measuring errors in the PCIe Gen6 physical layer, it is assumed that the error rate measurement device 1 operates normally up to PCIe Gen1-5 and that the device under test W has transitioned to the Gen6 loopback state by link training.
[0119] 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 the Gen6 loopback state (ST1).
[0120] 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 second synchronizer 27.
[0121] Then, when the second synchronization unit 27 finds the PCIe Gen6 EIEOS pattern from the data combined by the bit combination unit 22, it performs 1b / 1b symbol synchronization at 8-bit intervals, aligns the input data at the symbol boundary, and outputs it to the second SKP filter unit 28 and the third selection unit 37 (ST3).
[0122] Next, the synchronization pattern detection unit 39 searches for a pattern identical to the pattern head of the Flit pattern set by the operation unit 2 from the data selected by the third selection unit 37 (any of the data from the second synchronization unit 27, the data from the second SKP filter unit 28, or the data from the second scramble analysis unit 35) and outputs a pattern head signal (ST4).
[0123] Here, when the above-mentioned third selection unit 37 selects data, the following process is executed. First, the second SKP filter unit 28 removes SKP from the input bit string from the second synchronization unit 27, and outputs the result to the precoding decoder 29, the first delay unit 30, and the third selection unit 37. Then, the precoding decoder 29 cancels the precoding of PCIe Gen6 from the input bit string from which the SKP has been removed, and outputs the result to the first selection unit 31. Also, the first delay unit 30 outputs the input bit string from the second SKP filter unit 28 to the first selection unit 31 in the same phase as the precoding decoder 29. Then, in the first selection unit 31, the output of either the precoding decoder 29 or the first delay unit 30 is selected in response to an instruction from the LTSSM 36, and the selected output is input to the Graycoding decoder 32 and the second delay unit 33.
[0124] Next, the Graycoding decoder 32 cancels the graycoding of PCIe Gen6 for the input bit string selected by the first selection unit 31, and outputs the result to the second selection unit 34. Furthermore, the second delay unit 33 outputs the input bit string from the first selection unit 31 to the second selection unit 34 in the same phase as the Graycoding decoder 32. Then, in the second selection unit 34, the output of either the Graycoding decoder 32 or the second delay unit 33 is selected in response to an instruction from the LTSSM 36, and the selected output is input to the second scramble analysis unit 35. Furthermore, the second scramble analysis unit 35 cancels the scrambling applied in PCIe Gen6 from the data selected by the second selection unit 34, and outputs the result to the LTSSM 36 and the third selection unit 37.
[0125] Then, the reference pattern generating section 40 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 39 as a trigger (ST5).
[0126] Furthermore, the symbol mask generating section 41 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 39 as a trigger (ST6).
[0127] Then, the error detection unit 44 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 that time, when the amount of errors in the part corresponding to the Flit detected by the error detection unit 44 falls below the synchronization condition threshold, the synchronization state management unit 46 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 44 exceeds the synchronization condition threshold, the synchronization state management unit 46 notifies the operation unit 2 that synchronization has not been established, and instructs the synchronization pattern detection unit 39 to reacquire the pattern head of the Flit pattern (research for the pattern head).
[0128] The Flit error detection unit 45 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.
[0129] 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.
[0130] 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.
[0131] Furthermore, the data for error measurement can be selected from raw input data, data after SKP has been removed, and data after SKP has been removed and the PCIe Gen6 code has been decoded, making it possible to accurately grasp the occurrence of bit errors and flit errors due to PCIe Gen6 coding.
[0132] Furthermore, even if the error rate is high and it is difficult to remove SKP, it is possible to exclude SKP from measurement by selecting a method for masking bit errors in the SKP portion.
[0133] 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]
[0134] 1. Error rate measurement device 2 Control section 3 Pattern Generator 4. Error Detector 11 First Selection Section 12 First sequence generator 13 Second sequence generator 14 Measurement pattern generator 15 First Encoder 16 Second Encoder 17 Second Selection Section 18-bit division 19 PAM4 Encoder 21 PAM4 Decoder 22-bit synthesis section 23 First Synchronization Section 24 1st SKP filter section 25 Processing circuit 26 First scramble analysis unit 27 Second Synchronization Section 28 2nd SKP filter section 29 Precoding Decoder 30 First Delay Section 31 First Selection Section 32 Graycoding Decoder 33 Second Delay Section 34 Second Selection Section 35 Second scramble analysis unit 36 LTSSM 37 Third Selection Section 38 bit division 39 Synchronization pattern detector 40 Reference pattern generator 41 Symbol mask generator 42 Third Delay Section 43 Fourth Delay Section 44 Error detection section 45 Flit error detection section 45a Flit length timing counter 45b ECC Group Timing Counter 45c 1st ECC Group Error Detection Section 45d Second ECC Group Error Detection Section 45e 3rd ECC Group Error Detection 45f 1st ECC Group Error Counting Section 45g Second ECC Group Error Counting Section 45h 3rd ECC Group Error Count 45i comparison section 45j Flit error count section 46 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 threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; a pattern generator (3) that generates a PAM4 signal based on the bit string data of the Flit pattern and transmits the PAM4 signal to a device under test (W) in a loopback state; an error detector (4) including: an error detection unit (44) that receives a PAM4 signal based on bit string data of the Flit pattern looped back and transmitted from the device under test in the loopback state, and detects and counts errors in the part corresponding to the Flit by excluding the part corresponding to the EIEOS and the SKP OS of the received PAM4 signal from the measurement target; a Flit error detection unit (45) that detects FEC symbol errors for each ECC Group in the part 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 management unit (46) 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. 2. The error rate measuring device according to claim 1, wherein when the portion corresponding to the SKP OS is excluded from the measurement target, the operation unit is configured to selectively mask bit errors in the corresponding portion or to filter out and remove the SKP OS itself.
3. 2. The error rate measuring device according to claim 1, wherein the selection unit selects and sets whether the portion corresponding to the Flit is to be coded without decode of the high-speed standard or coded with decode of the high-speed standard.
4. 4. The error rate measuring apparatus according to claim 1, further comprising: carrying out link training with said device under test; and causing an LTSSM of said device under test to transition to a loopback state.
5. 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 threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; a pattern generator (3) that generates a PAM4 signal based on the bit string data of the Flit pattern and transmits the PAM4 signal to a device under test (W) in a loopback state; an error detector (4) including: an error detection unit (44) that receives a PAM4 signal based on bit string data of the Flit pattern looped back and transmitted from the device under test in the loopback state, and detects and counts errors in the part corresponding to the Flit by excluding the part corresponding to the EIEOS and the SKP OS of the received PAM4 signal from the measurement target; a Flit error detection unit (45) that detects FEC symbol errors for each ECC Group in the part 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 management unit (46) 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; Equipped with When the portion corresponding to the SKP OS is excluded from the measurement target, the operation unit is used to select and set whether to mask the bit error in the corresponding portion or to filter and remove the SKP OS itself; The selection unit selects and sets whether the portion corresponding to the Flit is coded without decoding the high-speed standard or coded with decoding the high-speed standard; 2. An error rate measuring apparatus comprising: a device under test (DUT) for performing link training with the device under test; and causing an LTSSM of the device under test to transition to a loopback state.
6. 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 threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; generating a PAM4 signal based on the bit string data of the Flit pattern using a pattern generator (3) and transmitting the signal to a device under test (W) in a loopback state; receiving a PAM4 signal based on the bit string data of the Flit pattern transmitted by the device under test in the loopback state by an error detection unit (44) of an error detector (4), detecting and counting errors in a part corresponding to Flit while excluding the part corresponding to the EIEOS and the SKP OS of the received PAM4 signal from the measurement target; 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 (45) of the error detector, counting the number of FEC symbol errors, and determining that an FEC symbol error number that exceeds the threshold is a Flit error; and when an 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 (46) of the error detector instructs reacquisition of the head of the Flit pattern.
7. The error rate measuring method according to claim 6, further comprising a step of selecting and setting in the operation unit whether to mask bit errors in the corresponding part or to filter and remove the SKP OS itself when the part corresponding to the SKP OS is excluded from the measurement target.
8. 7. The error rate measuring method according to claim 6, further comprising a step of selecting and setting, by the selection unit, whether the portion corresponding to the Flit is coded without decode of the high-speed standard or coded with decode of the high-speed standard.
9. 9. The error rate measuring method according to claim 6, further comprising the step of performing link training with said device under test and transitioning an LTSSM of said device under test to a loopback state.
10. 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 threshold value for determining a Flit error, an insertion period of the EIEOS, and a pattern head of the Flit pattern; generating a PAM4 signal based on the bit string data of the Flit pattern using a pattern generator (3) and transmitting the signal to a device under test (W) in a loopback state; receiving a PAM4 signal based on the bit string data of the Flit pattern transmitted by the device under test in the loopback state by an error detection unit (44) of an error detector (4), detecting and counting errors in a part corresponding to Flit while excluding the part corresponding to the EIEOS and the SKP OS of the received PAM4 signal from the measurement target; 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 (45) of the error detector, counting the number of FEC symbol errors, and determining that an FEC symbol error number that exceeds the threshold is a Flit error; a step of instructing a synchronization state management unit (46) of the error detector to reacquire the pattern head of the Flit pattern when an amount of errors in the portion corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold; A step of selecting and setting, in the operation unit, whether to mask bit errors in the corresponding portion or to filter and remove the SKP OS itself when the portion corresponding to the SKP OS is excluded from the measurement target; A step of selecting and setting, by the selection unit, whether the portion corresponding to the Flit is coded without decoding of the high-speed standard or coded with decoding of the high-speed standard; performing link training with the device under test and transitioning an LTSSM of the device under test to a loopback state.
Citation Information
Patent Citations
Bit error measurement device and method for modem device
JP1999163838A
Debugging circuit using data filtering function
JP2004056661A
Error rate measurement device and error rate measurement method
JP2017098615A
Network test device and network test method
JP2021136651A
Error rate measurement device and error rate measurement method
JP2021158415A
Cited By
Signal generating device and signal generating method
JP7892097B1
Signal generating device and signal generating method
JP7892098B1
