Serial cascade system based on 64b / 66b encoding
By adopting a serial cascade system based on 64b/66b coding in a multi-channel phased array radar system, a closed communication loop is formed and synchronization header bit recognition is used to analyze synchronization words, achieving simultaneous communication of up to 128 sub-array channels. , which solves the problem of the limited number of high-speed serial channels of the main control chip and reduces the system cost.
Patent Information
- Application Number
- CN202410904606.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-08
AI Technical Summary
In the existing multi-channel phased array radar system, due to the limited number of high-speed serial channels of the main control chip, the system performance and expansion capabilities are limited when the number of sub-arrays increases, and increasing the number of channels significantly increases the system cost.
Using a serial cascade system based on 64b/66b encoding, a closed communication loop is formed through multiple sub-array nodes and the main control chip, and 64b/66b encoded data blocks are used for data transmission. Each chip node is identified through the synchronization header bit It also parses the synchronization word and decides to process or forward the data block locally to achieve simultaneous communication of up to 128 sub-array channels.
It effectively solves the problem of limited number of high-speed serial channels, reduces the need for a main control chip equipped with multiple serial channels, significantly reduces system costs, and simultaneously achieves efficient communication of multiple sub-array channels.
Smart Images

Figure CN118449657B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a serial cascade system based on 64b / 66b encoding. Background Art
[0002] With the development of phased array radar technology, the number of radar channels has increased significantly. The increase in the number of channels has improved the radar's reaction rate, multi-target tracking capability, resolution, versatility, and electronic countermeasures. However, due to the limited number of interfaces of traditional main control chips, it is impossible to directly connect to each array node. In order to solve the above problems, most multi-channel phased array radars use subarray solutions to expand array nodes, but the use of subarray solutions will make it impossible for the internal nodes of each subarray to be directly connected to the main control chip, and data can only be transmitted to the main control chip through the subarray control module. At the same time, due to the increase in the number of subarrays, the demand for the number of high-speed serial channels of the main control chip has also increased. The number of high-speed serial channels of the main control chip has become a bottleneck, limiting the performance and expansion capabilities of the system. Using a main control chip with multiple serial channels can alleviate this difficulty, but it will significantly increase the system cost. Summary of the invention
[0003] In view of the shortcomings of the prior art described above, an object of the present invention is to provide a serial cascade system based on 64b / 66b encoding, which is used to solve the technical problem that the increase in sub-arrays in the existing solution causes the high-speed serial channel of the main control chip to become a bottleneck, and increasing the number of channels significantly increases the system cost.
[0004] To achieve the above-mentioned purpose and other related purposes, the present invention provides a serial cascade system based on 64b / 66b encoding, comprising: a plurality of sub-array nodes and a main control chip; each sub-array node and the main control chip are cascaded as chip nodes to form a closed communication loop, and each chip node transmits data in the form of 64b / 66b encoded data blocks on the communication loop; each chip node is used to receive a data block transmitted from the previous chip node in the communication loop, and identify a synchronization header through a synchronization header bit in the data block, and parse the synchronization word of each multi-block; the synchronization word of each multi-block selects to process the corresponding multi-block in the node or send the corresponding multi-block to the next node; wherein each multi-block comprises: 32 data blocks; each data block consists of two synchronization header bits and 64 data bits; the two synchronization header bits are located at the beginning of each data block, and are used to determine whether data conversion occurs.
[0005] In one embodiment of the present invention, each chip node communicates with the chip node adjacent to it in the communication loop through a serial transceiver of the application physical layer set internally; wherein the serial transceiver includes: a receiving module, used to receive the data block transmitted from the previous chip node in the communication loop; a cascade controller, connected to the receiving module, used to identify the synchronization header of each data block based on the synchronization header bit of the continuously received data blocks, and parse the synchronization word of each multi-block, and then determine the processing method of each multi-block according to the synchronization word of each multi-block, and generate corresponding processing control instructions; a transmitting module, connected to the cascade controller, used to transmit the corresponding multi-block to the internal controller for processing or send the corresponding multi-block to the next chip node based on the processing control instructions sent by the cascade controller; and also used to send data blocks that need to be transmitted within the node to other chip nodes.
[0006] In one embodiment of the present invention, the cascade controller is used to identify the synchronization header of each data block and use the synchronization headers of 32 data blocks received continuously to generate the synchronization word of each multi-block; based on the synchronization word of each multi-block, verification and address extraction are performed to determine the processing method of each multi-block, and generate corresponding processing control instructions.
[0007] In one embodiment of the present invention, identifying the synchronization header of each data block includes: locking the synchronization header bit of a data block every time 64 consecutive bit transitions at 66-bit intervals are detected.
[0008] In one embodiment of the present invention, using the synchronization headers of 32 consecutive data blocks to generate the synchronization word of each multi-block includes: converting the synchronization header bits of the consecutive 32 data blocks into binary conversion bit values, and arranging the 32 conversion bit values in the order of reception to form a 32-bit synchronization word; wherein, a 12-bit field in the 32-bit synchronization word constitutes a CRC check signal, a 7-bit field constitutes a data packet destination address signal, and the remaining 13-bit field is a fixed position field; wherein, a 1-bit field in the 13-bit fixed position field constitutes an EoEMB signal.
[0009] In one embodiment of the present invention, the 12-bit CRC check signal is distributed in the 0th to 2nd bits, the 8th to 10th bits, the 16th to 18th bits and the 24th to 26th bits of the 32-bit synchronization word; the 7-bit data packet destination address signal is distributed in the 4th to 6th bits, the 12th to 14th bits and the 20th bit of the 32-bit synchronization word; the 3rd bit, the 7th bit, the 11th bit, the 15th bit, the 19th bit, the 21st bit, the 23rd bit and the 31st bit of the 32-bit synchronization word are fixed values 1, the EoEMB signal is distributed in the 22nd bit of the 32-bit synchronization word, and the remaining bits are fixed values 0.
[0010] In one embodiment of the present invention, the verification and address extraction based on the synchronization words of multiple blocks, determining the processing method of multiple blocks, and generating corresponding processing control instructions include: extracting CRC check signals from the parsed synchronization words of multiple blocks for verification; if the verification passes, extracting the destination address of the data packet from the synchronization word, and comparing the destination address of the data packet with the destination address inside the node and judging whether it is a broadcast signal through the destination address of the data packet; if the extracted destination address of the data packet matches the internal destination address or is judged to be a broadcast signal, generating a processing control signal for this node; if the extracted destination address of the data packet does not match the internal destination address and is judged not to be a broadcast signal, generating a processing control signal for a non-node.
[0011] In one embodiment of the present invention, based on the processing control instructions sent by the cascade controller, transmitting the corresponding multiple blocks to the internal controller for processing or sending the corresponding multiple blocks to the next chip node includes: when receiving a local node processing control signal from the cascade controller, the corresponding multiple blocks are transmitted to its internal FIFO and transmitted to the internal controller for processing; when receiving a non-local node processing control signal from the cascade controller, the corresponding multiple blocks are transmitted to the next chip node.
[0012] In one embodiment of the present invention, if the cascade controller detects that the extracted CRC check signal fails the check, the multiple blocks are discarded.
[0013] In one embodiment of the present invention, the transmitting module also includes: an arbitrator, which is used to set the data received by the receiving module to high priority and set the data to be transmitted within the node to low priority, so that the sending module can send the data in order according to the priority of the data.
[0014] As described above, the present invention is a serial cascade system based on 64b / 66b encoding, which has the following beneficial effects: the present invention forms a closed communication loop by cascading each subarray node and the main control chip, and transmits data in the loop through a serial interface in the form of 64b / 66b encoded data blocks. Each chip node receives the data block transmitted by the previous node in the communication loop, identifies and parses the synchronization word through the synchronization header bit, and then decides to process the data block locally or forward it to the next node. The present invention defines and uses a cascade structure to achieve simultaneous communication of up to 128 subarray channels in a standard serial interface. This design not only enables the main control chip to communicate with many subarrays through a pair of serial interfaces, effectively solving the problem of the limited number of high-speed serial channels, but also reduces the cost of the entire system significantly by reducing the demand for a main control chip equipped with multiple serial channels. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1It is a schematic diagram of the structure of a serial cascade system based on 64b / 66b encoding in one embodiment of the present invention.
[0016] Figure 2 Shown is a schematic diagram of the structure of multiple blocks in one embodiment of the present invention.
[0017] Figure 3 FIG. 4 is a schematic diagram showing the structure of a serial transceiver in an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0019] It should be noted that in the following description, reference is made to the accompanying drawings, which describe several embodiments of the present invention. It should be understood that other embodiments may also be used, and that mechanical composition, structural, electrical and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present invention is limited only by the claims of the published patents. The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.
[0020] Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a part is said to "include" a certain constituent element, unless otherwise stated, it does not exclude other constituent elements, but means that other constituent elements may be included.
[0021] The terms first, second and third mentioned herein are used to describe various parts, components, regions, layers and / or segments, but are not limited thereto. These terms are only used to distinguish a certain part, component, region, layer or segment from other parts, components, regions, layers or segments. Therefore, the first part, component, region, layer or segment described below may refer to the second part, component, region, layer or segment within the scope of the present invention.
[0022] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.
[0023] The present invention is a serial cascade system based on 64b / 66b encoding, in which each subarray node and the main control chip are cascaded to form a closed communication loop, and data is transmitted in the loop in the form of 64b / 66b encoded data blocks through a serial interface. Each chip node receives the data block transmitted by the previous node in the communication loop, identifies and parses the synchronization word through the synchronization header bit, and then decides to process the data block locally or forward it to the next node. The present invention defines and uses a cascade structure to achieve simultaneous communication of up to 128 subarray channels in a standard serial interface. This design not only allows the main control chip to communicate with many subarrays through a pair of serial interfaces, effectively solving the problem of limited number of high-speed serial channels, but also reduces the cost of the entire system significantly because it reduces the demand for a main control chip equipped with multiple serial channels.
[0024] The following is a detailed description of the embodiments of the present invention with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention. The present invention can be embodied in many different forms and is not limited to the embodiments described herein.
[0025] like Figure 1 A schematic structural diagram of a serial cascade system based on 64b / 66b encoding in an embodiment of the present invention is shown.
[0026] The system comprises: a plurality of sub-array nodes and a main control chip;
[0027] Each sub-array node and the main control chip are cascaded as chip nodes to form a closed communication loop, and each chip node transmits data in the form of 64b / 66b encoded data blocks on the communication loop; it should be noted that the number of chip nodes can be set according to demand, and up to 128 sub-array channels can communicate simultaneously, for example Figure 1 Chip node 1, chip node 2,..., chip node N.
[0028] 64b / 66b encoding is a coding technology used in data networks and transmissions, mainly used in 10 Gigabit Ethernet PCS (Physical Coding Sublayer). For the 64b / 66b link layer, each data block consists of two synchronization header bits and 64 data bits. The two synchronization header bits are a 2-bit unscrambled value located at the beginning of each data block. After the content is parsed, it is used to decode a single synchronization transition bit to determine whether a data transition has occurred. These bits are either in a 0-1 sequence, indicating a logical 1, or in a 1-0 sequence, indicating a logical 0.
[0029] Since the communication loop is a closed data transmission path, in which each chip node is connected to two adjacent nodes (an upstream node and a downstream node), thus forming a ring structure, each node can perform bidirectional data transmission with adjacent nodes in the communication loop.
[0030] Each chip node is used to receive data blocks from the previous chip node (upstream node) in the communication loop according to the predetermined transmission direction (clockwise or counterclockwise). The synchronization header is identified through the synchronization header bit in the data block, and the synchronization word of each multi-block is parsed; then the synchronization word of each multi-block is used to select the corresponding multi-block to be processed in the node or to be sent to the next node (downstream node); each multi-block includes: 32 data blocks, such as Figure 2 .
[0031] In one embodiment, if Figure 1 Each chip node communicates with the chip node adjacent to it in the communication loop through the serial transceiver 100 of the application physical layer set inside; wherein each serial transceiver includes:
[0032] The receiving module 101 is used to receive a data block transmitted from a previous chip node in the communication loop;
[0033] The cascade controller 102 is the core part of the serial transceiver, which is responsible for parsing the data blocks and determining how to process the data blocks. This ensures the correct transmission and processing of the data in the communication loop. The cascade controller 102 is connected to the receiving module 101, and is used to identify the synchronization header of each data block based on the synchronization header bits of the continuously received data blocks, and parse the synchronization word of each multi-block, and then determine the processing method of each multi-block according to the synchronization word of each multi-block, and generate corresponding processing control instructions.
[0034] The transmitting module 103 is connected to the cascade controller 102 and is used to transmit the corresponding multiple blocks to the internal controller for processing or send the corresponding multiple blocks to the next chip node based on the processing control instructions sent by the cascade controller 102; in addition to transmitting data blocks from other nodes, the transmitting module 103 is also used to send the data blocks that need to be transmitted within the node to the communication loop.
[0035] In one embodiment, if Figure 3 As shown, the receiving module 101 receives data through the physical layer, which corresponds to multiple channels, namely channels 0 to N; the transmitting module 103 transmits data through the physical layer, which corresponds to multiple channels, namely channels 0 to N. A FIFO (first-in-first-out queue) is provided inside the transmitting module 103; the FIFO inside the transmitting module 103 is used to temporarily store data blocks to be sent or processed. FIFO is a commonly used buffering mechanism that can smooth data flow and reduce packet loss or delay caused by mismatch in processing speed.
[0036] In one embodiment, the cascade controller 102 has three functions, including: synchronous delimitation of data blocks, cascade data processing and synchronization word verification; specifically, the cascade controller 102 is responsible for identifying the synchronization header of each data block, which is a sign of the beginning of the data block. By analyzing the synchronization headers of 32 data blocks received continuously, the synchronization word of each multi-block is generated, thereby realizing the synchronous delimitation of the data block. The cascade controller 102 performs data processing based on the generated synchronization word. This includes parsing the information in the synchronization word, such as checking the CRC check signal, extracting the destination address of the data packet, etc. The cascade controller 102 determines the processing method of the multi-block based on the synchronization word verification result and the address extraction result, and the cascade controller 102 generates corresponding processing control instructions. These instructions will control the processing method of the multi-block by the transmitting module 103, such as sending the data to the FIFO, the internal controller or the next chip node.
[0037] In a specific embodiment, whether synchronization is completed is determined by finding whether a data transition occurs in the 2-bit data at each block boundary, and the synchronization header of each data block is identified, including: every time 64 consecutive bit transitions at 66-bit intervals are detected, the synchronization header bit of a data block is locked.
[0038] In a specific embodiment, generating a synchronization word for each multi-block using synchronization headers of 32 consecutively received data blocks includes:
[0039] The synchronization header bits of 32 consecutive data blocks are converted into binary conversion bit values, and the 32 conversion bit values are arranged in the receiving order to form a 32-bit synchronization word, which is used to provide channel synchronization and enable deterministic delay. In addition, it can also selectively provide CRC error checking, forward error correction, or provide a command channel for the transmitting module to communicate with the receiving module.
[0040] The conversion of the conversion bit value is performed according to the following table:
[0041] Table 1: Synchronous header conversion bit value table
[0042] Converting place values Sync header bit[1:0] 0 10 1 01
[0043] Among them, the 32-bit synchronization word has three different format options, and the specific composition is as follows:
[0044] CRC check signal (12 bits): The 12 bits in the synchronization word are used to form a cyclic redundancy check (CRC) signal. CRC is a commonly used error detection method that generates a check code through a specific polynomial algorithm to detect whether errors occur during data transmission.
[0045] Packet destination address signal (7 bits): The 7 bits in the sync word are used to indicate the destination address of the packet. This allows the data to be correctly routed to the designated recipient in the network.
[0046] Fixed Position Field (13 bits): The remaining 13 bits of the sync word are the fixed position field, which includes:
[0047] EoEMB signal (1 bit): 1 bit in the fixed position field is used to form the end flag (EoEMB), which exists only as JESD204C compatibility, indicating the end of the extended multi-frame. This signal is critical for the receiver to identify the boundary of the data block. JESD204C is a high-speed serial communication protocol developed by JEDEC (Joint Electron Device Engineering Council) and is mainly used for high-speed data transmission, especially in high-performance computing and data-intensive applications.
[0048] In a specific embodiment, the functions of each field of the 32-bit synchronization word need to be specifically set. Table 2 shows the different bit fields used in the cascade system:
[0049] Table 2: Field function table of 32-bit sync word
[0050] Number of digits Function Number of digits Function Number of digits Function Number of digits Function 0 CRC_A 8 CRC_A 16 CRC_A 24 CRC_A 1 CRC_A 9 CRC_A 17 CRC_A 25 CRC_A 2 CRC_A 10 CRC_A 18 CRC_A 26 CRC_A 3 1 11 1 19 1 27 0 4 ID 12 ID 20 ID 28 0 5 ID 13 ID 21 1 29 0 6 ID 14 ID 22 EOEMB 30 0 7 1 15 1 23 1 31 1
[0051] As can be seen from the table above, CRC check signal (12 bits): distributed in bits 0-2, 8-10, 16-18 and 24-26 of the synchronization word. These bits are used for error detection. Data packet destination address signal (7 bits): distributed in bits 4-6, 12-14 and 20. These bits are used to specify the destination of the data packet. EoEMB signal (1 bit): located in bit 22, used to indicate the end of the data block. Bits with fixed value 0: Except for the bits specified above, the remaining bits are set to 0, which may be used for reservation or future expansion.
[0052] The last five bits of each group of synchronization header data are the "00001" sequence. This specific bit pattern serves as an end mark to clearly indicate the end of a group of multi-frame data. Since a fixed-position "1" is inserted in the synchronization word, there are only a maximum of three consecutive "0"s before the "00001" sequence. This design ensures that the "00001" sequence can only appear at the end of the multi-frame data, thereby avoiding errors in the synchronization alignment process. In the 32-bit synchronization word, the bits with fixed values of 1 (bits 3, 7, 11, 15, 19, 21, 23, and 31) work together with the EoEMB signal (bit 22) to provide a clear context for the "00001" sequence, allowing the receiver to accurately identify the end mark. This design allows data frames to be clearly defined during transmission, and the receiver can determine the boundaries of the data frame based on the "00001" sequence, thereby correctly parsing and processing the data. During the link training phase, the "00001" sequence can be used to align and synchronize the link to ensure the accuracy and reliability of data transmission.
[0053] The design of the synchronization word in this embodiment carefully arranges the positions of various signals to achieve effective synchronization, verification and routing of data. It has the following advantages:
[0054] 1. Efficient error detection: Distributing the CRC check signal at different positions of the synchronization word can provide more comprehensive protection, increase the probability of error detection, and thus improve the reliability of data transmission.
[0055] 2. Flexible data routing: By distributing the destination address signal of the data packet at multiple locations of the synchronization word, the system can support more complex routing strategies and more data destination address forms, improving the flexibility and scalability of the system.
[0056] 3. Clear data block delimitation: The introduction of the EoEMB signal and the last five bits of the "00001" sequence provide a clear end indication for the data block, which helps the receiver to accurately identify the boundaries of the data block and reduce data processing problems caused by data block delimitation errors.
[0057] 4. Simplified synchronization process: The fixed format of the synchronization word simplifies the synchronization process of the sender and receiver, allowing the system to reach a synchronized state faster and improving the efficiency of data transmission.
[0058] In one embodiment, the cascade controller 102 specifically performs the following operation flow:
[0059] Extract the CRC check signal from the parsed multiple blocks of synchronization words for verification; specifically, the cascade controller 102 first extracts a 12-bit CRC check signal from the parsed multiple blocks of synchronization words; the extracted CRC check signal is compared with the received data block. If the CRC check passes, it means that there is no error in the data block during transmission, or the error is within an acceptable range.
[0060] If the check is passed, the destination address of the data packet is extracted from the synchronization word, and the destination address of the data packet is compared with the destination address inside the node and the data packet destination address is used to determine whether it is a broadcast signal; specifically, if the CRC check is passed, the cascade controller 102 extracts a 7-bit data packet destination address signal from the synchronization word. The extracted data packet destination address is compared with the destination address set inside the cascade controller 102. At the same time, it is also determined whether the received data packet is a broadcast signal. A broadcast signal is a special data packet whose destination address is specified as all nodes, requiring all nodes that receive the signal to process it. Generally speaking, 0 is defined as a broadcast signal, and a data packet destination address signal of 0 indicates a broadcast signal.
[0061] If the extracted data packet destination address matches the internal destination address or is determined to be a broadcast signal, a local node processing control signal is generated; specifically, if the extracted data packet destination address matches the internal destination address or is determined to be a broadcast signal, the cascade controller 102 will generate a local node processing control signal. This signal indicates that the local node needs to further process the data packet, such as data storage, forwarding, or executing a specific processing operation.
[0062] If the extracted data packet destination address does not match the internal destination address and it is judged not to be a broadcast signal, a non-local node processing control signal is generated; specifically, if the extracted data packet destination address does not match the internal destination address and it is judged not to be a broadcast signal, the cascade controller 102 will generate a non-local node processing control signal. This signal indicates that the local node does not need to process the data packet and the data packet will be forwarded to other nodes.
[0063] The design of the cascade controller 102 ensures accurate reception, verification and routing of data packets. The integrity of the data is ensured by CRC verification, and the data is correctly distributed to the target node by address comparison and broadcast signal judgment. This mechanism improves the reliability and efficiency of data transmission, which is crucial for building complex network communication systems.
[0064] In a specific embodiment, each chip node is provided with an internal controller; the internal controller of each chip node is responsible for managing the data processing decision of the node, and processes data according to the received control signal.
[0065] The transmitting module 103 transmits the corresponding blocks to the internal controller for processing or sends the corresponding blocks to the next chip node based on the processing control instruction sent by the cascade controller 102, including:
[0066] When receiving the local node processing control signal from the cascade controller 102, the corresponding multiple blocks are transferred to its internal FIFO and transferred to the internal controller for processing; Specifically, when the transmitting module 103 receives the local node processing control signal from the cascade controller 102, it will perform the following operations: Transfer the corresponding data block to the internal FIFO. Read the data block from the FIFO and transfer it to the internal controller for further processing.
[0067] When receiving a non-current node processing control signal from the cascade controller 102, the corresponding multiple blocks are transmitted to the next chip node. Specifically, when the transmitting module 103 receives a non-current node processing control signal from the cascade controller 102, it performs the following operations: directly transmit the corresponding data block to the next chip node instead of storing it in the FIFO.
[0068] In one embodiment, if the cascade controller 102 detects that the extracted CRC check signal fails the check, the multiple blocks are discarded.
[0069] In one embodiment, the transmitting module further includes: an arbitrator, whose main function is to determine the priority order of data transmission. It ensures that high-priority data can be processed and sent first. Specifically, the arbitrator sets the data received by the receiving module 101 to a high priority. Therefore, when the receiving module 101 receives new data blocks, these data blocks will be given a higher priority, so that they can be processed and sent by the transmitting module 103 more quickly. At the same time, the arbitrator sets the data generated or required to be transmitted inside the node to a low priority. Although these data blocks will also be processed, they will be placed at the back of the queue relative to the data received by the receiving module 101 until the high-priority data blocks are sent and sent by the transmitting module 103.
[0070] The present invention provides an arbitrator to respond to external data requests more quickly, thereby improving overall data processing efficiency and response speed. In the case of high traffic or high priority data arriving frequently, the arbitrator can prevent low priority data from waiting for a long time, thereby reducing the risk of data loss or delay.
[0071] In summary, the serial cascade system based on 64b / 66b encoding of the present invention is composed of each sub-array node and the main control chip through cascading to form a closed communication loop, and data is transmitted in the loop through a serial interface in the form of 64b / 66b encoded data blocks. Each chip node receives the data block transmitted by the previous node in the communication loop, identifies and parses the synchronization word through the synchronization header bit, and then decides to process the data block locally or forward it to the next node. The present invention defines and uses a cascade structure to achieve simultaneous communication of up to 128 sub-array channels in a standard serial interface. This design not only allows the main control chip to communicate with many sub-arrays through a pair of serial interfaces, effectively solving the problem of the limited number of high-speed serial channels, but also reduces the cost of the entire system by reducing the demand for a main control chip equipped with multiple serial channels. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.
[0072] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A serial cascade system based on 64b / 66b encoding, characterized in that: include: Multiple sub-array nodes and main control chips; Each sub-array node and the main control chip are cascaded as chip nodes to form a closed communication loop, and each chip node transmits data in the form of 64b / 66b encoded data blocks on the communication loop; Each chip node is used to receive a data block transmitted from a previous chip node in the communication loop, identify a synchronization header through a synchronization header bit in the data block, and parse the synchronization word of each multi-block; The synchronization word of each multi-block is used to select whether to process the corresponding multi-block in the current node or to send the corresponding multi-block to the next node; Each multi-block includes: 32 data blocks; each data block consists of two synchronization header bits and 64 data bits; the two synchronization header bits are located at the beginning of each data block and are used to determine whether data conversion occurs; The step of identifying the synchronization header by the synchronization header bit in the data block and parsing the synchronization word of each multi-block includes: Identifying the synchronization header of each data block and using the synchronization headers of 32 consecutively received data blocks to generate a synchronization word for each multi-block, including: identifying the synchronization header of each data block, converting the synchronization header bits of the consecutive 32 data blocks into binary conversion bit values respectively, and arranging the 32 conversion bit values in a receiving order to form a 32-bit synchronization word; Among them, the 12-bit field in the 32-bit synchronization word constitutes a CRC check signal, the 7-bit field constitutes a data packet destination address signal, and the remaining 13-bit field is a fixed position field; among them, the 1-bit field in the 13-bit fixed position field constitutes an EoEMB signal.
2. The serial cascade system based on 64b / 66b encoding according to claim 1, characterized in that: Each chip node communicates with the chip node adjacent to it in the communication loop through the serial transceiver of the application physical layer set inside; Among them, the serial transceiver includes: A receiving module, used for receiving a data block transmitted from a previous chip node in the communication loop; A cascade controller, connected to the receiving module, for identifying the synchronization header of each data block based on the synchronization header bits of the continuously received data blocks, parsing the synchronization word of each multi-block, and then determining the processing mode of each multi-block according to the synchronization word of each multi-block, and generating corresponding processing control instructions; The transmitting module is connected to the cascade controller and is used to transmit the corresponding multiple blocks to the internal controller for processing or send the corresponding multiple blocks to the next chip node based on the processing control instructions sent by the cascade controller; it is also used to send data blocks that need to be transmitted within the node to other chip nodes.
3. The serial cascade system based on 64b / 66b encoding according to claim 2, characterized in that: The cascade controller is used to identify the synchronization header of each data block and generate the synchronization word of each multi-block using the synchronization headers of 32 consecutively received data blocks; Based on the synchronization word of each multi-block, verification and address extraction are performed to determine the processing mode of each multi-block, and generate corresponding processing control instructions.
4. The serial cascade system based on 64b / 66b encoding according to claim 3, characterized in that: Identifying the synchronization header of each data block includes: every time 64 consecutive bit transitions at 66-bit intervals are detected, the synchronization header bit of one data block is locked.
5. The serial cascade system based on 64b / 66b encoding according to claim 1, characterized in that: The 12-bit CRC check signal is distributed in bits 0-2, 8-10, 16-18 and 24-26 of the 32-bit synchronization word; the 7-bit data packet destination address signal is distributed in bits 4-6, 12-14 and 20 of the 32-bit synchronization word; bits 3, 7, 11, 15, 19, 21, 23 and 31 of the 32-bit synchronization word are fixed values 1, the EoEMB signal is distributed in bit 22 of the 32-bit synchronization word, and the remaining bits are fixed values 0.
6. The serial cascade system based on 64b / 66b encoding according to claim 3, characterized in that: The checking and address extraction based on the synchronization words of multiple blocks, determining the processing methods of multiple blocks, and generating corresponding processing control instructions include: Extracting CRC check signals from the parsed synchronization words of multiple blocks for verification; If the verification is passed, the destination address of the data packet is extracted from the synchronization word, and the destination address of the data packet is compared with the destination address inside the node, and the destination address of the data packet is used to determine whether it is a broadcast signal; If the extracted data packet destination address matches the internal destination address or is judged to be a broadcast signal, a processing control signal of this node is generated; If the extracted data packet destination address does not match the internal destination address and is judged not to be a broadcast signal, a non-node processing control signal is generated.
7. The serial cascade system based on 64b / 66b encoding according to claim 2, characterized in that: Based on the processing control instruction sent by the cascade controller, transmitting the corresponding multiple blocks to the internal controller for processing or sending the corresponding multiple blocks to the next chip node includes: When receiving the processing control signal of this node from the cascade controller, it transfers the corresponding multiple blocks to its internal FIFO and transmits them to the internal controller for processing; When a non-node processing control signal is received from the cascade controller, the corresponding multiple blocks are transmitted to the next chip node.
8. The serial cascade system based on 64b / 66b encoding according to claim 6, characterized in that: If the cascade controller detects that the extracted CRC check signal fails to pass the check, the multiple blocks are discarded.
9. The serial cascade system based on 64b / 66b encoding according to claim 2, characterized in that: The transmitting module also includes: an arbitrator, which is used to set the data received by the receiving module to a high priority and set the data to be transmitted inside the node to a low priority, so that the sending module can send the data in order according to the priority level.
