A custom character detection and parallel shifting device for reconfigurable serial deserializer

By designing the data module circuit and control circuit in the serializer and deserializer, custom character detection and parallel shifting are realized, which solves the problem of protocol dependency and insufficient flexibility, provides multiple protocol support and manual control capabilities, and improves Improves system adaptability and flexibility.

CN113794476BActive Publication Date: 2024-08-27SHANDONG XINHUI MICROELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111081024.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-15
Publication Date
2024-08-27
Estimated Expiration
2041-09-15

AI Technical Summary

Technical Problem

Existing serializers have protocol dependencies in data detection and shift adjustment, cannot customize character detection and perform fuzzy matching, and users cannot manually control data location, resulting in insufficient flexibility and adaptability.

Method used

A custom character detection and parallel shifting device including a data module circuit and a control circuit is designed. It uses a multiplexer, a step-by-step register and a character comparison module to support custom character detection, fuzzy matching and manual mode. The bit information generation module and the detection information generation module realize adaptive adjustment of data.

Benefits of technology

It implements custom character detection and parallel shifting of the reconfigurable deserializer, supports multiple protocol specifications, and has manual intervention capabilities, improving the flexibility and adaptability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113794476B
    Figure CN113794476B
Patent Text Reader

Abstract

The present invention relates to a custom character detection and parallel shifting device suitable for a reconfigurable serial deserializer, and belongs to the field of digital integrated circuit design. The device includes a data module circuit and a control circuit; the data module circuit includes a multiplexer and a three-level register; the multiplexer receives 10-bit input data and then passes through the three-level register to form a 30-bit data bus; the control circuit includes a first character comparison module and a second character comparison module, a shift information generation module and a detection information generation module in parallel with each other; the first character comparison module has the same circuit structure as the second character comparison module, and is used to output comparison results A and comparison results B; comparison results A and B are both input into the shift information generation module and the detection information generation module. The present invention designs a resettable character detection and parallel shifting device suitable for a reconfigurable deserializer; supports custom characters, can meet the requirements of various protocol specifications; and has manual intervention capabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a user-defined character detection and parallel shifting device suitable for a reconfigurable serial deserializer, and belongs to the field of digital integrated circuit design. Background Art

[0002] Traditional parallel buses have two problems: one is that they cannot quickly transmit large amounts of data, and the other is that they are the key location for system delays. With the elimination of parallel buses, the serial deserializer (Serdes), which was often used in the Fibre Channel protocol in the past, has gradually become the mainstream technology. At the Serdes transmitter, the low-speed parallel signal is converted into a high-speed serial low-voltage differential signal for transmission; at the Serdes receiver, the received high-speed serial signal is processed accordingly to restore the low-speed parallel signal. Currently, Serdes technology has been widely used in the field of I / O communication. The physical layer of interfaces such as InfiniBand, RapidIO, and PCI-Express all use Serdes interfaces. With the rapid development of Serdes technology, high-speed serial ports based on Serdes technology are gradually becoming a common standard I / O interface in the industry.

[0003] Well-designed reconfigurable Sedres can perfectly match the reconfigurable characteristics of FPGA. Currently, most FPGAs use reconfigurable serdes as their physical layer interface.

[0004] In the SerDes receiving system, the received serial data is deserialized to obtain parallel data. In order to correctly perform subsequent operations such as decoding, the beginning of the data stream must be found.

[0005] Generally, in most protocol specifications, in order to quickly and accurately find the beginning of the data stream, the protocol specifies a set of detection sequences generated by the sending system. However, the detection sequences specified by each protocol are different, which results in the existing technical methods for a single protocol not being able to be better transplanted to other protocol specifications. Since the data undergoes parallel-to-serial / serial-to-parallel conversion during transmission, the data order is disrupted, and the parallel data needs to be shifted and adjusted.

[0006] Secondly, if some data is lost in the data path, the characters cannot completely match the set sequence, and the detection operation cannot be completed. In the Serdes transceiver system, the 8B10B encoding and decoding module is retained, and the data polarity needs to be classified. If the detection is performed in bytes, it is necessary to add complex processes in the subsequent circuits to ensure the positive and negative polarity matching.

