CN115189977A - Broadcast transmission method, system and medium based on AXI protocol - Google Patents
Broadcast transmission method, system and medium based on AXI protocol Download PDFInfo
- Publication number
- CN115189977A CN115189977A CN202211098814.4A CN202211098814A CN115189977A CN 115189977 A CN115189977 A CN 115189977A CN 202211098814 A CN202211098814 A CN 202211098814A CN 115189977 A CN115189977 A CN 115189977A
- Authority
- CN
- China
- Prior art keywords
- module
- broadcast
- broadcast transmission
- response
- sending
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/403—Bus networks with centralised control, e.g. polling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a broadcast transmission method, a system and a medium based on an AXI protocol, comprising the following steps: receiving a broadcast transmission request sent by a Master node and a broadcast bit field corresponding to the broadcast transmission request through a request buffer module based on an AXI protocol, and transmitting the broadcast transmission request and the broadcast bit field to a distribution module; sending a broadcast transmission request to at least one target Slave node according to a broadcast bit field through a distribution module; and receiving response data sent by each target Slave node through a response feedback module, and transmitting the response data corresponding to each target Slave node to the Master node. The technical scheme of the embodiment of the invention can improve the broadcast transmission performance of the AXI bus, reduce the complexity of a broadcast transmission system and improve the flexibility of the broadcast transmission process.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a broadcast transmission method, system, and medium based on an AXI protocol.
Background
The Advanced eXtensible Interface (AXI) protocol is a set of independent channel protocols defined for meeting the design of a high-performance system, and the AXI protocol is mainly applied to the interconnection design of an on-chip system and can realize interaction between different IPs through a standard interconnection bus.
In the prior art, when broadcast transmission is performed based on the AXI protocol, there are generally the following two ways: the first mode is to buffer the transmission requests initiated by the Master nodes, then arbitrate the transmission requests initiated by each Master node, finally perform address resolution according to the transmission request addresses, and send the transmission requests to the corresponding Slave nodes. The second mode is that the same broadcast identification code is configured for each Slave node, the Master node adds broadcast identification code information into a transmitted transmission request, the interface module initiates an application to all Slave nodes matched with the broadcast identification code, after permission of all Slave nodes is obtained, transmission is formally initiated, the request and data are simultaneously transmitted to all Slave nodes matched with the broadcast identification code, and the effect of transmitting all configurations at one time is achieved.
However, the above method has the following drawbacks: the transmission bandwidth is greatly wasted, the transmission efficiency is reduced, and meanwhile, the bus occupies a longer time; the mode of using the identification code is not flexible enough, so that the operability is reduced, the system complexity is improved, and each transmission is influenced by the Slave node processing bottleneck.
Disclosure of Invention
The invention provides a broadcast transmission method, a system and a medium based on an AXI protocol, which can improve the broadcast transmission performance of an AXI bus, reduce the complexity of a broadcast transmission system and improve the flexibility of a broadcast transmission process.
According to an aspect of the present invention, there is provided a broadcast transmission method based on an AXI protocol, including:
receiving a broadcast transmission request sent by a Master node and a broadcast bit field corresponding to the broadcast transmission request through a request buffer module based on an AXI protocol, and transmitting the broadcast transmission request and the broadcast bit field to a distribution module;
sending a broadcast transmission request to at least one target Slave node according to the broadcast bit field through the distribution module;
and receiving response data sent by each target Slave node through a response feedback module, and transmitting the response data corresponding to each target Slave node to a Master node.
Optionally, the broadcast transmission request includes a write broadcast request and a write data request;
through a request buffer module, receiving a broadcast transmission request sent by a Master node based on an AXI protocol, including:
receiving a write broadcast request sent by a Master node based on an AXI protocol through a write broadcast request buffer module;
and receiving a write data request sent by a Master node based on an AXI protocol through a write data request buffer module.
Optionally, the sending, by the distribution module, a broadcast transmission request to at least one target Slave node according to the broadcast bit field includes:
sending a broadcast transmission request to at least one queue processing module according to the broadcast bit field through the distribution module;
sending broadcast transmission requests to corresponding sending control modules through each queue processing module; the queue processing modules correspond to the sending control modules one to one; the queue processing module comprises a write broadcast queue processing unit and a write data queue processing unit;
and sending a broadcast transmission request to the matched target Slave node through each sending control module.
Optionally, the receiving, by the response feedback module, response data sent by each target Slave node includes:
receiving response data sent by each target Slave node through a response buffer module matched with each target Slave node;
and sending each response data to a response feedback module through each response buffer module.
Optionally, sending each of the response data to a response feedback module through each of the response buffer modules includes:
sending corresponding response data to a response arbitration module through each response buffer module;
polling each response data through the response arbitration module, and determining the sending sequence of the response data according to the polling result;
and sequentially sending each response data and the corresponding node identification to a response feedback module through the response arbitration module according to the sending sequence of the response data.
Optionally, the sending, by each of the sending control modules, a broadcast transmission request to a matched target Slave node includes:
judging whether the flag bit of the target register is a transmission permission identifier or not according to the request identifier corresponding to the broadcast transmission request through the transmission control module;
and if so, sending the broadcast transmission request to the matched target Slave node.
Optionally, when the distribution module sends the broadcast transmission request to at least one queue processing module according to the broadcast bit field, the method further includes:
sending the broadcast bit field to a response feedback module through the distribution module;
after the response feedback module receives response data sent by each target Slave node and transmits the response data corresponding to each target Slave node to the Master node, the method further includes:
and resetting a register corresponding to the broadcast transmission request according to a broadcast bit field and the node identification corresponding to each piece of response data through the response feedback module.
Optionally, after resetting, by the response feedback module, the register corresponding to the broadcast transmission request according to the broadcast bit field and the node identifier corresponding to each piece of response data, the method further includes:
and sending a response ending mark to the Master node after the response feedback module detects that the response data is sent according to the setting condition of the register.
According to another aspect of the present invention, there is provided a broadcast transmission system based on an AXI protocol, the system including: the system comprises a Master node, a request buffering module, a distribution module, a Slave node and a response feedback module;
the request buffer module is used for receiving a broadcast transmission request sent by a Master node and a broadcast bit field corresponding to the broadcast transmission request based on an AXI protocol, and transmitting the broadcast transmission request and the broadcast bit field to the distribution module;
the distribution module is used for sending a broadcast transmission request to at least one target Slave node according to the broadcast bit field;
the response feedback module is configured to receive response data sent by each target Slave node, and transmit the response data corresponding to each target Slave node to the Master node.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement an AXI protocol-based broadcast transmission method according to any one of the embodiments of the present invention when executed.
According to the technical scheme provided by the embodiment of the invention, the broadcast transmission request sent by the Master node and the broadcast bit field corresponding to the broadcast transmission request are received based on the AXI protocol through the request buffer module, and the broadcast transmission request and the broadcast bit field are transmitted to the distribution module; sending a broadcast transmission request to at least one target Slave node according to a broadcast bit field through a distribution module; by means of the technical means that the response feedback module receives the response data sent by each target Slave node and transmits the response data corresponding to each target Slave node to the Master node, the broadcast transmission performance of the AXI bus can be improved, the complexity of a broadcast transmission system is reduced, and the flexibility of a broadcast transmission process is improved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a broadcast transmission method based on an AXI protocol according to an embodiment of the present invention.
Fig. 2 is a flowchart of another broadcast transmission method based on the AXI protocol according to an embodiment of the present invention.
Fig. 3 is a flowchart of another broadcast transmission method based on the AXI protocol according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a broadcast transmission system based on the AXI protocol according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of another broadcast transmission system based on the AXI protocol according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of an AXI protocol-based broadcast transmission method according to an embodiment of the present invention, where the embodiment is applicable to a situation where broadcast transmission is performed between a Master node and a Slave node based on an AXI protocol, and the method may be executed by an AXI protocol-based broadcast transmission system. As shown in fig. 1, the method includes:
In this embodiment, the Master node may be understood as a control node in a communication cluster, and is used for managing and controlling the communication cluster. The Slave node may be understood as a distributed node in a communication cluster for performing tasks. Specifically, when the Master node sends a broadcast transmission request to the Slave node, the Master node may first send the broadcast transmission request and the broadcast bit field to the request buffer module based on the AXI protocol, and then transmit the broadcast transmission request and the broadcast bit field to the distribution module Dispatch by the request buffer module.
In a specific embodiment, the broadcast bit field may be a userinal data value corresponding to the broadcast transmission request in the AXI protocol. Assuming that the Master node is connected with four Slave nodes, namely, slave0, slave1, slave2 and Slave3, if the broadcast bit domain corresponding to the broadcast transmission request is "4 ″', it may be considered that in the broadcast transmission process of the Master node, the corresponding target Slave node (i.e., the Slave node that needs to receive the broadcast transmission request) is Slave0, slave1 and Slave2.
And 120, sending a broadcast transmission request to at least one target Slave node according to the broadcast bit field through the distribution module.
In this step, a target Slave node may be determined according to a broadcast bit field by a distribution module, and the broadcast transmission request may be sent to the target Slave node.
And step 130, receiving response data sent by each target Slave node through a response feedback module, and transmitting the response data corresponding to each target Slave node to a Master node.
In this embodiment, after receiving the broadcast transmission request, each target Slave node may send corresponding response data to the response feedback module Rsp _ id, and the Rsp _ id transmits the response data corresponding to each target Slave node to the Master node.
In this embodiment, a broadcast transmission mode based on a user service data value in an AXI protocol is provided, which has a higher bus utilization rate and improves bus performance compared with a standard AXI bus system that does not support write broadcast; secondly, by utilizing the AXI bus to process and distribute the broadcast transmission request, compared with the realization mode that an independent functional component is attached to a bus system to perform AXI write broadcast in the prior art, the transmission resource can be saved; finally, because the userinal data value has good identification degree, when the Master node needs to perform broadcast transmission, only the corresponding register needs to be set to 1, so that the complexity of a transmission system can be reduced, and the method of the embodiment can perform random permutation and combination broadcast on randomly connected Slave nodes.
According to the technical scheme provided by the embodiment of the invention, the broadcast transmission request sent by the Master node and the broadcast bit field corresponding to the broadcast transmission request are received based on the AXI protocol through the request buffer module, and the broadcast transmission request and the broadcast bit field are transmitted to the distribution module; sending a broadcast transmission request to at least one target Slave node according to a broadcast bit field through a distribution module; through the technical means that the response feedback module receives the response data sent by each target Slave node and transmits the response data corresponding to each target Slave node to the Master node, the broadcast transmission performance of the AXI bus can be improved, the complexity of a broadcast transmission system is reduced, and the flexibility of the broadcast transmission process is improved.
Fig. 2 is a flowchart of an AXI protocol-based broadcast transmission method according to a second embodiment of the present invention, which is further detailed in the second embodiment. As shown in fig. 2, the method includes:
In one implementation manner of this embodiment, the broadcast transmission request includes a write broadcast request and a write data request; through a request buffer module, receiving a broadcast transmission request sent by a Master node based on an AXI protocol, including: receiving a write broadcast request sent by a Master node based on an AXI protocol through a write broadcast request buffer module Master _ req _ fifo; and receiving a write data request sent by a Master node based on an AXI protocol through a write data request buffer module Master _ data _ fifo.
In this embodiment, the Master _ req _ fifo and Master _ data _ fifo modules may be defined as first input first output (fifo) memories with a depth of n. The Master _ req _ fifo and Master _ data _ fifo modules each have an independent empty-full signal, and before receiving a broadcast transmission request, the full signal may be sent to the Master node as a receive ready signal in the AXI protocol, and the empty signal may be sent to the Dispatch module Dispatch to determine whether there is a request waiting for transmission in the Dispatch module Dispatch.
In the present embodiment, the queue processing module includes a Write broadcast queue processing unit Write _ req _ fifo, and a Write data queue processing unit Write _ data _ fifo. And the distribution module Dispatch can identify the broadcast bit field after receiving the broadcast transmission request and the broadcast bit field sent by the Master _ req _ fifo and the Master _ data _ fifo modules, and send the broadcast bit field to a queue processing module corresponding to the target Slave node according to an identification result.
Specifically, the distribution module Dispatch may send a full signal to the Master _ req _ fifo and Master _ data _ fifo modules as a receive ready signal in the AXI protocol and send a null signal to the Write _ req _ fifo and Write _ data _ fifo to determine whether there is a request waiting for transmission in the Write _ req _ fifo and Write _ data _ fifo before receiving a broadcast transmission request and a broadcast bit field.
In the present embodiment, the Write _ req _ fifo and Write _ data _ fifo units in the queue processing module correspond one-to-one to the transmission control module Send _ control.
Similarly, the Write _ req _ fifo and Write _ data _ fifo units may transmit a full signal to the Dispatch module Dispatch and an empty signal to the transmission control module Send _ control.
And step 240, sending the broadcast transmission request to the matched target Slave node through each sending control module.
The Send _ control modules correspond to the Slave nodes one by one.
In an implementation manner of this embodiment, the sending, by each sending control module, a broadcast transmission request to a matched target Slave node includes: judging whether the flag bit of the target register is a transmission permission identifier or not according to the request identifier corresponding to the broadcast transmission request through the transmission control module; and if so, sending the broadcast transmission request to the matched target Slave node.
In a specific embodiment, the Send _ control module is configured to Send a write broadcast request and a write data request to a target Slave node according to a ready signal of the corresponding target Slave node. N registers can be set inside the Send _ control module, where n is the number of registers supporting outgoing transmission in the Send _ control module. Specifically, after the Send _ control module sends a write broadcast request and a write data request each time, a register matching the ID may be set to 1 according to a request ID corresponding to a broadcast transmission request; each time the Send _ control module sends a last signal, the corresponding register may be set to 0.
Therefore, each time the Send _ control module reads the broadcast transmission request, it needs to determine whether the flag bit of the target register is the transmission-allowed identifier 1, and if yes, the Send _ control module sends the broadcast transmission request to the matched target Slave node; if not, the broadcast transmission request is sent only when the flag bit of the target register is the transmission permission identifier after the other requests are sent.
And step 250, receiving response data sent by each target Slave node through a response feedback module, and transmitting the response data corresponding to each target Slave node to a Master node.
In this embodiment, the Send _ control module is used to implement independent transmission and transmission of the Slave nodes that need to be broadcasted, and compared with a manner in the prior art that transmission is initiated after all the Slave nodes are ready, the influence of the processing bottleneck of the Slave nodes on a transmission system can be greatly reduced, and the transmission bandwidth of a bus is improved.
According to the technical scheme provided by the embodiment of the invention, through a request buffer module, a broadcast transmission request and a broadcast bit field sent by a Master node are received based on an AXI protocol, the broadcast transmission request and the broadcast bit field are transmitted to a distribution module, the broadcast transmission request is sent to at least one queue processing module through the distribution module according to the broadcast bit field, the broadcast transmission request is sent to a corresponding sending control module through each queue processing module, the broadcast transmission request is sent to a matched target Slave node through each sending control module, response data sent by each target Slave node is received through a response feedback module, and the response data corresponding to each target Slave node is transmitted to the Master node.
Fig. 3 is a flowchart of a broadcast transmission method based on the AXI protocol according to a third embodiment of the present invention, which is a further refinement of the foregoing embodiments. As shown in fig. 3, the method includes:
In an implementation manner of this embodiment, when the distribution module sends a broadcast transmission request to at least one queue processing module according to the broadcast bit field, the method further includes: and sending the broadcast bit field to a response feedback module Rsp _ id through the Dispatch module Dispatch.
And 340, sending the broadcast transmission request to the matched target Slave node through each sending control module.
In this embodiment, after the target Slave node processes the broadcast transmission request, the target Slave node may send the response data to the matched response buffer module Rsp _ fifo. The Slave nodes correspond to the response buffer modules Rsp _ fifo one to one.
And step 360, sending each response data to a response feedback module through each response buffer module.
In this step, optionally, each response buffer module Rsp _ fifo may send response data sent by the corresponding target Slave node to the response feedback module Rsp _ id.
In an implementation manner of this embodiment, sending each of the response data to a response feedback module through each of the response buffer modules includes: sending corresponding response data to a response arbitration module through each response buffer module; polling each response data through the response arbitration module, and determining the sending sequence of the response data according to the polling result; and sequentially sending each response data and the corresponding node identification to a response feedback module through the response arbitration module according to the sending sequence of the response data.
In this embodiment, each Rsp _ fifo module may send corresponding response data to a response arbitration module Arbiter, where the Arbiter module is configured to, when receiving response data fed back by a plurality of Slave nodes, sequentially select one of the response data to return to the Rsp _ id module, and the Rsp _ id module sends the response data to the Master node. Specifically, when the Arbiter module sends the response data to the Rsp _ id module, the Arbiter module may carry a node identifier of the target Slave node corresponding to the response data.
In a specific embodiment, before sending the response data to the Arbiter, the Rsp _ fifo module may send an empty signal to the Arbiter module, and send a full signal as a ready signal to the target Slave node.
And 370, transmitting the response data corresponding to each target Slave node to a Master node through a response feedback module.
And 380, resetting a register corresponding to the broadcast transmission request according to a broadcast bit field and a node identifier corresponding to each piece of response data through the response feedback module.
In this embodiment, n registers may be set in the response feedback module Rsp _ id, where n is the number of registers supporting outranging transmission in the Rsp _ id module, each register is y bit, and y is the number of Slave nodes connected to the Rsp _ id module. After the Rsp _ id module receives the response data and sends the response data to the Master node, a position matching the node identifier may be obtained in userinal of the register according to the node identifier of the target Slave node corresponding to the response data, and the position is set to 0.
And 390, sending a response ending mark to the Master node after detecting that the response data is sent according to the setting condition of the register through the response feedback module.
In a specific embodiment, optionally, when all the y bits of the register are 0, it indicates that the response data is sent completely, and the Rsp _ id module returns a response end flag to the Master node.
According to the technical scheme provided by the embodiment of the invention, a broadcast transmission request and a broadcast bit field sent by a Master node are received through a request buffer module based on an AXI protocol, the broadcast transmission request and the broadcast bit field are transmitted to a distribution module, the broadcast transmission request is sent to a queue processing module through the distribution module according to the broadcast bit field, the broadcast transmission request is sent to a sending control module through each queue processing module, the broadcast transmission request is sent to a matched target Slave node through each sending control module, response data sent by each target Slave node are received through a response buffer module matched with each target Slave node, each response data are sent to a response feedback module through each response buffer module, response data corresponding to each target Slave node are transmitted to the Master node through the response feedback module, a response ending mark is reset to a register corresponding to the broadcast transmission request through the response feedback module after the transmission of the response data is detected to be finished according to the broadcast bit field and node identification corresponding to each response data, the AXI transmission performance of the broadcast transmission technology can be improved, and the broadcast transmission complexity of the broadcast transmission system can be reduced.
Fig. 4 is a schematic structural diagram of a broadcast transmission system based on an AXI protocol according to a fourth embodiment of the present invention, and this embodiment is applicable to a situation where broadcast transmission is performed between a Master node and a Slave node based on the AXI protocol. As shown in fig. 4, the system includes: a Master node 401, a request buffering module 402, a distribution module 403, a Slave node 404 and a response feedback module 405;
the request buffering module 402 is configured to receive a broadcast transmission request sent by the Master node 401 and a broadcast bit field corresponding to the broadcast transmission request based on an AXI protocol, and transmit the broadcast transmission request and the broadcast bit field to the distributing module 403;
the distributing module 403 is configured to send a broadcast transmission request to at least one target Slave node 404 according to the broadcast bit field (taking Slave0, slave1, and Slave2 as examples in fig. 4);
the response feedback module 405 is configured to receive response data sent by each target Slave node 404, and transmit the response data corresponding to each target Slave node 404 to the Master node 401.
According to the technical scheme provided by the embodiment of the invention, the broadcast transmission request sent by the Master node and the broadcast bit field corresponding to the broadcast transmission request are received based on the AXI protocol through the request buffer module, and the broadcast transmission request and the broadcast bit field are transmitted to the distribution module; sending a broadcast transmission request to at least one target Slave node according to a broadcast bit field through a distribution module; through the technical means that the response feedback module receives the response data sent by each target Slave node and transmits the response data corresponding to each target Slave node to the Master node, the broadcast transmission performance of the AXI bus can be improved, the complexity of a broadcast transmission system is reduced, and the flexibility of the broadcast transmission process is improved.
Fig. 5 is a schematic structural diagram of a broadcast transmission system based on the AXI protocol according to a fifth embodiment of the present invention, which is a further refinement of the foregoing embodiment. As shown in fig. 5, the request buffer module in the system includes a write broadcast request buffer module 406 and a write data request buffer module 407;
the write broadcast request buffer module 406 is configured to receive a write broadcast request sent by the Master node 401 based on an AXI protocol;
the write data request buffer module 407 receives a write data request sent by the Master node 401 based on an AXI protocol.
In this embodiment, the system further includes: a queue processing module 408, a transmission control module 409, a response buffering module 410, and a response arbitration module 411.
The queue processing module 408 is configured to receive a broadcast transmission request sent by the distribution module 403, and send the broadcast transmission request to a corresponding sending control module 409; the queue processing module 408 corresponds to the sending control module 409 one by one; the queue processing module 408 includes a write broadcast queue processing unit, and a write data queue processing unit;
the sending control module 409 is configured to send a broadcast transmission request to the matched target Slave node 404;
the response buffering module 410 is configured to receive response data sent by each target Slave node 404, and send each response data to the response arbitration module 411;
the response arbitration module 411 is configured to poll each response data, determine a sending order of the response data according to a polling result, and send each response data and the corresponding node identifier to the response feedback module 405 in sequence according to the sending order of the response data.
The technical scheme provided by the embodiment of the invention can improve the broadcast transmission performance of the AXI bus, reduce the complexity of a broadcast transmission system and improve the flexibility of the broadcast transmission process.
The sixth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method according to any embodiment of the present invention. Of course, a computer-readable storage medium provided in an embodiment of the present invention may perform related operations in an AXI protocol-based broadcast transmission method provided in any embodiment of the present invention. That is, the program when executed by the processor implements:
receiving a broadcast transmission request sent by a Master node and a broadcast bit field corresponding to the broadcast transmission request through a request buffer module based on an AXI protocol, and transmitting the broadcast transmission request and the broadcast bit field to a distribution module;
sending a broadcast transmission request to at least one target Slave node according to the broadcast bit field through the distribution module;
and receiving response data sent by each target Slave node through a response feedback module, and transmitting the response data corresponding to each target Slave node to a Master node.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the foregoing embodiment of the broadcast transmission system based on the AXI protocol, the included units and modules are merely divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. An AXI protocol-based broadcast transmission method, comprising:
receiving a broadcast transmission request sent by a Master node and a broadcast bit field corresponding to the broadcast transmission request through a request buffer module based on an AXI protocol, and transmitting the broadcast transmission request and the broadcast bit field to a distribution module;
sending a broadcast transmission request to at least one target Slave node according to the broadcast bit field through the distribution module;
and receiving response data sent by each target Slave node through a response feedback module, and transmitting the response data corresponding to each target Slave node to a Master node.
2. The method of claim 1, wherein the broadcast transmission request comprises a write broadcast request and a write data request;
through a request buffer module, receiving a broadcast transmission request sent by a Master node based on an AXI protocol, including:
receiving a write broadcast request sent by a Master node based on an AXI protocol through a write broadcast request buffer module;
and receiving a write data request sent by a Master node based on an AXI protocol through a write data request buffer module.
3. The method of claim 2, wherein sending, by the distribution module, a broadcast transmission request to at least one target Slave node according to the broadcast bit field comprises:
sending a broadcast transmission request to at least one queue processing module according to the broadcast bit field through the distribution module;
sending broadcast transmission requests to corresponding sending control modules through each queue processing module; the queue processing modules correspond to the sending control modules one by one; the queue processing module comprises a write broadcast queue processing unit and a write data queue processing unit;
and sending a broadcast transmission request to the matched target Slave node through each sending control module.
4. The method of claim 1, wherein receiving, by a response feedback module, response data sent by each of the target Slave nodes comprises:
receiving response data sent by each target Slave node through a response buffer module matched with each target Slave node;
and sending each response data to a response feedback module through each response buffer module.
5. The method of claim 4, wherein sending each of the response data to a response feedback module via each of the response buffer modules comprises:
sending corresponding response data to a response arbitration module through each response buffer module;
polling each response data through the response arbitration module, and determining the sending sequence of the response data according to the polling result;
and sequentially sending each response data and the corresponding node identification to a response feedback module through the response arbitration module according to the sending sequence of the response data.
6. The method according to claim 3, wherein sending a broadcast transmission request to a matched target Slave node via each of the sending control modules comprises:
judging whether the flag bit of the target register is a transmission permission identifier or not according to the request identifier corresponding to the broadcast transmission request through the transmission control module;
and if so, sending the broadcast transmission request to the matched target Slave node.
7. The method of claim 3, wherein while sending, by the distribution module, a broadcast transmission request to at least one queue processing module according to the broadcast bit field, further comprising:
sending the broadcast bit field to a response feedback module through the distribution module;
after the response feedback module receives response data sent by each target Slave node and transmits the response data corresponding to each target Slave node to the Master node, the method further includes:
and resetting the register corresponding to the broadcast transmission request according to the broadcast bit field and the node identifier corresponding to each response data through the response feedback module.
8. The method of claim 7, further comprising, after resetting, by the response feedback module, a register corresponding to the broadcast transmission request according to a broadcast bit field and a node identifier corresponding to each of the response data, further comprising:
and sending a response ending mark to the Master node after detecting that the response data is sent according to the setting condition of the register through the response feedback module.
9. An AXI protocol-based broadcast transmission system is characterized in that the system comprises a Master node, a request buffering module, a distribution module, a Slave node and a response feedback module;
the request buffer module is used for receiving a broadcast transmission request sent by a Master node and a broadcast bit field corresponding to the broadcast transmission request based on an AXI protocol, and transmitting the broadcast transmission request and the broadcast bit field to the distribution module;
the distribution module is used for sending a broadcast transmission request to at least one target Slave node according to the broadcast bit field;
the response feedback module is configured to receive response data sent by each target Slave node, and transmit the response data corresponding to each target Slave node to the Master node.
10. A computer-readable storage medium having stored thereon computer instructions for causing a processor to implement the AXI protocol-based broadcast transmission method of any one of claims 1-8 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211098814.4A CN115189977B (en) | 2022-09-09 | 2022-09-09 | Broadcast transmission method, system and medium based on AXI protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211098814.4A CN115189977B (en) | 2022-09-09 | 2022-09-09 | Broadcast transmission method, system and medium based on AXI protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115189977A true CN115189977A (en) | 2022-10-14 |
CN115189977B CN115189977B (en) | 2023-01-06 |
Family
ID=83524406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211098814.4A Active CN115189977B (en) | 2022-09-09 | 2022-09-09 | Broadcast transmission method, system and medium based on AXI protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115189977B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117640271A (en) * | 2023-11-30 | 2024-03-01 | 摩尔线程智能科技(北京)有限责任公司 | Data broadcasting device and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912485A (en) * | 2016-04-01 | 2016-08-31 | 中国科学院计算技术研究所 | Design method and device thereof for memory request queues based on AHB-Lite protocol |
US20170242813A1 (en) * | 2016-02-23 | 2017-08-24 | Honeywell International Inc. | Bus bridge for translating requests between a module bus and an axi bus |
CN108958649A (en) * | 2018-05-17 | 2018-12-07 | 天津飞腾信息技术有限公司 | A kind of security isolation method and device for storage system |
CN110196824A (en) * | 2018-05-31 | 2019-09-03 | 腾讯科技(深圳)有限公司 | Realize method and device, the electronic equipment of data transmission |
CN111555901A (en) * | 2020-03-16 | 2020-08-18 | 中国人民解放军战略支援部队信息工程大学 | Chip configuration network system for flexibly supporting hybrid bus protocol |
CN111984562A (en) * | 2020-09-07 | 2020-11-24 | 盛科网络(苏州)有限公司 | Method for burst access control of register, electronic device and storage medium |
CN112882986A (en) * | 2021-03-12 | 2021-06-01 | 中国人民解放军国防科技大学 | Many-core processor with super node and super node controller |
CN114416621A (en) * | 2021-12-29 | 2022-04-29 | 苏州雄立科技有限公司 | Bus communication method and device based on AXI protocol |
-
2022
- 2022-09-09 CN CN202211098814.4A patent/CN115189977B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170242813A1 (en) * | 2016-02-23 | 2017-08-24 | Honeywell International Inc. | Bus bridge for translating requests between a module bus and an axi bus |
CN105912485A (en) * | 2016-04-01 | 2016-08-31 | 中国科学院计算技术研究所 | Design method and device thereof for memory request queues based on AHB-Lite protocol |
CN108958649A (en) * | 2018-05-17 | 2018-12-07 | 天津飞腾信息技术有限公司 | A kind of security isolation method and device for storage system |
CN110196824A (en) * | 2018-05-31 | 2019-09-03 | 腾讯科技(深圳)有限公司 | Realize method and device, the electronic equipment of data transmission |
CN111555901A (en) * | 2020-03-16 | 2020-08-18 | 中国人民解放军战略支援部队信息工程大学 | Chip configuration network system for flexibly supporting hybrid bus protocol |
CN111984562A (en) * | 2020-09-07 | 2020-11-24 | 盛科网络(苏州)有限公司 | Method for burst access control of register, electronic device and storage medium |
CN112882986A (en) * | 2021-03-12 | 2021-06-01 | 中国人民解放军国防科技大学 | Many-core processor with super node and super node controller |
CN114416621A (en) * | 2021-12-29 | 2022-04-29 | 苏州雄立科技有限公司 | Bus communication method and device based on AXI protocol |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117640271A (en) * | 2023-11-30 | 2024-03-01 | 摩尔线程智能科技(北京)有限责任公司 | Data broadcasting device and system |
Also Published As
Publication number | Publication date |
---|---|
CN115189977B (en) | 2023-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021254330A1 (en) | Memory management method and system, client, server and storage medium | |
US20150301975A1 (en) | Multi-core processor for managing data packets in communication network | |
CN115189977B (en) | Broadcast transmission method, system and medium based on AXI protocol | |
CN112118322B (en) | Data synchronization method of network equipment, network equipment and system | |
CN111190854A (en) | Communication data processing method, device, equipment, system and storage medium | |
CN105141603A (en) | Communication data transmission method and system | |
CN115964319A (en) | Data processing method for remote direct memory access and related product | |
US8312449B2 (en) | Viral installation of operating systems in a network | |
KR20120072134A (en) | Apparatus and method for accelerating virtual desktop | |
CN112822300B (en) | RDMA (remote direct memory Access) -based data transmission method and device and electronic equipment | |
KR102303424B1 (en) | Direct memory access control device for at least one processing unit having a random access memory | |
JP6290761B2 (en) | Data transfer control system, data transfer control method, and data transfer control program | |
CN109981778B (en) | Method, device, equipment and storage medium for realizing service of content distribution network | |
CN115622834A (en) | Bus communication control method, device, equipment and storage medium | |
CN112822299B (en) | RDMA (remote direct memory Access) -based data transmission method and device and electronic equipment | |
CN112422485A (en) | Communication method and device of transmission control protocol | |
CN115827524A (en) | Data transmission method and device | |
CN113037649B (en) | Method and device for transmitting and receiving network interrupt data packet, electronic equipment and storage medium | |
CN110519333B (en) | Data transmission method and device | |
CN111679918B (en) | Message transmission method and device | |
JP2007221522A (en) | Polling device, terminal device, polling method and program | |
US11271897B2 (en) | Electronic apparatus for providing fast packet forwarding with reference to additional network address translation table | |
CN115766044A (en) | Communication method based on user mode protocol stack and corresponding device | |
CN116136790A (en) | Task processing method and device | |
CN113268443A (en) | SMI bus communication method, device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 214000 Floor 19 and Floor 20, No. 581 Jianzhu West Road, Wuxi City, Jiangsu Province Patentee after: Taichu (Wuxi) Electronic Technology Co.,Ltd. Address before: Room 318, Floor 3, Building A3, No. 777, Jianzhu West Road, Binhu District, Wuxi City, Jiangsu Province, 214000 Patentee before: Taichu (Wuxi) Electronic Technology Co.,Ltd. |