High-speed serial communication method between FPGAs (Field Programmable Gate Array)

By using a high-speed serial communication method between FPGAs and a communication system composed of specific modules, the shortcomings of traditional parallel data transmission methods are solved. This achieves communication effects with low bit error rate, low power consumption, low cost, and high transmission rate, simplifies layout and routing, and improves system stability.

CN118944760APending Publication Date: 2024-11-12GUILIN UNIV OF ELECTRONIC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931365.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Traditional parallel data transmission methods cannot meet the requirements of low bit error rate, low power consumption, low cost, high transmission rate and high stability in the era of high-speed transmission. They also have problems such as complex layout and wiring, limited signal transmission distance and large hardware requirements.

Method used

A high-speed serial communication method between FPGAs is adopted. Through a communication system composed of TX_DATA, TX_CLOCK_GEN, TX_RESET_CTRL, TX_Aurora_8B10B, TX_SFP+, RX_SFP+, RX_Aurora_8B10B, RX_DATA and RX_RESET_CTRL modules, data serialization, framing, photoelectric signal conversion and unpacking are realized, simplifying layout and routing and improving anti-interference capability.

Benefits of technology

It achieves communication with low bit error rate, low power consumption, low cost and high transmission rate, simplifies layout and wiring and improves system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944760A_ABST
    Figure CN118944760A_ABST
Patent Text Reader

Abstract

The invention provides a high-speed serial communication method between FPGAs (Field Programmable Gate Array). The high-speed serial communication method between the FPGAs is characterized in that a TXDATA module 101, a TXCLOCKGEN module 102, a TXRESETCTRL module 103, a TXAurora8B10B module 104, a TXSFP + module 105, an RXSFP + module 106, an RXAurora8B10B module 107, an RXDATA module 108, an RXCLOCKGEN module 109 and an RXRESETCTRL module 110 are included. The method can be used for high-speed serial communication between the FPGAs, and can be widely applied to the field of high-speed data communication.
Need to check novelty before this filing date? Find Prior Art

Description

(I) Technical field

[0001] The present invention relates to a high-speed serial communication method, in particular to a high-speed serial communication method between FPGAs, which can be used in various technical fields such as high-speed serial data communication, optical fiber communication, and communication between FPGAs, and belongs to the field of data communication technology. (II) Background technology

[0002] In the past few decades, the level of electronic information technology has been advancing at a rapid pace. Now that the era of big data has begun, the exchange and transmission of data information in life has become more frequent. This requires not only larger data storage, but also strict requirements on data transmission rate. Transceiver interface circuits are widely used in our daily lives. They are mainly responsible for the serial-to-parallel conversion of communication data to achieve the correctness and efficiency of transmitted data. The wide application and importance of interface circuits have made research on them particularly prominent and rapid.

[0002] With the rapid development of semiconductor technology, integrated circuit technology, as an important direction of semiconductor technology, has also made rapid progress, and the performance of processors has also increased rapidly. As the volume and rate of communication data are getting larger and larger, the requirements for interface delay are more stringent, among which interconnection delay has become a key issue affecting processor performance.

[0003] The traditional parallel data transmission method has the following shortcomings, which make it unable to meet the communication needs in today's high-speed transmission era: first, in parallel transmission, all data share a bus, which makes the problems of load driving and multi-channel arbitration particularly prominent, and the transmission rate is severely limited; second, parallel transmission of data requires multiple interactive connection lines, and the design process of the connection lines must consider problems such as deviation, crosstalk, noise and jitter, which makes the design of high-speed systems more difficult; finally, parallel transmission has a large demand for wiring area and number of pins, and the number of connections leading to the outside of the chip is also large, which increases the complexity of the internal circuit design of the chip.

[0004] In summary, the disadvantages of parallel data transmission include relatively complex layout and wiring, limited signal transmission distance, and huge hardware requirements. Therefore, in order to achieve low bit error rate, low power consumption, low cost, high transmission rate and high stability during data transmission, high-speed serial communication technology has become a widely demanded technology.