[0007] Again, character detection results and data shift information are important control signal sources for the entire Serdes system. These signals are connected to the port so that users can observe and perform subsequent complex circuit control operations.

[0008] Finally, with current technology, once character detection and data shifting are turned on for the entire system, the circuit will automatically detect, identify or shift, and the user only has the power to observe. If the data position needs to be changed, such as manual shifting and reorganization, redesign is required. Summary of the invention

[0009] The technical problem to be solved by the present invention is to provide a parallel shifting device which is applicable to a reconfigurable deserializer and has the functions of custom character detection, fuzzy matching and manual mode.

[0010] In order to solve the above technical problems, the technical solution proposed by the present invention is: a custom character detection and parallel shifting device suitable for a reconfigurable serial deserializer, comprising a data module circuit and a control circuit;

[0011] The data module circuit includes a multiplexer and three first registers, a second register and a third register connected in stages; the multiplexer receives 10-bit input data or inverted 10-bit input data; the 10-bit input data selected by inversion control passes through the first register, the second register and the third register to form a 30-bit data bus;

[0012] The control circuit includes a first character comparison module and a second character comparison module, a shift information generation module and a detection information generation module in parallel with each other; the circuit structure of the first character comparison module and the second character comparison module is the same;

[0013] The first and second character comparison modules are both controlled by a character enable signal;

[0014] The first character comparison module is used to compare the high 19-bit data output from the data module circuit with the positive polarity detection character stored in the memory RAM1, and output a comparison result A;

[0015] The second character comparison module is used to compare the high 19-bit data output from the data module circuit with the negative polarity detection character stored in the memory RAM2, and output a comparison result B;

[0016] The comparison results A and B are both input into the displacement information generation module and the detection information generation module;

[0017] The shift information generation module is controlled by double-byte matching enable, data shift enable and manual shift mode enable signals;

[0018] The detection information generation module is controlled by double-byte matching enable and positive / negative polarity detection enable;

[0019] The shift information generating module outputs a shift change signal, and outputs the shift change signal to the data module circuit for controlling it to output the shifted output data from the 30-bit data bus.

[0020] The improvement of the above technical solution is: the data shift enable signal selects whether to perform a shift operation; the double-byte match enable signal is used to select a single-byte mode or a double-byte mode; the manual shift mode signal is a control signal used when manually shifting the data stream, and is used to replace the automatic detection and data shift results.

[0021] The improvement of the above technical solution is: the positive / negative polarity detection enable signal is used to determine the current detection mode; the double-byte matching enable signal is used to select the current matching mode.

[0022] The beneficial effects of the present invention are as follows: the present invention designs a reconfigurable character detection and parallel shifting device suitable for a reconfigurable deserializer; supports custom characters and can meet the requirements of various protocol specifications; and has manual intervention capability. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic diagram of a data module circuit of a custom character detection and parallel shifting device applicable to a reconfigurable serial deserializer in a first embodiment of the present invention.

[0024] Figure 2 It is a schematic diagram of a control circuit of a custom character detection and parallel shifting device applicable to a reconfigurable serial deserializer according to a first embodiment of the present invention.

[0025] Figure 3 It is a schematic diagram of a character comparison module of a custom character detection and parallel shifting device applicable to a reconfigurable serial deserializer according to a first embodiment of the present invention.

[0026] Figure 4 It is a schematic diagram of a shift information generation module of a custom character detection and parallel shifting device applicable to a reconfigurable serial deserializer according to a first embodiment of the present invention.

[0027] Figure 5 It is a schematic diagram of a detection information generation module of a custom character detection and parallel shifting device applicable to a reconfigurable serial deserializer in Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0028] Embodiment 1

[0029] A custom character detection and parallel shifting device suitable for a reconfigurable serial deserializer includes a data module circuit (such as Figure 1 as shown) and control circuits (as Figure 2 shown);

