Transmission system for converting AXI bus into general data stream
By using the packaging and unpacking mechanism of the encoding module and the decoding module in the AXI bus-to-general data stream transmission system, the problems of low data utilization and complex unpacking are solved, and efficient data transmission is achieved.
Patent Information
- Application Number
- CN202410690241.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing AXI bus-to-universal data stream transmission system, the data utilization rate is not high and the unpacking logic is complex, resulting in increased unpacking delay.
A transmission system is designed that converts the AXI bus into a universal data stream including an encoding module, a decoding module and a configuration module. The displacement splicer and the packet grouping module are used to splice and set the header and tail of the packet in one clock cycle, and the packet is unpacked in the decoding module. The module only processes one packet header, and the configuration module flexibly controls the packet header length and buffer size.
It improves the data utilization rate of the data flow channel, simplifies the unpacking logic, shortens the unpacking delay, is suitable for different data transmission environments, and improves the transmission efficiency.
Smart Images

Figure CN118612290A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital information transmission, and in particular to a transmission system for converting an AXI bus to a universal data stream. Background Art
[0002] AXI bus is Advanced Extensible Interface, which is an interface protocol defined by Arm. This protocol belongs to the AMBA standard and is mainly used to meet the needs of high-performance memory mapping. The AXI protocol defines 5 channels, namely the read address channel AR, the read data channel R, the write address channel AW, the write data channel W and the write return channel B. The initiator of the request and the receiver of the response are recorded as AXI Master, and the receiver of the request and the initiator of the response are AXI slave. The 5 channels are independent of each other, and each uses the valid ready handshake method to complete the data exchange between the master and the slave. The correspondence between the address and the data between the channels is completed only by the ID number.
[0003] General data stream mainly refers to protocols used for high-speed streaming data transmission, such as AXI stream, UCIE, etc. General data stream transmission does not distinguish between reading and writing, and has no address interface, only data information.
[0004] When the AXI bus request of the upper layer of the local end wants to interact with the AXI interface of the remote end, it often needs to be transmitted through a high-speed serial data channel, that is, the AXI request of the local end needs to be converted into data in the general data stream format first, and then these converted data streams are sent to the remote end through the high-speed serial channel, and finally the remote end converts the received data stream into the AXI bus format and sends it to the upper layer. Similarly, the AXI response data of the remote end also uses the same method to finally return to the local end.
[0005] Since the universal data stream protocol interface has no address interface but only a data interface, existing solutions often concatenate the signals of each channel within a clock cycle into packets, insert a packet header and padding bits, and then directly send the packet to the universal data stream.
[0006] Take the 32-bit wide read data channel R as an example: 4-bit RID, 32-bit RDATA, 2-bit RRESP, and 1-bit RLAST are spliced into a 39-bit packet in a fixed order, and then a 3-bit packet header is spliced (there are 5 channels and 5 types of packets, so 3 bits are needed to distinguish), and finally 6-bit padding bits are spliced as the packet tail, so that the length of the entire packet is a multiple of byte and sent to the general data stream. Similarly, the same method is used for packaging processing for other channels.
[0007] The above existing solutions have the following problems: a packet header and padding bits are inserted into each channel, resulting in low data utilization of the entire data stream channel; moreover, since a data stream may contain multiple packet headers in one clock cycle, this not only greatly increases the logical complexity of unpacking, but also requires multiple clock cycles to complete the unpacking, increasing the unpacking delay. Summary of the invention
[0008] The object of the present invention is to provide a transmission system for converting an AXI bus to a general data stream, so as to solve the problems existing in the above-mentioned existing solutions.
[0009] According to the present invention, a transmission system for converting an AXI bus to a universal data stream is provided, wherein the transmission system comprises an encoding module, a decoding module and a configuration module, wherein the encoding module is used to convert data in an AXI bus format into data in a universal data stream format, and the decoding module is used to convert data in a universal data stream format into data in an AXI bus format.
[0010] The encoder module includes a displacement splicer, a packet assembly module and a first buffer. The displacement splicer is used to splice data of all preset channels corresponding to the AXI bus within one clock cycle, and send the spliced data obtained after splicing to the packet assembly module.
[0011] The packet assembly module is used to receive the spliced data, set a packet header and a packet tail for the spliced data, and send the data packet obtained after setting the packet header and the packet tail to the first buffer or to the remote end.
[0012] The first buffer is used to temporarily store data packets that have not been sent to the remote end.
[0013] The decoder module includes an unpacking module and a second buffer. The unpacking module includes a packet header positioning module and a data splitting module. The packet header positioning module is used to locate the packet header position in the data packet; the data splitting module is used to split the data in the data packet except the packet header, and send the data of each preset channel corresponding to the AXI bus obtained after the splitting to the second buffer or to the requesting recipient.
[0014] The second buffer module is used to temporarily store data of each preset channel corresponding to the AXI bus that has not been sent to the requesting recipient.
[0015] The configuration module includes a header control module, a length control module and a buffer control module. The header control module is used to control the length of the header of the data packet; the length control module is used to control the length of the data of each preset channel corresponding to the AXI bus; and the buffer control module is used to control the size of the first buffer module and the second buffer module.
[0016] Compared with the prior art, the present invention has at least the following beneficial effects:
[0017] The transmission system of the AXI bus to a universal data stream of the present invention comprises an encoding module, a decoding module and a configuration module, wherein the encoding module comprises a displacement splicer and a packet assembly module, the displacement splicer is used to splice the data of all preset channels corresponding to the AXI bus within one clock cycle, and the packet assembly module is used to set a packet header and a packet tail for the spliced data obtained after splicing, thereby, the AXI bus within one clock cycle corresponds to a data packet, and the unpacking module in the later decoding module also has only one packet header when unpacking the data packet, which can solve the problem of low data utilization rate and difficulty in unpacking of the entire data stream channel caused by packaging each channel separately in the existing solution.
[0018] Moreover, the configuration module of the present invention can flexibly configure the length of the packet header, the length of the data of each preset channel, and the size of the first buffer module and the second buffer module, so that the transmission system can be adapted to different data transmission environments, which is conducive to further improving the transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A schematic diagram of the structure of a transmission system for converting an AXI bus to a general data stream provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of the structure of an encoding module provided in an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of the structure of a decoding module provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the structure of a configuration module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0025] According to the present invention, a transmission system for converting an AXI bus to a general data stream is provided, such as Figure 1 As shown, the transmission system includes an encoding module, a decoding module and a configuration module. The encoding module is used to convert data in the AXI bus format into data in the general data stream format, and the decoding module is used to convert data in the general data stream format into data in the AXI bus format.
[0026] Those skilled in the art know that any general data stream in the prior art falls within the protection scope of the present invention. Optionally, the general data stream is an AXI stream protocol or a UCIE protocol.
[0027] The encoder module includes a displacement splicer, a packet assembly module and a first buffer. Figure 2 As shown, the displacement splicer is used to splice the data of all preset channels corresponding to the AXI bus within one clock cycle, and send the spliced data obtained after splicing to the packet assembly module.
[0028] In this embodiment, the displacement splicer intercepts all the data that need to be transmitted in the five channels of the AXI bus within a clock cycle, and delivers them to the package assembly module after splicing. The configuration in the configuration module determines which channels or signals need to be intercepted and transmitted. As a specific implementation, if the number of preset channels corresponding to the AXI bus is 5, the data of the five preset channels are spliced in the order of write return channel, write address channel, read address channel, write data channel and read data channel; if the number of preset channels corresponding to the AXI bus is less than 5, the data of the preset channels are spliced according to the above order. For example, the preset channels corresponding to the AXI bus are the read address channel and the read data channel, then the data of the two preset channels are spliced in the order of the read address channel and the read data channel.
[0029] The packet assembly module is used to receive the spliced data, set a packet header and a packet tail for the spliced data, and send the data packet obtained after setting the packet header and the packet tail to the first buffer or to the remote end.
[0030] In this embodiment, the packet assembly module finally determines the specific width of the packet header and the specific value of the packet length based on the splicing status of the displacement splicing module and the configuration in the configuration module. After inserting padding bits at the end of the packet to make it a multiple of byte, the entire packet assembly logic is completed and can be delivered to the general data stream. In addition, the packet assembly module is also used to ensure that there will not be two packet headers or two packet tails in a delivered data.
[0031] The first buffer is used to temporarily store data packets that have not been sent to the remote end, so as to temporarily store the data to be transmitted when the general data stream back pressure encoding module is in the rear, thereby reducing the forward transmission of back pressure.
[0032] The decoder module includes a depacketizing module and a second buffer, such as Figure 3 As shown, the unpacking module includes a packet header positioning module and a data splitting module. The packet header positioning module is used to locate the packet header position in the data packet; the data splitting module is used to split the data in the data packet except the packet header, and send the data of each preset channel corresponding to the AXI bus obtained after the splitting to the second buffer or to the requested recipient.
[0033] In this embodiment, the packet header positioning module is used to locate the packet header, that is, for the data delivered by the general data stream, to locate which byte of the current data is the new packet header; the data splitting module is used to find the packet header and then split the data according to the specific data in the packet header, splitting it into signal requests of each channel and delivering it backward; the logic of the packet header positioning module and the data splitting module will also be affected by the configuration in the configuration module.
[0034] In this embodiment, within one clock cycle, two packet headers or two packet tails will not appear in a data sent to the general data stream, which can greatly optimize the unpacking logic inside the decoding module and ensure that the decoding module can always complete the unpacking within one clock cycle without back-pressuring the general data stream, thereby shortening the unpacking delay.
[0035] The second buffer module is used to temporarily store the data of each preset channel corresponding to the AXI bus that has not been sent to the requested recipient, so as to store the data after the unpacking module is unpacked when the next level back pressure unpacking module is in operation.
[0036] The configuration module includes a packet header control module, a length control module and a buffer control module. Figure 4 As shown, the header control module is used to control the length of the header of the data packet; the length control module is used to control the length of the data of each preset channel corresponding to the AXI bus; and the buffer control module is used to control the size of the first buffer module and the second buffer module.
[0037] In this embodiment, the configuration in the configuration module also adds flexibility to the entire packet assembly logic. For example, if the entire data path only needs to transmit certain channels, the packet header length can be modified in the configuration module; if a signal in a channel does not need to be transmitted, the data length of the corresponding channel in the packet can be modified in the configuration module; if a signal in a channel is a fixed value most of the time, it can be optimized as a 1-bit additional identifier in the packet header.
[0038] In this embodiment, the sizes of the first buffer module and the second buffer module correspond to the maximum number of requests on the entire data path.
[0039] In this embodiment, the 5 bits of the packet header correspond to the data of the 5 channels of the AXI bus. Optionally, the corresponding bit value is 0 to indicate that the corresponding channel has no data in the current clock cycle, and the corresponding bit value is 1 to indicate that the corresponding channel has data in the current clock cycle. In some scenarios, when the upper layer clearly states that some channels will not have data, such as when there is only a read request on the entire data path, the register in the packet header control module can be modified to change the length of the packet header to 2 bits to indicate the read address channel and the read data channel, thereby improving the transmission efficiency. Optionally, the packet header control module is used to perform the following steps:
[0040] S100, obtain the data transmission requirement sequence Q of the AXI bus, Q = [q1, q2, q3, q4, q5], q i is the transmission requirement identifier of the i-th channel of the AXI bus. The value range of i is 1 to 5. i =1, it indicates that the i-th channel of the AXI bus has a data transmission requirement; when q i When =0, it indicates that there is no data transmission requirement for the i-th channel of the AXI bus.
[0041] As a specific implementation, the first channel of the AXI bus is a read address channel, the second channel of the AXI bus is a read data channel, the third channel of the AXI bus is a write address channel, the fourth channel of the AXI bus is a write data channel, and the fifth channel of the AXI bus is a write return channel.
[0042] In this embodiment, Q is known and optional, and is obtained through user input; if in a certain scenario, all five channels of the AXI bus have data transmission requirements, then Q = [1,1,1,1,1]; if in a certain scenario, only the first and second channels of the AXI bus have data transmission requirements, then Q = [1,1,0,0,0]; if in a certain scenario, only the third, 4g and fifth channels of the AXI bus have data transmission requirements, then Q = [0,0,1,1,1].
[0043] S200, traverse Q, if q i =1, it is determined whether there is a need to add a header identifier to the i-th channel of the AXI bus. If not, the number of header identifiers num of the i-th channel of the AXI bus is set to i Determine to be 1; otherwise, set num i Determined as 1+p i , p i The number of packet header identifiers to be increased for the i-th channel of the AXI bus; if q i =0, then num i Determined to be 0.
[0044] In this embodiment, if q i =1, it is determined that the i-th channel of the AXI bus is a preset channel; otherwise, it is determined that the i-th channel of the AXI bus is not a preset channel.
[0045] Optional, p i is known and is obtained through user input; or, p i The acquisition process includes:
[0046] S010, obtain the signal transmission requirement sequence z of the i-th channel of the AXI bus i , z i =[z i,1 ,z i,2 ,…,z i,a ,…,z i,v ],z i,a is the transmission requirement identifier of the ath signal of the i-th channel of the AXI bus. i,a =1, it indicates that the ath signal of the ith channel of the AXI bus has a transmission requirement; when z i,a =0, it indicates that there is no transmission requirement for the ath signal of the i-th channel of the AXI bus. The value range of a is 1 to v, where v is the number of signals corresponding to the i-th channel of the AXI bus.
[0047] In this embodiment, z i is known and can be obtained through user input; optionally, when the upper layer indicates that a certain signal does not need to be transmitted or a certain signal is a fixed value, it is determined that there is no transmission demand for the signal.
[0048] S020, get p i , p i =v-sum(z i ), sum() is the sum.
[0049] Based on S010-S020, it can be obtained that the number of packet header identifiers to be increased for the i-th channel of the AXI bus.
[0050] S300, determining the length of the header of the data packet as ∑ 5 i=1 num i .
[0051] As a specific implementation, if there is a need for data transmission in all five channels of the AXI bus, and there is no need to add a header identifier to each channel, then the length of the header of the data packet is 5 bits; if there is a need for data transmission in all five channels of the AXI bus, and there is a need to add a header identifier to the write data channel, then the length of the header of the data packet is 6 bits. For example, in a 512-bit scenario, the bit width of the WSTRB signal of the write data channel is 64 bits, and this data corresponds to the 512-bit WDATA signal, indicating the validity of each byte in the data; when the upper layer performs a long write data transmission, WSTRB is not all 1 only in the first and last strokes, and the intermediate data is 64 bits all 1. At this time, the header length of 1 bit is increased to indicate that the sub-packet corresponding to the write data channel does not contain the data corresponding to the WSTRB signal; if the header length of 1 bit is not increased, the sub-packet corresponding to the write channel contains the data corresponding to the WSTRB signal; thus, this embodiment can improve the overall transmission efficiency.
[0052] In some scenarios, when the upper layer clearly states that some signals of some channels do not need to be transmitted or are constant values, such as when ARLOCK and ARCACHE of the read address channel are always 0, the data length of the sub-packet of the read address channel can be changed by modifying the register in the length control module, and these two signals are no longer transmitted, thereby reducing the amount of redundant data and improving transmission efficiency. Optionally, the length control module is used to perform the following steps:
[0053] E100, obtain the signal transmission requirement sequence c of the jth preset channel of the AXI bus j , c j =[c j,1 ,c j,2 ,…,c j,x ,…,c j,u ], c j,x is the transmission requirement identifier of the xth signal of the jth preset channel of the AXI bus. j,x =1, it indicates that the xth signal of the jth preset channel of the AXI bus has a transmission requirement; when c j,x =0, it indicates that there is no transmission demand for the xth signal of the jth preset channel of the AXI bus, the value range of x is 1 to u, u is the number of signals corresponding to the jth preset channel of the AXI bus, the value range of j is 1 to n, n is the number of preset channels of the AXI bus.
[0054] In this embodiment, c j is known and can be obtained through user input.
[0055] In this embodiment, the signal corresponding to each preset channel is known. For example, when a preset channel of the AXI bus is a write data channel, the signals corresponding to the preset channel are: WID, WDATA, WSTRB, WLAST, WVALID and WREADY; when a preset channel of the AXI bus is a write return channel, the signals corresponding to the preset channel are: BID, BRESP, BVALID and BREADY.
[0056] E200, obtain the signal length sequence L of the jth preset channel of the AXI bus j , L j =[L j,1 ,L j,2 ,…,L j,x ,…,L j,u ], L j,x It is the data length corresponding to the xth signal of the jth preset channel of the AXI bus.
[0057] In this embodiment, L j is known and can be obtained through user input.
[0058] E300, get the length len of the data of the jth preset channel of the AXI bus j ,len j =∑ u x=1 (c j,x ×L j,x ).
[0059] Based on E100-E300, you can get the length len of the data of the jth preset channel of the AXI bus j , thus, the length len of the data of all preset channels of the AXI bus can be obtained, len = ∑ n j=1 len j .
[0060] In this embodiment, the configuration module sends information about which channels among the five channels of the AXI bus are preset channels to the displacement splicer of the encoding module, and the displacement splicer can know which channels to obtain data from for splicing. The configuration module sends the length of the packet header to the packet header positioning module of the decoding module, and the packet header positioning module can split the packet header from the data packet; the configuration module sends the length of the data of each preset channel to the data unpacking module, and the data unpacking module can know which preset channels of data exist in the data packet and whether there is a signal that is not transmitted in the data of each preset channel based on the split packet header, and then the data corresponding to each preset channel can be removed from the data packet.
[0061] In this embodiment, the process of obtaining the length of the packet tail includes:
[0062] K100, get the length num of the packet header.
[0063] K200, get the length len of the data of all preset channels of the AXI bus, len = ∑ n j=1 len j .
[0064] K300, obtain the length y of the packet tail, y = ceil ((num + len) / b0) × b0-num-len, ceil () is rounded up, and b0 is the number of bits included in a single byte.
[0065] In this embodiment, b0=8, so that the length of the data packet output by the packet assembly module is a multiple of bytes and is sent to the general data stream.
[0066] The AXI bus to general data stream transmission system of this embodiment includes an encoding module, a decoding module and a configuration module, wherein the encoding module includes a displacement splicer and a packet assembly module, the displacement splicer is used to splice the data of all preset channels corresponding to the AXI bus within one clock cycle, and the packet assembly module is used to set a packet header and a packet tail for the spliced data obtained after splicing, thereby, the AXI bus within one clock cycle corresponds to a data packet, and the unpacking module in the subsequent decoding module also has only one packet header when unpacking the data packet, which can solve the problem of low data utilization and difficulty in unpacking of the entire data flow channel caused by packaging each channel separately in the existing solution.
[0067] Moreover, the configuration module of this embodiment can flexibly configure the length of the packet header, the length of the data of each preset channel, and the size of the first buffer module and the second buffer module, so that the transmission system can be adapted to different data transmission environments, which is conducive to further improving transmission efficiency.
[0068] Although some specific embodiments of the present invention have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A transmission system for converting an AXI bus to a general data stream, characterized in that: The transmission system comprises an encoding module, a decoding module and a configuration module, wherein the encoding module is used to convert data in an AXI bus format into data in a universal data stream format, and the decoding module is used to convert data in a universal data stream format into data in an AXI bus format; The encoder module includes a displacement splicer, a packet assembly module and a first buffer, wherein the displacement splicer is used to splice data of all preset channels corresponding to the AXI bus within one clock cycle, and send the spliced data obtained after splicing to the packet assembly module; The packet assembly module is used to receive the spliced data, set a packet header and a packet tail for the spliced data, and send the data packet obtained after setting the packet header and the packet tail to the first buffer or to the remote end; The first buffer is used to temporarily store data packets that are not sent to the remote end; The decoder module includes a depacketizing module and a second buffer, the depacketizing module includes a packet header locating module and a data splitting module, the packet header locating module is used to locate the packet header position in the data packet; the data splitting module is used to split the data in the data packet except the packet header, and send the data of each preset channel corresponding to the AXI bus obtained after the splitting to the second buffer or to the recipient of the request; The second buffer module is used to temporarily store data of each preset channel corresponding to the AXI bus that has not been sent to the requested recipient; The configuration module includes a header control module, a length control module and a buffer control module. The header control module is used to control the length of the header of the data packet; the length control module is used to control the length of the data of each preset channel corresponding to the AXI bus; and the buffer control module is used to control the size of the first buffer module and the second buffer module.
2. The AXI bus to general data stream transmission system according to claim 1, characterized in that: The packet header control module is used to perform the following steps: S100, obtain the data transmission requirement sequence Q of the AXI bus, Q = [q1, q2, q3, q4, q5], q i is the transmission requirement identifier of the i-th channel of the AXI bus. The value range of i is 1 to 5. i =1, it indicates that the i-th channel of the AXI bus has a data transmission requirement; when q i =0, it indicates that there is no data transmission demand on the i-th channel of the AXI bus; S200, traverse Q, if q i =1, it is determined whether there is a need to add a header identifier to the i-th channel of the AXI bus. If not, the number of header identifiers num of the i-th channel of the AXI bus is set to i Determine to be 1; otherwise, set num i Determined as 1+p i , p i The number of packet header identifiers to be increased for the i-th channel of the AXI bus; if q i =0, then num i Determine to 0; S300, determining the length of the header of the data packet as ∑ 5 i=1 num i .
3. The AXI bus to general data stream transmission system according to claim 2, characterized in that: S200 also includes: If q i =1, it is determined that the i-th channel of the AXI bus is a preset channel; otherwise, it is determined that the i-th channel of the AXI bus is not a preset channel.
4. The AXI bus to general data stream transmission system according to claim 1, characterized in that: The length control module is used to perform the following steps: E100, obtain the signal transmission requirement sequence c of the jth preset channel of the AXI bus j , c j =[c j,1 ,c j,2 ,…,c j,x ,…,c j,u ], c j,x is the transmission requirement identifier of the xth signal of the jth preset channel of the AXI bus. j,x =1, it indicates that the xth signal of the jth preset channel of the AXI bus has a transmission requirement; when c j,x =0, it indicates that there is no transmission demand for the xth signal of the jth preset channel of the AXI bus, the value range of x is 1 to u, u is the number of signals corresponding to the jth preset channel of the AXI bus, the value range of j is 1 to n, n is the number of preset channels of the AXI bus; E200, obtain the signal length sequence L of the jth preset channel of the AXI bus j , L j =[L j,1 ,L j,2 ,…,L j,x ,…,L j,u ], L j,x The data length corresponding to the xth signal of the jth preset channel of the AXI bus; E300, get the length len of the data of the jth preset channel of the AXI bus j ,len j =∑ u x=1 (c j,x ×L j,x ).
5. The AXI bus to general data stream transmission system according to claim 4, characterized in that: The process of obtaining the packet tail length includes: K100, get the length num of the packet header; K200, get the length len of the data of all preset channels of the AXI bus, len = ∑ n j=1 len j ; K300, obtain the length y of the packet tail, y = ceil ((num + len) / b0) × b0-num-len, ceil () is rounded up, and b0 is the number of bits included in a single byte.
6. The AXI bus to general data stream transmission system according to claim 2, characterized in that: p i The acquisition process includes: S010, obtain the signal transmission requirement sequence z of the i-th channel of the AXI bus i , z i =[z i,1 ,z i,2 ,…,z i,a ,…,z i,v ],z i,a is the transmission requirement identifier of the ath signal of the i-th channel of the AXI bus. i,a =1, it indicates that the ath signal of the ith channel of the AXI bus has a transmission requirement; when z i,a =0, it indicates that there is no transmission demand for the ath signal of the i-th channel of the AXI bus. The value range of a is 1 to v, where v is the number of signals corresponding to the i-th channel of the AXI bus. S020, get p i , p i =v-sum(z i ), sum() is the sum.
7. The AXI bus to general data stream transmission system according to claim 2, characterized in that: The first channel of the AXI bus is the read address channel, the second channel of the AXI bus is the read data channel, the third channel of the AXI bus is the write address channel, the fourth channel of the AXI bus is the write data channel, and the fifth channel of the AXI bus is the write return channel.
8. The AXI bus to general data stream transmission system according to claim 2, characterized in that: The universal data stream is an AXI stream protocol or a UCIE protocol.