[0005] The invention discloses a high-speed serial communication method between FPGAs, which achieves the requirements of lower bit error rate, lower power consumption, lower cost, higher transmission rate and higher stability compared with traditional parallel data transmission. (III) Summary of the invention

[0006] The purpose of the present invention is to provide a high-speed serial communication method which has a simple structure, is easy to implement in FPGA, has a high working rate, has a strong anti-interference ability, and is high-speed.

[0007] The object of the present invention is achieved in that:

[0008] A high-speed serial communication method between FPGAs is characterized in that it is composed of a TX_DATA module 101, a TX_CLOCK_GEN module 102, a TX_RESET_CTRL module 103, a TX_Aurora_8B10B module 104, a TX_SFP+ module 105, an RX_SFP+ module 106, an RX_Aurora_8B10B module 107, an RX_DATA module 108, an RX_CLOCK_GEN module 109 and an RX_RESET_CTRL module 110.

[0009] When data is transmitted between the transmitting end and the receiving end, the module is reset first. Reset is divided into serial transceiver reset and module reset. In the transmitting end, reset control is controlled by TX_RESET_CTRL module 103, and in the receiving end, reset control is controlled by RX_RESET_CTRL module 110.

[0010] The TX_RESET_CTRL module 103 completes the reset control of the transmitter module. The input signals of the TX_RESET_CTRL module 103 are the clock signal tx_clk output by the TX_CLOCK_GEN module 102, and the tx_channel_up and tx_lane_up signals output by the TX_Aurora_8B10B module 104. The output signals of the TX_RESET_CTRL module 103 are the tx_gt_reset and tx_reset signals. The output signal tx_reset of the TX_RESET_CTRL module 103 is output to the TX_DATA module 101 and the TX_Aurora_8B10B module 104; the output signal tx_gt_reset of the TX_RESET_CTRL module 103 is output to the TX_Aurora_8B10B module 104. The TX_RESET_CTRL module 103 outputs two reset signals, tx_gt_reset and tx_reset, and the reset signal is valid at a high level. The control logic of the TX_RESET_CTRL module 103 is as follows Figure 2As shown, after power-on, it enters the IDLE state 201, and starts the reset count controller to enter the RESET state 202. First, it counts to the count value reset by tx_gt_reset and outputs tx_gt_reset as a low level, and then continues to count to the count value reset by tx_reset and outputs tx_reset as a low level, completing the reset. After completing the reset, it enters the DETECT state 203. The TX_RESET_CTRL module 103 monitors the state feedback signals tx_lane_up and tx_channel_link signals from the TX_Aurora_8B10B module 104 in real time. When the states of the tx_lane_up and tx_channel_link signals are normal, it maintains the DETECT state 203. When the states of the tx_lane_up and tx_channel_link signals are abnormal, it enters the IDLE state 201 and resets again. After the TX_Aurora_8B10B module 104 receives the reset signal from the TX_RESET_CTRL module 103, it completes the reset.

[0011] The TX_CLOCK_GEN module 102 completes the clock signal provision of the TX_RESET_CTRL module 103 and the TX_Aurora_8B10B module 104 .

[0012] The TX_DATA module 101 completes the packaging of serial transmission data. The input of the TX_DATA module 101 is the reset signal tx_reset provided by the TX_RESET_CTRL module 103 and the clock signal tx_user_clk provided by the TX_Aurora_8B10B module 104. The output of the TX_DATA module 101 is the packaged data tx_data. The tx_data is 4 bytes wide data.

[0013] The TX_Aurora_8B10B module 104 completes the serialization of input data, data framing and conversion of single-ended signals to differential signals. The input signals of the TX_Aurora_8B10B module 104 are the output tx_data of the TX_DATA module 101, the tx_clk output of the TX_CLOCK_GEN module 102, and the reset signals tx_gt_reset and tx_reset output of the TX_RESET_CTRL module 103. The output signals of the TX_Aurora_8B10B module 104 are the tx_user_clk, tx_lane_up and tx_channel_up signals.