[0030] The data module circuit includes a multiplexer and three first registers, a second register and a third register connected in stages; the multiplexer receives 10-bit input data or inverted 10-bit input data; the 10-bit input data selected by the inversion control passes through the first register, the second register and the third register to form a 30-bit data bus, of which the high 19-bit data will be output to the control circuit for detection, and the control circuit will feedback a shift change signal (shift signal shift[4:0]) to control the movement of the pointer;

[0031] The control circuit includes a first character comparison module and a second character comparison module, a shift information generation module and a detection information generation module in parallel with each other; the circuit structure of the first character comparison module is the same as that of the second character comparison module;

[0032] The first and second character comparison modules are both controlled by the character enable signal;

[0033] The character comparison module will shift and compare the high 19-bit data with the detection character stored in the memory RAM, and is controlled by the character enable signal. For example: when the enable signal is valid, the data is completely consistent with the detection character stored in the memory RAM when shifted by N bits, and the detection result is output at the output of the Nth digit;

[0034] The 10-bit positive and negative character detection results are transmitted to the shift information generation module and the detection information generation module;

[0035] The shift information generation module is controlled by double byte match enable, data shift enable and manual shift mode enable signals;

[0036] The detection information generation module is controlled by the double-byte match enable and the positive / negative polarity detection enable;

[0037] The shift information generation module outputs a shift change signal, and outputs it to the data module circuit for controlling it to output the shifted output data from the 30-bit data bus.

[0038] The data shift enable signal selects whether to perform a shift operation; the double-byte match enable signal is used to select single-byte mode or double-byte mode; the manual shift mode signal is a control signal used when manually shifting the data stream, which is used to replace the automatic detection and data shift results.

[0039] The positive / negative polarity detection enable signal is used to determine the current detection mode; the double-byte match enable signal is used to select the current match mode.

[0040] Specifically, refer to Figure 1 The inversion control signal can invert the data before the 10-bit data is detected and shifted, in order to solve the problem of interface pin reversal. The 10-bit data is then passed through three levels of registers to form a 30-bit data bus. The high 19-bit data is taken for character detection, and the shift signal shift[4:0] output by the control module controls the pointer shift. The shift signal value range is 0~19, and the shift pointer selects 10 bits from the 30-bit data as output data.

[0041] Reference Figure 2 , the high 19 bits of data taken from the data part are shifted and compared with the positive polarity or negative polarity detection characters stored in the memory RAM. Among them, the user saves the positive polarity and negative polarity detection characters specified by different protocols in the memory RAM by setting the memory RAM1 and the memory RAM2.

[0042] The N+9th to Nth bits of the high 19 bits are compared with the positive polarity detection character transmitted from the memory RAM1, and the comparison result is output at the Nth bit of the positive polarity detection result.

[0043] The N+9th to Nth bits of the high 19 bits are compared with the negative polarity detection character from the memory RAM2, and the comparison result is output in the Nth bit of the negative polarity detection result. The value range of N is 1~10

[0044] In addition, the character comparison module is affected by the character enable signal, refer to Figure 3 , the enable signal is used to implement the fuzzy matching mode of character detection. As shown in the example, the enable signal of the highest two characters is set to 0, and the highest two data are set to be inconsistent. The purpose is to match multiple groups of characters at the same time, and perform fuzzy matching on the characters to be detected, so that all characters containing the characteristic sequence can be detected.

[0045] The 10-bit positive polarity character detection results and the 10-bit negative polarity character detection results are connected to the shift information generation module and the detection information generation module. The shift information generation module is controlled by signals such as double byte matching enable, data shift enable, and manual shift mode enable.

[0046] Reference Figure 4 , the double-byte match enable signal selects the double-byte detection mode or the single-byte detection mode.

[0047] When the double-byte matching mode is used, the positive polarity character needs to be detected first, and then the negative polarity character is detected, and the positive polarity character detection result is retained for one clock cycle in register 4. For example, in a certain clock cycle, the Nth bit of the positive polarity detection result indicates that the data is consistent, and after one clock cycle, the Nth bit of the negative polarity detection result indicates that the data is consistent, then the Nth bit of the character detection result indicates that the data after shifting N bits is consistent with the preset character.

