CN109840241B - Inter-core communication circuit of heterogeneous dual-core processor - Google Patents
Inter-core communication circuit of heterogeneous dual-core processor Download PDFInfo
- Publication number
- CN109840241B CN109840241B CN201711209983.XA CN201711209983A CN109840241B CN 109840241 B CN109840241 B CN 109840241B CN 201711209983 A CN201711209983 A CN 201711209983A CN 109840241 B CN109840241 B CN 109840241B
- Authority
- CN
- China
- Prior art keywords
- processor
- core
- unit
- dual
- fifo
- 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.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Multi Processors (AREA)
Abstract
The invention belongs to the technical field of computer hardware, and relates to an inter-core communication circuit of a heterogeneous dual-core processor. The circuit comprises a control processor, an operation processor, a dual-core mailbox communication processing module and a shared storage area. The inter-core communication circuit of the heterogeneous dual-core processor is high in efficiency and simple in structure.
Description
Technical Field
The invention belongs to the technical field of computer hardware, and relates to an inter-core communication circuit of a heterogeneous dual-core processor.
Background
Compared with the isomorphic structure, the heterogeneous dual-core processor has the advantages that the internal structure of the processor is optimized by organizing cores with different characteristics, so that the optimization of the performance of the processor is realized. The prior art is mainly based on bus shared Cache architectures, i.e. shared Cache architectures, and on-chip interconnect architectures. The shared Cache architecture refers to each processor core for shared secondary, tertiary caches, or external memory. The processor cores with the structure are not independent in work, and the independent resource sharing of key data calculation cannot be guaranteed. The interconnection structure based on the chip is connected together through a cross switch or a network-on-chip mode, and message communication is carried out among the processor cores. The structure has a complex hardware structure and excessive design cost.
Disclosure of Invention
The purpose of the invention is that: the inter-core communication circuit of the heterogeneous dual-core processor is efficient and simple in structure.
The technical scheme of the invention is as follows: an inter-core communication circuit of a heterogeneous dual-core processor is characterized in that: the circuit comprises a control processor, an operation processor, a dual-core mailbox communication processing module and a shared storage area;
the control processor stores the data to be operated into the shared storage area, and simultaneously sends key information of the data to be operated to the dual-core mailbox communication processing module, wherein the key information comprises a storage address, a length and an operation instruction of the operation data; the dual-core mailbox communication processing module interrupts the operation processor after receiving the key information, the operation processor acquires the key information from the mailbox communication processing module, acquires data to be processed from the shared storage area according to instructions in the key information, transmits an operation result back to the shared storage area after the operation is completed, and simultaneously transmits storage position information of the operation result to the dual-core mailbox communication processing module, the dual-core mailbox communication processing module interrupts the control processor, and the control processor reads the storage position information of the operation result from the dual-core mailbox communication processing module and acquires the operation result from the shared storage area according to the position information.
Preferably, the shared memory area comprises two processor interface units, a semaphore unit and a memory unit;
the two processor interface units are respectively used for providing interfaces for controlling the processor and the operation processor to access the storage unit and the semaphore unit; the semaphore unit is used for indicating whether the processor is accessing the storage unit; the storage unit is used for storing data to be operated and operation results.
Preferably, the dual-core mailbox communication processing module comprises two sets of processor interface units, a FIFO control and status register unit and a FIFO unit; one processor core uses the set of units described above.
The processor interface unit provides interfaces of the processor write FIFO unit, the read FIFO unit, the interrupt processor and the access FIFO control and status register unit; the FIFO control and status register unit is used for reporting a 'pre-full' state when setting how many data are stored in the FIFO, and storing the 'empty', 'full', 'pre-full' state comprising the FIFO; the FIFO unit is used for storing the data information written by the processor and is read by another processor.
The invention has the beneficial effects that: the patent provides a heterogeneous dual-core processor inter-core communication circuit, which provides an information interaction circuit support between a control processor responsible for managing on-chip equipment and a data resolving operation processor. The circuit structure has definite dual-core function division, ensures the independent resource sharing of data calculation, has quick and effective inter-core communication circuit, and meets the requirements of high efficiency and simple structure of heterogeneous dual-core processors.
Drawings
FIG. 1 is a block diagram showing the communication circuit between cores of a heterogeneous dual-core processor
FIG. 2 is a block diagram of a shared memory module circuit configuration
FIG. 3 is a block diagram showing a dual inter-core mailbox communication processing module
Detailed Description
The technical scheme of the invention is clearly and completely described below with reference to the accompanying drawings and the specific embodiments. It is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments, and that all other embodiments obtained by a person skilled in the art without making creative efforts based on the embodiments in the present invention are within the protection scope of the present invention.
Taking a heterogeneous dual-core processor inter-core communication circuit as an example, referring to an example of a drawing, the heterogeneous dual-core processor inter-core communication circuit comprises a PowerPC460 processor, a C6713 processor, an on-chip SRAM controller module, a dual-core mailbox communication processing module, a PLB cross bar arbiter module, a shared storage area and PLB slave equipment.
The PowerPC460 processor is required to inquire the signal quantity information of the shared memory area, when the signal quantity information indicates that the shared memory area is not occupied by the C6713 processor, the data to be operated is stored in the shared memory area, and meanwhile, key information of the data to be operated is sent to the dual-core mailbox communication processing module, and the key information comprises a storage address, a length and an operation instruction of the operation data; the storage position information of the operation result can be read from the dual-core mailbox communication processing module, and the operation result is obtained from the shared storage area according to the position information;
the C6713 processor acquires key information from the mailbox communication processing module, acquires data to be processed from the shared storage area according to instructions in the key information, inquires signal quantity information of the shared storage area after operation is completed, sends an operation result back to the shared storage area when the signal quantity information indicates that the shared storage area is not occupied by the PowerPC460 processor, and simultaneously transmits storage position information of the operation result to the dual-core mailbox communication processing module;
the dual inter-core mailbox communication processing module is used for interrupting the C6713 processor after receiving the key information from the PowerPC460 processor, receiving the storage position information of the operation result after the calculation of the C6713 processor is completed, and interrupting the PowerPC460 processor; the system comprises a processor interface 1 unit, a processor interface 2 unit, a FIFO control and status register 1 unit, a FIFO control and status register 2 unit, a FIFO_1 unit and a FIFO_2 unit;
the processor interface 1 unit provides the interface of the PowerPC460 processor write FIFO_1 unit, the read FIFO_2 unit, the interrupt PowerPC460 processor and the access FIFO control and status register 1 unit; the processor interface 2 unit provides a C6713 processor write FIFO_2 unit, a read FIFO_1 unit, interrupts the C6713 processor and accesses the interface of the FIFO control and status register 2 unit; the FIFO control and status register 1 unit and the FIFO control and status register 2 unit are respectively used for reporting a pre-full state when setting how many data are stored in the FIFO_1 unit and the FIFO_2 unit, and respectively storing the empty, full and pre-full states comprising the FIFO_1 unit and the FIFO_2 unit; the FIFO_1 unit is used for storing the data information written by the PowerPC460 processor and reading the data information by the C6713 processor; the FIFO_2 unit is used for storing the data information written by the C6713 processor and reading the data information by the PowerPC460 processor;
the shared memory area comprises two processor interface units, a semaphore unit and a storage unit, wherein the two processor interface units are respectively used for providing interfaces of the PowerPC460 processor and the C6713 processor for accessing the storage unit and the semaphore unit; the semaphore unit is used for indicating whether the current processor is accessing the storage unit; the storage unit is realized by adopting a dual-port memory and is used for storing data to be operated and operation results.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solution of the present invention, and not limiting thereof; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (1)
1. An inter-core communication circuit of a heterogeneous dual-core processor is characterized in that: the circuit comprises a control processor, an operation processor, a dual-core mailbox communication processing module and a shared storage area;
the control processor stores the data to be operated into the shared storage area, and simultaneously sends key information of the data to be operated to the dual-core mailbox communication processing module, wherein the key information comprises a storage address, a length and an operation instruction of the operation data; the dual-core mailbox communication processing module interrupts the operation processor after receiving the key information, the operation processor acquires the key information from the mailbox communication processing module, acquires data to be processed from the shared storage area according to instructions in the key information, transmits an operation result back to the shared storage area after the operation is finished, and simultaneously transmits storage position information of the operation result to the dual-core mailbox communication processing module, the dual-core mailbox communication processing module interrupts the control processor, and the control processor reads the storage position information of the operation result from the dual-core mailbox communication processing module and acquires the operation result from the shared storage area according to the position information;
the shared memory area comprises two processor interface units, a semaphore unit and a memory unit;
the two processor interface units are respectively used for providing interfaces for controlling the processor and the operation processor to access the storage unit and the semaphore unit; the semaphore unit is used for indicating whether the processor is accessing the storage unit; the storage unit is used for storing data to be operated and operation results;
the dual-core mailbox communication processing module comprises two sets of processor interface units, a FIFO control and status register unit and a FIFO unit; a processor core using the set of units;
the processor interface unit provides interfaces of the processor write FIFO unit, the read FIFO unit, the interrupt processor and the access FIFO control and status register unit; the FIFO control and status register unit is used for reporting a 'pre-full' state when setting how many data are stored in the FIFO, and storing the 'empty', 'full', 'pre-full' state comprising the FIFO; the FIFO unit is used for storing the data information written by the processor and is read by another processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711209983.XA CN109840241B (en) | 2017-11-27 | 2017-11-27 | Inter-core communication circuit of heterogeneous dual-core processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711209983.XA CN109840241B (en) | 2017-11-27 | 2017-11-27 | Inter-core communication circuit of heterogeneous dual-core processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109840241A CN109840241A (en) | 2019-06-04 |
CN109840241B true CN109840241B (en) | 2023-05-26 |
Family
ID=66880639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711209983.XA Active CN109840241B (en) | 2017-11-27 | 2017-11-27 | Inter-core communication circuit of heterogeneous dual-core processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109840241B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111930676B (en) * | 2020-09-17 | 2020-12-29 | 湖北芯擎科技有限公司 | Method, device, system and storage medium for communication among multiple processors |
CN115168079B (en) * | 2022-09-08 | 2022-12-02 | 深圳市恒运昌真空技术有限公司 | Dual-processor device and control method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4164787A (en) * | 1977-11-09 | 1979-08-14 | Bell Telephone Laboratories, Incorporated | Multiple microprocessor intercommunication arrangement |
US5608873A (en) * | 1993-08-30 | 1997-03-04 | Advanced Micro Devices, Inc. | Device and method for interprocessor communication using mailboxes owned by processor devices |
CN1964285A (en) * | 2006-12-13 | 2007-05-16 | 杭州华为三康技术有限公司 | A master control device with double CPU and realization method |
CN101788973A (en) * | 2010-01-12 | 2010-07-28 | 深圳市同洲电子股份有限公司 | Method for communication between dual processors |
-
2017
- 2017-11-27 CN CN201711209983.XA patent/CN109840241B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4164787A (en) * | 1977-11-09 | 1979-08-14 | Bell Telephone Laboratories, Incorporated | Multiple microprocessor intercommunication arrangement |
US5608873A (en) * | 1993-08-30 | 1997-03-04 | Advanced Micro Devices, Inc. | Device and method for interprocessor communication using mailboxes owned by processor devices |
CN1964285A (en) * | 2006-12-13 | 2007-05-16 | 杭州华为三康技术有限公司 | A master control device with double CPU and realization method |
CN101788973A (en) * | 2010-01-12 | 2010-07-28 | 深圳市同洲电子股份有限公司 | Method for communication between dual processors |
Also Published As
Publication number | Publication date |
---|---|
CN109840241A (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107992436B (en) | NVMe data read-write method and NVMe equipment | |
CN110647480B (en) | Data processing method, remote direct access network card and equipment | |
US10445018B2 (en) | Switch and memory device | |
CN103927277B (en) | CPU and GPU shares the method and device of on chip cache | |
CN103080918B (en) | The interruption transmission of power optimization | |
JP6475625B2 (en) | Inter-core communication apparatus and method | |
CN101727414B (en) | Technique for communicating interrupts in a computer system | |
US7549024B2 (en) | Multi-processing system with coherent and non-coherent modes | |
JP3807250B2 (en) | Cluster system, computer and program | |
CN103218313B (en) | For realizing the mutual method of buffer descriptor and electronic equipment | |
CN105183662A (en) | Cache consistency protocol-free distributed sharing on-chip storage framework | |
JP2012252490A (en) | Multiprocessor and image processing system using the same | |
EP3788493B1 (en) | Data processing network with flow compaction for streaming data transfer | |
EP2800008A1 (en) | Method and system for multiprocessors to share memory | |
CN107924343B (en) | Low latency inter-node communication | |
CN109840241B (en) | Inter-core communication circuit of heterogeneous dual-core processor | |
EP4220375A1 (en) | Systems, methods, and devices for queue management with a coherent interface | |
CN117377943A (en) | Memory-calculation integrated parallel processing system and method | |
CN115509959A (en) | Processing system, control method, chip, and computer-readable storage medium | |
KR101695845B1 (en) | Apparatus and method for maintaining cache coherency, and multiprocessor apparatus using the method | |
US8719499B2 (en) | Cache-line based notification | |
CN114356839B (en) | Method, device, processor and device readable storage medium for processing write operation | |
CN109285580A (en) | Data prediction device, method and asynchronous double-end randon access memory system | |
US20170255558A1 (en) | Isolation mode in a cache coherent system | |
CN111045980A (en) | Multi-core processor |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230512 Address after: Room S303, innovation building, No.25, Gaoxin 1st Road, Xi'an, Shaanxi 710054 Applicant after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd. Address before: No.15, Jinye 2nd Road, Xi'an, Shaanxi 710000 Applicant before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE |
|
TA01 | Transfer of patent application right |