[0014] The TX_SFP+ module 105 converts the electrical signal into an optical signal. The input of the TX_SFP+ module 105 is the differential serial signals TX_P and TX_N output by the TX_Aurora_8B10B module 104. The output of the TX_SFP+ module 105 is an optical signal.

[0015] The RX_SFP+ module 106 converts the optical signal into an electrical signal. The input of the RX_SFP+ module 106 is the optical signal output by the TX_SFP+ module 105. The output signals of the RX_SFP+ module 106 are differential signals RX_P and RX_N.

[0016] The RX_Aurora_8B10B module 107 completes the reception of serial data, serial parallelization, and data unpacking. The input signals of the RX_Aurora_8B10B module 107 are the clock rx_clk output by the RX_CLOCK_GEN module 109, and the reset signals rx_gt_reset and rx_reset output by the RX_RESET_CTRL module 110. The output signals of the RX_Aurora_8B10B module 107 are rx_data, tx_lane_up, and tx_channel_up signals.

[0017] The RX_RESET_CTRL module 110 completes the reset control of the receiving end module. The input signals of the RX_RESET_CTRL module 110 are the clock signal rx_clk output by the RX_CLOCK_GEN module 109, and the rx_channel_up and rx_lane_up signals output by the RX_Aurora_8B10B module 107. The output signals of the RX_RESET_CTRL module 110 are the rx_gt_reset and rx_reset signals. The output signal rx_reset of the RX_RESET_CTRL module 110 is output to the RX_DATA module 108 and the RX_Aurora_8B10B module 107; the output signal rx_gt_reset of the RX_RESET_CTRL module 110 is output to the RX_Aurora_8B10B module 107. The RX_RESET_CTRL module 107 outputs two reset signals, rx_gt_reset and rx_reset, and the reset signal is valid when it is high. The control logic of the TX_RESET_CTRL module 110 is as follows Figure 2As shown, after power-on, it enters the IDLE state 201, and starts the reset count controller to enter the RESET state 202. First, it counts to the count value reset by rx_gt_reset and outputs rx_gt_reset as a low level, and then continues to count to the count value reset by rx_reset and outputs rx_reset as a low level, completing the reset. After completing the reset, it enters the DETECT state 203. The RX_RESET_CTRL module 110 monitors the state feedback signals rx_lane_up and rx_channel_link from the RX_Aurora_8B10B module 107 in real time. When the rx_lane_up and rx_channel_link signal states are normal, it maintains the DETECT state 203. When the rx_lane_up and rx_channel_link signal states are abnormal, it enters the IDLE state 201 and resets again. After the RX_Aurora_8B10B module 107 receives the reset signal from the RX_RESET_CTRL module 110, the reset is completed.

[0018] The RX_CLOCK_GEN module 109 completes the clock signal provision for the RX_RESET_CTRL module 110 and the RX_Aurora 8B10B module 107 .

[0019] The RX_DATA module 108 completes the reception and unpacking of the transmission data. The input of the RX_DATA module 108 is the reset signal rx_reset provided by the RX_RESET_CTRL module 110 and the clock signal rx_user_clk provided by the RX_Aurora_8B10B module 107. When the RX_DATA module 108 receives valid data, the serial data transmission and reception between the FPGAs is completed. (IV) Description of the drawings

[0020] Figure 1 The present invention is a structural schematic diagram of a high-speed serial communication method between FPGAs.

[0021] Figure 2 This is a reset signal control diagram of the present invention.

[0022] Figure 3 The present invention is a structural schematic diagram of a specific implementation method of a high-speed serial communication method between FPGAs. (V) Specific implementation methods

[0023] Figure 3 The present invention is a process diagram of a high-speed serial communication method between FPGAs implemented on two Kintex-7 MK7325FA FPGA boards.