[0048] When using single-byte match mode, both positive polarity character detection results and negative polarity detection results can cause shifting. In addition, the data shift enable signal can interrupt the shift process at any time, which is usually used to bypass the data alignment function.

[0049] The 10-bit character detection result is sent to the shift value calculation module to generate the shift signal shift[4:0]. The manual shift mode signal only affects the result of the last shift signal. For example, the third bit of the character detection result indicates that the preset character is detected, and the shift signal shift[4:0] is 00011. During the calculation process, if the manual shift mode signal is pulled high for one cycle, the shift signal shift[4:0] will increase by 1, which is 00100. The manual shift mode does not exceed the value range of the shift signal shift[4:0].

[0050] Furthermore, the shift signal shift[4:0] is retained for one clock cycle by register 5 and compared with itself. The result of the comparison is a shift change signal, which is used to indicate whether the shift has changed.

[0051] Reference Figure 5 , the double-byte match enable signal selects the double-byte detection mode or the single-byte detection mode.

[0052] When using the double-byte matching mode, the positive polarity character must be detected first, and then the negative polarity character is detected. At the same time, the positive polarity character detection result is retained in register 6 for one clock cycle.

[0053] When using the single-byte matching mode, the positive polarity detection controls the output of the positive polarity character detection result, and the negative polarity detection controls the output of the negative polarity character detection result. The character detection result passes through the detection value calculation module to generate the detection result Q[4:0]. For example, if the character detection result indicates that the character is detected in the 5th bit, the detection result Q[4:0] is 00101.

[0054] The shift signal shift[4:0] is compared with the detection result Q[4:0], and the comparison result is a data alignment signal. In addition, if the detection result Q[4:0] has a non-zero value, it indicates that a character is detected, and the detection character identification signal will be set to a high level.

[0055] In addition, the circuits of the character comparison module, the information generation module and the detection information generation module of this embodiment are respectively as follows: Figure 3 , 4 , 5, but it does not mean that there is only one implementation method, and it is designed only to meet the functions required in this embodiment. It is not limited to the specific technical solutions described in the above embodiments. In addition to the above embodiments, the present invention can also have other implementation methods. For those skilled in the art, any technical solutions formed by any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A custom character detection and parallel shifting device suitable for a reconfigurable serial deserializer, characterized in that: including a data module circuit and a control circuit; The data module circuit includes a multiplexer and a three-stage register; the multiplexer receives 10-bit input data or inverted 10-bit input data; the 10-bit input data selected by the inversion control passes through the three-stage register to form a 30-bit data bus; The control circuit includes a first character comparison module and a second character comparison module, a shift information generation module and a detection information generation module in parallel with each other; the circuit structure of the first character comparison module and the second character comparison module is the same; The first and second character comparison modules are both controlled by a character enable signal; The first character comparison module is used to compare the high 19-bit data output from the data module circuit with the positive polarity detection character stored in the memory RAM1, and output a comparison result A; The second character comparison module is used to compare the high 19-bit data output from the data module circuit with the negative polarity detection character stored in the memory RAM2, and output a comparison result B; The comparison results A and B are both input into the displacement information generation module and the detection information generation module; The shift information generation module is controlled by double-byte matching enable, data shift enable and manual shift mode enable signals; The detection information generation module is controlled by double-byte matching enable and positive / negative polarity detection enable; The shift information generation module outputs a shift change signal, and outputs it to the data module circuit to control it to output the shifted output data from the 30-bit data bus; The data shift enable signal selects whether to perform a shift operation; Described double-byte match enable signal is used for selecting single-byte mode or double-byte mode; The manual shift mode enable signal is a control signal used when manually shifting the data stream, and is used to replace the automatic detection and data shift results; The positive / negative polarity detection enable signal is used to determine the current detection mode; The double-byte match enable signal is used to select the current match mode.