FC protocol controller based on IP core multiplexing and multi-PCS integration and path configuration method
Through the FC protocol controller and channel configuration method based on IP core reuse and multi-PCS integration, the problem of compatibility between high-frequency systems and low-frequency systems is solved, rapid integration of high-frequency functions is achieved, and R&D costs and verification are reduced. cycle.
Patent Information
- Application Number
- CN202410777688.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
AI Technical Summary
When developing high-frequency Fiber Channel (FC) systems, existing technology is difficult to be compatible with low-frequency systems, resulting in complex chip verification work, increased R&D cycles and production cycles, and new codes may have functional implementation problems.
Using the FC protocol controller and channel configuration method based on IP core multiplexing and multi-PCS integration, through the PCS selection module and rate selection module, the PCS module selection indication signal is generated according to the link rate to ensure that PCS modules at different frequency points are compatible with frequency division The final clock signal is matched, and the system is configured through the NoC configuration bus module to realize data transmission at different frequencies.
It reduces the pressure of chip verification work and the development cycle, reduces R&D costs, improves the stability of the chip, and enables the FC system to quickly integrate high-frequency functions while maintaining compatibility with low-frequency points.
Smart Images

Figure CN118748569A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Fiber Channel (FC), and in particular to an FC protocol controller and a path configuration method based on IP core multiplexing and multi-PCS integration. Background Art
[0002] In the existing FC system, due to its support for multiple frequencies and the ability to achieve adaptive rates at different frequencies, a portion of the low-frequency system is usually retained in the development of the high-frequency system to meet the docking requirements of the same FC protocol system for different versions of different eras. Therefore, when developing a new FC system, the code reusability of the original FC system at the low frequency is very high, and in most cases, the FC system code at the higher frequency will be updated and iterated based on the original code.
[0003] However, the coding and functions of different FC frequencies are not exactly the same. For example, frequencies below 8G use 8B / 10B coding and do not support training, FEC and other functions; while 16G frequencies use 64B / 66B coding and the time source language signal and time source language sequence are very different from those of low frequencies, and link training and forward error correction (FEC) functions are supported at this frequency and above. These functions are basically implemented by the PCS in the system; for example, frequencies below 4G do not require scrambling, but for frequencies above 16G, scrambling is necessary, otherwise the working clock of the corresponding frequency cannot be recovered from the serdes.
[0004] Therefore, the difficulty of modifying the original code and iterating the high-frequency protocol code will be greatly increased. This is not as convenient as directly designing a PCS system that supports high-frequency FC. However, the high-frequency system is incompatible with the low-frequency system, and the new code may have problems in functional implementation. This brings great inconvenience to the corresponding chip verification work, increases the production cycle of chips and systems, and delays market development opportunities. Summary of the invention
[0005] In order to reduce the pressure of chip verification work and the development cycle of the entire chip, the present invention provides an FC protocol controller and a channel configuration method based on IP core multiplexing and multi-PCS integration.
[0006] On the one hand, the present invention provides an FC protocol controller based on IP core multiplexing and multi-PCS integration, including a serdes module and a MAC module, and also including: a receiving side PCS selection module, a sending side PCS selection module, a receiving side rate selection module and a sending side rate selection module; wherein PCS represents a physical coding sublayer; The two rate selection modules are both used to generate a PCS module selection indication signal according to a given link rate; the PCS module selection indication signal is used to control the connected PCS selection module to use a PCS module of which frequency point; The receiving side PCS selection module includes a parallel data transceiver, a receiving side information configuration terminal and a PCS interface for connecting PCS modules or IP cores of different frequencies; wherein the parallel data transceiver is connected to the serdes module, and the receiving side information configuration terminal is connected to the output terminal of the receiving side rate selection module; The sending side PCS selection module includes an FC frame data transceiver, a sending side information configuration terminal and a PCS interface for connecting PCS modules or IP cores of different frequencies; wherein the FC frame data transceiver is connected to the MAC module, and the sending side information configuration terminal is connected to the output terminal of the sending side rate selection module; The two PCS selection modules are both used to divide the system clock according to the link rate given by the information configuration end, so that the PCS modules connected to the PCS interfaces of multiple different frequencies match the divided clock signal; and according to the PCS module selection indication signal received by the information configuration end, the data received by the data transceiver end is transmitted to the PCS module connected to it through the PCS interface of the corresponding frequency, or the data transmitted by the PCS module connected to it is obtained through the PCS interface of the corresponding frequency to the data transceiver end.
[0007] This implementation method, by reusing PCS, allows technology to be accumulated, and retains the usability of the original frequency points when exploring higher frequency and more advanced technologies, so that the docking equipment will not be too old to support use; at the same time, the reuse of PCS and the integration of IP greatly reduce the chip research and development costs and shorten the research and development cycle; and it can maintain a certain degree of trust in the chip verification work on the original code and the original IP, reducing the chip verification work cycle while improving the overall stability of the chip.
[0008] Furthermore, the PCS interface for connecting PCS modules or IP cores of different frequencies includes a PCS interface for connecting a 4G / 8G PCS module or IP core, a PCS interface for connecting a 16G / 32G PCS module or IP core, and a PCS interface for connecting a 64G PCS module or IP core.
[0009] Furthermore, it also includes a NoC configuration bus module for system configuration.
[0010] On the other hand, the present invention also provides a PCS path configuration method of an FC protocol controller based on IP core multiplexing and multi-PCS integration, comprising: Determine the link rate between the sending and receiving devices; Sending the determined link rate to the PCS selection module; The PCS selection module obtains the determined link rate and divides the system clock according to the determined link rate so that the PCS modules connected to the PCS interfaces of multiple different frequencies match the divided clock signal; The receiving side link and the transmitting side link are initialized and the corresponding control code is sent; The PCS modules at different frequencies map and send control codes according to the link rate; The link establishment process is performed according to the FC protocol requirements. After the link establishment is completed, data is sent and received between the sending and receiving devices.
[0011] Furthermore, the link rate between the sending and receiving devices is determined by register configuration or rate negotiation between the sending and receiving devices.
[0012] Beneficial effects of the present invention: The present invention designs an FC protocol controller and a path configuration method based on IP core reuse and multi-PCS integration, integrates newly developed codes or original mature IP cores of PCSs with different frequency points, and adds self-developed codes or IP cores of high frequency points on the basis of original low-frequency point IP cores or codes, so as to achieve the purpose of the whole system being reusable and adding new frequency points without discarding low frequency points, so that the whole FC system can integrate high frequency points faster, and has the ability to connect with more advanced high frequency point devices on the premise of being able to connect with original low frequency devices, and in the process of developing high frequency point chips or systems, it is no longer necessary to perform functional verification on the original low frequency part, and only needs to verify the compatibility of the whole chip or system after integrating the high frequency PCS, so as to achieve the purpose of IP core reuse, multi-PCS integration, reducing research and development and verification costs, and enabling the FC chip or system to be quickly put into the market and applied. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 An FC protocol controller based on IP core multiplexing and multi-PCS integration is provided in an embodiment of the present invention; Figure 2 A PCS path configuration process of an FC protocol controller based on IP core multiplexing and multi-PCS integration is provided in an embodiment of the present invention; Figure 3 The invention provides a data flow direction of an FC protocol controller based on IP core multiplexing and multi-PCS integration. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0015] FC protocol technology is widely used in chip protocols and various electronic devices in the aerospace field. It can provide high-speed and stable data transmission flow and storage for equipment applications. Due to its stability and wide application, FC protocol technology continues to be in the development stage, and is constantly developing towards high-speed, reliable high-frequency point protocols, from the existing 1G, 2G, 4G, 8G, 10G low-frequency points to 16G, 32G, 64G, 128G high-frequency points, to meet the transmission requirements and application requirements of modern electronic equipment.
[0016] For switching chips, due to the development of protocols and the upgrading of equipment, the requirements for transmission rate and stability in actual applications are getting higher and higher, which has caused the switching chips to be constantly upgraded according to market demand. As for chip research and development, the development cycle of a new chip is too long, and even if the new design is strictly verified, it may have problems that have never been imagined. This unstable factor is a fatal blow to a company's chip research and development. The reuse of PCS design code and IP core can greatly shorten the development cycle of a chip, and the existing IP core is more stable, so the probability of problems in the chip will be greatly reduced. From this, we can see the prospects of IP reuse technology and the breadth of its application.
[0017] In order to reduce the pressure of chip verification work and the entire chip development cycle, such as Figure 1 As shown, an embodiment of the present invention provides an FC protocol controller based on IP core multiplexing and multi-PCS integration, in which a new PCS selection module is added, and the PCS selection module is used to wrap multiple PCS IP cores or design codes, and the PCS selection module selects the PCS path of the corresponding rate to act on the entire chip or system to complete the connection between the PCS module of the specified rate and the MAC, determine the corresponding frequency point system path and data flow path, and map the control codes and control symbols of different PCSs to ensure that the top layer of the system can recognize them.
[0018] like Figure 1 As shown in the figure, 4G / 8GPCS is the reuse of the original code, 16G / 32G is the reuse of the IP core, and 64G is the self-developed code PCS. Specifically, the modules in the FC protocol controller are as follows: The serdes module is used to perform serial-to-parallel conversion on the other end input data and the local end output data; this module is relatively mature and can be directly reused.
[0019] FC_PCS_SEL module, which is the wrapper module of each PCS module, realizes the data exchange between PCS module, serdes module and the following FC_MAC module. It mainly includes the receiving side PCS selection module rx_pcs_sel and the transmitting side PCS selection module tx_pcs_sel; as well as the receiving side rate selection module and the transmitting side rate selection module.
[0020] Among them, the two rate selection modules are both used to generate a PCS module selection indication signal according to a given link rate (ie, rx_speed / tx_speed); the PCS module selection indication signal is used to control the connected PCS selection module to use a PCS module of which frequency point.
[0021] The receiving side PCS selection module includes a parallel data transceiver, a receiving side information configuration terminal and a PCS interface for connecting PCS modules or IP cores with different frequencies; wherein the parallel data transceiver is connected to the serdes module, and the receiving side information configuration terminal is connected to the output terminal of the receiving side rate selection module. The information configuration terminal is mainly used to receive the PCS module selection indication signal and the selected link rate.
[0022] The PCS selection module on the sending side includes an FC frame data transceiver, a sending side information configuration terminal, and a PCS interface for connecting PCS modules or IP cores with different frequencies; the FC frame data transceiver is connected to the MAC module, and the sending side information configuration terminal is connected to the output terminal of the sending side rate selection module. The information configuration terminals in the two PCS selection modules are mainly used to receive the PCS module selection indication signal and the selected link rate.
[0023] Based on the above connection, the two PCS selection modules can divide the system clock (rx_pcs_clk / tx_pcs_clk) through a given link rate (i.e., rx_speed / tx_speed), so that the PCS modules connected to the PCS interfaces of multiple different frequencies match the divided clock signal; and select a specific PCS module to transmit data at each frequency according to the PCS selection indication signal received by the information configuration end, specifically including: transmitting the data received by the data transceiver end to the PCS module connected to it through the PCS interface of the corresponding frequency according to the PCS module selection indication signal received by the information configuration end, or obtaining the data transmitted by the PCS module connected to it through the PCS interface of the corresponding frequency to the data transceiver end.
[0024] The FC_MAC module is used to receive and send data from the PCS module and connect to the switching module and routing in the switching chip; this module and the switching module and routing connected to it are relatively mature and can be directly reused.
[0025] NoC configuration bus module, used for system configuration; 4 / 8G PCS module, since the 4G and 8G frequency coding methods (8B / 10B) and PCS functions are roughly the same, they are reused as integrated codes to verify the feasibility of code reuse in this embodiment under the condition of realizing the functions; 16 / 32G PCS module, since the functions of 16G and 32G frequency point PCS are roughly the same, it is reused as a mature IP core to verify the feasibility of code reuse in this embodiment under the condition of realizing the function; 64G PCS module, because the 64G frequency point in the FC protocol uses 256 / 257B encoding and the specific functions therein are not available for the low frequency point, and there has been no relevant mature IP development before, so the 64G frequency point is developed in a self-developed way and added to the FC_PCS_SEL module for unified selection and processing, and the feasibility of this embodiment for the integration of self-developed code is verified under the condition of realizing the function.
[0026] by Figure 1 Taking the FC protocol controller shown as an example, its path configuration method and data path flow are introduced as follows to better understand the technical solution of the present invention.
[0027] like Figure 2 As shown, the path configuration method mainly includes the following steps: S201: Determine the link rate between the sending and receiving devices; Specifically, the link rate may be determined through register configuration or negotiation between the sending and receiving devices.
[0028] Specifically, the link-related registers are configured by buses such as ahb / axi / NoC, and the link rate is confirmed by register signals. Alternatively, the negotiated rate is confirmed through FC protocol rate negotiation, and the negotiated rate is obtained by adaptive negotiation between the local device and the opposite device. Rate negotiation is an important part of the FC protocol. During the negotiation process, the link continuously switches the rx and tx end rates according to the established rate support capabilities, and finally achieves coordination and consistency between the local and opposite ends to determine the final rate. It should be noted that the final rate is not necessarily the maximum rate supported by both the local device and the opposite device, but it must be the most stable rate for normal data transmission between devices.
[0029] S202: Send the determined link rate to the PCS selection module, which obtains the determined link rate through its respective link rate terminal, so as to subsequently confirm each PCS module that needs to work according to the link rate and adaptively connect each PCS module with the corresponding PCS interface.
[0030] S203: The two PCS selection modules divide the system clock according to the determined link rate, confirm the divided clocks on the rx and tx sides, so that the PCS modules connected to the PCS interfaces with multiple different frequencies on the bidirectional link match the divided clock signal.
[0031] S204: The receiving side link and the transmitting side link are initialized, the state machine jumps, and the corresponding control code is sent; S205: PCS modules at different frequencies map and send control codes according to link rates; Specifically, at different rates, different PCSs transmit control codes, and the control codes are mapped in the high-frequency PCS module to form control code patterns that can be recognized by the protocol controller and the peer device, thereby realizing the transmission of control codes from MAC to the peer device and from the peer device to MAC; S206: Execute the link establishment process according to the FC protocol requirements. After the link establishment is completed, data is sent and received between the sending side device and the receiving side device.
[0032] Specifically, according to the FC protocol requirements, the low frequency needs to complete the link quality (byte synchronization) detection and clock synchronization (ELS frame transmission and reception), and the high frequency needs to complete the link training (training), forward error correction (FEC) and the corresponding detection required by the low frequency as required, and finally complete the link establishment. After the link establishment is completed, the state machine jumps to the state of being ready to receive or send link data at any time, and the link normally sends and receives FC protocol frame information to complete the reception and transmission of data.
[0033] For the data flow of the system, the system based on the FC protocol mainly completes the transmission of frame information from the local end to the other end and the reception of frame information from the other end to the local end under the clock control of different rate frequencies. Figure 3 The data flow loopback effect is shown in Figure 1, which is the overall process from sending data to receiving data at the other end, including the entire process through the PCS selection module (ie, pcs_sel module) and the PCS modules of each frequency point. Figure 3 As shown, the specific steps of the data path process are as follows: RX direction: S301: After the entire link is established, the opposite device sends a serial data stream to the serdes module of the local device; S302: The serial data stream is converted into parallel data, i.e., FC protocol data frame, by the serdes module; S303: The parallel data is transmitted from the serdes module to the receiving side pcs_sel module, and the receiving side pcs_sel module transmits the parallel data to the PCS interface of the corresponding rate according to the link rate; S304: Different PCS modules perform corresponding scrambling and encoding operations according to the link rate requirements of the receiving side (rx); S305: The PCS module transmits the processed data to the MAC module; Specifically, in the FC protocol, the function of the MAC module is basically the same for different rates and does not need to be specially changed due to different PCS modules and transmission rates.
[0034] S306: The data is distributed by the MAC module to the routing and switching module, and is sent by the switching module to the corresponding receiving end of the routing port. The receiving end is the sending end of the data for the local device, and the link changes from rx to tx. TX direction: S307: The transmitting end sends the received data to the MAC module for processing; Specifically, the data of a general switching module is multi-frame spliced data, and the data needs to be split in the MAC to form frame-by-frame data that complies with the FC protocol; S308: MAC sends the tx side data to the PCS module at the current tx rate for processing; S309: Different PCS modules descramble and decode the frame data according to link rate requirements; S310: The pcs_sel module obtains parallel frame data on the corresponding PCS interface according to the tx rate; S311: The pcs_sel module sends the parallel data to the serdes module on the tx side, and the serdes module converts it into serial data and sends it to the other end; S312: The FC device at the other end receives the serial data stream sent by the local end.
[0035] It can be seen from this embodiment that the integration and reuse capabilities of the present invention for each PCS are very valuable in practical applications, and due to the reuse of various IPs and codes, the pressure of chip verification work can be greatly reduced and the development cycle of the entire chip can be shortened.
[0036] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An FC protocol controller based on IP core multiplexing and multi-PCS integration, including a serdes module and a MAC module, characterized in that: Also includes: A receiving side PCS selection module, a transmitting side PCS selection module, a receiving side rate selection module and a transmitting side rate selection module; wherein PCS represents a physical coding sublayer; The two rate selection modules are both used to generate a PCS module selection indication signal according to a given link rate; the PCS module selection indication signal is used to control the connected PCS selection module to use a PCS module of which frequency point; The receiving side PCS selection module includes a parallel data transceiver, a receiving side information configuration terminal and a PCS interface for connecting PCS modules or IP cores of different frequencies; wherein the parallel data transceiver is connected to the serdes module, and the receiving side information configuration terminal is connected to the output terminal of the receiving side rate selection module; The sending side PCS selection module includes an FC frame data transceiver, a sending side information configuration terminal and a PCS interface for connecting PCS modules or IP cores of different frequencies; wherein the FC frame data transceiver is connected to the MAC module, and the sending side information configuration terminal is connected to the output terminal of the sending side rate selection module; The two PCS selection modules are both used to divide the system clock according to the link rate given by the information configuration end, so that the PCS modules connected to the PCS interfaces of multiple different frequencies match the divided clock signal; and according to the PCS module selection indication signal received by the information configuration end, the data received by the data transceiver end is transmitted to the PCS module connected to it through the PCS interface of the corresponding frequency, or the data transmitted by the PCS module connected to it is obtained through the PCS interface of the corresponding frequency to the data transceiver end.
2. The FC protocol controller based on IP core multiplexing and multi-PCS integration according to claim 1, characterized in that: The PCS interface for connecting PCS modules or IP cores of different frequencies includes a PCS interface for connecting a 4G / 8G PCS module or IP core, a PCS interface for connecting a 16G / 32G PCS module or IP core, and a PCS interface for connecting a 64G PCS module or IP core.
3. An FC protocol controller based on IP core multiplexing and multi-PCS integration according to claim 1, characterized in that: Also included is a NoC configuration bus module for system configuration.
4. A PCS path configuration method for an FC protocol controller based on IP core multiplexing and multi-PCS integration according to any one of claims 1 to 3, characterized in that: include: Determine the link rate between the sending and receiving devices; Sending the determined link rate to the PCS selection module; The PCS selection module obtains the determined link rate and divides the system clock according to the determined link rate so that the PCS modules connected to the PCS interfaces of multiple different frequencies match the divided clock signal; The receiving side link and the transmitting side link are initialized and the corresponding control code is sent; The PCS modules at different frequencies map and send control codes according to the link rate; The link establishment process is performed according to the FC protocol requirements. After the link establishment is completed, data is sent and received between the sending and receiving devices.
5. The PCS path configuration method of the FC protocol controller based on IP core multiplexing and multi-PCS integration according to claim 4, characterized in that: The link rate between the sending and receiving devices is determined by register configuration or rate negotiation between the sending and receiving devices.
Citation Information
Cited By
Optical access network control circuit architecture, control method thereof and storage medium
CN122227118A
