Bus-based data communication system
By using the bus communication system of the EMIF bus module between the DSP processor and the FPGA processor, the problem of low data communication efficiency between the DSP processor and the FPGA processor is solved, efficient and reliable data transmission is achieved, and the system is improved. stability and communication bandwidth.
Patent Information
- Application Number
- CN202322898508.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2033-10-27
AI Technical Summary
The data communication efficiency between the DSP processor and the FPGA is low, the protocol is complex, and the amount of data transmitted is small, resulting in low communication efficiency in the system.
Using a bus-based data communication system, the EMIF bus module is used to realize data communication between the DSP processor and the FPGA processor, including a data transmission bus, a control bus and an address bus, which improves the communication rate and achieves high efficiency of a large number of data resources. transmission.
It significantly improves the data communication rate between the DSP processor and FPGA, improves the working stability and reliability of the system, simplifies the communication protocol, and is suitable for efficient data transmission.
Smart Images

Figure CN221650928U
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of power electronics, and in particular relates to a bus-based data communication system. Background Art
[0002] Generally speaking, DSP (Digital Signal Processing) chips are widely used in various fields due to their unique advantages such as strong computing power, high precision, flexible functions, high reliability and good data processing capabilities. However, due to the limitation of its internal resources, in many applications, DSP processors need to expand related resources outside the chip, such as program memory, data memory, I / O (input / output) ports and interrupt sources.
[0003] With the development of PLD (programmable logic device) and EDA (Electronic Design Automation) technology, FPGA (Field-Programmable Gate Array) is often used in system design to expand the relevant resources of DSP processors to shorten the development cycle and meet market needs. FPGA has the advantages of high speed, high reliability, convenient development and standardization, and has strong complementarity with DSP processors in terms of function. The circuit structure combining these two types of devices is widely used in many high-performance instruments and electronic products.
[0004] However, in the process of organically combining DSP processors and FPGAs, the data communication method between DSP processors and FPGAs often has defects such as low communication efficiency, complex communication protocols, and small amount of transmitted data. Based on this, how to effectively improve the data communication efficiency between DSP processors and FPGAs is a problem that the industry urgently needs to solve. Utility Model Content
[0005] The embodiment of the present application provides a bus-based data communication system, which can fully improve the data communication rate between the DSP processor and the FPGA, and can efficiently and reliably realize the communication and transmission of a large amount of data resources between the DSP processor and the FPGA.
[0006] In a first aspect, an embodiment of the present application provides a bus-based data communication system, the bus-based data communication system comprising a digital signal processing DSP processor, a field programmable logic gate array FPGA processor, and an external memory interface EMIF bus module;
[0007] The DSP processor is used to transmit control instruction information to the FPGA processor through the EMIF bus module; and the FPGA processor is used to execute a target operation in response to the control instruction information.
[0008] In some possible implementations, the DSP processor includes a first EMIF interface, and the FPGA processor includes a second EMIF interface; the first EMIF interface is used to communicate with the second EMIF interface through an EMIF bus module;
[0009] The DSP processor is used to transmit control instruction information to the second EMIF interface in the FPGA processor through the first EMIF interface;
[0010] The FPGA processor is used to receive control instruction information through the second EMIF interface.
[0011] In some possible implementations, the DSP processor further includes a central processing unit CPU module and an EMIF module;
[0012] The CPU module is electrically connected to one end of the EMIF module, and the CPU module is used to generate a target instruction and transmit the target instruction to the EMIF module;
[0013] The other end of the EMIF module is electrically connected to the first EMIF interface. The EMIF module is used to perform data processing on the target instruction transmitted by the CPU module, obtain control instruction information, and transmit the control instruction information to the first EMIF interface, so that the first EMIF interface transmits the control instruction information to the second EMIF interface through the EMIF bus module.
[0014] In some possible implementations, the FPGA processor further includes a plurality of registers and a data parsing module;
[0015] The data parsing module is electrically connected to the second EMIF interface, and is used to receive the control instruction information transmitted by the second EMIF interface, and parse the control instruction information to obtain the register address information and the read / write status information;
[0016] Based on register address information and read / write status information, a target register is determined from multiple registers, and a target operation is performed on the target register; the target operation is a write data operation or a read data operation.
[0017] In some possible implementations, the data parsing module is further used to:
[0018] comparing the register address information with the register address of at least one register among the plurality of registers in sequence to determine a target register, the register address of the target register matching the register address information;
[0019] According to the read and write status information, the target operation is performed on the target register.
[0020] In some possible implementations, the EMIF bus module includes a data transmission bus, a control bus, and an address bus;
[0021] The data transmission bus is a bidirectional bus, which is used to realize bidirectional data transmission between the DSP processor and the FPGA processor;
[0022] The control bus and address bus are unidirectional buses, which are used to realize the control of the DSP processor to the FPGA processor.
[0023] In some possible implementations, the control class bus includes a chip select signal line, a read signal line, and a write signal line;
[0024] The DSP processor is used to: transmit a chip select signal to the FPGA processor through a chip select signal line to control the FPGA processor to be in a selected state;
[0025] Transmitting a first target signal to the FPGA processor via a read signal line, or transmitting a second target signal to the FPGA via a write signal line;
[0026] The first target signal is used to indicate that the target operation is a data read operation, and the second target signal is used to indicate that the target operation is a data write operation.
[0027] In some possible implementations, the DSP processor includes a first EMIF interface, and the FPGA processor includes a second EMIF interface; the first EMIF interface is used to communicate with the second EMIF interface through an EMIF bus module;
[0028] The first EMIF interface includes a first chip select signal pin, a first read signal pin, a first write signal pin, a first data transmission pin and a first address transmission interface;
[0029] The second EMIF interface includes a second chip select signal pin, a second read signal pin, a second write signal pin, a second data transmission pin and a second address transmission interface;
[0030] The first chip select signal pin and the second chip select signal pin are electrically connected through a chip select signal line; the first read signal pin and the second read signal pin are electrically connected through a read signal line; the first write signal pin and the second write signal pin are electrically connected through a write signal line; the first data transmission pin and the second data transmission pin are electrically connected through a data transmission class bus; the first address transmission interface and the second address transmission interface are electrically connected through an address class bus.
[0031] In some possible implementations, the FPGA processor is further configured to communicate with a peripheral device;
[0032] The DSP processor is also used to receive a first signal sent by a peripheral device through the FPGA processor; and send a second signal to the peripheral device through the FPGA processor according to the first signal.
[0033] In some possible implementations, the peripheral device includes a static random access memory SRAM or a read-only memory mirror ROM.
[0034] Compared with the prior art, the bus-based data communication system provided in the embodiment of the present application adopts an EMIF bus module to realize data communication between the DSP processor and the FPGA processor, which can fully improve the data communication rate between the DSP processor and the FPGA, and can efficiently and reliably realize the communication and transmission of a large amount of data resources between the DSP processor and the FPGA, thereby fully improving the system working stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0036] Figure 1 is a schematic diagram of the structure of a bus-based data communication system provided by an embodiment of the present application;
[0037] Figure 2 is a schematic diagram of the structure of a bus-based data communication system provided by another embodiment of the present application;
[0038] Figure 3 This is a schematic diagram of the read and write logic control flow of the FPGA processor provided in one embodiment of the present application;
[0039] Figure 4 is a structural diagram of a bus-based data communication system provided by another embodiment of the present application;
[0040] Figure 5 is a read access timing diagram of a bus-based data communication system provided by an embodiment of the present application;
[0041] Figure 6 This is a write access timing diagram of a bus-based data communication system provided in one embodiment of the present application. DETAILED DESCRIPTION
[0042] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0043] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0044] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The embodiments will be described in detail below in conjunction with the accompanying drawings.
[0045] As described in the background technology section, in the current process of organically combining the DSP processor and the FPGA, the data communication method between the DSP processor and the FPGA often has defects such as low communication efficiency, complex communication protocol, and small amount of transmitted data.
[0046] Specifically, data exchange between traditional DSP processors and FPGA processors actually mostly uses serial interface communication solutions, but this communication method is essentially a software behavior. Therefore, the use of serial interface communication solutions will inevitably have the above-mentioned problems such as low communication efficiency, complex communication protocols, and small amount of transmitted data. Such communication solutions are not applicable in scenarios where DSP processors and FPGA processors need to transfer large amounts of data to each other.
[0047] In view of the above, how to effectively improve the data communication efficiency between DSP processors and FPGA processors is a problem that needs to be solved urgently in the industry.
[0048] In order to solve the above technical problems, the embodiment of the present application provides a bus-based data communication system. The following first introduces the bus-based data communication system provided by the embodiment of the present application.
[0049] Figure 1 It is a structural diagram of a bus-based data communication system provided in one embodiment of the present application.
[0050] like Figure 1 As shown, an embodiment of the present application provides a bus-based data communication system 1000, which includes: a digital signal processing DSP processor 100, a field programmable gate array FPGA processor 200, and an external memory interface EMIF bus module 300.
[0051] The DSP processor 100 can be used to transmit control instruction information to the FPGA processor 200 through the EMIF bus module 300. The control instruction information can be, for example, a read and write control instruction of the DSP processor 100 to the data in the register of the FPGA processor 200, etc. This application does not impose strict restrictions on this, and the specific requirements can be determined according to the data communication requirements in the actual scenario.
[0052] The FPGA processor 200 may be configured to execute a target operation in response to the control instruction information after receiving the control instruction information sent by the DSP processor 100 through the EMIF bus module 300 .
[0053] The above-mentioned target operation corresponds to the control instruction information. For example, if the control instruction information is a data write control to a register of the FPGA processor 200, the target operation may be a data write operation to the corresponding register, which is not specifically limited here.
[0054] Furthermore, it should be added that the data communication between the DSP processor 100 and the FPGA processor 200 is essentially bidirectional. In actual scenarios, the FPGA processor 200 can also transmit data information to the DSP processor 100 through the EMIF bus module 300, and this application does not strictly limit this.
[0055] It can be seen from the above description that, compared with the traditional serial interface communication scheme, the bus-based data communication system 1000 provided in the embodiment of the present application adopts the EMIF bus module 300 to realize the data communication between the DSP processor 100 and the FPGA processor 200, which can fully improve the data communication rate between the DSP processor 100 and the FPGA, and can efficiently and reliably realize the communication and transmission of a large amount of data resources between the DSP processor 100 and the FPGA, thereby fully improving the system working stability and reliability.
[0056] In order to more reasonably implement data communication between the DSP processor 100 and the FPGA processor 200 based on the EMIF bus module 300, please refer to Figure 2 , Figure 2 It is a structural diagram of a bus-based data communication system 1000 provided in another embodiment of the present application.
[0057] like Figure 2 As shown, according to some embodiments of the present application, optionally, the DSP processor 100 may include a first EMIF interface 10, and the FPGA processor 200 may include a second EMIF interface 20. The first EMIF interface 10 may be used to communicate with the second EMIF interface 20 through the EMIF bus module 300.
[0058] In a specific data communication scenario, the DSP processor 100 can be used to transmit control instruction information to the second EMIF interface 20 in the FPGA processor 200 through the first EMIF interface 10. The FPGA processor 200 can be used to receive control instruction information through the second EMIF interface 20.
[0059] That is to say, the EMIF bus module 300 is connected through the first EMIF interface 10 in the DSP processor 100 and the second EMIF interface 20 in the FPGA processor 200. The first EMIF interface 10 and the second EMIF interface 20 fully adapt to the communication requirements of the EMIF bus module 300, so that efficient data transmission between the DSP processor 100 and the FPGA processor 200 can be achieved more accurately and reasonably.
[0060] Please continue to combine Figure 2 As shown, in some more specific embodiments, in order to facilitate the DSP processor 100 to more efficiently and reasonably transmit external data, the functional modules inside the DSP processor can be subdivided. Specifically, the DSP processor 100 can also include a central processing unit CPU module 30 and an EMIF module 40.
[0061] The CPU module 30 is electrically connected to one end of the EMIF module 40 . The CPU module 30 can be used to generate a target instruction and transmit the target instruction to the EMIF module 40 .
[0062] The other end of the EMIF module 40 is electrically connected to the first EMIF interface 10. The EMIF module 40 can be used to process the target instruction transmitted by the CPU module 30 to obtain control instruction information. The data processing operation on the target instruction can be to set and adjust the relevant communication format, encapsulation method, etc. of the target instruction. For example, relevant information specifying whether to send the high byte or the low byte first during data transmission can be added to achieve effective data communication.
[0063] After the EMIF module 40 obtains the control instruction information by performing relevant data processing on the target instruction, the obtained control instruction information is transmitted to the first EMIF interface 10. In this way, after receiving the control instruction information, the first EMIF interface 10 can transmit the control instruction information to the second EMIF interface 20 through the EMIF bus module 300.
[0064] Please continue to see Figure 2 According to some embodiments of the present application, optionally, in order to more efficiently and accurately implement the response of the FPGA processor 200 to the control instruction information transmitted by the DSP processor 100, the above-mentioned FPGA processor 200 may also include multiple registers and a data parsing module 50.
[0065] Specifically, the data parsing module 50 is electrically connected to the second EMIF interface 20. When the first EMIF interface 10 transmits the control instruction information to the second EMIF interface 20 through the EMIF bus module 300, the data parsing module 50 receives the control instruction information transmitted by the second EMIF interface 20, and obtains the register address information and the read-write status information by parsing the control instruction information (such as read-write status parsing and address parsing, etc.).
[0066] After obtaining the above register address information and read / write status information, the data parsing module 50 further determines a target register from a plurality of registers according to the parsed register address information and read / write status information, and performs a target operation on the target register.
[0067] The multiple registers include read-only registers and registers compatible with read and write operations, etc. The target operation is a write data operation or a read data operation, which can be determined according to the actual operation requirements of the DSP processor 100 on the FPGA processor 200, and this embodiment does not strictly limit this.
[0068] See below Figure 3 , Figure 3 1 is a schematic diagram of the read and write logic control flow of the FPGA processor 200 provided in an embodiment of the present application. According to some embodiments of the present application, more specifically, in order to more reasonably implement the parsing function of the above-mentioned data parsing module 50, combined with Figure 3 As shown, the data analysis module 50 can also be used for:
[0069] comparing the register address information with the register address of at least one register among the plurality of registers in sequence to determine a target register, the register address of the target register matching the register address information;
[0070] According to the read and write status information, the target operation is performed on the target register.
[0071] In specific implementation, the above-mentioned data analysis module 50 will judge the read and write status information (read valid / write valid), and then compare the register address information obtained by the above analysis with the register address in the FPGA processor 200 one by one until the comparison determines that the target register whose address information is consistent with the above-mentioned register address information.
[0072] After the target register is determined by comparison, the target operation is performed on the target register according to the read / write status information. For example, if the read / write status information indicates that writing is valid, data is written to the target register; or, if the read / write status information indicates that reading is valid, data in the target register is read out.
[0073] See below Figure 4 , Figure 4 1 is a schematic diagram of a bus-based data communication system 1000 provided by another embodiment of the present application. According to some embodiments of the present application, more specifically, in order to effectively implement reasonable data communication between the DSP processor 100 and the FPGA processor 200 based on the EMIF bus module 30, as shown in FIG. Figure 4 As shown, the above-mentioned EMIF bus module 300 may include a data transmission bus (data), a control bus (n_CS, n_OE, n_WE) and an address bus (addr), that is, the above-mentioned EMIF bus module is constructed using a three-bus (data, control, address) structure.
[0074] Specifically, the data transmission bus is a bidirectional bus, and the data transmission bus can be used to implement bidirectional data transmission between the DSP processor 100 and the FPGA processor 200 .
[0075] The control bus and address bus mentioned above are both unidirectional buses, which can be used to work together to realize the control of the DSP processor 100 over the FPGA processor 200.
[0076] According to some embodiments of the present application, more specifically, the control bus may include a chip select signal line n_CS, a read signal line n_OE and a write signal line n_WE.
[0077] In a specific data communication scenario, considering that the DSP processor 100 may be connected to multiple FPGA processors at the same time, the DSP processor 100 may be used to transmit a chip select signal to the FPGA processor 200 through the chip select signal line n_CS to control the FPGA processor 200 to be in a selected state. The first target signal is transmitted to the FPGA processor 200 through the read signal line n_OE, or the second target signal is transmitted to the FPGA through the write signal line n_WE.
[0078] The first target signal may be used to indicate that the target operation is a data read operation, and the second target signal may be used to indicate that the target operation is a data write operation.
[0079] According to some embodiments of the present application, optionally, in order to more reasonably realize data communication between the DSP processor 100 and the FPGA processor 200, the interface pins used to realize EMIF bus communication in the DSP processor 100 and the FPGA processor 200 are further refined. Specifically, the DSP processor 100 may include a first EMIF interface 10, and the FPGA processor 200 may include a second EMIF interface 20. The first EMIF interface 10 may be used to communicate with the second EMIF interface 20 through the EMIF bus module 300.
[0080] The first EMIF interface 10 may include a first chip selection signal pin, a first read signal pin, a first write signal pin, a first data transmission pin, and a first address transmission interface.
[0081] The second EMIF interface 20 may include a second chip selection signal pin, a second read signal pin, a second write signal pin, a second data transmission pin, and a second address transmission interface.
[0082] The first chip select signal pin and the second chip select signal pin are electrically connected via a chip select signal line n_CS. The first read signal pin and the second read signal pin are electrically connected via a read signal line n_OE. The first write signal pin and the second write signal pin are electrically connected via a write signal line n_WE. The first data transmission pin and the second data transmission pin are electrically connected via a data transmission class bus data. The first address transmission interface and the second address transmission interface are electrically connected via an address class bus addr.
[0083] Combined with the above-mentioned subdivision of the EMIF bus module, the various signal lines are shown below. Figure 5 and Figure 6 , Figure 5 is a read access timing diagram of a bus-based data communication system 1000 provided in an embodiment of the present application, Figure 6 1 is a write access timing diagram of a bus-based data communication system 1000 provided in an embodiment of the present application. The following is a description of the clock when performing a specific read and write access operation.
[0084] like Figure 5As shown, if the DSP processor 100 needs to perform a read access operation on the register in the FPGA processor 200, it is necessary to ensure that the level provided by the chip select signal line n_CS connected to the FPGA processor is a valid level, and the data transmission bus data and the address bus addr are both enabled. In this case, if it is monitored that the level of the read signal line n_OE is a valid level and the write signal line n_WE is an invalid level, the read access operation on the register in the FPGA processor 200 can be implemented. Among them, the clk signal can be an interface clock with a fixed frequency in the FPGA processor.
[0085] Accordingly, if Figure 6 As shown, if the DSP processor 100 needs to perform a write access operation on the register in the FPGA processor 200, it is necessary to ensure that the level provided by the chip select signal line n_CS connected to the FPGA processor is a valid level, and the data transmission bus data and the address bus addr are both enabled. In this case, if the level of the read signal line n_OE is monitored to be an invalid level and the write signal line n_WE is a valid level, the write access operation on the register in the FPGA processor 200 can be implemented.
[0086] According to some embodiments of the present application, optionally, the FPGA processor 200 may also be used to communicate with a peripheral device. The DSP processor 100 may also be used to receive a first signal sent by the peripheral device through the FPGA processor 200, and send a second signal to the peripheral device through the FPGA processor 200 according to the first signal.
[0087] The first signal may be, for example, a feedback signal of a peripheral device, and the second signal may be, for example, a control signal of the DSP processor 100 to the peripheral device, etc., which are not strictly limited in this embodiment. More specifically, the peripheral device may include a static random access memory SRAM or a read-only memory mirror ROM.
[0088] In this embodiment, the DSP processor 100 can implement data interaction with peripheral devices (such as ROM, SRAM) through the FPGA processor 200. In other words, the FPGA processor 200 can function as a communication bridge between the DSP processor 100 and the peripheral devices.
[0089] It can be understood that the above are all examples and do not play a substantial limiting role on the bus-based data communication system protected by this application.
[0090] In general, the embodiment of the present application provides a bus-based data communication system, which has a fast data communication speed, and its communication working sequence is a pure hardware behavior. The communication method of bus parallel data transmission greatly improves the efficiency of large-scale data transmission. In addition, the bus-based data communication system can exchange various types of data and control information between the FPGA processor and the DSP processor through fixed IO port lines, thereby fully saving the I / O port lines of the FPGA chip.
[0091] In addition, through logic switching in the FPGA processor, the DSP processor can also easily realize data communication with the peripheral device SRAM or ROM through the FPGA processor, so as to give full play to the powerful data processing capability of the DSP processor.
[0092] In summary, the present application provides a bus-based data communication system, which has the advantages of simple interface structure, fast communication speed, and high communication bandwidth. It realizes reliable communication of data and control information between the DSP processor and the FPGA processor, so that the FPGA processor and the DSP processor complement each other's advantages to form a flexible control system whose software and hardware can be programmed on-site.
[0093] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0094] It should be noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus.
[0095] It should be clear that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. According to the embodiments described above in this application, these embodiments do not describe all the details in detail, nor do they limit the application to only the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the application, so that technicians in the relevant technical field can make good use of the application and the modified use based on the application. The application is only limited by the claims and their full scope and equivalents.
[0096] This article uses specific examples to illustrate the principles and implementation methods of this application. The above examples are only used to help understand the methods and core ideas of this application. The above are only preferred implementation methods of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of this application, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the concepts and technical solutions of this application to other occasions without improvement, should be regarded as the scope of protection of this application.
Claims
1. A bus-based data communication system, characterized in that: The system includes a digital signal processing DSP processor, a field programmable logic gate array FPGA processor and an external memory interface EMIF bus module; The DSP processor is used to transmit control instruction information to the FPGA processor through the EMIF bus module; and the FPGA processor is used to execute a target operation in response to the control instruction information; The EMIF bus module includes a data transmission bus, a control bus and an address bus; The data transmission bus is a bidirectional bus, and the data transmission bus is used to realize bidirectional data transmission between the DSP processor and the FPGA processor; The control bus and the address bus are unidirectional buses, which are used to realize the control of the FPGA processor by the DSP processor, or to realize the control of the peripheral device by the DSP processor through the FPGA processor; The control bus includes a chip selection signal line, a read signal line and a write signal line; The DSP processor is used to: transmit a chip select signal to the FPGA processor through the chip select signal line to control the FPGA processor to be in a selected state; A first target signal is transmitted to the FPGA processor via the read signal line, or a second target signal is transmitted to the FPGA via the write signal line; wherein the first target signal is used to indicate that the target operation is a read data operation, and the second target signal is used to indicate that the target operation is a write data operation.
2. The bus-based data communication system according to claim 1, characterized in that: The DSP processor includes a first EMIF interface, and the FPGA processor includes a second EMIF interface; the first EMIF interface is used to communicate with the second EMIF interface through the EMIF bus module; The DSP processor is used to transmit the control instruction information to the second EMIF interface in the FPGA processor through the first EMIF interface; The FPGA processor is used to receive the control instruction information through the second EMIF interface.
3. The bus-based data communication system according to claim 2, characterized in that: The DSP processor also includes a central processing unit CPU module and an EMIF module; The CPU module is electrically connected to one end of the EMIF module, and the CPU module is used to generate a target instruction and transmit the target instruction to the EMIF module; The other end of the EMIF module is electrically connected to the first EMIF interface. The EMIF module is used to perform data processing on the target instruction transmitted by the CPU module to obtain the control instruction information, and transmit the control instruction information to the first EMIF interface, so that the first EMIF interface transmits the control instruction information to the second EMIF interface through the EMIF bus module.
4. The bus-based data communication system according to claim 2, characterized in that: The FPGA processor also includes a plurality of registers and a data parsing module; The data parsing module is electrically connected to the second EMIF interface, and is used to receive the control instruction information transmitted by the second EMIF interface, and parse the control instruction information to obtain register address information and read / write status information; Based on the register address information and the read / write status information, a target register is determined from the multiple registers, and the target operation is performed on the target register; the target operation is a write data operation or a read data operation.
5. The bus-based data communication system according to claim 4, characterized in that: The data parsing module is also used for: Comparing the register address information with the register address of at least one register among the multiple registers in sequence to determine the target register; the register address of the target register matches the register address information; The target operation is performed on the target register according to the read / write status information.
6. The bus-based data communication system according to claim 1, characterized in that: The DSP processor includes a first EMIF interface, and the FPGA processor includes a second EMIF interface; the first EMIF interface is used to communicate with the second EMIF interface through the EMIF bus module; The first EMIF interface includes a first chip select signal pin, a first read signal pin, a first write signal pin, a first data transmission pin and a first address transmission interface; The second EMIF interface includes a second chip select signal pin, a second read signal pin, a second write signal pin, a second data transmission pin and a second address transmission interface; The first chip select signal pin and the second chip select signal pin are electrically connected through the chip select signal line; the first read signal pin and the second read signal pin are electrically connected through the read signal line; the first write signal pin and the second write signal pin are electrically connected through the write signal line; the first data transmission pin and the second data transmission pin are electrically connected through the data transmission class bus; the first address transmission interface and the second address transmission interface are electrically connected through the address class bus.
7. The bus-based data communication system according to claim 1, characterized in that: The FPGA processor is also used to communicate with peripheral devices; The DSP processor is further configured to receive a first signal sent by the peripheral device through the FPGA processor; and / or send a second signal to the peripheral device through the FPGA processor according to the first signal.
8. The bus-based data communication system according to claim 7, characterized in that: The peripheral device includes at least one of a static random access memory SRAM and a read-only memory mirror ROM.