[0024] After the two boards are powered on, the TX_RESET_CTRL module and the RX_RESET_CTRL module first reset the modules of the transmitter and the receiver respectively. After power-on, the reset signal is in the reset state, and the reset count controller is started. First, the count value output tx_gt_reset is low when the count value reset by tx_gt_reset is counted, and then the count value output tx_reset is counted to low when the count value reset by tx_reset is counted. After receiving the reset signal from the TX_RESET_CTRL module 103, the TX_Aurora_8B10B module 104 completes the reset. The TX_RESET_CTRL module 103 monitors the status feedback signals tx_lane_up and tx_channel_link from the TX_Aurora_8B10B module 104 in real time. When the tx_lane_up and tx_channel_link signals are invalid, reset is performed again according to the above process. After the reset is completed, the sinusoidal signal module generates a sinusoidal signal input to the TX_DATA module 201 for data packaging, and the packaged data is sent to the TX_Aurora_8B10B module 204 for parallel-to-serial conversion, data framing and single-end to differential conversion, and the differential electrical signal is converted into an optical signal through the TX_SFP+ module, and transmitted to the receiving end card through the optical fiber. In the receiving end card, the RX_SFP+ module completes the reception of the serial differential signal and converts the optical signal into an electrical signal. The RX_Aurora_8B10B module 204 performs serial-to-parallel conversion on the serial signal output by the RX_SFP+ module, and after the data is deframed, it is sent to the RX_DATA module for data unpacking, and the sinusoidal signal of the sending end is restored to complete the transmission of high-speed signals.

Claims

1. A high-speed serial communication method between FPGAs, characterized in that: It consists of a TX_DATA module 101, a TX_CLOCK_GEN module 102, a TX_RESET_CTRL module 103, a TX_Aurora_8B10B module 104, a TX_SFP+ module 105, an RX_SFP+ module 106, an RX_Aurora_8B10B module 107, an RX_DATA module 108, an RX_CLOCK_GEN module 109 and an RX_RESET_CTRL module 110. The system is divided into a transmitting end and a receiving end, and the TX_CLOCK_GEN module 102 and the RX_CLOCK_GEN module 109 provide clock signals for the transmitting end and the receiving end respectively. The data to be sent at the transmitting end is packaged in the TX_DATA module 101, and the packaged data is sent to the TX_Aurora_8B10B module 104. The sent data is converted into differential signals TX_P and TX_N after parallel-to-serial conversion and data framing in the TX_Aurora_8B10B module 104. The signals TX_P and TX_N are converted from electrical signals to optical signals through the TX_SFP+ module 105, and the converted optical signals are converted from optical signals to electrical signals through the RX_SFP+ module 106. The converted signals are received by the RX_Aurora_8B10B module 107 to complete the serial-to-parallel conversion data unpacking, and the unpacked data is transmitted to the RX_DATA module 108 for data processing to complete data reception.

2. The TX_RESET_CTRL module 103 in the high-speed serial communication method between FPGAs according to claim 1, wherein: After the TX_RESET_CTRL module 103 is powered on, it is in a waiting state, and enters a reset state after the waiting state is completed; the entire module is reset in the reset state, otherwise it waits in the reset state to complete the reset of the entire module; after the reset is completed, it enters a link monitoring state, and when the link of the transmitting end is monitored to be normal, the monitoring state remains unchanged; when the link state of the transmitting end is monitored to be abnormal, it enters a waiting state and resets again.

3. The RX_RESET_CTRL module 110 in the high-speed serial communication method between FPGAs according to claim 1, wherein: After the RX_RESET_CTRL module 110 is powered on, it is in a waiting state, and enters a reset state after the waiting state is completed; the entire module is reset in the reset state, otherwise it waits in the reset state to complete the reset of the entire module; after the reset is completed, it enters a link monitoring state, and when the link of the receiving end is monitored to be normal, the monitoring state remains unchanged; when the link state of the receiving end is monitored to be abnormal, it enters a waiting state and resets again.