Communication method and device based on extended communication bus
By controlling the bus transmission pointer address and the communication bus to transmit data, the data transmission process is split, which solves the problem of insufficient communication rate between the CPU and FPGA and achieves efficient communication rate improvement.
Patent Information
- Application Number
- CN202410386859.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-01
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, when the CPU communicates with the FPGA, it is difficult to meet the high real-time communication needs due to the limitation of the maximum parallel bus rate.
Send the first address pointer read instruction through the control bus and receive the first address pointer fed back by the FPGA, combine the data transmission information to generate control commands, perform data processing through the communication bus until the tail address pointer position is reached, and split the data transmission process to increase the transmission rate.
It realizes the acceleration of communication between CPU and FPGA, increases the communication rate, and meets the high real-time communication requirements.
Smart Images

Figure CN118535508A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer communications, and in particular to a communication method and device based on an extended communication bus. Background Art
[0002] FPGA (Field-Programmable Gate Array) plays an important role in computer systems and can usually be used as a hardware accelerator, interface and protocol processor, custom logic function processor and other related important functions.
[0003] However, in the prior art, the CPU in the computer system directly communicates with the FPGA, and the FPGA outputs the BLVDS level to achieve downstream multi-channel BLVDS bus communication. If the application scenario has high requirements for real-time communication, the communication will be blocked due to the maximum limit of the parallel bus rate itself, and it is difficult to meet the real-time communication requirements. Summary of the invention
[0004] In view of the problems existing in the prior art, an embodiment of the present invention provides a communication method and device based on an extended communication bus.
[0005] An embodiment of the present invention provides a communication method based on an extended communication bus, comprising:
[0006] When receiving the data transmission instruction, it sends the first address pointer read instruction to the FPGA through the control bus, and receives the first address pointer of the RAM fed back by the FPGA;
[0007] Acquire data transmission information based on the data transmission instruction, determine the corresponding tail address pointer in combination with the head address pointer, generate a control command, and send the control command to the FPGA through the control bus;
[0008] A corresponding data processing operation is performed on the control command through a corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
[0009] In one embodiment, the method further comprises:
[0010] When the transmission instruction is a read instruction, performing a corresponding data processing operation on the control command through the corresponding interface of the communication bus includes:
[0011] The receiving FPGA transmits data through the communication bus interface for the processing operation of the control command feedback until the transmitted data address reaches the position of the tail address pointer.
[0012] In one embodiment, the method further comprises:
[0013] When the transmission instruction is a write instruction, performing a corresponding data processing operation on the control command through the corresponding interface of the communication bus includes:
[0014] Data is transmitted to the processing operation fed back to the control command through the communication bus interface until the position of the written data reaches the position of the tail address pointer.
[0015] In one embodiment, the method further comprises:
[0016] Detect the memory status of the RAM, compare the data transmission information, and determine whether the target RAM needs to be adjusted based on the comparison result;
[0017] When the comparison result requires adjustment of the target RAM, the adjusted target RAM is sent to the FPGA via the control bus.
[0018] In one embodiment, the method further comprises:
[0019] When receiving the data transmission instruction, determining a corresponding instruction level based on instruction information corresponding to the data transmission instruction;
[0020] It is determined whether the instruction level is less than a preset level, and when the data level is less than the preset level, the transmission instruction is sent to the FPGA through a parallel bus.
[0021] An embodiment of the present invention provides a communication device based on an extended communication bus, comprising:
[0022] The sending module is used to send a first address pointer read instruction to the FPGA through the control bus when receiving a data transmission instruction, and receive the first address pointer of the RAM fed back by the FPGA;
[0023] A control command module, used for acquiring data transmission information based on the data transmission instruction, determining the corresponding tail address pointer in combination with the head address pointer, generating a control command, and sending the control command to the FPGA through the control bus;
[0024] The operation module is used to perform corresponding data processing operations on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
[0025] In one embodiment, the device further comprises:
[0026] The read instruction module is used to receive the processing operation transmission data fed back by the FPGA through the communication bus interface for the control command when the transmission instruction is a read instruction, until the transmitted data address reaches the position of the tail address pointer.
[0027] In one embodiment, the device further comprises:
[0028] A write instruction module is used to transmit data to the processing operation fed back by the control command through a communication bus interface when the transmission instruction is a write instruction, until the position of the written data reaches the position of the tail address pointer.
[0029] An embodiment of the present invention provides an electronic device, including a processor and a memory;
[0030] The processor is connected to the memory;
[0031] The memory is used to store executable program code;
[0032] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in one or more embodiments.
[0033] An embodiment of the present invention provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the communication method based on the extended communication bus are implemented.
[0034] In view of the above, in one or more embodiments of the present specification, when a data transmission instruction is received, a first address pointer read instruction is sent to the FPGA through the control bus, and the first address pointer of the RAM fed back by the FPGA is received; data transmission information is obtained based on the data transmission instruction, the corresponding tail address pointer is determined in combination with the first address pointer, and a control command is generated, and the control instruction is sent to the FPGA through the control bus; the corresponding data processing operation is performed on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer. In this way, the normal data transmission process can be split, the transmission control instruction and pointer address are completed through the control bus with a slower transmission rate, and the data is transmitted through the communication bus with a faster transmission rate, so as to speed up the communication and improve the communication rate between the CPU and the FPGA. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 It is a flow chart of a communication method based on an extended communication bus provided by an embodiment of this specification.
[0037] Figure 2 It is a topological block diagram of data communication of a general CPU provided by an embodiment of this specification.
[0038] Figure 3 An embodiment of the present specification provides a topological block diagram of a communication method based on an extended communication bus.
[0039] Figure 4 An embodiment of the present specification provides a schematic diagram of the structure of a communication device based on an extended communication bus.
[0040] Figure 5 An embodiment of the present invention provides a schematic diagram of the structure of an electronic device. DETAILED DESCRIPTION
[0041] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not a limitation of the scope of protection, applicability or examples set forth in the claims. The functions and arrangements of the elements discussed can be changed without departing from the scope of protection of the contents of this specification. Various examples can omit, replace or add various processes or components as needed. For example, the described method can be performed in an order different from the described order, and various steps can be added, omitted or combined. In addition, the features described relative to some examples can also be combined in other examples.
[0042] As used herein, the term "including" and its variations represent open terms, meaning "including but not limited to". The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other definitions may be included below, whether explicit or implicit. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.
[0043] like Figure 1 As shown, an embodiment of the present invention provides a communication method based on an extended communication bus.
[0044] Step S101, when the CPU receives the data transmission instruction, it sends a first address pointer read instruction to the FPGA through the control bus, and receives the first address pointer of the RAM fed back by the FPGA.
[0045] Specifically, in the implementation of the communication scenario, the CPU can receive various data transmission instructions from various data sources, such as real-time control instructions, data acquisition and processing instructions, image processing instructions, signal processing and communication instructions, etc. After the CPU receives various types of instructions, it sends the first address pointer read instruction to the FPGA (Field-Programmable Gate Array) through the control bus, where the control bus is an internal bus in the computer system for transmitting control signals and commands. It is responsible for transmitting the control and management information of the processor to the external device, such as LIO bus, SPI bus, IIC bus, etc. The first address pointer is used to indicate which memory address the FPGA should start the data reading operation from, that is, the corresponding RAM address. In this process, the first address pointer may not directly determine the length of the data transmission, but indicate the starting position of the read and write operation, and then receive the first address instruction of the RAM fed back by the FPGA for the CPU to determine the corresponding memory location. In addition, the instructions sent by the CPU to the FPGA through the control bus may also include other information, such as the length of the read data, the read and write mode, etc. This additional information can help the FPGA to clarify the length and mode of the data reading.
[0046] In addition, after determining the RAM, obtain the data transmission information corresponding to the data transmission instruction, obtain the size of the data in the data transmission information, and judge whether the size of the data needs to be adjusted compared with the memory size of the RAM. When the memory size of the RAM does not meet the data size requirement, the target RAM needs to be adjusted and the adjusted target RAM is sent to the FPGA through the control bus.
[0047] In addition, when a data transmission instruction is received, the corresponding instruction level is determined based on the instruction information corresponding to the data transmission instruction, wherein the target instruction level can be comprehensively determined based on the instruction source terminal level, instruction associated data level, instruction preset level, etc. When it is determined that the instruction level is less than the preset level, it means that the priority of the transmission instruction is not high, and the transmission rate does not need to be guaranteed first, so the transmission instruction is sent to the FPGA through the parallel bus to complete the output instruction. In addition, when comprehensively determining the preset level of the instruction, the transmission occupancy rate of the current data transmission instruction can also be obtained, that is, when the current amount of transmitted data is large, the instruction level can be correspondingly reduced, and when the current amount of transmitted data is small, the instruction level can be correspondingly increased.
[0048] Step S102, acquiring data transmission information based on the data transmission instruction, determining the corresponding tail address pointer in combination with the head address pointer, generating a control command, and sending the control command to the FPGA through the control bus.
[0049] Specifically, after receiving the memory location fed back by the FPGA, the data transmission information corresponding to the data transmission instruction is obtained, wherein the data transmission information may include data length, read-write mode and other related information. For example, the data length may be determined by the communication protocol preset in the CPU and the FPGA, or may be determined in combination with the relevant requirements and relevant scenarios of the data transmission instruction, as well as some special provisions of the TCP / IP protocol stack in the field of network communication to determine the corresponding data length. The read-write mode may include a data read mode or a data write mode. Furthermore, the data read mode may be further divided into a single read mode, a continuous read mode, etc. Similarly, the data write mode may be further divided into a single write mode, a continuous write mode, etc. After receiving the first address pointer, the CPU may further determine the corresponding tail address pointer in combination with the data length, generate the corresponding control instruction based on the tail address pointer and the corresponding read-write mode, and send the control instruction to the FPGA through the control bus, so that the FPGA can determine the corresponding tail address pointer, the read-write mode and other information based on the control instruction.
[0050] Step S103, performing corresponding data processing operations on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
[0051] Specifically, after the control instruction is sent to the FPGA through the control bus, the FPGA determines the corresponding instruction size and instruction mode, and then determines the corresponding data processing operation based on the instruction. The data processing operation can, for example, when the transmission instruction is a read instruction, the FPGA can receive the processing operation transmission data for the control command feedback through the communication bus interface until the position of the transmitted data in the FPGA reaches the position of the tail address pointer. When the transmission instruction is a write instruction, the communication bus interface transmits data to the processing operation feedback of the control command until the position of the written data reaches the position of the tail address pointer.
[0052] The embodiment of the present invention provides a communication method based on an extended communication bus. When receiving a data transmission instruction, a first address pointer read instruction is sent to the FPGA through the control bus, and the first address pointer of the RAM fed back by the FPGA is received; data transmission information is obtained based on the data transmission instruction, the corresponding tail address pointer is determined in combination with the first address pointer, and a control command is generated, and the control instruction is sent to the FPGA through the control bus; the corresponding data processing operation is performed on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer. In this way, the normal data transmission process can be split, the transmission control instruction and the pointer address are completed through the control bus with a slower transmission rate, and the data is transmitted through the communication bus with a faster transmission rate, so as to realize the acceleration of communication and improve the communication rate between the CPU and the FPGA.
[0053] In another embodiment, a communication method based on an extended communication bus is provided. The topological block diagram of the communication method based on the extended communication bus is as follows: Figure 3 As shown, it is similar to the general CPU real-time communication scenario (such as Figure 2 Compared with the scenario in which the CPU and FPGA communicate through their own parallel buses, this embodiment is a controller of Loongson LS2K1000. In Loongson LS2K1000, the control bus is the LIO bus and the communication bus is the RGMII bus. In the scenario of this example, the control instructions and pointer addresses are first transmitted through the LIO bus at a rate of 60Mbps, and then the data transmission is completed through the RGMII bus at a rate of 1000Mbps. In the data concurrency stage, the transmission amount of the control instructions and pointer addresses is much smaller than the actual data transmission amount. Although the transmission rate of the entire process will be less than 1000Mbps, it is also much larger than 512M. For example, the current size of a data packet is 768 bytes, of which the valid data is 512 bytes. Through RGMII communication, the rate is 1000Mbps, and the time to transmit a packet is 6.144us. The size of the command and pointer address is 2 bytes. Through LIO communication, the rate is 60Mbps, and the time is 0.267us. Excluding the waiting time in the middle, the actual time consumption is 6.4us. If all 512 bytes of data are transmitted through the LIO bus, the time is 68us (actually due to the bus encoding requirements, the time will be longer). It can be seen that the present invention improves the transmission rate, can achieve the actual demand of 4-way BLVDS full-rate 128Mbps communication, and improve product reliability.
[0054] The following will be combined with the attached Figure 4 , a communication device based on an extended communication bus provided in an embodiment of the present application is introduced in detail. It should be noted that the attached Figure 4 The communication device based on the extended communication bus shown is used to execute the present application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0055] See also Figure 4 , Figure 4 Schematic diagram of a communication device based on an extended communication bus provided in an embodiment of the present application. Figure 4 As shown, the device comprises:
[0056] The sending module S401 is used to send a first address pointer read instruction to the FPGA through the control bus when receiving a data transmission instruction, and receive the first address pointer of the RAM fed back by the FPGA;
[0057] A control command module S402 is used to obtain data transmission information based on the data transmission instruction, determine the corresponding tail address pointer in combination with the first address pointer, generate a control command, and send the control command to the FPGA through the control bus;
[0058] The operation module S403 is used to perform a corresponding data processing operation on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
[0059] In some possible embodiments, the communication device based on the extended communication bus further includes at least:
[0060] The read instruction module is used to receive the processing operation transmission data fed back by the FPGA through the communication bus interface for the control command when the transmission instruction is a read instruction, until the transmitted data address reaches the position of the tail address pointer.
[0061] In some possible embodiments, the communication device based on the extended communication bus further includes at least:
[0062] A write instruction module is used to transmit data to the processing operation fed back by the control command through a communication bus interface when the transmission instruction is a write instruction, until the position of the written data reaches the position of the tail address pointer.
[0063] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (Field-Programmable Gate Array, FPGA), an integrated circuit (Integrated Circuit, IC), etc.
[0064] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0065] See also Figure 5 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 5 As shown, the electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .
[0066] The communication bus 502 is used to realize the connection and communication between these components.
[0067] The user interface 503 may include a display screen (Display) and a camera (Camera), and the optional user interface 503 may also include a standard wired interface and a wireless interface.
[0068] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0069] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts within the entire electronic device 500, and executes various functions and processes data of the terminal 500 by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 501 can integrate one or more combinations of a processor (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.
[0070] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0071] exist Figure 5 In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 501 can be used to call the interactive application generated based on the image stored in the memory 505, and perform the following operations: when receiving a data transmission instruction, send a first address pointer read instruction to the FPGA through the control bus, and receive the first address pointer of the RAM fed back by the FPGA; obtain data transmission information based on the data transmission instruction, determine the corresponding tail address pointer in combination with the first address pointer, and generate a control command, and send the control command to the FPGA through the control bus; perform corresponding data processing operations on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
[0072] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0073] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0074] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0075] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0076] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0077] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.
[0079] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0080] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A communication method based on an extended communication bus, characterized in that: include: When receiving the data transmission instruction, it sends the first address pointer read instruction to the FPGA through the control bus, and receives the first address pointer of the RAM fed back by the FPGA; Acquire data transmission information based on the data transmission instruction, determine the corresponding tail address pointer in combination with the head address pointer, generate a control command, and send the control command to the FPGA through the control bus; A corresponding data processing operation is performed on the control command through a corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
2. The communication method based on the extended communication bus according to claim 1, characterized in that: The method further comprises: When the transmission instruction is a read instruction, performing a corresponding data processing operation on the control command through the corresponding interface of the communication bus includes: The receiving FPGA transmits data through the communication bus interface for the processing operation of the control command feedback until the transmitted data address reaches the position of the tail address pointer.
3. The communication method based on the extended communication bus according to claim 1, characterized in that: The method further comprises: When the transmission instruction is a write instruction, performing a corresponding data processing operation on the control command through the corresponding interface of the communication bus includes: Data is transmitted to the processing operation fed back to the control command through the communication bus interface until the position of the written data reaches the position of the tail address pointer.
4. The communication method based on the extended communication bus according to claim 1, characterized in that: After receiving the first address pointer of the RAM fed back by the FPGA, the method further includes: Detect the memory status of the RAM, compare the data transmission information, and determine whether the target RAM needs to be adjusted based on the comparison result; When the comparison result requires adjustment of the target RAM, the adjusted target RAM is sent to the FPGA via the control bus.
5. The communication method based on the extended communication bus according to claim 1, characterized in that: The method further comprises: When receiving the data transmission instruction, determining a corresponding instruction level based on instruction information corresponding to the data transmission instruction; It is determined whether the instruction level is less than a preset level, and when the data level is less than the preset level, the transmission instruction is sent to the FPGA through a parallel bus.
6. A communication device based on an extended communication bus, characterized in that: The device comprises: The sending module is used to send a first address pointer read instruction to the FPGA through the control bus when receiving a data transmission instruction, and receive the first address pointer of the RAM fed back by the FPGA; A control command module, used for acquiring data transmission information based on the data transmission instruction, determining the corresponding tail address pointer in combination with the head address pointer, and generating a control command, and sending the control command to the FPGA through the control bus; The operation module is used to perform corresponding data processing operations on the control command through the corresponding interface of the communication bus until the transmission data reaches the position of the tail address pointer.
7. The communication device based on the extended communication bus according to claim 1, characterized in that: The device also includes: The read instruction module is used to receive the processing operation transmission data fed back by the FPGA through the communication bus interface for the control command when the transmission instruction is a read instruction, until the transmitted data address reaches the position of the tail address pointer.
8. The communication device based on the extended communication bus according to claim 1, characterized in that: The device also includes: A write instruction module is used to transmit data to the processing operation fed back by the control command through a communication bus interface when the transmission instruction is a write instruction, until the position of the written data reaches the position of the tail address pointer.
9. An electronic device comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 5.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 5.
