Error rate measurement device and error rate measurement method
The error rate measuring device addresses the challenge of assessing Flit errors in PCI Express 6.0 by using EIEOS and SKP OS patterns to detect and count FEC symbol errors, ensuring accurate Flit error identification and reduced circuit complexity.
Patent Information
- Application Number
- JP2023044406
- 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
Existing error rate measurement methods for PCI Express 6.0 fail to accurately assess Flit errors due to the absence of FEC guard and differing patterns between MCP and FEC-guarded Flits, making it difficult to understand the actual Flit error situation.
An error rate measuring device and method that incorporates EIEOS and SKP OS patterns, along with mask patterns and threshold settings, to detect and count Flit errors by masking non-Flit areas and counting FEC symbol errors, distinguishing between Flits and other areas.
Enables accurate identification of Flit errors and FEC symbol status, allowing for the estimation of potential Flit errors even in environments with mixed FEC-guarded and non-FEC-guarded patterns, reducing circuit complexity.
Smart Images

Figure 2024134212000001_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 MCP bit string data 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. The MCP prepared for performance indicators is a different pattern from FEC-guarded Flit, and does not have error correction by FEC. For this reason, there was a problem that it was difficult to grasp the Flit error situation when the Flit pattern was actually transmitted by only evaluating the bit error situation using MCP with a pattern length and SKP OS (SKP Ordered Sets) interval different from Flit.
[0007] Therefore, the present invention has been made in consideration of the above problems, and has an object to provide an error rate measurement device and an error rate measurement method that use an MCP to simultaneously measure not only bit errors but also Flit errors. [Means for solving the problem]
[0008] 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 an MCP including an EIEOS and a SKP OS, a pattern length of the MCP, a Flit length corresponding to the number of lanes defined in a high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to 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, a pattern head of the MCP, and a selection of SRIS or Not SRIS; 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 MCP transmitted from a device under test W, divides an MCP scrambled area of the received PAM4 signal into pseudo-partitions of the Flit length, masks the portion corresponding to the EIEOS and the SKP OS with the mask pattern, and detects and counts errors in the portion corresponding to the Flit; 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 is a Flit error; and a synchronization state managing unit 32 that instructs reacquisition of the pattern head of the MCP when the amount of errors in the portion corresponding to the Flit detected by the error detecting unit exceeds a synchronization condition threshold; The present invention is characterized by comprising:
[0009] 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 the bit string data of the MCP 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 MCP bit string data transmitted from the pattern generator back to the error detector.
[0010] The error rate measurement method described in claim 3 of the present invention includes the steps of setting, by an operation unit 2, an MCP including EIEOS and SKP OS, a pattern length of the MCP, a Flit length corresponding to the number of lanes defined in a high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to a repetition period of the SKP OS, a threshold for determining a Flit error, a mask pattern length for masking a portion corresponding to the EIEOS, an insertion period of the EIEOS, a pattern head of the MCP, and a selection of SRIS or Not SRIS; 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 MCP transmitted from the device under test W by an error detection unit 30 of the error detector, dividing the MCP scrambled area of the received PAM4 signal into pseudo-partitions of the Flit length, masking the parts corresponding to the EIEOS and the 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 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 further includes a step of instructing a synchronization state management unit 32 of the error detector to reacquire the head of the pattern of the MCP when the amount of errors in the part corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold value.
[0011] The error rate measurement method according to claim 4 of the present invention is the error rate measurement method according to claim 3, The device under test can transition to a loopback state by its own setting, generating a PAM4 signal based on the bit string data of the MCP 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 MCP 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
[0012] According to the present invention, it is possible to use the MCP used in the physical layer evaluation of PCI Express 6.0 to pseudo-assign Flit size, distinguish between Flit and other, and estimate whether a Flit error will occur from the FEC symbol error status in the Flit area. 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 judge whether they will become Uncorrectable. [Brief description of the drawings]
[0013] [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. 1 is a schematic explanatory diagram of an error measurement method using an error rate measurement device according to the present invention when a Not SRIS pattern is used. [Diagram 5] FIG. 2 is a schematic diagram illustrating an error measurement method using the error rate measurement device according to the present invention when an SRIS pattern is used. [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]2 is a block diagram showing an internal configuration of a Flit error detection unit in FIG. 1. [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
[0014] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0015] As shown in FIG. 1, the error rate measuring apparatus 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 an MCP (Modified Compliance 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 to include an operation unit 2, a pattern generator 3, and an error detector 4.
[0016] 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.
[0017] [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.
[0018] 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).
[0019] 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.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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).
[0025] 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.
[0026] [Overview of the present invention] As shown in Fig. 4 and Fig. 5, the error rate measurement device 1 divides the scrambled area (16 1b / 1b symbols x 256 blocks = 32768 bits) of the MCP at regular intervals (pseudo-divides into Flit length: 256 FEC symbols = 2048 bits) in the error detector 4, and simultaneously measures bit errors and Flit errors in the part corresponding to Flit. 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 (Electrical Idle Exit Ordered Set) position is further masked to exclude it from the measurement, and errors (bit errors, PAM4 symbol errors, FEC symbol errors) are counted only in the part corresponding to Flit. In addition, for the Flit part, 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. There are two types of MCP: Not SRIS pattern and SRIS pattern. As shown in FIG. 4 and FIG. 5, measurements can be performed with either pattern.
[0027] [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.
[0028] The settings that can be set by the operation unit 2 include MCP (including EIEOS, SKP), MCP pattern length, Flit length according to the number of lanes, mask pattern length for masking the portion corresponding to SKP, mask pattern period corresponding to the SKP repetition period, threshold for determining Flit errors, mask pattern length for masking the portion corresponding to EIEOS, EIEOS insertion period, MCP pattern start, and selection of SRIS or Not SRIS.
[0029] The pattern generator 3 generates an MCP error measurement pattern in accordance with instructions from the operation unit 2, and is configured with an MCP generating unit 11, a bit dividing unit 12, and a PAM4 encoder 13, as shown in FIG.
[0030] The MCP generating unit 11 generates an MCP with one period of the MCP (including EIEOS and SKP) set in the operation unit 2 and a Flit length according to the number of lanes as a pattern that is the basis of an MCP error measurement pattern to be transmitted to the device under test W.
[0031] The bit dividing section 12 divides the MCP generated by the MCP 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).
[0032] 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 an MCP error measurement pattern.
[0033] The error detector 4 detects errors by receiving the MCP error measurement pattern (PAM4 signal) that is looped back by the device under test W itself when the MCP 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.
[0034] The PAM4 decoder 21 decodes and separates the PAM4 symbols of the MCP error measurement pattern (PAM4 signal) received from the device under test W into MSB data and LSB data.
[0035] 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.
[0036] 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.
[0037] 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.
[0038] The synchronization pattern detection unit 25 searches the data output from the EIEOS synchronization unit 23 for a pattern identical to the head of the MCP pattern set by the operation unit 2, and outputs a pattern head signal.
[0039] The reference pattern generating unit 26 generates an MSB reference pattern and an LSB reference pattern based on the MCP (including EIEOS and SKP) set in the operation unit 2, using the pattern head signal from the synchronization pattern detecting unit 25 as a trigger.
[0040] 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.
[0041] In addition, in the MCP of PCIe Gen6, 1 FEC symbol = 8 bits, and 1 FEC symbol is bit interleaved into MSB data and LSB data, so it becomes a mask in 4PAM4 symbol units. In this embodiment, 0: Flit area, 1: EIEOS area, SKP area. Mask patterns corresponding to Figures 4 and 5 are calculated in advance by the setting operation of the operation unit 2, and are set in the internal memory of the symbol mask generation unit 27.
[0042] 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.
[0043] 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.
[0044] 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 MCP, 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.
[0045] 6 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 6 shows an example of a timing chart when a PAM4 signal based on MCP bit string data is transmitted to the device under test W.
[0046] 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 by MCP) of the input MCP is compared with each corresponding bit of the MSB (corresponding to MSB reference pattern) of the reference MCP, and each bit of the LSB (corresponding to LSB data by MCP) of the input MCP is compared with each corresponding bit of the LSB (corresponding to LSB reference pattern) of the reference MCP.
[0047] 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".
[0048] 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".
[0049] 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.
[0050] The Flit error detection unit 31 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.
[0051] 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.
[0052] 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.
[0053] 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, 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, the synchronization state management unit 32 notifies the operation unit 2 of synchronization unestablishment and instructs the synchronization pattern detection unit 25 to reacquire the pattern head of the MCP (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, voice, or the like.
[0054] Next, the internal configuration of the Flit error detection unit 31 in FIG. 1 will be described with reference to FIG.
[0055] As shown in Figure 7, the Flit error detection unit 31 is composed of 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.
[0056] 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.
[0057] 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.
[0058] 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).
[0059] 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.
[0060] 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).
[0061] 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.
[0062] 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).
[0063] 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.
[0064] 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.
[0065] 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.
[0066] 8 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.
[0067] 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.
[0068] 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.
[0069] 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. 9. When measuring errors in the PCIe Gen6 physical layer, it is assumed that the device under test W has transitioned to a loopback state by its own settings.
[0070] First, a PAM4 signal based on the bit string data of the MCP is generated from the pattern generator 3 and transmitted to the device under test W (ST1).
[0071] 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.
[0072] 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).
[0073] Next, the synchronization pattern detection unit 25 searches the data output from the EIEOS synchronization unit 23 for a pattern identical to the head of the MCP pattern set by the operation unit 2, and outputs a pattern head signal (ST4).
[0074] Then, the reference pattern generating section 26 generates an MSB reference pattern and an LSB reference pattern using the pattern head signal from the synchronization pattern detecting section 25 as a trigger (ST5).
[0075] 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).
[0076] Then, the error detection unit 31 detects and counts bit errors, PAM4 symbol errors, and FEC symbol errors using the MSB data and LSB data by the MCP, 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 Flit detected by the error detection unit 31 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 Flit detected by the error detection unit 31 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 MCP (research for the pattern head).
[0077] 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.
[0078] In the above embodiment, the PAM4 signal based on the bit string data of the MCP 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 MCP to the error detector 4. In this case, information required for receiving the PAM4 signal based on the bit string data of the MCP transmitted by the device under test W and detecting various errors (MCP (including EIEOS, SKP), MCP pattern length, Flit length according to the number of lanes, mask pattern length for masking the portion corresponding to SKP, mask pattern period corresponding to the repetition period of SKP OS, threshold for determining Flit errors, mask pattern length for masking the portion corresponding to EIEOS, EIEOS insertion period, MCP pattern head, and selection of SRIS or Not SRIS) is set in advance in the operation unit 2.
[0079] In this way, according to this embodiment, it is possible to use the MCP used in the physical layer evaluation of PCIe Gen6 to pseudo-assign the Flit size, distinguish between Flit and other, and estimate whether a Flit error will occur from the FEC symbol error status for the Flit area. Moreover, since no error correction is performed, the circuit scale can be reduced.
[0080] 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.
[0081] 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]
[0082] 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 an MCP including an EIEOS and an SKP OS, a pattern length of the MCP, a Flit length corresponding to the number of lanes defined in a high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to 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, a pattern head of the MCP, and a selection of SRIS or Not SRIS; a symbol mask generating unit (27) that generates a mask pattern based on 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) that receives a PAM4 signal based on the bit string data of the MCP transmitted from a device under test (W), divides an MCP scrambled area of the received PAM4 signal into a pseudo-length of the Flit length, masks the portions corresponding to the EIEOS and the SKP OS with the mask pattern, and detects and counts 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 MCP 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) for generating a PAM4 signal based on the bit string data of the MCP and transmitting the PAM4 signal to the device under test; 2. The error rate measuring device according to claim 1, wherein 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 MCP bit string data transmitted from the pattern generator back to the error detector.
3. A step of setting, by an operation unit (2), an MCP including an EIEOS and an SKP OS, a pattern length of the MCP, a Flit length corresponding to the number of lanes defined in a high-speed bus standard, a mask pattern length for masking a portion corresponding to the SKP OS, a mask pattern period corresponding to 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, a pattern head of the MCP, and a selection of SRIS or Not SRIS; 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 MCP transmitted from the device under test (W) by an error detection unit (30) of the error detector, dividing the MCP scrambled area of the received PAM4 signal into pseudo-lengths of the Flit length, masking the parts corresponding to the EIEOS and the 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 a 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 count that exceeds the threshold is a Flit error; and when the amount of errors in the portion corresponding to the Flit detected by the error detection unit exceeds a synchronization condition threshold, a synchronization state management unit (32) of the error detector instructs the reacquisition of the head of the pattern of the MCP.
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 MCP from a pattern generator (3) and transmitting the signal to the device under test; and transmitting a PAM4 signal based on the bit string data of the MCP 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.
Citation Information
Patent Citations
Multi-protocol support on common physical layer
JP2021087216A
Pattern synchronization circuit, error rate measurement device using the same, and pattern synchronization method
JP2021158414A
Cross-talk generation in a multi-lane link during lane testing
US20190042380A1
Logical physical layer interface specification support for PCIE 6.0, CXL 3.0, and UPI 3.0 protocols
US20210232520A1
Network test device and network test method
JP2021136651A
